@fluidframework/runtime-definitions 2.70.0 → 2.72.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 +8 -32
- package/api-report/runtime-definitions.legacy.alpha.api.md +4 -4
- package/api-report/runtime-definitions.legacy.beta.api.md +4 -4
- package/dist/containerExtensionProvider.d.ts +92 -0
- package/dist/containerExtensionProvider.d.ts.map +1 -0
- package/dist/containerExtensionProvider.js +7 -0
- package/dist/containerExtensionProvider.js.map +1 -0
- package/dist/dataStoreContext.d.ts +17 -3
- package/dist/dataStoreContext.d.ts.map +1 -1
- package/dist/dataStoreContext.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/protocol.d.ts +26 -2
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js.map +1 -1
- package/lib/containerExtensionProvider.d.ts +92 -0
- package/lib/containerExtensionProvider.d.ts.map +1 -0
- package/lib/containerExtensionProvider.js +6 -0
- package/lib/containerExtensionProvider.js.map +1 -0
- package/lib/dataStoreContext.d.ts +17 -3
- package/lib/dataStoreContext.d.ts.map +1 -1
- package/lib/dataStoreContext.js.map +1 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +26 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js.map +1 -1
- package/package.json +14 -35
- package/src/containerExtensionProvider.ts +107 -0
- package/src/dataStoreContext.ts +19 -3
- package/src/index.ts +9 -0
- package/src/protocol.ts +28 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/runtime-definitions
|
|
2
2
|
|
|
3
|
+
## 2.72.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.71.0
|
|
8
|
+
|
|
9
|
+
Dependency updates only.
|
|
10
|
+
|
|
3
11
|
## 2.70.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -7,7 +15,6 @@
|
|
|
7
15
|
- Deprecated properties have been removed from IRuntimeStorageService and IContainerStorageService ([#25708](https://github.com/microsoft/FluidFramework/pull/25708)) [82c936ed28](https://github.com/microsoft/FluidFramework/commit/82c936ed285c7e450d5e907a531ce71178f57819)
|
|
8
16
|
|
|
9
17
|
The following deprecated properties have been removed from `IRuntimeStorageService`:
|
|
10
|
-
|
|
11
18
|
- `createBlob`
|
|
12
19
|
- `dispose`
|
|
13
20
|
- `disposed`
|
|
@@ -19,7 +26,6 @@
|
|
|
19
26
|
- `uploadSummaryWithContext`
|
|
20
27
|
|
|
21
28
|
The following deprecated properties have been removed from `IContainerStorageService`:
|
|
22
|
-
|
|
23
29
|
- `dispose`
|
|
24
30
|
- `disposed`
|
|
25
31
|
- `downloadSummary`
|
|
@@ -45,7 +51,6 @@ Dependency updates only.
|
|
|
45
51
|
DDSes may optionally consume this value and use it to determine which sets of feature flags should be enabled.
|
|
46
52
|
|
|
47
53
|
#### Public type changes
|
|
48
|
-
|
|
49
54
|
- **@fluidframework/datastore: `FluidDataStoreRuntime`** - Exposes `minVersionForCollab`.
|
|
50
55
|
- **@fluidframework/runtime-definitions: `IFluidDataStoreContext`** - Exposes optional member `minVersionForCollab`.
|
|
51
56
|
See `FluidDataStoreContext` for an example implementation.
|
|
@@ -72,7 +77,6 @@ Dependency updates only.
|
|
|
72
77
|
Added an interface `IRuntimeStorageService` which will replace `IDocumentStorageService` in the `DataStore` layer. This is exposed by the `Runtime` layer to the `DataStore` layer. This new interface will only contain properties that are needed and used by the `DataStore` layer.
|
|
73
78
|
|
|
74
79
|
The following properties from `IRuntimeStorageService` are deprecated as they are not needed by the `DataStore` layer. These be removed in a future release:
|
|
75
|
-
|
|
76
80
|
- `disposed`
|
|
77
81
|
- `dispose`
|
|
78
82
|
- `policies`
|
|
@@ -126,7 +130,6 @@ Dependency updates only.
|
|
|
126
130
|
- The process and processDocumentSchemaOp functions have been removed ([#24018](https://github.com/microsoft/FluidFramework/pull/24018)) [bc35d543d5](https://github.com/microsoft/FluidFramework/commit/bc35d543d58c7e4bf28944b09d645cc26bf28a29)
|
|
127
131
|
|
|
128
132
|
`process` has been replaced by `processMessages` from the following:
|
|
129
|
-
|
|
130
133
|
- `FluidDataStoreRuntime`
|
|
131
134
|
- `IDeltaHandler`
|
|
132
135
|
- `IFluidDataStoreChannel`
|
|
@@ -162,7 +165,6 @@ Dependency updates only.
|
|
|
162
165
|
parameter.
|
|
163
166
|
|
|
164
167
|
These changes were originally announced in version 0.25.0. See the following issues for more details:
|
|
165
|
-
|
|
166
168
|
- [#1537](https://github.com/microsoft/FluidFramework/issues/1537)
|
|
167
169
|
- [#2931](https://github.com/microsoft/FluidFramework/pull/2931)
|
|
168
170
|
|
|
@@ -193,7 +195,6 @@ Dependency updates only.
|
|
|
193
195
|
Synchronous creation relies on both the factory and the datastore to support it. This means that asynchronous operations, such as resolving handles, some browser API calls, consensus-based operations, or other asynchronous tasks, cannot be performed during the creation flow. Therefore, synchronous child datastore creation is best limited to scenarios where the existing asynchronous process cannot be used, such as when a new datastore must be created in direct response to synchronous user input.
|
|
194
196
|
|
|
195
197
|
#### Key Benefits
|
|
196
|
-
|
|
197
198
|
- **Synchronous Creation**: Allows for the immediate creation of child datastores without waiting for asynchronous operations.
|
|
198
199
|
- **Strong Typing**: Ensures type safety and better developer experience by leveraging TypeScript's type system.
|
|
199
200
|
|
|
@@ -245,7 +246,6 @@ Dependency updates only.
|
|
|
245
246
|
The 'batchBegin'/'batchEnd' events on ContainerRuntime indicate when a batch is beginning or finishing being processed. The `contents` property on the event argument `op` is not useful or relevant when reasoning over incoming changes at the batch level. Accordingly, it has been removed from the `op` event argument.
|
|
246
247
|
|
|
247
248
|
- "Remove `IFluidParentContext.ensureNoDataModelChanges` and its implementations ([#22842](https://github.com/microsoft/FluidFramework/pull/22842)) [3aff19a462](https://github.com/microsoft/FluidFramework/commit/3aff19a4622a242e906286c14dfcfa6523175132)
|
|
248
|
-
|
|
249
249
|
- `IFluidParentContext.ensureNoDataModelChanges` has been removed. [prior deprecation commit](https://github.com/microsoft/FluidFramework/commit/c9d156264bdfa211a3075bdf29cde442ecea234c)
|
|
250
250
|
- `MockFluidDataStoreContext.ensureNoDataModelChanges` has also been removed.
|
|
251
251
|
|
|
@@ -258,7 +258,6 @@ Dependency updates only.
|
|
|
258
258
|
Similarly, `IDeltaManager.outbound` contained functionality that could break core runtime features such as generation of batches and chunking. Data loss or corruption could occur when `IDeltaManger.inbound.pause()` or `IDeltaManager.inbound.resume()` were called.
|
|
259
259
|
|
|
260
260
|
#### Alternatives
|
|
261
|
-
|
|
262
261
|
- Alternatives to `IDeltaManager.inbound.on("op", ...)` are `IDeltaManager.on("op", ...)`
|
|
263
262
|
- Alternatives to calling `IDeltaManager.inbound.pause`, `IDeltaManager.outbound.pause` for `IContainer` disconnect use `IContainer.disconnect`.
|
|
264
263
|
- Alternatives to calling `IDeltaManager.inbound.resume`, `IDeltaManager.outbound.resume` for `IContainer` reconnect use `IContainer.connect`.
|
|
@@ -305,12 +304,10 @@ Dependency updates only.
|
|
|
305
304
|
disabled or controlled:
|
|
306
305
|
|
|
307
306
|
GC runtime options removed:
|
|
308
|
-
|
|
309
307
|
- `gcDisableThrowOnTombstoneLoad`
|
|
310
308
|
- `disableDataStoreSweep`
|
|
311
309
|
|
|
312
310
|
GC configs removed:
|
|
313
|
-
|
|
314
311
|
- `"Fluid.GarbageCollection.DisableTombstone"`
|
|
315
312
|
- `"Fluid.GarbageCollection.ThrowOnTombstoneUsage"`
|
|
316
313
|
- `"Fluid.GarbageCollection.DisableDataStoreSweep"`
|
|
@@ -333,7 +330,6 @@ Dependency updates only.
|
|
|
333
330
|
|
|
334
331
|
Access to these now less public types should not be required for users of the `@public` "declarative API" exposed in the `fluid-framework` package, but can still be accessed for those who need them under the `/legacy` import paths.
|
|
335
332
|
The full list of such types is:
|
|
336
|
-
|
|
337
333
|
- `SharedTree` as exported from `@fluidframwork/tree`: It is still exported as `@public` from `fluid-framework` as `SharedObjectKind`.
|
|
338
334
|
- `ISharedObjectKind`: See new `SharedObjectKind` type for use in `@public` APIs.
|
|
339
335
|
`ISharedObject`
|
|
@@ -351,7 +347,6 @@ Dependency updates only.
|
|
|
351
347
|
- `IProvideFluidHandleContext`
|
|
352
348
|
|
|
353
349
|
Removed APIs:
|
|
354
|
-
|
|
355
350
|
- `DataObjectClass`: Usages replaced with `SharedObjectKind`.
|
|
356
351
|
- `LoadableObjectClass`: Replaced with `SharedObjectKind`.
|
|
357
352
|
- `LoadableObjectClassRecord`: Replaced with `Record<string, SharedObjectKind>`.
|
|
@@ -404,7 +399,6 @@ Dependency updates only.
|
|
|
404
399
|
TypeScript types and implementation code.
|
|
405
400
|
|
|
406
401
|
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
407
|
-
|
|
408
402
|
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
409
403
|
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
410
404
|
|
|
@@ -430,7 +424,6 @@ Dependency updates only.
|
|
|
430
424
|
|
|
431
425
|
There is no replacement given in terms of immediate programmatic access to this data.
|
|
432
426
|
The expected use pattern is something like this:
|
|
433
|
-
|
|
434
427
|
- Some code creates a concrete implementation of `ITelemetryContext` and passes it around
|
|
435
428
|
- Callers use the "write" functions on the interface to build up the context
|
|
436
429
|
- The originator uses a function like `serialize` (on the concrete impl, not exposed on the interface any longer)
|
|
@@ -440,26 +433,21 @@ Dependency updates only.
|
|
|
440
433
|
- container-runtime: New feature: ID compression for DataStores & DDSs ([#19859](https://github.com/microsoft/FluidFramework/issues/19859)) [51f0d3db73](https://github.com/microsoft/FluidFramework/commits/51f0d3db737800e1c30ea5e3952d38ff30ffc7da)
|
|
441
434
|
|
|
442
435
|
### Key changes
|
|
443
|
-
|
|
444
436
|
1. A new API IContainerRuntimeBase.generateDocumentUniqueId() is exposed. This API will opportunistically generate IDs in short format (non-negative numbers). If it can't achieve that, it will return UUID strings. UUIDs generated will have low entropy in groups and will compress well. It can be leveraged anywhere in container where container unique IDs are required. I.e. any place that uses uuid() and stores data in container is likely candidate to start leveraging this API.
|
|
445
437
|
2. Data store internal IDs (IDs that are auto generated by FF system) will opportunistically be generated in shorter form. Data stores created in detached container will always have short IDs, data stores created in attached container will opportunistically be short (by using newly added IContainerRuntimeBase.generateDocumentUniqueId() capability)
|
|
446
438
|
3. Similar DDS names will be opportunistically short (same considerations for detached DDS vs. attached DDS)
|
|
447
439
|
|
|
448
440
|
### Implementation details
|
|
449
|
-
|
|
450
441
|
1. Container level ID Compressor can now be enabled with delay. With such setting, only new IContainerRuntimeBase.generateDocumentUniqueId() is exposed (ID Compressor is not exposed in such case, as leveraging any of its other capabilities requires future container sessions to load ID Compressor on container load, for correctness reasons). Once Container establishes connection and any changes are made in container, newly added API will start generating more compact IDs (in most cases).
|
|
451
442
|
|
|
452
443
|
### Breaking changes
|
|
453
|
-
|
|
454
444
|
1. DDS names can no longer start with "\_" symbol - this is reserved for FF needs. I've validated that's not an issue for AzureClient (it only creates root object by name, everything else is referred by handle). Our main internal partners almost never use named DDSs (I can find only 4 instances in Loop).
|
|
455
445
|
|
|
456
446
|
### Backward compatibility considerations
|
|
457
|
-
|
|
458
447
|
1. Data store internal IDs could collide with earlier used names data stores. Earlier versions of FF framework (before DataStore aliasing feature was added) allowed customers to supply IDs for data stores. And thus, files created with earlier versions of framework could have data store IDs that will be similar to names FF will use for newly created data stores ("A", ... "Z", "a"..."z", "AA", etc.). While such collision is possible, it's very unlikely (almost impossible) if user-provided names were at least 4-5 characters long.
|
|
459
448
|
2. If application runs to these problems, or wants to reduce risks, consider disabling ID compressor via IContainerRuntimeOptions.enableRuntimeIdCompressor = "off".
|
|
460
449
|
|
|
461
450
|
### Minor changes
|
|
462
|
-
|
|
463
451
|
1. IContainerRuntime.createDetachedRootDataStore() is removed. Please use IContainerRuntime.createDetachedDataStore and IDataStore.trySetAlias() instead
|
|
464
452
|
2. IContainerRuntimeOptions.enableRuntimeIdCompressor has been changes from boolean to tri-state.
|
|
465
453
|
|
|
@@ -498,7 +486,6 @@ Dependency updates only.
|
|
|
498
486
|
- Updated server dependencies ([#19122](https://github.com/microsoft/FluidFramework/issues/19122)) [25366b4229](https://github.com/microsoft/FluidFramework/commits/25366b422918cb43685c5f328b50450749592902)
|
|
499
487
|
|
|
500
488
|
The following Fluid server dependencies have been updated to the latest version, 3.0.0. [See the full changelog.](https://github.com/microsoft/FluidFramework/releases/tag/server_v3.0.0)
|
|
501
|
-
|
|
502
489
|
- @fluidframework/gitresources
|
|
503
490
|
- @fluidframework/server-kafka-orderer
|
|
504
491
|
- @fluidframework/server-lambdas
|
|
@@ -551,7 +538,6 @@ Dependency updates only.
|
|
|
551
538
|
- container-runtime: Removed request pattern from ContainerRuntime, IRuntime, and IContainerRuntimeBase [9a451d4946](https://github.com/microsoft/FluidFramework/commits/9a451d4946b5c51a52e4d1ab5bf51e7b285b0d74)
|
|
552
539
|
|
|
553
540
|
The `request(...)` method and `IFluidRouter` property have been removed from the following places:
|
|
554
|
-
|
|
555
541
|
- `ContainerRuntime`
|
|
556
542
|
- `IRuntime`
|
|
557
543
|
- `IContainerRuntimeBase`
|
|
@@ -606,7 +592,6 @@ Dependency updates only.
|
|
|
606
592
|
- Dependencies on @fluidframework/protocol-definitions package updated to 3.0.0 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
607
593
|
|
|
608
594
|
This included the following changes from the protocol-definitions release:
|
|
609
|
-
|
|
610
595
|
- Updating signal interfaces for some planned improvements. The intention is split the interface between signals
|
|
611
596
|
submitted by clients to the server and the resulting signals sent from the server to clients.
|
|
612
597
|
- A new optional type member is available on the ISignalMessage interface and a new ISentSignalMessage interface has
|
|
@@ -622,7 +607,6 @@ Dependency updates only.
|
|
|
622
607
|
- DEPRECATED: resolveHandle and IFluidHandleContext deprecated on IContainerRuntime [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
623
608
|
|
|
624
609
|
The `resolveHandle(...)` and `get IFluidHandleContext()` methods have been deprecated on the following interfaces:
|
|
625
|
-
|
|
626
610
|
- `IContainerRuntime`
|
|
627
611
|
- `IContainerRuntimeBase`
|
|
628
612
|
|
|
@@ -639,7 +623,6 @@ Dependency updates only.
|
|
|
639
623
|
- Server upgrade: dependencies on Fluid server packages updated to 2.0.1 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
640
624
|
|
|
641
625
|
Dependencies on the following Fluid server package have been updated to version 2.0.1:
|
|
642
|
-
|
|
643
626
|
- @fluidframework/gitresources: 2.0.1
|
|
644
627
|
- @fluidframework/server-kafka-orderer: 2.0.1
|
|
645
628
|
- @fluidframework/server-lambdas: 2.0.1
|
|
@@ -664,7 +647,6 @@ Dependency updates only.
|
|
|
664
647
|
- test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
665
648
|
|
|
666
649
|
The optional `provideEntryPoint` method has become required on a number of constructors. A value will need to be provided to the following classes:
|
|
667
|
-
|
|
668
650
|
- `BaseContainerRuntimeFactory`
|
|
669
651
|
- `RuntimeFactory`
|
|
670
652
|
- `ContainerRuntime` (constructor and `loadRuntime`)
|
|
@@ -686,7 +668,6 @@ Dependency updates only.
|
|
|
686
668
|
### Minor Changes
|
|
687
669
|
|
|
688
670
|
- Upcoming: The type of the logger property/param in various APIs will be changing ([#17350](https://github.com/microsoft/FluidFramework/issues/17350)) [27284bcda3](https://github.com/microsoft/FluidFramework/commits/27284bcda3d63cc4306cf76806f8a075db0db60f)
|
|
689
|
-
|
|
690
671
|
- @fluidframework/runtime-definitions
|
|
691
672
|
- `IFluidDataStoreRuntime.logger` will be re-typed as `ITelemetryBaseLogger`
|
|
692
673
|
- @fluidframework/odsp-driver
|
|
@@ -707,7 +688,6 @@ Dependency updates only.
|
|
|
707
688
|
|
|
708
689
|
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
709
690
|
imported from the **@fluidframework/core-interfaces** package:
|
|
710
|
-
|
|
711
691
|
- interface IDisposable
|
|
712
692
|
- interface IErrorEvent
|
|
713
693
|
- interface IErrorEvent
|
|
@@ -741,7 +721,6 @@ Dependency updates only.
|
|
|
741
721
|
- Request APIs deprecated from many places [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
742
722
|
|
|
743
723
|
The `request` API (associated with the `IFluidRouter` interface) has been deprecated on a number of classes and interfaces. The following are impacted:
|
|
744
|
-
|
|
745
724
|
- `IRuntime` and `ContainerRuntime`
|
|
746
725
|
- `IFluidDataStoreRuntime` and `FluidDataStoreRuntime`
|
|
747
726
|
- `IFluidDataStoreChannel`
|
|
@@ -755,7 +734,6 @@ Dependency updates only.
|
|
|
755
734
|
More information of the migration off the request pattern, and current status of its removal, is documented in [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md).
|
|
756
735
|
|
|
757
736
|
- IContainer's and IDataStore's IFluidRouter capabilities are deprecated. [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
758
|
-
|
|
759
737
|
- The `request` function taking an arbitrary URL and headers is deprecated
|
|
760
738
|
- However, an overload taking only `{ url: "/" }` is not, for back-compat purposes during the migration
|
|
761
739
|
from the request pattern to using entryPoint.
|
|
@@ -841,7 +819,6 @@ Dependency updates only.
|
|
|
841
819
|
- GC interfaces removed from runtime-definitions [8b242fdc79](https://github.com/microsoft/FluidFramework/commits/8b242fdc796714cf1da9ad3f90d02efb122af0c2)
|
|
842
820
|
|
|
843
821
|
The following interfaces available in `@fluidframework/runtime-definitions` were deprecated in 2.0.0-internal.4.1.0 and are now removed.
|
|
844
|
-
|
|
845
822
|
- `IGarbageCollectionNodeData`
|
|
846
823
|
- `IGarbageCollectionState`
|
|
847
824
|
- `IGarbageCollectionSnapshotData`
|
|
@@ -858,7 +835,6 @@ Dependency updates only.
|
|
|
858
835
|
- GC interfaces removed from runtime-definitions ([#14750](https://github.com/microsoft/FluidFramework/pull-requests/14750)) [60274eacab](https://github.com/microsoft/FluidFramework/commits/60274eacabf14d42f52f6ad1c2f64356e64ba1a2)
|
|
859
836
|
|
|
860
837
|
The following interfaces available in `@fluidframework/runtime-definitions` are internal implementation details and have been deprecated for public use. They will be removed in an upcoming release.
|
|
861
|
-
|
|
862
838
|
- `IGarbageCollectionNodeData`
|
|
863
839
|
- `IGarbageCollectionState`
|
|
864
840
|
- `IGarbageCollectionSnapshotData`
|
|
@@ -117,9 +117,9 @@ export interface IDataStore {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
// @beta @legacy
|
|
120
|
-
export interface IEnvelope {
|
|
120
|
+
export interface IEnvelope<TContents = any> {
|
|
121
121
|
address: string;
|
|
122
|
-
contents:
|
|
122
|
+
contents: TContents;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
// @beta @legacy
|
|
@@ -144,11 +144,11 @@ export interface IFluidDataStoreChannel extends IDisposable {
|
|
|
144
144
|
processSignal(message: IInboundSignalMessage, local: boolean): void;
|
|
145
145
|
// (undocumented)
|
|
146
146
|
request(request: IRequest): Promise<IResponse>;
|
|
147
|
-
reSubmit(type: string, content: any, localOpMetadata: unknown, squash?: boolean):
|
|
147
|
+
reSubmit(type: string, content: any, localOpMetadata: unknown, squash?: boolean): void;
|
|
148
148
|
rollback?(type: string, content: any, localOpMetadata: unknown): void;
|
|
149
149
|
// (undocumented)
|
|
150
150
|
setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
|
|
151
|
-
setConnectionState(connected: boolean, clientId?: string):
|
|
151
|
+
setConnectionState(connected: boolean, clientId?: string): void;
|
|
152
152
|
summarize(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext): Promise<ISummaryTreeWithStats>;
|
|
153
153
|
updateUsedRoutes(usedRoutes: string[]): void;
|
|
154
154
|
}
|
|
@@ -108,9 +108,9 @@ export interface IDataStore {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
// @beta @legacy
|
|
111
|
-
export interface IEnvelope {
|
|
111
|
+
export interface IEnvelope<TContents = any> {
|
|
112
112
|
address: string;
|
|
113
|
-
contents:
|
|
113
|
+
contents: TContents;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
// @beta @legacy
|
|
@@ -135,11 +135,11 @@ export interface IFluidDataStoreChannel extends IDisposable {
|
|
|
135
135
|
processSignal(message: IInboundSignalMessage, local: boolean): void;
|
|
136
136
|
// (undocumented)
|
|
137
137
|
request(request: IRequest): Promise<IResponse>;
|
|
138
|
-
reSubmit(type: string, content: any, localOpMetadata: unknown, squash?: boolean):
|
|
138
|
+
reSubmit(type: string, content: any, localOpMetadata: unknown, squash?: boolean): void;
|
|
139
139
|
rollback?(type: string, content: any, localOpMetadata: unknown): void;
|
|
140
140
|
// (undocumented)
|
|
141
141
|
setAttachState(attachState: AttachState.Attaching | AttachState.Attached): void;
|
|
142
|
-
setConnectionState(connected: boolean, clientId?: string):
|
|
142
|
+
setConnectionState(connected: boolean, clientId?: string): void;
|
|
143
143
|
summarize(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext): Promise<ISummaryTreeWithStats>;
|
|
144
144
|
updateUsedRoutes(usedRoutes: string[]): void;
|
|
145
145
|
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import type { ILayerCompatSupportRequirements } from "@fluid-internal/client-utils";
|
|
6
|
+
/**
|
|
7
|
+
* Identifying characteristics of a registrant for checking runtime compatibility.
|
|
8
|
+
*
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export interface ExtensionCompatibilityDetails {
|
|
12
|
+
/**
|
|
13
|
+
* Compatibility generation.
|
|
14
|
+
*/
|
|
15
|
+
readonly generation: number;
|
|
16
|
+
/**
|
|
17
|
+
* Semver string representing the version of the registrant.
|
|
18
|
+
*/
|
|
19
|
+
readonly version: string;
|
|
20
|
+
/**
|
|
21
|
+
* Set of capabilities supported by the registrant.
|
|
22
|
+
*/
|
|
23
|
+
readonly capabilities: ReadonlySet<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Information about an instantiation of an extension.
|
|
27
|
+
*
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
export interface UnknownExtensionInstantiation {
|
|
31
|
+
compatibility: ExtensionCompatibilityDetails;
|
|
32
|
+
interface: unknown;
|
|
33
|
+
extension: unknown;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Description of expectations for an extension instance.
|
|
37
|
+
*
|
|
38
|
+
* Provided to {@link ContainerExtensionProvider.getExtension} and used to
|
|
39
|
+
* validate existing extension is runtime compatible.
|
|
40
|
+
*
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export interface ContainerExtensionExpectations {
|
|
44
|
+
/**
|
|
45
|
+
* Requirements imposed on the host/container for the extension.
|
|
46
|
+
*/
|
|
47
|
+
readonly hostRequirements: ILayerCompatSupportRequirements;
|
|
48
|
+
/**
|
|
49
|
+
* Expectations for an existing extension instance.
|
|
50
|
+
*/
|
|
51
|
+
readonly instanceExpectations: ExtensionCompatibilityDetails;
|
|
52
|
+
/**
|
|
53
|
+
* Called when an existing extension instantiation appears unable to meet
|
|
54
|
+
* expectations. Allows for custom resolution with the prior instantiation
|
|
55
|
+
* including more sophisticated acceptance logic.
|
|
56
|
+
* @param priorInstantiation - The prior instantiation of the extension.
|
|
57
|
+
*/
|
|
58
|
+
resolvePriorInstantiation(priorInstantiation: UnknownExtensionInstantiation): Readonly<UnknownExtensionInstantiation>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier for extension
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* A string known to all clients working with a certain ContainerExtension and unique
|
|
65
|
+
* among ContainerExtensions. No `/` may be used in the string. Recommend using
|
|
66
|
+
* concatenation of: type of unique identifier, `:` (required), and unique identifier.
|
|
67
|
+
*
|
|
68
|
+
* @example Examples
|
|
69
|
+
* ```typescript
|
|
70
|
+
* "guid:g0fl001d-1415-5000-c00l-g0fa54g0b1g1"
|
|
71
|
+
* "name:@foo-scope_bar:v1"
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
export type ContainerExtensionId = `${string}:${string}`;
|
|
77
|
+
/**
|
|
78
|
+
* @sealed
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
export interface ContainerExtensionProvider {
|
|
82
|
+
/**
|
|
83
|
+
* Gets an extension from store.
|
|
84
|
+
*
|
|
85
|
+
* @param id - Identifier for the requested extension
|
|
86
|
+
* @param expectations - Extension compatibility requirements
|
|
87
|
+
* @param context - Custom use context for extension
|
|
88
|
+
* @returns The extension
|
|
89
|
+
*/
|
|
90
|
+
getExtension<TInterface, TUseContext extends unknown[] = []>(id: ContainerExtensionId, expectations: ContainerExtensionExpectations, ...context: TUseContext): TInterface;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=containerExtensionProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerExtensionProvider.d.ts","sourceRoot":"","sources":["../src/containerExtensionProvider.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAEpF;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC7C;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC3C;AAED;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC7C,aAAa,EAAE,6BAA6B,CAAC;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,8BAA8B;IAC9C;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,+BAA+B,CAAC;IAE3D;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,6BAA6B,CAAC;IAE7D;;;;;OAKG;IACH,yBAAyB,CACxB,kBAAkB,EAAE,6BAA6B,GAC/C,QAAQ,CAAC,6BAA6B,CAAC,CAAC;CAC3C;AAGD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,oBAAoB,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;AAGzD;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IAC1C;;;;;;;OAOG;IACH,YAAY,CAAC,UAAU,EAAE,WAAW,SAAS,OAAO,EAAE,GAAG,EAAE,EAC1D,EAAE,EAAE,oBAAoB,EACxB,YAAY,EAAE,8BAA8B,EAC5C,GAAG,OAAO,EAAE,WAAW,GACrB,UAAU,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"containerExtensionProvider.js","sourceRoot":"","sources":["../src/containerExtensionProvider.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { ILayerCompatSupportRequirements } from \"@fluid-internal/client-utils\";\n\n/**\n * Identifying characteristics of a registrant for checking runtime compatibility.\n *\n * @internal\n */\nexport interface ExtensionCompatibilityDetails {\n\t/**\n\t * Compatibility generation.\n\t */\n\treadonly generation: number;\n\t/**\n\t * Semver string representing the version of the registrant.\n\t */\n\treadonly version: string;\n\t/**\n\t * Set of capabilities supported by the registrant.\n\t */\n\treadonly capabilities: ReadonlySet<string>;\n}\n\n/**\n * Information about an instantiation of an extension.\n *\n * @internal\n */\nexport interface UnknownExtensionInstantiation {\n\tcompatibility: ExtensionCompatibilityDetails;\n\tinterface: unknown;\n\textension: unknown;\n}\n\n/**\n * Description of expectations for an extension instance.\n *\n * Provided to {@link ContainerExtensionProvider.getExtension} and used to\n * validate existing extension is runtime compatible.\n *\n * @internal\n */\nexport interface ContainerExtensionExpectations {\n\t/**\n\t * Requirements imposed on the host/container for the extension.\n\t */\n\treadonly hostRequirements: ILayerCompatSupportRequirements;\n\n\t/**\n\t * Expectations for an existing extension instance.\n\t */\n\treadonly instanceExpectations: ExtensionCompatibilityDetails;\n\n\t/**\n\t * Called when an existing extension instantiation appears unable to meet\n\t * expectations. Allows for custom resolution with the prior instantiation\n\t * including more sophisticated acceptance logic.\n\t * @param priorInstantiation - The prior instantiation of the extension.\n\t */\n\tresolvePriorInstantiation(\n\t\tpriorInstantiation: UnknownExtensionInstantiation,\n\t): Readonly<UnknownExtensionInstantiation>;\n}\n\n/* eslint-disable @fluid-internal/fluid/no-hyphen-after-jsdoc-tag -- false positive AB#50920 */\n/**\n * Unique identifier for extension\n *\n * @remarks\n * A string known to all clients working with a certain ContainerExtension and unique\n * among ContainerExtensions. No `/` may be used in the string. Recommend using\n * concatenation of: type of unique identifier, `:` (required), and unique identifier.\n *\n * @example Examples\n * ```typescript\n * \"guid:g0fl001d-1415-5000-c00l-g0fa54g0b1g1\"\n * \"name:@foo-scope_bar:v1\"\n * ```\n *\n * @internal\n */\nexport type ContainerExtensionId = `${string}:${string}`;\n/* eslint-enable @fluid-internal/fluid/no-hyphen-after-jsdoc-tag */\n\n/**\n * @sealed\n * @internal\n */\nexport interface ContainerExtensionProvider {\n\t/**\n\t * Gets an extension from store.\n\t *\n\t * @param id - Identifier for the requested extension\n\t * @param expectations - Extension compatibility requirements\n\t * @param context - Custom use context for extension\n\t * @returns The extension\n\t */\n\tgetExtension<TInterface, TUseContext extends unknown[] = []>(\n\t\tid: ContainerExtensionId,\n\t\texpectations: ContainerExtensionExpectations,\n\t\t...context: TUseContext\n\t): TInterface;\n}\n"]}
|
|
@@ -10,6 +10,7 @@ import type { IClientDetails, IQuorumClients } from "@fluidframework/driver-defi
|
|
|
10
10
|
import type { IDocumentMessage, ISnapshotTree, ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
11
11
|
import type { IIdCompressor } from "@fluidframework/id-compressor";
|
|
12
12
|
import type { MinimumVersionForCollab } from "./compatibilityDefinitions.js";
|
|
13
|
+
import type { ContainerExtensionProvider } from "./containerExtensionProvider.js";
|
|
13
14
|
import type { IFluidDataStoreFactory, IProvideFluidDataStoreFactory } from "./dataStoreFactory.js";
|
|
14
15
|
import type { IProvideFluidDataStoreRegistry } from "./dataStoreRegistry.js";
|
|
15
16
|
import type { IGarbageCollectionData, IGarbageCollectionDetailsBase } from "./garbageCollectionDefinitions.js";
|
|
@@ -320,7 +321,7 @@ export interface IFluidDataStoreChannel extends IDisposable {
|
|
|
320
321
|
* @param clientId - ID of the client. It's old ID when in disconnected state and
|
|
321
322
|
* it's new client ID when we are connecting or connected.
|
|
322
323
|
*/
|
|
323
|
-
setConnectionState(connected: boolean, clientId?: string):
|
|
324
|
+
setConnectionState(connected: boolean, clientId?: string): void;
|
|
324
325
|
/**
|
|
325
326
|
* Notifies this object about changes in the readonly state
|
|
326
327
|
*/
|
|
@@ -343,7 +344,7 @@ export interface IFluidDataStoreChannel extends IDisposable {
|
|
|
343
344
|
* @privateRemarks
|
|
344
345
|
* See remarks about squashing contract on `CommitStagedChangesOptionsExperimental`.
|
|
345
346
|
*/
|
|
346
|
-
reSubmit(type: string, content: any, localOpMetadata: unknown, squash?: boolean):
|
|
347
|
+
reSubmit(type: string, content: any, localOpMetadata: unknown, squash?: boolean): void;
|
|
347
348
|
applyStashedOp(content: any): Promise<unknown>;
|
|
348
349
|
/**
|
|
349
350
|
* Revert a local message.
|
|
@@ -386,7 +387,8 @@ export interface IPendingMessagesState {
|
|
|
386
387
|
* Therefore the semantics of these two interfaces is not really distinct.
|
|
387
388
|
*
|
|
388
389
|
* @privateRemarks
|
|
389
|
-
* In addition to the use for datastores via IFluidDataStoreContext, this is
|
|
390
|
+
* In addition to the use for datastores via IFluidDataStoreContext, this is
|
|
391
|
+
* partially implemented by ContainerRuntime to provide context to the ChannelCollection.
|
|
390
392
|
*
|
|
391
393
|
* @legacy @beta
|
|
392
394
|
*/
|
|
@@ -563,6 +565,18 @@ export interface IFluidDataStoreContext extends IFluidParentContext {
|
|
|
563
565
|
*/
|
|
564
566
|
createChildDataStore?<T extends IFluidDataStoreFactory>(childFactory: T): ReturnType<Exclude<T["createDataStore"], undefined>>;
|
|
565
567
|
}
|
|
568
|
+
/**
|
|
569
|
+
* Internal extension to {@link IFluidDataStoreContext} for use across FluidFramework packages.
|
|
570
|
+
*
|
|
571
|
+
* @remarks
|
|
572
|
+
* Important: this interface does cross layer boundaries and must follow `@legacy`
|
|
573
|
+
* layer compatibility patterns.
|
|
574
|
+
* This is meant to be a staging ground ahead of adding properties to {@link IFluidDataStoreContext}.
|
|
575
|
+
*
|
|
576
|
+
* @internal
|
|
577
|
+
*/
|
|
578
|
+
export interface FluidDataStoreContextInternal extends IFluidDataStoreContext, ContainerExtensionProvider {
|
|
579
|
+
}
|
|
566
580
|
/**
|
|
567
581
|
* @legacy @beta
|
|
568
582
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreContext.d.ts","sourceRoot":"","sources":["../src/dataStoreContext.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,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