@fluidframework/datastore-definitions 2.0.0-dev-rc.5.0.0.263932 → 2.0.0-dev-rc.5.0.0.267932
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-report/datastore-definitions.api.md +18 -18
- package/dist/channel.d.ts +8 -8
- package/dist/channel.d.ts.map +1 -1
- package/dist/dataStoreRuntime.d.ts +7 -6
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/legacy.d.ts +2 -4
- package/dist/public.d.ts +2 -13
- package/dist/storage.d.ts +1 -1
- package/lib/channel.d.ts +8 -8
- package/lib/channel.d.ts.map +1 -1
- package/lib/dataStoreRuntime.d.ts +7 -6
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/legacy.d.ts +2 -4
- package/lib/public.d.ts +2 -13
- package/lib/storage.d.ts +1 -1
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +12 -21
- package/src/channel.ts +8 -8
- package/src/dataStoreRuntime.ts +7 -10
- package/src/storage.ts +1 -1
|
@@ -11,20 +11,20 @@ import type { IAudience } from '@fluidframework/container-definitions';
|
|
|
11
11
|
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
12
|
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
13
13
|
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
14
|
-
import type { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions';
|
|
14
|
+
import type { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions/internal';
|
|
15
15
|
import type { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
16
|
-
import type { IFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
16
|
+
import type { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
|
|
17
17
|
import type { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
18
|
-
import type { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
|
|
18
|
+
import type { IGarbageCollectionData } from '@fluidframework/runtime-definitions/internal';
|
|
19
19
|
import type { IIdCompressor } from '@fluidframework/id-compressor';
|
|
20
|
-
import type { IInboundSignalMessage } from '@fluidframework/runtime-definitions';
|
|
21
|
-
import type { IQuorumClients } from '@fluidframework/
|
|
22
|
-
import type { ISequencedDocumentMessage } from '@fluidframework/
|
|
23
|
-
import type { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
|
|
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';
|
|
23
|
+
import type { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
|
|
24
24
|
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
25
|
-
import type { ITelemetryContext } from '@fluidframework/runtime-definitions';
|
|
25
|
+
import type { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
|
|
26
26
|
|
|
27
|
-
// @
|
|
27
|
+
// @alpha (undocumented)
|
|
28
28
|
export interface IChannel extends IFluidLoadable {
|
|
29
29
|
// (undocumented)
|
|
30
30
|
readonly attributes: IChannelAttributes;
|
|
@@ -36,14 +36,14 @@ export interface IChannel extends IFluidLoadable {
|
|
|
36
36
|
summarize(fullTree?: boolean, trackState?: boolean, telemetryContext?: ITelemetryContext, incrementalSummaryContext?: IExperimentalIncrementalSummaryContext): Promise<ISummaryTreeWithStats>;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
// @
|
|
39
|
+
// @alpha
|
|
40
40
|
export interface IChannelAttributes {
|
|
41
41
|
readonly packageVersion?: string;
|
|
42
42
|
readonly snapshotFormatVersion: string;
|
|
43
43
|
readonly type: string;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
// @
|
|
46
|
+
// @alpha
|
|
47
47
|
export interface IChannelFactory<out TChannel = unknown> {
|
|
48
48
|
readonly attributes: IChannelAttributes;
|
|
49
49
|
create(runtime: IFluidDataStoreRuntime, id: string): TChannel & IChannel;
|
|
@@ -51,7 +51,7 @@ export interface IChannelFactory<out TChannel = unknown> {
|
|
|
51
51
|
readonly type: string;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
// @
|
|
54
|
+
// @alpha
|
|
55
55
|
export interface IChannelServices {
|
|
56
56
|
// (undocumented)
|
|
57
57
|
deltaConnection: IDeltaConnection;
|
|
@@ -59,14 +59,14 @@ export interface IChannelServices {
|
|
|
59
59
|
objectStorage: IChannelStorageService;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
// @
|
|
62
|
+
// @alpha
|
|
63
63
|
export interface IChannelStorageService {
|
|
64
64
|
contains(path: string): Promise<boolean>;
|
|
65
65
|
list(path: string): Promise<string[]>;
|
|
66
66
|
readBlob(path: string): Promise<ArrayBufferLike>;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
// @
|
|
69
|
+
// @alpha
|
|
70
70
|
export interface IDeltaConnection {
|
|
71
71
|
// @deprecated (undocumented)
|
|
72
72
|
addedGCOutboundReference?(srcHandle: IFluidHandle, outboundHandle: IFluidHandle): void;
|
|
@@ -77,7 +77,7 @@ export interface IDeltaConnection {
|
|
|
77
77
|
submit(messageContent: any, localOpMetadata: unknown): void;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
// @
|
|
80
|
+
// @alpha
|
|
81
81
|
export interface IDeltaHandler {
|
|
82
82
|
applyStashedOp(message: any): void;
|
|
83
83
|
process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void;
|
|
@@ -86,10 +86,10 @@ export interface IDeltaHandler {
|
|
|
86
86
|
setConnectionState(connected: boolean): void;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
// @
|
|
89
|
+
// @alpha
|
|
90
90
|
export type IDeltaManagerErased = ErasedType<"@fluidframework/container-definitions.IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>">;
|
|
91
91
|
|
|
92
|
-
// @
|
|
92
|
+
// @alpha @sealed
|
|
93
93
|
export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRuntimeEvents>, IDisposable {
|
|
94
94
|
addChannel(channel: IChannel): void;
|
|
95
95
|
readonly attachState: AttachState;
|
|
@@ -126,7 +126,7 @@ export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRu
|
|
|
126
126
|
waitAttached(): Promise<void>;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
// @
|
|
129
|
+
// @alpha
|
|
130
130
|
export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
131
131
|
// (undocumented)
|
|
132
132
|
(event: "disconnected" | "dispose" | "attaching" | "attached", listener: () => void): any;
|
package/dist/channel.d.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import type { IFluidHandle, IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
6
|
-
import type { ISequencedDocumentMessage } from "@fluidframework/
|
|
7
|
-
import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions";
|
|
6
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions";
|
|
7
|
+
import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions/internal";
|
|
8
8
|
import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
9
9
|
import type { IChannelAttributes } from "./storage.js";
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export interface IChannel extends IFluidLoadable {
|
|
14
14
|
/**
|
|
@@ -95,7 +95,7 @@ export interface IChannel extends IFluidLoadable {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Handler provided by shared data structure to process requests from the runtime.
|
|
98
|
-
* @
|
|
98
|
+
* @alpha
|
|
99
99
|
*/
|
|
100
100
|
export interface IDeltaHandler {
|
|
101
101
|
/**
|
|
@@ -145,7 +145,7 @@ export interface IDeltaHandler {
|
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* Interface to represent a connection to a delta notification stream.
|
|
148
|
-
* @
|
|
148
|
+
* @alpha
|
|
149
149
|
*/
|
|
150
150
|
export interface IDeltaConnection {
|
|
151
151
|
connected: boolean;
|
|
@@ -179,7 +179,7 @@ export interface IDeltaConnection {
|
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
181
|
* Storage services to read the objects at a given path.
|
|
182
|
-
* @
|
|
182
|
+
* @alpha
|
|
183
183
|
*/
|
|
184
184
|
export interface IChannelStorageService {
|
|
185
185
|
/**
|
|
@@ -197,7 +197,7 @@ export interface IChannelStorageService {
|
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
199
|
* Storage services to read the objects at a given path using the given delta connection.
|
|
200
|
-
* @
|
|
200
|
+
* @alpha
|
|
201
201
|
*/
|
|
202
202
|
export interface IChannelServices {
|
|
203
203
|
deltaConnection: IDeltaConnection;
|
|
@@ -229,7 +229,7 @@ export interface IChannelServices {
|
|
|
229
229
|
* This approach (not requiring TChannel to extend IChannel) also makes it possible for SharedObject's public interfaces to not include IChannel if desired
|
|
230
230
|
* (while still requiring the implementation to implement it).
|
|
231
231
|
*
|
|
232
|
-
* @
|
|
232
|
+
* @alpha
|
|
233
233
|
*/
|
|
234
234
|
export interface IChannelFactory<out TChannel = unknown> {
|
|
235
235
|
/**
|
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,YAAY,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":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ElC,aAAa,EAAE,sBAAsB,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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"}
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import type { AttachState, IAudience } from "@fluidframework/container-definitions";
|
|
6
|
-
import type { FluidObject, IDisposable, IEvent, IEventProvider,
|
|
6
|
+
import type { IFluidHandle, FluidObject, IDisposable, IEvent, IEventProvider, ITelemetryBaseLogger, ErasedType } from "@fluidframework/core-interfaces";
|
|
7
|
+
import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
8
|
+
import type { IQuorumClients, ISequencedDocumentMessage } from "@fluidframework/driver-definitions";
|
|
7
9
|
import type { IIdCompressor } from "@fluidframework/id-compressor";
|
|
8
|
-
import type {
|
|
9
|
-
import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions";
|
|
10
|
+
import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions/internal";
|
|
10
11
|
import type { IChannel } from "./channel.js";
|
|
11
12
|
/**
|
|
12
13
|
* Events emitted by {@link IFluidDataStoreRuntime}.
|
|
13
|
-
* @
|
|
14
|
+
* @alpha
|
|
14
15
|
*/
|
|
15
16
|
export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
16
17
|
(event: "disconnected" | "dispose" | "attaching" | "attached", listener: () => void): any;
|
|
@@ -20,13 +21,13 @@ export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* Manages the transmission of ops between the runtime and storage.
|
|
23
|
-
* @
|
|
24
|
+
* @alpha
|
|
24
25
|
*/
|
|
25
26
|
export type IDeltaManagerErased = ErasedType<"@fluidframework/container-definitions.IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>">;
|
|
26
27
|
/**
|
|
27
28
|
* Represents the runtime for the data store. Contains helper functions/state of the data store.
|
|
28
29
|
* @sealed
|
|
29
|
-
* @
|
|
30
|
+
* @alpha
|
|
30
31
|
*/
|
|
31
32
|
export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRuntimeEvents>, IDisposable {
|
|
32
33
|
readonly id: string;
|
|
@@ -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,WAAW,EACX,WAAW,EACX,MAAM,EACN,cAAc,EACd,
|
|
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,mBA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
11
|
export {
|
|
12
|
-
// @
|
|
12
|
+
// @alpha APIs
|
|
13
13
|
IChannel,
|
|
14
14
|
IChannelAttributes,
|
|
15
15
|
IChannelFactory,
|
|
@@ -19,9 +19,7 @@ export {
|
|
|
19
19
|
IDeltaHandler,
|
|
20
20
|
IDeltaManagerErased,
|
|
21
21
|
IFluidDataStoreRuntime,
|
|
22
|
-
IFluidDataStoreRuntimeEvents,
|
|
23
|
-
|
|
24
|
-
// @alpha APIs
|
|
22
|
+
IFluidDataStoreRuntimeEvents,
|
|
25
23
|
Internal_InterfaceOfJsonableTypesWith,
|
|
26
24
|
Jsonable,
|
|
27
25
|
JsonableTypeWith,
|
package/dist/public.d.ts
CHANGED
|
@@ -8,16 +8,5 @@
|
|
|
8
8
|
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
IChannel,
|
|
14
|
-
IChannelAttributes,
|
|
15
|
-
IChannelFactory,
|
|
16
|
-
IChannelServices,
|
|
17
|
-
IChannelStorageService,
|
|
18
|
-
IDeltaConnection,
|
|
19
|
-
IDeltaHandler,
|
|
20
|
-
IDeltaManagerErased,
|
|
21
|
-
IFluidDataStoreRuntime,
|
|
22
|
-
IFluidDataStoreRuntimeEvents
|
|
23
|
-
} from "./index.js";
|
|
11
|
+
export {}
|
|
12
|
+
|
package/dist/storage.d.ts
CHANGED
package/lib/channel.d.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import type { IFluidHandle, IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
6
|
-
import type { ISequencedDocumentMessage } from "@fluidframework/
|
|
7
|
-
import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions";
|
|
6
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions";
|
|
7
|
+
import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions/internal";
|
|
8
8
|
import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
9
9
|
import type { IChannelAttributes } from "./storage.js";
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* @alpha
|
|
12
12
|
*/
|
|
13
13
|
export interface IChannel extends IFluidLoadable {
|
|
14
14
|
/**
|
|
@@ -95,7 +95,7 @@ export interface IChannel extends IFluidLoadable {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* Handler provided by shared data structure to process requests from the runtime.
|
|
98
|
-
* @
|
|
98
|
+
* @alpha
|
|
99
99
|
*/
|
|
100
100
|
export interface IDeltaHandler {
|
|
101
101
|
/**
|
|
@@ -145,7 +145,7 @@ export interface IDeltaHandler {
|
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* Interface to represent a connection to a delta notification stream.
|
|
148
|
-
* @
|
|
148
|
+
* @alpha
|
|
149
149
|
*/
|
|
150
150
|
export interface IDeltaConnection {
|
|
151
151
|
connected: boolean;
|
|
@@ -179,7 +179,7 @@ export interface IDeltaConnection {
|
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
181
|
* Storage services to read the objects at a given path.
|
|
182
|
-
* @
|
|
182
|
+
* @alpha
|
|
183
183
|
*/
|
|
184
184
|
export interface IChannelStorageService {
|
|
185
185
|
/**
|
|
@@ -197,7 +197,7 @@ export interface IChannelStorageService {
|
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
199
|
* Storage services to read the objects at a given path using the given delta connection.
|
|
200
|
-
* @
|
|
200
|
+
* @alpha
|
|
201
201
|
*/
|
|
202
202
|
export interface IChannelServices {
|
|
203
203
|
deltaConnection: IDeltaConnection;
|
|
@@ -229,7 +229,7 @@ export interface IChannelServices {
|
|
|
229
229
|
* This approach (not requiring TChannel to extend IChannel) also makes it possible for SharedObject's public interfaces to not include IChannel if desired
|
|
230
230
|
* (while still requiring the implementation to implement it).
|
|
231
231
|
*
|
|
232
|
-
* @
|
|
232
|
+
* @alpha
|
|
233
233
|
*/
|
|
234
234
|
export interface IChannelFactory<out TChannel = unknown> {
|
|
235
235
|
/**
|
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,YAAY,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AACpF,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;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,cAAc;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,gBAAgB,CACf,QAAQ,CAAC,EAAE,OAAO,EAClB,UAAU,CAAC,EAAE,OAAO,EACpB,gBAAgB,CAAC,EAAE,iBAAiB,GAClC,qBAAqB,CAAC;IAEzB;;;;;;;;;;;;;;;;;;;;;;;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SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,GAAG,IAAI,CAAC;CACvF;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACtC;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IAEjD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzC;;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAChC,eAAe,EAAE,gBAAgB,CAAC;IAElC,aAAa,EAAE,sBAAsB,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;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"}
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import type { AttachState, IAudience } from "@fluidframework/container-definitions";
|
|
6
|
-
import type { FluidObject, IDisposable, IEvent, IEventProvider,
|
|
6
|
+
import type { IFluidHandle, FluidObject, IDisposable, IEvent, IEventProvider, ITelemetryBaseLogger, ErasedType } from "@fluidframework/core-interfaces";
|
|
7
|
+
import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
8
|
+
import type { IQuorumClients, ISequencedDocumentMessage } from "@fluidframework/driver-definitions";
|
|
7
9
|
import type { IIdCompressor } from "@fluidframework/id-compressor";
|
|
8
|
-
import type {
|
|
9
|
-
import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions";
|
|
10
|
+
import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions/internal";
|
|
10
11
|
import type { IChannel } from "./channel.js";
|
|
11
12
|
/**
|
|
12
13
|
* Events emitted by {@link IFluidDataStoreRuntime}.
|
|
13
|
-
* @
|
|
14
|
+
* @alpha
|
|
14
15
|
*/
|
|
15
16
|
export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
16
17
|
(event: "disconnected" | "dispose" | "attaching" | "attached", listener: () => void): any;
|
|
@@ -20,13 +21,13 @@ export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* Manages the transmission of ops between the runtime and storage.
|
|
23
|
-
* @
|
|
24
|
+
* @alpha
|
|
24
25
|
*/
|
|
25
26
|
export type IDeltaManagerErased = ErasedType<"@fluidframework/container-definitions.IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>">;
|
|
26
27
|
/**
|
|
27
28
|
* Represents the runtime for the data store. Contains helper functions/state of the data store.
|
|
28
29
|
* @sealed
|
|
29
|
-
* @
|
|
30
|
+
* @alpha
|
|
30
31
|
*/
|
|
31
32
|
export interface IFluidDataStoreRuntime extends IEventProvider<IFluidDataStoreRuntimeEvents>, IDisposable {
|
|
32
33
|
readonly id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KA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AEhG;;;;;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/legacy.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
-
// @
|
|
12
|
+
// @alpha APIs
|
|
13
13
|
IChannel,
|
|
14
14
|
IChannelAttributes,
|
|
15
15
|
IChannelFactory,
|
|
@@ -19,9 +19,7 @@ export {
|
|
|
19
19
|
IDeltaHandler,
|
|
20
20
|
IDeltaManagerErased,
|
|
21
21
|
IFluidDataStoreRuntime,
|
|
22
|
-
IFluidDataStoreRuntimeEvents,
|
|
23
|
-
|
|
24
|
-
// @alpha APIs
|
|
22
|
+
IFluidDataStoreRuntimeEvents,
|
|
25
23
|
Internal_InterfaceOfJsonableTypesWith,
|
|
26
24
|
Jsonable,
|
|
27
25
|
JsonableTypeWith,
|
package/lib/public.d.ts
CHANGED
|
@@ -8,16 +8,5 @@
|
|
|
8
8
|
* Generated by "flub generate entrypoints" in @fluidframework/build-tools.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
IChannel,
|
|
14
|
-
IChannelAttributes,
|
|
15
|
-
IChannelFactory,
|
|
16
|
-
IChannelServices,
|
|
17
|
-
IChannelStorageService,
|
|
18
|
-
IDeltaConnection,
|
|
19
|
-
IDeltaHandler,
|
|
20
|
-
IDeltaManagerErased,
|
|
21
|
-
IFluidDataStoreRuntime,
|
|
22
|
-
IFluidDataStoreRuntimeEvents
|
|
23
|
-
} from "./index.js";
|
|
11
|
+
export {}
|
|
12
|
+
|
package/lib/storage.d.ts
CHANGED
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore-definitions",
|
|
3
|
-
"version": "2.0.0-dev-rc.5.0.0.
|
|
3
|
+
"version": "2.0.0-dev-rc.5.0.0.267932",
|
|
4
4
|
"description": "Fluid data store definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -41,38 +41,29 @@
|
|
|
41
41
|
"main": "",
|
|
42
42
|
"types": "lib/public.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.
|
|
45
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.
|
|
46
|
-
"@fluidframework/
|
|
47
|
-
"@fluidframework/
|
|
48
|
-
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.
|
|
44
|
+
"@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.267932",
|
|
45
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.267932",
|
|
46
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.267932",
|
|
47
|
+
"@fluidframework/id-compressor": "2.0.0-dev-rc.5.0.0.267932",
|
|
48
|
+
"@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.267932"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
52
52
|
"@biomejs/biome": "^1.6.2",
|
|
53
|
-
"@fluid-tools/build-cli": "^0.
|
|
53
|
+
"@fluid-tools/build-cli": "^0.39.0-264124",
|
|
54
54
|
"@fluidframework/build-common": "^2.0.3",
|
|
55
|
-
"@fluidframework/build-tools": "^0.
|
|
56
|
-
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.0.0-rc.
|
|
55
|
+
"@fluidframework/build-tools": "^0.39.0-264124",
|
|
56
|
+
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.0.0-rc.4.0.0",
|
|
57
57
|
"@fluidframework/eslint-config-fluid": "^5.1.0",
|
|
58
|
-
"@microsoft/api-extractor": "^7.
|
|
58
|
+
"@microsoft/api-extractor": "^7.45.1",
|
|
59
59
|
"copyfiles": "^2.4.1",
|
|
60
60
|
"eslint": "~8.55.0",
|
|
61
61
|
"prettier": "~3.0.3",
|
|
62
62
|
"rimraf": "^4.4.0",
|
|
63
|
-
"typescript": "~5.
|
|
63
|
+
"typescript": "~5.4.5"
|
|
64
64
|
},
|
|
65
65
|
"typeValidation": {
|
|
66
|
-
"broken": {
|
|
67
|
-
"InterfaceDeclaration_IFluidDataStoreRuntime": {
|
|
68
|
-
"backCompat": false,
|
|
69
|
-
"forwardCompat": false
|
|
70
|
-
},
|
|
71
|
-
"InterfaceDeclaration_IChannel": {
|
|
72
|
-
"forwardCompat": false,
|
|
73
|
-
"backCompat": false
|
|
74
|
-
}
|
|
75
|
-
}
|
|
66
|
+
"broken": {}
|
|
76
67
|
},
|
|
77
68
|
"scripts": {
|
|
78
69
|
"api": "fluid-build . --task api",
|
package/src/channel.ts
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { IFluidHandle, IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
7
|
-
import type { ISequencedDocumentMessage } from "@fluidframework/
|
|
7
|
+
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions";
|
|
8
8
|
import type {
|
|
9
9
|
IExperimentalIncrementalSummaryContext,
|
|
10
10
|
IGarbageCollectionData,
|
|
11
11
|
ISummaryTreeWithStats,
|
|
12
12
|
ITelemetryContext,
|
|
13
|
-
} from "@fluidframework/runtime-definitions";
|
|
13
|
+
} from "@fluidframework/runtime-definitions/internal";
|
|
14
14
|
|
|
15
15
|
import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
16
16
|
import type { IChannelAttributes } from "./storage.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* @
|
|
19
|
+
* @alpha
|
|
20
20
|
*/
|
|
21
21
|
export interface IChannel extends IFluidLoadable {
|
|
22
22
|
/**
|
|
@@ -119,7 +119,7 @@ export interface IChannel extends IFluidLoadable {
|
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* Handler provided by shared data structure to process requests from the runtime.
|
|
122
|
-
* @
|
|
122
|
+
* @alpha
|
|
123
123
|
*/
|
|
124
124
|
export interface IDeltaHandler {
|
|
125
125
|
/**
|
|
@@ -174,7 +174,7 @@ export interface IDeltaHandler {
|
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
176
|
* Interface to represent a connection to a delta notification stream.
|
|
177
|
-
* @
|
|
177
|
+
* @alpha
|
|
178
178
|
*/
|
|
179
179
|
export interface IDeltaConnection {
|
|
180
180
|
connected: boolean;
|
|
@@ -213,7 +213,7 @@ export interface IDeltaConnection {
|
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Storage services to read the objects at a given path.
|
|
216
|
-
* @
|
|
216
|
+
* @alpha
|
|
217
217
|
*/
|
|
218
218
|
export interface IChannelStorageService {
|
|
219
219
|
/**
|
|
@@ -234,7 +234,7 @@ export interface IChannelStorageService {
|
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Storage services to read the objects at a given path using the given delta connection.
|
|
237
|
-
* @
|
|
237
|
+
* @alpha
|
|
238
238
|
*/
|
|
239
239
|
export interface IChannelServices {
|
|
240
240
|
deltaConnection: IDeltaConnection;
|
|
@@ -268,7 +268,7 @@ export interface IChannelServices {
|
|
|
268
268
|
* This approach (not requiring TChannel to extend IChannel) also makes it possible for SharedObject's public interfaces to not include IChannel if desired
|
|
269
269
|
* (while still requiring the implementation to implement it).
|
|
270
270
|
*
|
|
271
|
-
* @
|
|
271
|
+
* @alpha
|
|
272
272
|
*/
|
|
273
273
|
export interface IChannelFactory<out TChannel = unknown> {
|
|
274
274
|
/**
|
package/src/dataStoreRuntime.ts
CHANGED
|
@@ -5,27 +5,24 @@
|
|
|
5
5
|
|
|
6
6
|
import type { AttachState, IAudience } from "@fluidframework/container-definitions";
|
|
7
7
|
import type {
|
|
8
|
+
IFluidHandle,
|
|
8
9
|
FluidObject,
|
|
9
10
|
IDisposable,
|
|
10
11
|
IEvent,
|
|
11
12
|
IEventProvider,
|
|
12
|
-
IFluidHandle,
|
|
13
|
-
IFluidHandleContext,
|
|
14
13
|
ITelemetryBaseLogger,
|
|
15
14
|
ErasedType,
|
|
16
15
|
} from "@fluidframework/core-interfaces";
|
|
16
|
+
import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
17
|
+
import type { IQuorumClients, ISequencedDocumentMessage } from "@fluidframework/driver-definitions";
|
|
17
18
|
import type { IIdCompressor } from "@fluidframework/id-compressor";
|
|
18
|
-
import type {
|
|
19
|
-
IQuorumClients,
|
|
20
|
-
ISequencedDocumentMessage,
|
|
21
|
-
} from "@fluidframework/protocol-definitions";
|
|
22
|
-
import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions";
|
|
19
|
+
import type { IInboundSignalMessage } from "@fluidframework/runtime-definitions/internal";
|
|
23
20
|
|
|
24
21
|
import type { IChannel } from "./channel.js";
|
|
25
22
|
|
|
26
23
|
/**
|
|
27
24
|
* Events emitted by {@link IFluidDataStoreRuntime}.
|
|
28
|
-
* @
|
|
25
|
+
* @alpha
|
|
29
26
|
*/
|
|
30
27
|
export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
31
28
|
(event: "disconnected" | "dispose" | "attaching" | "attached", listener: () => void);
|
|
@@ -36,7 +33,7 @@ export interface IFluidDataStoreRuntimeEvents extends IEvent {
|
|
|
36
33
|
|
|
37
34
|
/**
|
|
38
35
|
* Manages the transmission of ops between the runtime and storage.
|
|
39
|
-
* @
|
|
36
|
+
* @alpha
|
|
40
37
|
*/
|
|
41
38
|
export type IDeltaManagerErased =
|
|
42
39
|
ErasedType<"@fluidframework/container-definitions.IDeltaManager<ISequencedDocumentMessage, IDocumentMessage>">;
|
|
@@ -44,7 +41,7 @@ export type IDeltaManagerErased =
|
|
|
44
41
|
/**
|
|
45
42
|
* Represents the runtime for the data store. Contains helper functions/state of the data store.
|
|
46
43
|
* @sealed
|
|
47
|
-
* @
|
|
44
|
+
* @alpha
|
|
48
45
|
*/
|
|
49
46
|
export interface IFluidDataStoreRuntime
|
|
50
47
|
extends IEventProvider<IFluidDataStoreRuntimeEvents>,
|