Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dwds/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 23.4.0-wip

- Migrate injected client code to `package:web`. - [#2306](https://github.com/dart-lang/webdev/pull/2306)
- Adding tests for constants in DDC after a hot restart - [#2349](https://github.com/dart-lang/webdev/pull/2349)

## 23.3.0
Expand Down
6 changes: 5 additions & 1 deletion dwds/lib/data/connect_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:built_collection/built_collection.dart';
import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';

Expand All @@ -18,12 +19,15 @@ abstract class ConnectRequest

ConnectRequest._();

/// Whole app name.
String get appName;

/// Identifies a given application, across tabs/windows.
String get appId;

/// Identifies a given instance of an application, unique per tab/window.
String get instanceId;

/// The entrypoint for the Dart application.
String get entrypointPath;
BuiltList<String> get entrypoints;
}
90 changes: 64 additions & 26 deletions dwds/lib/data/connect_request.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions dwds/lib/data/register_entrypoint_request.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'package:built_value/built_value.dart';
import 'package:built_value/serializer.dart';

part 'register_entrypoint_request.g.dart';

/// A request to load entrypoint metadata.
abstract class RegisterEntrypointRequest
implements
Built<RegisterEntrypointRequest, RegisterEntrypointRequestBuilder> {
static Serializer<RegisterEntrypointRequest> get serializer =>
_$registerEntrypointRequestSerializer;

factory RegisterEntrypointRequest(
[Function(RegisterEntrypointRequestBuilder) updates]) =
_$RegisterEntrypointRequest;

RegisterEntrypointRequest._();

String get appName;

/// The entrypoint for the Dart application.
String get entrypointPath;
}
Loading