@fluidframework/core-interfaces 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/core-interfaces
2
2
 
3
+ ## 2.3.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.2.0
4
8
 
5
9
  Dependency updates only.
@@ -4,6 +4,13 @@
4
4
  */
5
5
  /**
6
6
  * @internal
7
+ *
8
+ * @privateRemarks
9
+ * `IRuntimeSignalEnvelope` is an interface that mirrors `ISignalEnvelope` for signals that come from an external
10
+ * caller (not sent by a client—so no `clientBroadcastSignalSequenceNumber`) and are always addressed
11
+ * to the Container (so no `address`).
12
+ *
13
+ * See at `server/routerlicious/packages/lambdas/src/utils/messageGenerator.ts`.
7
14
  */
8
15
  export interface ISignalEnvelope {
9
16
  /**
@@ -11,9 +18,9 @@ export interface ISignalEnvelope {
11
18
  */
12
19
  address?: string;
13
20
  /**
14
- * Identifier for the signal being submitted.
21
+ * Signal tracking identifier for self submitted broadcast signals.
15
22
  */
16
- clientSignalSequenceNumber: number;
23
+ clientBroadcastSignalSequenceNumber?: number;
17
24
  /**
18
25
  * The contents of the envelope
19
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,0BAA0B,EAAE,MAAM,CAAC;IAEnC;;OAEG;IACH,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,GAAG,CAAC;KACb,CAAC;CACF"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,mCAAmC,CAAC,EAAE,MAAM,CAAC;IAE7C;;OAEG;IACH,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,GAAG,CAAC;KACb,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"messages.js","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @internal\n */\nexport interface ISignalEnvelope {\n\t/**\n\t * The target for the envelope, undefined for the container\n\t */\n\taddress?: string;\n\n\t/**\n\t * Identifier for the signal being submitted.\n\t */\n\tclientSignalSequenceNumber: number;\n\n\t/**\n\t * The contents of the envelope\n\t */\n\tcontents: {\n\t\ttype: string;\n\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\tcontent: any;\n\t};\n}\n"]}
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @internal\n *\n * @privateRemarks\n * `IRuntimeSignalEnvelope` is an interface that mirrors `ISignalEnvelope` for signals that come from an external\n * caller (not sent by a client—so no `clientBroadcastSignalSequenceNumber`) and are always addressed\n * to the Container (so no `address`).\n *\n * See at `server/routerlicious/packages/lambdas/src/utils/messageGenerator.ts`.\n */\nexport interface ISignalEnvelope {\n\t/**\n\t * The target for the envelope, undefined for the container\n\t */\n\taddress?: string;\n\n\t/**\n\t * Signal tracking identifier for self submitted broadcast signals.\n\t */\n\tclientBroadcastSignalSequenceNumber?: number;\n\n\t/**\n\t * The contents of the envelope\n\t */\n\tcontents: {\n\t\ttype: string;\n\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\tcontent: any;\n\t};\n}\n"]}
package/lib/messages.d.ts CHANGED
@@ -4,6 +4,13 @@
4
4
  */
5
5
  /**
6
6
  * @internal
7
+ *
8
+ * @privateRemarks
9
+ * `IRuntimeSignalEnvelope` is an interface that mirrors `ISignalEnvelope` for signals that come from an external
10
+ * caller (not sent by a client—so no `clientBroadcastSignalSequenceNumber`) and are always addressed
11
+ * to the Container (so no `address`).
12
+ *
13
+ * See at `server/routerlicious/packages/lambdas/src/utils/messageGenerator.ts`.
7
14
  */
8
15
  export interface ISignalEnvelope {
9
16
  /**
@@ -11,9 +18,9 @@ export interface ISignalEnvelope {
11
18
  */
12
19
  address?: string;
13
20
  /**
14
- * Identifier for the signal being submitted.
21
+ * Signal tracking identifier for self submitted broadcast signals.
15
22
  */
16
- clientSignalSequenceNumber: number;
23
+ clientBroadcastSignalSequenceNumber?: number;
17
24
  /**
18
25
  * The contents of the envelope
19
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,0BAA0B,EAAE,MAAM,CAAC;IAEnC;;OAEG;IACH,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,GAAG,CAAC;KACb,CAAC;CACF"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,mCAAmC,CAAC,EAAE,MAAM,CAAC;IAE7C;;OAEG;IACH,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,GAAG,CAAC;KACb,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"messages.js","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @internal\n */\nexport interface ISignalEnvelope {\n\t/**\n\t * The target for the envelope, undefined for the container\n\t */\n\taddress?: string;\n\n\t/**\n\t * Identifier for the signal being submitted.\n\t */\n\tclientSignalSequenceNumber: number;\n\n\t/**\n\t * The contents of the envelope\n\t */\n\tcontents: {\n\t\ttype: string;\n\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\tcontent: any;\n\t};\n}\n"]}
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @internal\n *\n * @privateRemarks\n * `IRuntimeSignalEnvelope` is an interface that mirrors `ISignalEnvelope` for signals that come from an external\n * caller (not sent by a client—so no `clientBroadcastSignalSequenceNumber`) and are always addressed\n * to the Container (so no `address`).\n *\n * See at `server/routerlicious/packages/lambdas/src/utils/messageGenerator.ts`.\n */\nexport interface ISignalEnvelope {\n\t/**\n\t * The target for the envelope, undefined for the container\n\t */\n\taddress?: string;\n\n\t/**\n\t * Signal tracking identifier for self submitted broadcast signals.\n\t */\n\tclientBroadcastSignalSequenceNumber?: number;\n\n\t/**\n\t * The contents of the envelope\n\t */\n\tcontents: {\n\t\ttype: string;\n\t\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\t\tcontent: any;\n\t};\n}\n"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.45.1"
8
+ "packageVersion": "7.47.8"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/core-interfaces",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Fluid object interfaces",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -49,12 +49,12 @@
49
49
  "devDependencies": {
50
50
  "@arethetypeswrong/cli": "^0.15.2",
51
51
  "@biomejs/biome": "~1.8.3",
52
- "@fluid-tools/build-cli": "^0.43.0",
52
+ "@fluid-tools/build-cli": "^0.46.0",
53
53
  "@fluidframework/build-common": "^2.0.3",
54
- "@fluidframework/build-tools": "^0.43.0",
55
- "@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.1.0",
56
- "@fluidframework/eslint-config-fluid": "^5.3.0",
57
- "@microsoft/api-extractor": "^7.45.1",
54
+ "@fluidframework/build-tools": "^0.46.0",
55
+ "@fluidframework/core-interfaces-previous": "npm:@fluidframework/core-interfaces@2.2.0",
56
+ "@fluidframework/eslint-config-fluid": "^5.4.0",
57
+ "@microsoft/api-extractor": "7.47.8",
58
58
  "@types/node": "^18.19.0",
59
59
  "concurrently": "^8.2.1",
60
60
  "copyfiles": "^2.4.1",
@@ -64,7 +64,12 @@
64
64
  "typescript": "~5.4.5"
65
65
  },
66
66
  "typeValidation": {
67
- "broken": {}
67
+ "broken": {
68
+ "Interface_ISignalEnvelope": {
69
+ "backCompat": false
70
+ }
71
+ },
72
+ "entrypoint": "internal"
68
73
  },
69
74
  "scripts": {
70
75
  "api": "fluid-build . --task api",
package/src/messages.ts CHANGED
@@ -5,6 +5,13 @@
5
5
 
6
6
  /**
7
7
  * @internal
8
+ *
9
+ * @privateRemarks
10
+ * `IRuntimeSignalEnvelope` is an interface that mirrors `ISignalEnvelope` for signals that come from an external
11
+ * caller (not sent by a client—so no `clientBroadcastSignalSequenceNumber`) and are always addressed
12
+ * to the Container (so no `address`).
13
+ *
14
+ * See at `server/routerlicious/packages/lambdas/src/utils/messageGenerator.ts`.
8
15
  */
9
16
  export interface ISignalEnvelope {
10
17
  /**
@@ -13,9 +20,9 @@ export interface ISignalEnvelope {
13
20
  address?: string;
14
21
 
15
22
  /**
16
- * Identifier for the signal being submitted.
23
+ * Signal tracking identifier for self submitted broadcast signals.
17
24
  */
18
- clientSignalSequenceNumber: number;
25
+ clientBroadcastSignalSequenceNumber?: number;
19
26
 
20
27
  /**
21
28
  * The contents of the envelope