@fluidframework/datastore-definitions 2.0.2 → 2.1.0-276326
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/api-extractor/api-extractor.legacy.json +4 -0
- package/api-report/datastore-definitions.beta.api.md +0 -20
- package/api-report/{datastore-definitions.alpha.api.md → datastore-definitions.legacy.alpha.api.md} +2 -20
- package/api-report/datastore-definitions.public.api.md +0 -20
- package/dist/channel.d.ts +6 -0
- package/dist/channel.d.ts.map +1 -1
- package/dist/dataStoreRuntime.d.ts +3 -0
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/jsonable.d.ts +3 -0
- package/dist/jsonable.d.ts.map +1 -1
- package/dist/legacy.d.ts +1 -1
- package/dist/serializable.d.ts +1 -0
- package/dist/serializable.d.ts.map +1 -1
- package/dist/storage.d.ts +1 -0
- package/dist/storage.d.ts.map +1 -1
- package/lib/channel.d.ts +6 -0
- package/lib/channel.d.ts.map +1 -1
- package/lib/dataStoreRuntime.d.ts +3 -0
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/jsonable.d.ts +3 -0
- package/lib/jsonable.d.ts.map +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/serializable.d.ts +1 -0
- package/lib/serializable.d.ts.map +1 -1
- package/lib/storage.d.ts +1 -0
- package/lib/storage.d.ts.map +1 -1
- package/package.json +16 -12
- package/src/channel.ts +6 -0
- package/src/dataStoreRuntime.ts +3 -0
- package/src/jsonable.ts +3 -0
- package/src/serializable.ts +1 -0
- package/src/storage.ts +1 -0
|
@@ -4,24 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import type { AttachState } from '@fluidframework/container-definitions';
|
|
8
|
-
import type { ErasedType } from '@fluidframework/core-interfaces';
|
|
9
|
-
import type { FluidObject } from '@fluidframework/core-interfaces';
|
|
10
|
-
import type { IAudience } from '@fluidframework/container-definitions';
|
|
11
|
-
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
14
|
-
import type { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions/internal';
|
|
15
|
-
import type { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
16
|
-
import type { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
|
|
17
|
-
import type { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
18
|
-
import type { IGarbageCollectionData } from '@fluidframework/runtime-definitions/internal';
|
|
19
|
-
import type { IIdCompressor } from '@fluidframework/id-compressor';
|
|
20
|
-
import type { IInboundSignalMessage } from '@fluidframework/runtime-definitions/internal';
|
|
21
|
-
import type { IQuorumClients } from '@fluidframework/driver-definitions';
|
|
22
|
-
import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
23
|
-
import type { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
|
|
24
|
-
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
25
|
-
import type { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
|
|
26
|
-
|
|
27
7
|
```
|
package/api-report/{datastore-definitions.alpha.api.md → datastore-definitions.legacy.alpha.api.md}
RENAMED
|
@@ -4,26 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import type { AttachState } from '@fluidframework/container-definitions';
|
|
8
|
-
import type { ErasedType } from '@fluidframework/core-interfaces';
|
|
9
|
-
import type { FluidObject } from '@fluidframework/core-interfaces';
|
|
10
|
-
import type { IAudience } from '@fluidframework/container-definitions';
|
|
11
|
-
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
14
|
-
import type { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions/internal';
|
|
15
|
-
import type { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
16
|
-
import type { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
|
|
17
|
-
import type { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
18
|
-
import type { IGarbageCollectionData } from '@fluidframework/runtime-definitions/internal';
|
|
19
|
-
import type { IIdCompressor } from '@fluidframework/id-compressor';
|
|
20
|
-
import type { IInboundSignalMessage } from '@fluidframework/runtime-definitions/internal';
|
|
21
|
-
import type { IQuorumClients } from '@fluidframework/driver-definitions';
|
|
22
|
-
import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
23
|
-
import type { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
|
|
24
|
-
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
25
|
-
import type { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
|
|
26
|
-
|
|
27
7
|
// @alpha (undocumented)
|
|
28
8
|
export interface IChannel extends IFluidLoadable {
|
|
29
9
|
// (undocumented)
|
|
@@ -153,4 +133,6 @@ export type JsonableTypeWith<T> = undefined | null | boolean | number | string |
|
|
|
153
133
|
// @alpha
|
|
154
134
|
export type Serializable<T> = Jsonable<T, IFluidHandle>;
|
|
155
135
|
|
|
136
|
+
// (No @packageDocumentation comment for this package)
|
|
137
|
+
|
|
156
138
|
```
|
|
@@ -4,24 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import type { AttachState } from '@fluidframework/container-definitions';
|
|
8
|
-
import type { ErasedType } from '@fluidframework/core-interfaces';
|
|
9
|
-
import type { FluidObject } from '@fluidframework/core-interfaces';
|
|
10
|
-
import type { IAudience } from '@fluidframework/container-definitions';
|
|
11
|
-
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
-
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
13
|
-
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
14
|
-
import type { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions/internal';
|
|
15
|
-
import type { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
16
|
-
import type { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
|
|
17
|
-
import type { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
18
|
-
import type { IGarbageCollectionData } from '@fluidframework/runtime-definitions/internal';
|
|
19
|
-
import type { IIdCompressor } from '@fluidframework/id-compressor';
|
|
20
|
-
import type { IInboundSignalMessage } from '@fluidframework/runtime-definitions/internal';
|
|
21
|
-
import type { IQuorumClients } from '@fluidframework/driver-definitions';
|
|
22
|
-
import type { ISequencedDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
23
|
-
import type { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
|
|
24
|
-
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
25
|
-
import type { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
|
|
26
|
-
|
|
27
7
|
```
|
package/dist/channel.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, IS
|
|
|
8
8
|
import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
9
9
|
import type { IChannelAttributes } from "./storage.js";
|
|
10
10
|
/**
|
|
11
|
+
* @legacy
|
|
11
12
|
* @alpha
|
|
12
13
|
*/
|
|
13
14
|
export interface IChannel extends IFluidLoadable {
|
|
@@ -95,6 +96,7 @@ export interface IChannel extends IFluidLoadable {
|
|
|
95
96
|
}
|
|
96
97
|
/**
|
|
97
98
|
* Handler provided by shared data structure to process requests from the runtime.
|
|
99
|
+
* @legacy
|
|
98
100
|
* @alpha
|
|
99
101
|
*/
|
|
100
102
|
export interface IDeltaHandler {
|
|
@@ -145,6 +147,7 @@ export interface IDeltaHandler {
|
|
|
145
147
|
}
|
|
146
148
|
/**
|
|
147
149
|
* Interface to represent a connection to a delta notification stream.
|
|
150
|
+
* @legacy
|
|
148
151
|
* @alpha
|
|
149
152
|
*/
|
|
150
153
|
export interface IDeltaConnection {
|
|
@@ -169,6 +172,7 @@ export interface IDeltaConnection {
|
|
|
169
172
|
}
|
|
170
173
|
/**
|
|
171
174
|
* Storage services to read the objects at a given path.
|
|
175
|
+
* @legacy
|
|
172
176
|
* @alpha
|
|
173
177
|
*/
|
|
174
178
|
export interface IChannelStorageService {
|
|
@@ -187,6 +191,7 @@ export interface IChannelStorageService {
|
|
|
187
191
|
}
|
|
188
192
|
/**
|
|
189
193
|
* Storage services to read the objects at a given path using the given delta connection.
|
|
194
|
+
* @legacy
|
|
190
195
|
* @alpha
|
|
191
196
|
*/
|
|
192
197
|
export interface IChannelServices {
|
|
@@ -219,6 +224,7 @@ export interface IChannelServices {
|
|
|
219
224
|
* This approach (not requiring TChannel to extend IChannel) also makes it possible for SharedObject's public interfaces to not include IChannel if desired
|
|
220
225
|
* (while still requiring the implementation to implement it).
|
|
221
226
|
*
|
|
227
|
+
* @legacy
|
|
222
228
|
* @alpha
|
|
223
229
|
*/
|
|
224
230
|
export interface IChannelFactory<out TChannel = unknown> {
|
package/dist/channel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EACX,sCAAsC,EACtC,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD
|
|
1
|
+
{"version":3,"file":"channel.d.ts","s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,OAAO;IACtD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAExC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACH,OAAO,EAAE,sBAAsB,EAC/B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,QAAQ,CAAC,kBAAkB,CAAC,GAC7C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAEhC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACzE"}
|
|
@@ -12,6 +12,7 @@ import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions/
|
|
|
12
12
|
import type { IChannel } from "./channel.js";
|
|
13
13
|
/**
|
|
14
14
|
* Events emitted by {@link IFluidDataStoreRuntime}.
|
|
15
|
+
* @legacy
|
|
15
16
|
* @alpha
|
|
16
17
|
*/
|
|
17
18
|
export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
@@ -22,12 +23,14 @@ export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
* Manages the transmission of ops between the runtime and storage.
|
|
26
|
+
* @legacy
|
|
25
27
|
* @alpha
|
|
26
28
|
*/
|
|
27
29
|
export type IDeltaManagerErased = ErasedType<"@fluidframework/container-definitions.IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>">;
|
|
28
30
|
/**
|
|
29
31
|
* Represents the runtime for the data store. Contains helper functions/state of the data store.
|
|
30
32
|
* @sealed
|
|
33
|
+
* @legacy
|
|
31
34
|
* @alpha
|
|
32
35
|
*/
|
|
33
36
|
export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRuntimeEvents>, IDisposable {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAE1F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C
|
|
1
|
+
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAA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;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC,QAAQ,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE1C;;;;OAIG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IAE9D;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IAEpC;;;OAGG;IACH,WAAW,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IAGrC;;;OAGG;IACH,UAAU,CACT,IAAI,EAAE,eAAe,EACrB,MAAM,CAAC,EAAE,WAAW,GAClB,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,CAAC;IAE1C;;;;;OAKG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAEhF;;OAEG;IACH,SAAS,IAAI,cAAc,CAAC;IAE5B;;OAEG;IACH,WAAW,IAAI,SAAS,CAAC;IAEzB;;OAEG;IACH,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CAC/C"}
|
package/dist/jsonable.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*
|
|
13
13
|
* @privateRemarks
|
|
14
14
|
* Perfer using `Jsonable<unknown>` over this type that is an implementation detail.
|
|
15
|
+
* @legacy
|
|
15
16
|
* @alpha
|
|
16
17
|
*/
|
|
17
18
|
export type JsonableTypeWith<T> = undefined | null | boolean | number | string | T | Internal_InterfaceOfJsonableTypesWith<T> | ArrayLike<JsonableTypeWith<T>>;
|
|
@@ -24,6 +25,7 @@ export type JsonableTypeWith<T> = undefined | null | boolean | number | string |
|
|
|
24
25
|
* This interface along with ArrayLike above avoids pure type recursion issues, but introduces a limitation on
|
|
25
26
|
* the ability of {@link Jsonable} to detect array-like types that are not handled naively ({@link JSON.stringify}).
|
|
26
27
|
* The TypeOnly filter is not useful for {@link JsonableTypeWith}; so, if type testing improves, this can be removed.
|
|
28
|
+
* @legacy
|
|
27
29
|
* @alpha
|
|
28
30
|
*/
|
|
29
31
|
export interface Internal_InterfaceOfJsonableTypesWith<T> {
|
|
@@ -67,6 +69,7 @@ export interface Internal_InterfaceOfJsonableTypesWith<T> {
|
|
|
67
69
|
* ```typescript
|
|
68
70
|
* function foo<T>(value: Jsonable<T>) { ... }
|
|
69
71
|
* ```
|
|
72
|
+
* @legacy
|
|
70
73
|
* @alpha
|
|
71
74
|
*/
|
|
72
75
|
export type Jsonable<T, TReplaced = never> = boolean extends (T extends never ? true : false) ? JsonableTypeWith<TReplaced> : unknown extends T ? JsonableTypeWith<TReplaced> : T extends undefined | null | boolean | number | string | TReplaced ? T : Extract<T, Function> extends never ? T extends object ? T extends (infer U)[] ? Jsonable<U, TReplaced>[] : {
|
package/dist/jsonable.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonable.d.ts","sourceRoot":"","sources":["../src/jsonable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"jsonable.d.ts","sourceRoot":"","sources":["../src/jsonable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAC3B,SAAS,GACT,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,CAAC,GACD,qCAAqC,CAAC,CAAC,CAAC,GACxC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAElC;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,qCAAqC,CAAC,CAAC;IACvD,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;CAC9C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,SAAS,GAAG,KAAK,IAAyB,OAAO,SAAS,CACjF,CAAC,SAAS,KAAK,GACZ,IAAI,GACJ,KAAK,CACR,GACiB,gBAAgB,CAAC,SAAS,CAAC,GACjB,OAAO,SAAS,CAAC,GACtB,gBAAgB,CAAC,SAAS,CAAC,GACN,CAAC,SACtC,SAAS,GACT,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,GACc,CAAC,GAEG,OAAO,CAAC,CAAC,EAAE,QAAQ,CAAC,SAAS,KAAK,GAClB,CAAC,SAAS,MAAM,GAC5B,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GACpC,QAAQ,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,GACjB;KACrB,CAAC,IAAI,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,SAAS,KAAK,GAC7C,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GACzB,KAAK;CACR,GACsB,KAAK,GACX,KAAK,CAAC"}
|
package/dist/legacy.d.ts
CHANGED
package/dist/serializable.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializable.d.ts","sourceRoot":"","sources":["../src/serializable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C
|
|
1
|
+
{"version":3,"file":"serializable.d.ts","sourceRoot":"","sources":["../src/serializable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC"}
|
package/dist/storage.d.ts
CHANGED
package/dist/storage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAClC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CACjC"}
|
package/lib/channel.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, IS
|
|
|
8
8
|
import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
9
9
|
import type { IChannelAttributes } from "./storage.js";
|
|
10
10
|
/**
|
|
11
|
+
* @legacy
|
|
11
12
|
* @alpha
|
|
12
13
|
*/
|
|
13
14
|
export interface IChannel extends IFluidLoadable {
|
|
@@ -95,6 +96,7 @@ export interface IChannel extends IFluidLoadable {
|
|
|
95
96
|
}
|
|
96
97
|
/**
|
|
97
98
|
* Handler provided by shared data structure to process requests from the runtime.
|
|
99
|
+
* @legacy
|
|
98
100
|
* @alpha
|
|
99
101
|
*/
|
|
100
102
|
export interface IDeltaHandler {
|
|
@@ -145,6 +147,7 @@ export interface IDeltaHandler {
|
|
|
145
147
|
}
|
|
146
148
|
/**
|
|
147
149
|
* Interface to represent a connection to a delta notification stream.
|
|
150
|
+
* @legacy
|
|
148
151
|
* @alpha
|
|
149
152
|
*/
|
|
150
153
|
export interface IDeltaConnection {
|
|
@@ -169,6 +172,7 @@ export interface IDeltaConnection {
|
|
|
169
172
|
}
|
|
170
173
|
/**
|
|
171
174
|
* Storage services to read the objects at a given path.
|
|
175
|
+
* @legacy
|
|
172
176
|
* @alpha
|
|
173
177
|
*/
|
|
174
178
|
export interface IChannelStorageService {
|
|
@@ -187,6 +191,7 @@ export interface IChannelStorageService {
|
|
|
187
191
|
}
|
|
188
192
|
/**
|
|
189
193
|
* Storage services to read the objects at a given path using the given delta connection.
|
|
194
|
+
* @legacy
|
|
190
195
|
* @alpha
|
|
191
196
|
*/
|
|
192
197
|
export interface IChannelServices {
|
|
@@ -219,6 +224,7 @@ export interface IChannelServices {
|
|
|
219
224
|
* This approach (not requiring TChannel to extend IChannel) also makes it possible for SharedObject's public interfaces to not include IChannel if desired
|
|
220
225
|
* (while still requiring the implementation to implement it).
|
|
221
226
|
*
|
|
227
|
+
* @legacy
|
|
222
228
|
* @alpha
|
|
223
229
|
*/
|
|
224
230
|
export interface IChannelFactory<out TChannel = unknown> {
|
package/lib/channel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EACX,sCAAsC,EACtC,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE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;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,eAAe,CAAC,GAAG,CAAC,QAAQ,GAAG,OAAO;IACtD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAExC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACH,OAAO,EAAE,sBAAsB,EAC/B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,QAAQ,CAAC,kBAAkB,CAAC,GAC7C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAEhC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACzE"}
|
|
@@ -12,6 +12,7 @@ import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions/
|
|
|
12
12
|
import type { IChannel } from "./channel.js";
|
|
13
13
|
/**
|
|
14
14
|
* Events emitted by {@link IFluidDataStoreRuntime}.
|
|
15
|
+
* @legacy
|
|
15
16
|
* @alpha
|
|
16
17
|
*/
|
|
17
18
|
export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
@@ -22,12 +23,14 @@ export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
* Manages the transmission of ops between the runtime and storage.
|
|
26
|
+
* @legacy
|
|
25
27
|
* @alpha
|
|
26
28
|
*/
|
|
27
29
|
export type IDeltaManagerErased = ErasedType<"@fluidframework/container-definitions.IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>">;
|
|
28
30
|
/**
|
|
29
31
|
* Represents the runtime for the data store. Contains helper functions/state of the data store.
|
|
30
32
|
* @sealed
|
|
33
|
+
* @legacy
|
|
31
34
|
* @alpha
|
|
32
35
|
*/
|
|
33
36
|
export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRuntimeEvents>, IDisposable {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAE1F,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C
|
|
1
|
+
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,MAAM,EACN,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,M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AE,OAAO,CAAC;IAE5B,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC,QAAQ,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC;IAEtC;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAE1C;;;;OAIG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IAE9D;;;;;;;;;;;;OAYG;IACH,UAAU,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IAEpC;;;OAGG;IACH,WAAW,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IAGrC;;;OAGG;IACH,UAAU,CACT,IAAI,EAAE,eAAe,EACrB,MAAM,CAAC,EAAE,WAAW,GAClB,OAAO,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,CAAC;IAE1C;;;;;OAKG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAEhF;;OAEG;IACH,SAAS,IAAI,cAAc,CAAC;IAE5B;;OAEG;IACH,WAAW,IAAI,SAAS,CAAC;IAEzB;;OAEG;IACH,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9B;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;CAC/C"}
|
package/lib/jsonable.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*
|
|
13
13
|
* @privateRemarks
|
|
14
14
|
* Perfer using `Jsonable<unknown>` over this type that is an implementation detail.
|
|
15
|
+
* @legacy
|
|
15
16
|
* @alpha
|
|
16
17
|
*/
|
|
17
18
|
export type JsonableTypeWith<T> = undefined | null | boolean | number | string | T | Internal_InterfaceOfJsonableTypesWith<T> | ArrayLike<JsonableTypeWith<T>>;
|
|
@@ -24,6 +25,7 @@ export type JsonableTypeWith<T> = undefined | null | boolean | number | string |
|
|
|
24
25
|
* This interface along with ArrayLike above avoids pure type recursion issues, but introduces a limitation on
|
|
25
26
|
* the ability of {@link Jsonable} to detect array-like types that are not handled naively ({@link JSON.stringify}).
|
|
26
27
|
* The TypeOnly filter is not useful for {@link JsonableTypeWith}; so, if type testing improves, this can be removed.
|
|
28
|
+
* @legacy
|
|
27
29
|
* @alpha
|
|
28
30
|
*/
|
|
29
31
|
export interface Internal_InterfaceOfJsonableTypesWith<T> {
|
|
@@ -67,6 +69,7 @@ export interface Internal_InterfaceOfJsonableTypesWith<T> {
|
|
|
67
69
|
* ```typescript
|
|
68
70
|
* function foo<T>(value: Jsonable<T>) { ... }
|
|
69
71
|
* ```
|
|
72
|
+
* @legacy
|
|
70
73
|
* @alpha
|
|
71
74
|
*/
|
|
72
75
|
export type Jsonable<T, TReplaced = never> = boolean extends (T extends never ? true : false) ? JsonableTypeWith<TReplaced> : unknown extends T ? JsonableTypeWith<TReplaced> : T extends undefined | null | boolean | number | string | TReplaced ? T : Extract<T, Function> extends never ? T extends object ? T extends (infer U)[] ? Jsonable<U, TReplaced>[] : {
|
package/lib/jsonable.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonable.d.ts","sourceRoot":"","sources":["../src/jsonable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"jsonable.d.ts","sourceRoot":"","sources":["../src/jsonable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAC3B,SAAS,GACT,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,CAAC,GACD,qCAAqC,CAAC,CAAC,CAAC,GACxC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;AAElC;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,qCAAqC,CAAC,CAAC;IACvD,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;CAC9C;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,SAAS,GAAG,KAAK,IAAyB,OAAO,SAAS,CACjF,CAAC,SAAS,KAAK,GACZ,IAAI,GACJ,KAAK,CACR,GACiB,gBAAgB,CAAC,SAAS,CAAC,GACjB,OAAO,SAAS,CAAC,GACtB,gBAAgB,CAAC,SAAS,CAAC,GACN,CAAC,SACtC,SAAS,GACT,IAAI,GACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,GACc,CAAC,GAEG,OAAO,CAAC,CAAC,EAAE,QAAQ,CAAC,SAAS,KAAK,GAClB,CAAC,SAAS,MAAM,GAC5B,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GACpC,QAAQ,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,GACjB;KACrB,CAAC,IAAI,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,SAAS,KAAK,GAC7C,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,GACzB,KAAK;CACR,GACsB,KAAK,GACX,KAAK,CAAC"}
|
package/lib/legacy.d.ts
CHANGED
package/lib/serializable.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializable.d.ts","sourceRoot":"","sources":["../src/serializable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C
|
|
1
|
+
{"version":3,"file":"serializable.d.ts","sourceRoot":"","sources":["../src/serializable.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC"}
|
package/lib/storage.d.ts
CHANGED
package/lib/storage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAClC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CACjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore-definitions",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0-276326",
|
|
4
4
|
"description": "Fluid data store definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"main": "",
|
|
42
42
|
"types": "lib/public.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@fluidframework/container-definitions": "
|
|
45
|
-
"@fluidframework/core-interfaces": "
|
|
46
|
-
"@fluidframework/driver-definitions": "
|
|
47
|
-
"@fluidframework/id-compressor": "
|
|
48
|
-
"@fluidframework/runtime-definitions": "
|
|
44
|
+
"@fluidframework/container-definitions": "2.1.0-276326",
|
|
45
|
+
"@fluidframework/core-interfaces": "2.1.0-276326",
|
|
46
|
+
"@fluidframework/driver-definitions": "2.1.0-276326",
|
|
47
|
+
"@fluidframework/id-compressor": "2.1.0-276326",
|
|
48
|
+
"@fluidframework/runtime-definitions": "2.1.0-276326"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@fluid-tools/build-cli": "^0.39.0",
|
|
54
54
|
"@fluidframework/build-common": "^2.0.3",
|
|
55
55
|
"@fluidframework/build-tools": "^0.39.0",
|
|
56
|
-
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.0.0-rc.
|
|
56
|
+
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.0.0-rc.5.0.0",
|
|
57
57
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
58
58
|
"@microsoft/api-extractor": "^7.45.1",
|
|
59
59
|
"concurrently": "^8.2.1",
|
|
@@ -68,11 +68,13 @@
|
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"api": "fluid-build . --task api",
|
|
71
|
-
"api-extractor:commonjs": "flub generate entrypoints --
|
|
72
|
-
"api-extractor:esnext": "flub generate entrypoints --
|
|
71
|
+
"api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
|
|
72
|
+
"api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
|
|
73
73
|
"build": "fluid-build . --task build",
|
|
74
74
|
"build:compile": "fluid-build . --task compile",
|
|
75
|
-
"build:docs": "
|
|
75
|
+
"build:docs": "concurrently \"npm:build:docs:*\"",
|
|
76
|
+
"build:docs:current": "api-extractor run --local",
|
|
77
|
+
"build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
76
78
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
77
79
|
"build:test": "npm run build:test:esm && npm run build:test:cjs",
|
|
78
80
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
@@ -87,7 +89,9 @@
|
|
|
87
89
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
88
90
|
"check:format": "npm run check:biome",
|
|
89
91
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
90
|
-
"ci:build:docs": "
|
|
92
|
+
"ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
|
|
93
|
+
"ci:build:docs:current": "api-extractor run",
|
|
94
|
+
"ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
91
95
|
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
|
|
92
96
|
"eslint": "eslint --format stylish src",
|
|
93
97
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
@@ -97,7 +101,7 @@
|
|
|
97
101
|
"lint": "fluid-build . --task lint",
|
|
98
102
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
99
103
|
"tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
100
|
-
"typetests:gen": "flub generate typetests --dir . -v
|
|
104
|
+
"typetests:gen": "flub generate typetests --dir . -v",
|
|
101
105
|
"typetests:prepare": "flub typetests --dir . --reset --previous --normalize"
|
|
102
106
|
}
|
|
103
107
|
}
|
package/src/channel.ts
CHANGED
|
@@ -16,6 +16,7 @@ import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
|
16
16
|
import type { IChannelAttributes } from "./storage.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
+
* @legacy
|
|
19
20
|
* @alpha
|
|
20
21
|
*/
|
|
21
22
|
export interface IChannel extends IFluidLoadable {
|
|
@@ -119,6 +120,7 @@ export interface IChannel extends IFluidLoadable {
|
|
|
119
120
|
|
|
120
121
|
/**
|
|
121
122
|
* Handler provided by shared data structure to process requests from the runtime.
|
|
123
|
+
* @legacy
|
|
122
124
|
* @alpha
|
|
123
125
|
*/
|
|
124
126
|
export interface IDeltaHandler {
|
|
@@ -178,6 +180,7 @@ export interface IDeltaHandler {
|
|
|
178
180
|
|
|
179
181
|
/**
|
|
180
182
|
* Interface to represent a connection to a delta notification stream.
|
|
183
|
+
* @legacy
|
|
181
184
|
* @alpha
|
|
182
185
|
*/
|
|
183
186
|
export interface IDeltaConnection {
|
|
@@ -206,6 +209,7 @@ export interface IDeltaConnection {
|
|
|
206
209
|
|
|
207
210
|
/**
|
|
208
211
|
* Storage services to read the objects at a given path.
|
|
212
|
+
* @legacy
|
|
209
213
|
* @alpha
|
|
210
214
|
*/
|
|
211
215
|
export interface IChannelStorageService {
|
|
@@ -227,6 +231,7 @@ export interface IChannelStorageService {
|
|
|
227
231
|
|
|
228
232
|
/**
|
|
229
233
|
* Storage services to read the objects at a given path using the given delta connection.
|
|
234
|
+
* @legacy
|
|
230
235
|
* @alpha
|
|
231
236
|
*/
|
|
232
237
|
export interface IChannelServices {
|
|
@@ -261,6 +266,7 @@ export interface IChannelServices {
|
|
|
261
266
|
* This approach (not requiring TChannel to extend IChannel) also makes it possible for SharedObject's public interfaces to not include IChannel if desired
|
|
262
267
|
* (while still requiring the implementation to implement it).
|
|
263
268
|
*
|
|
269
|
+
* @legacy
|
|
264
270
|
* @alpha
|
|
265
271
|
*/
|
|
266
272
|
export interface IChannelFactory<out TChannel = unknown> {
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -23,6 +23,7 @@ import type { IChannel } from "./channel.js";
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Events emitted by {@link IFluidDataStoreRuntime}.
|
|
26
|
+
* @legacy
|
|
26
27
|
* @alpha
|
|
27
28
|
*/
|
|
28
29
|
export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
@@ -34,6 +35,7 @@ export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
37
|
* Manages the transmission of ops between the runtime and storage.
|
|
38
|
+
* @legacy
|
|
37
39
|
* @alpha
|
|
38
40
|
*/
|
|
39
41
|
export type IDeltaManagerErased =
|
|
@@ -42,6 +44,7 @@ export type IDeltaManagerErased =
|
|
|
42
44
|
/**
|
|
43
45
|
* Represents the runtime for the data store. Contains helper functions/state of the data store.
|
|
44
46
|
* @sealed
|
|
47
|
+
* @legacy
|
|
45
48
|
* @alpha
|
|
46
49
|
*/
|
|
47
50
|
export interface IFluidDataStoreRuntime
|
package/src/jsonable.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* @privateRemarks
|
|
15
15
|
* Perfer using `Jsonable<unknown>` over this type that is an implementation detail.
|
|
16
|
+
* @legacy
|
|
16
17
|
* @alpha
|
|
17
18
|
*/
|
|
18
19
|
export type JsonableTypeWith<T> =
|
|
@@ -34,6 +35,7 @@ export type JsonableTypeWith<T> =
|
|
|
34
35
|
* This interface along with ArrayLike above avoids pure type recursion issues, but introduces a limitation on
|
|
35
36
|
* the ability of {@link Jsonable} to detect array-like types that are not handled naively ({@link JSON.stringify}).
|
|
36
37
|
* The TypeOnly filter is not useful for {@link JsonableTypeWith}; so, if type testing improves, this can be removed.
|
|
38
|
+
* @legacy
|
|
37
39
|
* @alpha
|
|
38
40
|
*/
|
|
39
41
|
export interface Internal_InterfaceOfJsonableTypesWith<T> {
|
|
@@ -78,6 +80,7 @@ export interface Internal_InterfaceOfJsonableTypesWith<T> {
|
|
|
78
80
|
* ```typescript
|
|
79
81
|
* function foo<T>(value: Jsonable<T>) { ... }
|
|
80
82
|
* ```
|
|
83
|
+
* @legacy
|
|
81
84
|
* @alpha
|
|
82
85
|
*/
|
|
83
86
|
export type Jsonable<T, TReplaced = never> = /* test for 'any' */ boolean extends (
|
package/src/serializable.ts
CHANGED