@fluidframework/datastore 2.43.0 → 2.50.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 -0
- package/api-report/datastore.legacy.alpha.api.md +0 -2
- package/dist/dataStoreLayerCompatState.d.ts +1 -1
- package/dist/dataStoreLayerCompatState.d.ts.map +1 -1
- package/dist/dataStoreLayerCompatState.js +4 -4
- package/dist/dataStoreLayerCompatState.js.map +1 -1
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/dataStoreRuntime.js.map +1 -1
- package/dist/fluidHandle.d.ts +0 -15
- package/dist/fluidHandle.d.ts.map +1 -1
- package/dist/fluidHandle.js +0 -44
- package/dist/fluidHandle.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/dataStoreLayerCompatState.d.ts +1 -1
- package/lib/dataStoreLayerCompatState.d.ts.map +1 -1
- package/lib/dataStoreLayerCompatState.js +3 -3
- package/lib/dataStoreLayerCompatState.js.map +1 -1
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/dataStoreRuntime.js +1 -3
- package/lib/dataStoreRuntime.js.map +1 -1
- package/lib/fluidHandle.d.ts +0 -15
- package/lib/fluidHandle.d.ts.map +1 -1
- package/lib/fluidHandle.js +0 -44
- package/lib/fluidHandle.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +29 -16
- package/src/dataStoreLayerCompatState.ts +3 -3
- package/src/dataStoreRuntime.ts +0 -1
- package/src/fluidHandle.ts +0 -50
- package/src/index.ts +5 -0
- package/src/packageVersion.ts +1 -1
package/dist/fluidHandle.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import { FluidObject } from "@fluidframework/core-interfaces";
|
|
6
|
-
import type { IFluidHandleInternal } from "@fluidframework/core-interfaces/internal";
|
|
7
6
|
import { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
8
7
|
import { FluidHandleBase } from "@fluidframework/runtime-utils/internal";
|
|
9
8
|
/**
|
|
@@ -15,7 +14,6 @@ export declare class FluidObjectHandle<T extends FluidObject = FluidObject> exte
|
|
|
15
14
|
protected readonly value: T | Promise<T>;
|
|
16
15
|
readonly path: string;
|
|
17
16
|
readonly routeContext: IFluidHandleContext;
|
|
18
|
-
private readonly pendingHandlesToMakeVisible;
|
|
19
17
|
/**
|
|
20
18
|
* {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.absolutePath}
|
|
21
19
|
*/
|
|
@@ -24,14 +22,6 @@ export declare class FluidObjectHandle<T extends FluidObject = FluidObject> exte
|
|
|
24
22
|
* {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.isAttached}
|
|
25
23
|
*/
|
|
26
24
|
get isAttached(): boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Tells whether the object of this handle is visible in the container locally or globally.
|
|
29
|
-
*/
|
|
30
|
-
private get visible();
|
|
31
|
-
/**
|
|
32
|
-
* Tracks whether this handle is locally visible in the container.
|
|
33
|
-
*/
|
|
34
|
-
private locallyVisible;
|
|
35
25
|
/**
|
|
36
26
|
* Creates a new `FluidObjectHandle`.
|
|
37
27
|
*
|
|
@@ -49,10 +39,5 @@ export declare class FluidObjectHandle<T extends FluidObject = FluidObject> exte
|
|
|
49
39
|
* {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.attachGraph }
|
|
50
40
|
*/
|
|
51
41
|
attachGraph(): void;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated No replacement provided. Arbitrary handles may not serve as a bind source.
|
|
54
|
-
* @privateRemarks This implementation will be moved to SharedObjectHandle once this is removed.
|
|
55
|
-
*/
|
|
56
|
-
bind(handle: IFluidHandleInternal): void;
|
|
57
42
|
}
|
|
58
43
|
//# sourceMappingURL=fluidHandle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluidHandle.d.ts","sourceRoot":"","sources":["../src/fluidHandle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"fluidHandle.d.ts","sourceRoot":"","sources":["../src/fluidHandle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAEN,eAAe,EACf,MAAM,wCAAwC,CAAC;AAEhD;;;;GAIG;AACH,qBAAa,iBAAiB,CAC7B,CAAC,SAAS,WAAW,GAAG,WAAW,CAClC,SAAQ,eAAe,CAAC,CAAC,CAAC;IAsB1B,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;aACxB,IAAI,EAAE,MAAM;aACZ,YAAY,EAAE,mBAAmB;IAvBlD;;OAEG;IACH,SAAgB,YAAY,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED;;;;;;;OAOG;gBAEiB,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,EACxB,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,mBAAmB;IAMlD;;OAEG;IAIU,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;IAKhC;;OAEG;IACI,WAAW,IAAI,IAAI;CAG1B"}
|
package/dist/fluidHandle.js
CHANGED
|
@@ -18,24 +18,6 @@ class FluidObjectHandle extends internal_1.FluidHandleBase {
|
|
|
18
18
|
get isAttached() {
|
|
19
19
|
return this.routeContext.isAttached;
|
|
20
20
|
}
|
|
21
|
-
/**
|
|
22
|
-
* Tells whether the object of this handle is visible in the container locally or globally.
|
|
23
|
-
*/
|
|
24
|
-
get visible() {
|
|
25
|
-
/**
|
|
26
|
-
* If the object of this handle is attached, it is visible in the container. Ideally, checking local visibility
|
|
27
|
-
* should be enough for a handle. However, there are scenarios where the object becomes locally visible but the
|
|
28
|
-
* handle does not know this - This will happen is attachGraph is never called on the handle. Couple of examples
|
|
29
|
-
* where this can happen:
|
|
30
|
-
*
|
|
31
|
-
* 1. Handles to DDS other than the default handle won't know if the DDS becomes visible after the handle was
|
|
32
|
-
* created.
|
|
33
|
-
*
|
|
34
|
-
* 2. Handles to root data stores will never know that it was visible because the handle will not be stores in
|
|
35
|
-
* another DDS and so, attachGraph will never be called on it.
|
|
36
|
-
*/
|
|
37
|
-
return this.isAttached || this.locallyVisible;
|
|
38
|
-
}
|
|
39
21
|
/**
|
|
40
22
|
* Creates a new `FluidObjectHandle`.
|
|
41
23
|
*
|
|
@@ -49,11 +31,6 @@ class FluidObjectHandle extends internal_1.FluidHandleBase {
|
|
|
49
31
|
this.value = value;
|
|
50
32
|
this.path = path;
|
|
51
33
|
this.routeContext = routeContext;
|
|
52
|
-
this.pendingHandlesToMakeVisible = new Set();
|
|
53
|
-
/**
|
|
54
|
-
* Tracks whether this handle is locally visible in the container.
|
|
55
|
-
*/
|
|
56
|
-
this.locallyVisible = false;
|
|
57
34
|
this.absolutePath = (0, internal_1.generateHandleContextPath)(path, this.routeContext);
|
|
58
35
|
}
|
|
59
36
|
/**
|
|
@@ -70,29 +47,8 @@ class FluidObjectHandle extends internal_1.FluidHandleBase {
|
|
|
70
47
|
* {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.attachGraph }
|
|
71
48
|
*/
|
|
72
49
|
attachGraph() {
|
|
73
|
-
if (this.visible) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
this.locallyVisible = true;
|
|
77
|
-
for (const handle of this.pendingHandlesToMakeVisible) {
|
|
78
|
-
handle.attachGraph();
|
|
79
|
-
}
|
|
80
|
-
this.pendingHandlesToMakeVisible.clear();
|
|
81
50
|
this.routeContext.attachGraph();
|
|
82
51
|
}
|
|
83
|
-
// eslint-disable-next-line jsdoc/require-description
|
|
84
|
-
/**
|
|
85
|
-
* @deprecated No replacement provided. Arbitrary handles may not serve as a bind source.
|
|
86
|
-
* @privateRemarks This implementation will be moved to SharedObjectHandle once this is removed.
|
|
87
|
-
*/
|
|
88
|
-
bind(handle) {
|
|
89
|
-
// If this handle is visible, attach the graph of the incoming handle as well.
|
|
90
|
-
if (this.visible) {
|
|
91
|
-
handle.attachGraph();
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
this.pendingHandlesToMakeVisible.add(handle);
|
|
95
|
-
}
|
|
96
52
|
}
|
|
97
53
|
exports.FluidObjectHandle = FluidObjectHandle;
|
|
98
54
|
//# sourceMappingURL=fluidHandle.js.map
|
package/dist/fluidHandle.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fluidHandle.js","sourceRoot":"","sources":["../src/fluidHandle.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;
|
|
1
|
+
{"version":3,"file":"fluidHandle.js","sourceRoot":"","sources":["../src/fluidHandle.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,qEAGgD;AAEhD;;;;GAIG;AACH,MAAa,iBAEX,SAAQ,0BAAkB;IAM3B;;OAEG;IACH,IAAW,UAAU;QACpB,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC;IACrC,CAAC;IAED;;;;;;;OAOG;IACH,YACoB,KAAqB,EACxB,IAAY,EACZ,YAAiC;QAEjD,KAAK,EAAE,CAAC;QAJW,UAAK,GAAL,KAAK,CAAgB;QACxB,SAAI,GAAJ,IAAI,CAAQ;QACZ,iBAAY,GAAZ,YAAY,CAAqB;QAGjD,IAAI,CAAC,YAAY,GAAG,IAAA,oCAAyB,EAAC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACH,uDAAuD;IACvD,8FAA8F;IAC9F,8DAA8D;IACvD,KAAK,CAAC,GAAG;QACf,yGAAyG;QACzG,OAAO,IAAI,CAAC,KAAK,CAAC;IACnB,CAAC;IAED;;OAEG;IACI,WAAW;QACjB,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IACjC,CAAC;CACD;AAjDD,8CAiDC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { FluidObject } from \"@fluidframework/core-interfaces\";\nimport { IFluidHandleContext } from \"@fluidframework/core-interfaces/internal\";\nimport {\n\tgenerateHandleContextPath,\n\tFluidHandleBase,\n} from \"@fluidframework/runtime-utils/internal\";\n\n/**\n * Handle for a shared {@link @fluidframework/core-interfaces#FluidObject}.\n * @legacy\n * @alpha\n */\nexport class FluidObjectHandle<\n\tT extends FluidObject = FluidObject,\n> extends FluidHandleBase<T> {\n\t/**\n\t * {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.absolutePath}\n\t */\n\tpublic readonly absolutePath: string;\n\n\t/**\n\t * {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.isAttached}\n\t */\n\tpublic get isAttached(): boolean {\n\t\treturn this.routeContext.isAttached;\n\t}\n\n\t/**\n\t * Creates a new `FluidObjectHandle`.\n\t *\n\t * @param value - The {@link @fluidframework/core-interfaces#FluidObject} object this handle is for.\n\t * @param path - The path to this handle relative to the `routeContext`.\n\t * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route\n\t * to this handle.\n\t */\n\tconstructor(\n\t\tprotected readonly value: T | Promise<T>,\n\t\tpublic readonly path: string,\n\t\tpublic readonly routeContext: IFluidHandleContext,\n\t) {\n\t\tsuper();\n\t\tthis.absolutePath = generateHandleContextPath(path, this.routeContext);\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.get}\n\t */\n\t// TODO: Return `Promise<T>` instead of `Promise<any>`.\n\t// This was clearly the intended typing of this API, but fixing it would be a breaking change.\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\tpublic async get(): Promise<any> {\n\t\t// Note that this return works whether we received a T or a Promise<T> for this.value in the constructor.\n\t\treturn this.value;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/core-interfaces#IFluidHandle.attachGraph }\n\t */\n\tpublic attachGraph(): void {\n\t\tthis.routeContext.attachGraph();\n\t}\n}\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export { FluidObjectHandle } from "./fluidHandle.js";
|
|
6
6
|
export { DataStoreMessageType, FluidDataStoreRuntime, ISharedObjectRegistry, mixinRequestHandler, mixinSummaryHandler, } from "./dataStoreRuntime.js";
|
|
7
|
+
export { dataStoreCoreCompatDetails, dataStoreCompatDetailsForRuntime, runtimeSupportRequirementsForDataStore, } from "./dataStoreLayerCompatState.js";
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACN,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,GACnB,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACN,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACN,0BAA0B,EAC1B,gCAAgC,EAChC,sCAAsC,GACtC,MAAM,gCAAgC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.mixinSummaryHandler = exports.mixinRequestHandler = exports.FluidDataStoreRuntime = exports.DataStoreMessageType = exports.FluidObjectHandle = void 0;
|
|
7
|
+
exports.runtimeSupportRequirementsForDataStore = exports.dataStoreCompatDetailsForRuntime = exports.dataStoreCoreCompatDetails = exports.mixinSummaryHandler = exports.mixinRequestHandler = exports.FluidDataStoreRuntime = exports.DataStoreMessageType = exports.FluidObjectHandle = void 0;
|
|
8
8
|
var fluidHandle_js_1 = require("./fluidHandle.js");
|
|
9
9
|
Object.defineProperty(exports, "FluidObjectHandle", { enumerable: true, get: function () { return fluidHandle_js_1.FluidObjectHandle; } });
|
|
10
10
|
var dataStoreRuntime_js_1 = require("./dataStoreRuntime.js");
|
|
@@ -12,4 +12,8 @@ Object.defineProperty(exports, "DataStoreMessageType", { enumerable: true, get:
|
|
|
12
12
|
Object.defineProperty(exports, "FluidDataStoreRuntime", { enumerable: true, get: function () { return dataStoreRuntime_js_1.FluidDataStoreRuntime; } });
|
|
13
13
|
Object.defineProperty(exports, "mixinRequestHandler", { enumerable: true, get: function () { return dataStoreRuntime_js_1.mixinRequestHandler; } });
|
|
14
14
|
Object.defineProperty(exports, "mixinSummaryHandler", { enumerable: true, get: function () { return dataStoreRuntime_js_1.mixinSummaryHandler; } });
|
|
15
|
+
var dataStoreLayerCompatState_js_1 = require("./dataStoreLayerCompatState.js");
|
|
16
|
+
Object.defineProperty(exports, "dataStoreCoreCompatDetails", { enumerable: true, get: function () { return dataStoreLayerCompatState_js_1.dataStoreCoreCompatDetails; } });
|
|
17
|
+
Object.defineProperty(exports, "dataStoreCompatDetailsForRuntime", { enumerable: true, get: function () { return dataStoreLayerCompatState_js_1.dataStoreCompatDetailsForRuntime; } });
|
|
18
|
+
Object.defineProperty(exports, "runtimeSupportRequirementsForDataStore", { enumerable: true, get: function () { return dataStoreLayerCompatState_js_1.runtimeSupportRequirementsForDataStore; } });
|
|
15
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,mDAAqD;AAA5C,mHAAA,iBAAiB,OAAA;AAC1B,6DAM+B;AAL9B,2HAAA,oBAAoB,OAAA;AACpB,4HAAA,qBAAqB,OAAA;AAErB,0HAAA,mBAAmB,OAAA;AACnB,0HAAA,mBAAmB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { FluidObjectHandle } from \"./fluidHandle.js\";\nexport {\n\tDataStoreMessageType,\n\tFluidDataStoreRuntime,\n\tISharedObjectRegistry,\n\tmixinRequestHandler,\n\tmixinSummaryHandler,\n} from \"./dataStoreRuntime.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,mDAAqD;AAA5C,mHAAA,iBAAiB,OAAA;AAC1B,6DAM+B;AAL9B,2HAAA,oBAAoB,OAAA;AACpB,4HAAA,qBAAqB,OAAA;AAErB,0HAAA,mBAAmB,OAAA;AACnB,0HAAA,mBAAmB,OAAA;AAEpB,+EAIwC;AAHvC,0IAAA,0BAA0B,OAAA;AAC1B,gJAAA,gCAAgC,OAAA;AAChC,sJAAA,sCAAsC,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { FluidObjectHandle } from \"./fluidHandle.js\";\nexport {\n\tDataStoreMessageType,\n\tFluidDataStoreRuntime,\n\tISharedObjectRegistry,\n\tmixinRequestHandler,\n\tmixinSummaryHandler,\n} from \"./dataStoreRuntime.js\";\nexport {\n\tdataStoreCoreCompatDetails,\n\tdataStoreCompatDetailsForRuntime,\n\truntimeSupportRequirementsForDataStore,\n} from \"./dataStoreLayerCompatState.js\";\n"]}
|
package/dist/packageVersion.d.ts
CHANGED
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/datastore";
|
|
11
|
-
exports.pkgVersion = "2.
|
|
11
|
+
exports.pkgVersion = "2.50.0";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,2BAA2B,CAAC;AACtC,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/datastore\";\nexport const pkgVersion = \"2.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,2BAA2B,CAAC;AACtC,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/datastore\";\nexport const pkgVersion = \"2.50.0\";\n"]}
|
|
@@ -26,7 +26,7 @@ export declare const dataStoreCompatDetailsForRuntime: ILayerCompatDetails;
|
|
|
26
26
|
* The requirements that the Runtime layer must meet to be compatible with this DataStore.
|
|
27
27
|
* @internal
|
|
28
28
|
*/
|
|
29
|
-
export declare const
|
|
29
|
+
export declare const runtimeSupportRequirementsForDataStore: ILayerCompatSupportRequirements;
|
|
30
30
|
/**
|
|
31
31
|
* Validates that the Runtime layer is compatible with this DataStore.
|
|
32
32
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreLayerCompatState.d.ts","sourceRoot":"","sources":["../src/dataStoreLayerCompatState.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,MAAM,8BAA8B,CAAC;AAKtC;;;GAGG;AACH,eAAO,MAAM,0BAA0B;IACtC;;OAEG;;IAEH;;OAEG;;CAEH,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gCAAgC,EAAE,mBAM9C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"dataStoreLayerCompatState.d.ts","sourceRoot":"","sources":["../src/dataStoreLayerCompatState.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEN,KAAK,mBAAmB,EACxB,KAAK,+BAA+B,EACpC,MAAM,8BAA8B,CAAC;AAKtC;;;GAGG;AACH,eAAO,MAAM,0BAA0B;IACtC;;OAEG;;IAEH;;OAEG;;CAEH,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gCAAgC,EAAE,mBAM9C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sCAAsC,EAAE,+BAUpD,CAAC;AAEF;;;GAGG;AACH,wBAAgB,4BAA4B,CAC3C,yBAAyB,EAAE,mBAAmB,GAAG,SAAS,EAC1D,SAAS,EAAE,MAAM,IAAI,GACnB,IAAI,CAoBN"}
|
|
@@ -34,7 +34,7 @@ export const dataStoreCompatDetailsForRuntime = {
|
|
|
34
34
|
* The requirements that the Runtime layer must meet to be compatible with this DataStore.
|
|
35
35
|
* @internal
|
|
36
36
|
*/
|
|
37
|
-
export const
|
|
37
|
+
export const runtimeSupportRequirementsForDataStore = {
|
|
38
38
|
/**
|
|
39
39
|
* Minimum generation that Runtime must be at to be compatible with DataStore. Note that 0 is used here so
|
|
40
40
|
* that Runtime layers before the introduction of the layer compatibility enforcement are compatible.
|
|
@@ -50,7 +50,7 @@ export const runtimeSupportRequirements = {
|
|
|
50
50
|
* @internal
|
|
51
51
|
*/
|
|
52
52
|
export function validateRuntimeCompatibility(maybeRuntimeCompatDetails, disposeFn) {
|
|
53
|
-
const layerCheckResult = checkLayerCompatibility(
|
|
53
|
+
const layerCheckResult = checkLayerCompatibility(runtimeSupportRequirementsForDataStore, maybeRuntimeCompatDetails);
|
|
54
54
|
if (!layerCheckResult.isCompatible) {
|
|
55
55
|
const error = new UsageError("DataStore is not compatible with Runtime", {
|
|
56
56
|
errorDetails: JSON.stringify({
|
|
@@ -58,7 +58,7 @@ export function validateRuntimeCompatibility(maybeRuntimeCompatDetails, disposeF
|
|
|
58
58
|
runtimeVersion: maybeRuntimeCompatDetails?.pkgVersion,
|
|
59
59
|
dataStoreGeneration: dataStoreCoreCompatDetails.generation,
|
|
60
60
|
runtimeGeneration: maybeRuntimeCompatDetails?.generation,
|
|
61
|
-
minSupportedGeneration:
|
|
61
|
+
minSupportedGeneration: runtimeSupportRequirementsForDataStore.minSupportedGeneration,
|
|
62
62
|
isGenerationCompatible: layerCheckResult.isGenerationCompatible,
|
|
63
63
|
unsupportedFeatures: layerCheckResult.unsupportedFeatures,
|
|
64
64
|
}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreLayerCompatState.js","sourceRoot":"","sources":["../src/dataStoreLayerCompatState.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,uBAAuB,GAGvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,UAAU;IACV;;OAEG;IACH,UAAU,EAAE,CAAC;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAwB;IACpE,GAAG,0BAA0B;IAC7B;;OAEG;IACH,iBAAiB,EAAE,IAAI,GAAG,EAAU;CACpC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"dataStoreLayerCompatState.js","sourceRoot":"","sources":["../src/dataStoreLayerCompatState.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,uBAAuB,GAGvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC;;OAEG;IACH,UAAU;IACV;;OAEG;IACH,UAAU,EAAE,CAAC;CACb,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAwB;IACpE,GAAG,0BAA0B;IAC7B;;OAEG;IACH,iBAAiB,EAAE,IAAI,GAAG,EAAU;CACpC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAoC;IACtF;;;OAGG;IACH,sBAAsB,EAAE,CAAC;IACzB;;OAEG;IACH,gBAAgB,EAAE,EAAE;CACpB,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,4BAA4B,CAC3C,yBAA0D,EAC1D,SAAqB;IAErB,MAAM,gBAAgB,GAAG,uBAAuB,CAC/C,sCAAsC,EACtC,yBAAyB,CACzB,CAAC;IACF,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,CAAC;QACpC,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,0CAA0C,EAAE;YACxE,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC;gBAC5B,gBAAgB,EAAE,0BAA0B,CAAC,UAAU;gBACvD,cAAc,EAAE,yBAAyB,EAAE,UAAU;gBACrD,mBAAmB,EAAE,0BAA0B,CAAC,UAAU;gBAC1D,iBAAiB,EAAE,yBAAyB,EAAE,UAAU;gBACxD,sBAAsB,EAAE,sCAAsC,CAAC,sBAAsB;gBACrF,sBAAsB,EAAE,gBAAgB,CAAC,sBAAsB;gBAC/D,mBAAmB,EAAE,gBAAgB,CAAC,mBAAmB;aACzD,CAAC;SACF,CAAC,CAAC;QACH,SAAS,EAAE,CAAC;QACZ,MAAM,KAAK,CAAC;IACb,CAAC;AACF,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tcheckLayerCompatibility,\n\ttype ILayerCompatDetails,\n\ttype ILayerCompatSupportRequirements,\n} from \"@fluid-internal/client-utils\";\nimport { UsageError } from \"@fluidframework/telemetry-utils/internal\";\n\nimport { pkgVersion } from \"./packageVersion.js\";\n\n/**\n * The core compatibility details of the DataStore layer that is the same across all layer boundaries.\n * @internal\n */\nexport const dataStoreCoreCompatDetails = {\n\t/**\n\t * The package version of the Runtime layer.\n\t */\n\tpkgVersion,\n\t/**\n\t * The current generation of the Runtime layer.\n\t */\n\tgeneration: 1,\n};\n\n/**\n * DataStore's compatibility details that is exposed to the Runtime layer.\n * @internal\n */\nexport const dataStoreCompatDetailsForRuntime: ILayerCompatDetails = {\n\t...dataStoreCoreCompatDetails,\n\t/**\n\t * The features supported by the DataStore layer across the DataStore / Runtime boundary.\n\t */\n\tsupportedFeatures: new Set<string>(),\n};\n\n/**\n * The requirements that the Runtime layer must meet to be compatible with this DataStore.\n * @internal\n */\nexport const runtimeSupportRequirementsForDataStore: ILayerCompatSupportRequirements = {\n\t/**\n\t * Minimum generation that Runtime must be at to be compatible with DataStore. Note that 0 is used here so\n\t * that Runtime layers before the introduction of the layer compatibility enforcement are compatible.\n\t */\n\tminSupportedGeneration: 0,\n\t/**\n\t * The features that the Runtime must support to be compatible with DataStore.\n\t */\n\trequiredFeatures: [],\n};\n\n/**\n * Validates that the Runtime layer is compatible with this DataStore.\n * @internal\n */\nexport function validateRuntimeCompatibility(\n\tmaybeRuntimeCompatDetails: ILayerCompatDetails | undefined,\n\tdisposeFn: () => void,\n): void {\n\tconst layerCheckResult = checkLayerCompatibility(\n\t\truntimeSupportRequirementsForDataStore,\n\t\tmaybeRuntimeCompatDetails,\n\t);\n\tif (!layerCheckResult.isCompatible) {\n\t\tconst error = new UsageError(\"DataStore is not compatible with Runtime\", {\n\t\t\terrorDetails: JSON.stringify({\n\t\t\t\tdataStoreVersion: dataStoreCoreCompatDetails.pkgVersion,\n\t\t\t\truntimeVersion: maybeRuntimeCompatDetails?.pkgVersion,\n\t\t\t\tdataStoreGeneration: dataStoreCoreCompatDetails.generation,\n\t\t\t\truntimeGeneration: maybeRuntimeCompatDetails?.generation,\n\t\t\t\tminSupportedGeneration: runtimeSupportRequirementsForDataStore.minSupportedGeneration,\n\t\t\t\tisGenerationCompatible: layerCheckResult.isGenerationCompatible,\n\t\t\t\tunsupportedFeatures: layerCheckResult.unsupportedFeatures,\n\t\t\t}),\n\t\t});\n\t\tdisposeFn();\n\t\tthrow error;\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataStoreRuntime.d.ts","sourceRoot":"","sources":["../src/dataStoreRuntime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAA4B,MAAM,8BAA8B,CAAC;AAC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E,MAAM,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,SACvD,4BAA4B,KAChC,4BAyC+B,CAAC"}
|
package/lib/dataStoreRuntime.js
CHANGED
|
@@ -12,9 +12,7 @@ import { GCDataBuilder, RequestParser, SummaryTreeBuilder, addBlobToSummary, con
|
|
|
12
12
|
import { DataProcessingError, LoggingError, UsageError, createChildMonitoringContext, generateStack, raiseConnectedEvent, tagCodeArtifacts, } from "@fluidframework/telemetry-utils/internal";
|
|
13
13
|
import { v4 as uuid } from "uuid";
|
|
14
14
|
import { summarizeChannel } from "./channelContext.js";
|
|
15
|
-
import { dataStoreCompatDetailsForRuntime,
|
|
16
|
-
// dataStoreCompatDetailsForRuntime,
|
|
17
|
-
validateRuntimeCompatibility, } from "./dataStoreLayerCompatState.js";
|
|
15
|
+
import { dataStoreCompatDetailsForRuntime, validateRuntimeCompatibility, } from "./dataStoreLayerCompatState.js";
|
|
18
16
|
import { FluidObjectHandle } from "./fluidHandle.js";
|
|
19
17
|
import { LocalChannelContext, LocalChannelContextBase, RehydratedLocalChannelContext, } from "./localChannelContext.js";
|
|
20
18
|
import { pkgVersion } from "./packageVersion.js";
|