@fluidframework/shared-object-base 2.0.0-internal.8.0.0 → 2.0.0-rc.1.0.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 +38 -0
- package/README.md +0 -6
- package/api-extractor-esm.json +4 -0
- package/api-extractor-lint.json +1 -10
- package/api-extractor.json +1 -9
- package/api-report/shared-object-base.api.md +11 -22
- package/dist/{handle.cjs → handle.js} +1 -1
- package/dist/handle.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/{index.cjs → index.js} +7 -8
- package/dist/index.js.map +1 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.d.ts.map +1 -1
- package/dist/{packageVersion.cjs → packageVersion.js} +2 -2
- package/dist/packageVersion.js.map +1 -0
- package/dist/{remoteObjectHandle.cjs → remoteObjectHandle.js} +1 -1
- package/dist/remoteObjectHandle.js.map +1 -0
- package/dist/serializer.d.ts +3 -15
- package/dist/serializer.d.ts.map +1 -1
- package/dist/{serializer.cjs → serializer.js} +6 -11
- package/dist/serializer.js.map +1 -0
- package/dist/shared-object-base-alpha.d.ts +32 -64
- package/dist/shared-object-base-beta.d.ts +353 -46
- package/dist/shared-object-base-public.d.ts +353 -46
- package/dist/shared-object-base-untrimmed.d.ts +11 -25
- package/dist/sharedObject.d.ts +3 -4
- package/dist/sharedObject.d.ts.map +1 -1
- package/dist/{sharedObject.cjs → sharedObject.js} +6 -6
- package/dist/{sharedObject.cjs.map → sharedObject.js.map} +1 -1
- package/dist/summarySerializer.d.ts +1 -1
- package/dist/{summarySerializer.cjs → summarySerializer.js} +3 -3
- package/dist/summarySerializer.js.map +1 -0
- package/dist/types.d.ts +2 -2
- package/dist/{types.cjs → types.js} +1 -1
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +2 -2
- package/dist/{utils.cjs → utils.js} +3 -3
- package/dist/utils.js.map +1 -0
- package/dist/{valueType.cjs → valueType.js} +1 -1
- package/dist/valueType.js.map +1 -0
- package/lib/{handle.d.ts → handle.d.mts} +1 -1
- package/lib/handle.d.mts.map +1 -0
- package/lib/{index.d.ts → index.d.mts} +2 -2
- package/lib/index.d.mts.map +1 -0
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/{packageVersion.d.ts → packageVersion.d.mts} +2 -2
- package/lib/packageVersion.d.mts.map +1 -0
- package/lib/packageVersion.mjs +1 -1
- package/lib/packageVersion.mjs.map +1 -1
- package/lib/{remoteObjectHandle.d.ts → remoteObjectHandle.d.mts} +1 -1
- package/lib/remoteObjectHandle.d.mts.map +1 -0
- package/lib/{serializer.d.ts → serializer.d.mts} +4 -16
- package/lib/serializer.d.mts.map +1 -0
- package/lib/serializer.mjs +3 -7
- package/lib/serializer.mjs.map +1 -1
- package/lib/shared-object-base-alpha.d.mts +411 -0
- package/lib/{shared-object-base-alpha.d.ts → shared-object-base-beta.d.mts} +8 -62
- package/lib/shared-object-base-public.d.mts +389 -0
- package/lib/{shared-object-base-untrimmed.d.ts → shared-object-base-untrimmed.d.mts} +11 -25
- package/lib/{sharedObject.d.ts → sharedObject.d.mts} +4 -5
- package/lib/sharedObject.d.mts.map +1 -0
- package/lib/sharedObject.mjs +2 -2
- package/lib/sharedObject.mjs.map +1 -1
- package/lib/{summarySerializer.d.ts → summarySerializer.d.mts} +2 -2
- package/lib/summarySerializer.d.mts.map +1 -0
- package/lib/summarySerializer.mjs +1 -1
- package/lib/summarySerializer.mjs.map +1 -1
- package/lib/{types.d.ts → types.d.mts} +3 -3
- package/lib/types.d.mts.map +1 -0
- package/lib/types.mjs.map +1 -1
- package/lib/{utils.d.ts → utils.d.mts} +3 -3
- package/lib/utils.d.mts.map +1 -0
- package/lib/utils.mjs +2 -2
- package/lib/utils.mjs.map +1 -1
- package/lib/{valueType.d.ts → valueType.d.mts} +1 -1
- package/lib/valueType.d.mts.map +1 -0
- package/package.json +91 -29
- package/src/index.ts +1 -6
- package/src/packageVersion.ts +1 -1
- package/src/serializer.ts +4 -22
- package/src/sharedObject.ts +3 -3
- package/src/summarySerializer.ts +1 -1
- package/src/types.ts +2 -2
- package/src/utils.ts +2 -2
- package/dist/handle.cjs.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/packageVersion.cjs.map +0 -1
- package/dist/remoteObjectHandle.cjs.map +0 -1
- package/dist/serializer.cjs.map +0 -1
- package/dist/summarySerializer.cjs.map +0 -1
- package/dist/types.cjs.map +0 -1
- package/dist/utils.cjs.map +0 -1
- package/dist/valueType.cjs.map +0 -1
- package/lib/handle.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/packageVersion.d.ts.map +0 -1
- package/lib/remoteObjectHandle.d.ts.map +0 -1
- package/lib/serializer.d.ts.map +0 -1
- package/lib/shared-object-base-beta.d.ts +0 -82
- package/lib/shared-object-base-public.d.ts +0 -82
- package/lib/sharedObject.d.ts.map +0 -1
- package/lib/summarySerializer.d.ts.map +0 -1
- package/lib/types.d.ts.map +0 -1
- package/lib/utils.d.ts.map +0 -1
- package/lib/valueType.d.ts.map +0 -1
- package/tsc-multi.test.json +0 -4
package/src/sharedObject.ts
CHANGED
|
@@ -40,7 +40,7 @@ import { ISharedObject, ISharedObjectEvents } from "./types";
|
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Base class from which all shared objects derive.
|
|
43
|
-
* @
|
|
43
|
+
* @public
|
|
44
44
|
*/
|
|
45
45
|
export abstract class SharedObjectCore<TEvent extends ISharedObjectEvents = ISharedObjectEvents>
|
|
46
46
|
extends EventEmitterWithErrorHandling<TEvent>
|
|
@@ -581,7 +581,7 @@ export abstract class SharedObjectCore<TEvent extends ISharedObjectEvents = ISha
|
|
|
581
581
|
/**
|
|
582
582
|
* SharedObject with simplified, synchronous summarization and GC.
|
|
583
583
|
* DDS implementations with async and incremental summarization should extend SharedObjectCore directly instead.
|
|
584
|
-
* @
|
|
584
|
+
* @public
|
|
585
585
|
*/
|
|
586
586
|
export abstract class SharedObject<
|
|
587
587
|
TEvent extends ISharedObjectEvents = ISharedObjectEvents,
|
|
@@ -716,7 +716,7 @@ export abstract class SharedObject<
|
|
|
716
716
|
* Calls the serializer over all data in this object that reference other GC nodes.
|
|
717
717
|
* Derived classes must override this to provide custom list of references to other GC nodes.
|
|
718
718
|
*/
|
|
719
|
-
protected processGCDataCore(serializer:
|
|
719
|
+
protected processGCDataCore(serializer: IFluidSerializer) {
|
|
720
720
|
// We run the full summarize logic to get the list of outbound routes from this object. This is a little
|
|
721
721
|
// expensive but its okay for now. It will be updated to not use full summarize and make it more efficient.
|
|
722
722
|
// See: https://github.com/microsoft/FluidFramework/issues/4547
|
package/src/summarySerializer.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { FluidSerializer } from "./serializer";
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Serializer implementation for serializing handles during summary.
|
|
11
|
-
* @
|
|
11
|
+
* @internal
|
|
12
12
|
*/
|
|
13
13
|
export class SummarySerializer extends FluidSerializer {
|
|
14
14
|
private readonly serializedRoutes: Set<string> = new Set();
|
package/src/types.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { IGarbageCollectionData } from "@fluidframework/runtime-definitions";
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Events emitted by {@link ISharedObject}.
|
|
17
|
-
* @
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
export interface ISharedObjectEvents extends IErrorEvent {
|
|
20
20
|
/**
|
|
@@ -54,7 +54,7 @@ export interface ISharedObjectEvents extends IErrorEvent {
|
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Base interface for shared objects from which other interfaces derive. Implemented by SharedObject
|
|
57
|
-
* @
|
|
57
|
+
* @public
|
|
58
58
|
*/
|
|
59
59
|
export interface ISharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents>
|
|
60
60
|
extends IChannel,
|
package/src/utils.ts
CHANGED
|
@@ -38,7 +38,7 @@ export function serializeHandles(
|
|
|
38
38
|
* @param context - The handle context for the container
|
|
39
39
|
* @param bind - Bind any other handles we find in the object against this given handle.
|
|
40
40
|
* @returns The fully-plain object
|
|
41
|
-
* @
|
|
41
|
+
* @alpha
|
|
42
42
|
*/
|
|
43
43
|
export function makeHandlesSerializable(
|
|
44
44
|
value: any,
|
|
@@ -56,7 +56,7 @@ export function makeHandlesSerializable(
|
|
|
56
56
|
* @param serializer - The serializer that knows how to convert serializable-form handles into handle objects
|
|
57
57
|
* @param context - The handle context for the container
|
|
58
58
|
* @returns The mostly-plain object with handle objects within
|
|
59
|
-
* @
|
|
59
|
+
* @alpha
|
|
60
60
|
*/
|
|
61
61
|
export function parseHandles(value: any, serializer: IFluidSerializer) {
|
|
62
62
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
package/dist/handle.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle.cjs","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,yDAA8D;AAG9D;;;;;;;;;;GAUG;AACH,MAAa,kBAAmB,SAAQ,6BAAgC;IACvE;;OAEG;IACH,IAAW,UAAU;QACpB,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;IAChC,CAAC;IAED;;;;;;OAMG;IACH,YACoB,KAAoB,EACvC,IAAY,EACZ,YAAiC;QAEjC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;QAJd,UAAK,GAAL,KAAK,CAAe;IAKxC,CAAC;IAED;;;OAGG;IACI,WAAW;QACjB,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,WAAW,EAAE,CAAC;IACrB,CAAC;CACD;AA/BD,gDA+BC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidHandleContext } from \"@fluidframework/core-interfaces\";\nimport { FluidObjectHandle } from \"@fluidframework/datastore\";\nimport { ISharedObject } from \"./types\";\n\n/**\n * Handle for a shared object.\n *\n * @remarks\n *\n * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.\n *\n * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:\n * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of\n * '/\\<shared object id\\>' and loads shared object.\n */\nexport class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {\n\t/**\n\t * Whether services have been attached for the associated shared object.\n\t */\n\tpublic get isAttached(): boolean {\n\t\treturn this.value.isAttached();\n\t}\n\n\t/**\n\t * Creates a new SharedObjectHandle.\n\t * @param value - The shared object this handle is for.\n\t * @param path - The id of the shared object. It is also the path to this object 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: ISharedObject,\n\t\tpath: string,\n\t\trouteContext: IFluidHandleContext,\n\t) {\n\t\tsuper(value, path, routeContext);\n\t}\n\n\t/**\n\t * Attaches all bound handles first (which may in turn attach further handles), then attaches this handle.\n\t * When attaching the handle, it registers the associated shared object.\n\t */\n\tpublic attachGraph(): void {\n\t\tthis.value.bindToContext();\n\t\tsuper.attachGraph();\n\t}\n}\n"]}
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,+CAKsB;AAJrB,6GAAA,eAAe,OAAA;AAGf,gHAAA,kBAAkB,OAAA;AAEnB,mDAAgE;AAAvD,4GAAA,YAAY,OAAA;AAAE,gHAAA,gBAAgB,OAAA;AACvC,6DAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAE1B,qCAKiB;AAJhB,gHAAA,uBAAuB,OAAA;AACvB,gHAAA,uBAAuB,OAAA;AACvB,qGAAA,YAAY,OAAA;AACZ,yGAAA,gBAAgB,OAAA;AAEjB,6CAAwC;AAA/B,sGAAA,SAAS,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tFluidSerializer,\n\tIFluidSerializer,\n\tISerializedHandle,\n\tisSerializedHandle,\n} from \"./serializer\";\nexport { SharedObject, SharedObjectCore } from \"./sharedObject\";\nexport { SummarySerializer } from \"./summarySerializer\";\nexport { ISharedObject, ISharedObjectEvents } from \"./types\";\nexport {\n\tcreateSingleBlobSummary,\n\tmakeHandlesSerializable,\n\tparseHandles,\n\tserializeHandles,\n} from \"./utils\";\nexport { ValueType } from \"./valueType\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.cjs","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,oCAAoC,CAAC;AAC/C,QAAA,UAAU,GAAG,sBAAsB,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/shared-object-base\";\nexport const pkgVersion = \"2.0.0-internal.8.0.0\";\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remoteObjectHandle.cjs","sourceRoot":"","sources":["../src/remoteObjectHandle.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,2DAAoD;AACpD,yEAAmE;AAOnE,iEAAoE;AAEpE;;;;;;GAMG;AACH,MAAa,uBAAuB;IACnC,IAAW,mBAAmB;QAC7B,OAAO,IAAI,CAAC;IACb,CAAC;IACD,IAAW,YAAY;QACtB,OAAO,IAAI,CAAC;IACb,CAAC;IAKD;;;;OAIG;IACH,YACiB,YAAoB,EACpB,YAAiC;QADjC,iBAAY,GAAZ,YAAY,CAAQ;QACpB,iBAAY,GAAZ,YAAY,CAAqB;QAVlC,eAAU,GAAG,IAAI,CAAC;QAYjC,IAAA,mBAAM,EACL,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,EAC5B,KAAK,CAAC,iDAAiD,CACvD,CAAC;IACH,CAAC;IAEM,KAAK,CAAC,GAAG;QACf,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE;YAC/B,6EAA6E;YAC7E,MAAM,OAAO,GAAa;gBACzB,GAAG,EAAE,IAAI,CAAC,YAAY;gBACtB,OAAO,EAAE,EAAE,CAAC,kCAAc,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE;aAC7C,CAAC;YACF,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,YAAY;iBAC9B,aAAa,CAAC,OAAO,CAAC;iBACtB,IAAI,CAAc,CAAC,QAAQ,EAAE,EAAE;gBAC/B,IAAI,QAAQ,CAAC,QAAQ,KAAK,cAAc,EAAE;oBACzC,MAAM,WAAW,GAAgB,QAAQ,CAAC,KAAK,CAAC;oBAChD,OAAO,WAAW,CAAC;iBACnB;gBACD,MAAM,IAAA,mCAAmB,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC9C,CAAC,CAAC,CAAC;SACJ;QACD,OAAO,IAAI,CAAC,OAAO,CAAC;IACrB,CAAC;IAEM,WAAW;QACjB,OAAO;IACR,CAAC;IAEM,IAAI,CAAC,MAAoB;QAC/B,MAAM,CAAC,WAAW,EAAE,CAAC;IACtB,CAAC;CACD;AArDD,0DAqDC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { assert } from \"@fluidframework/core-utils\";\nimport { RuntimeHeaders } from \"@fluidframework/container-runtime\";\nimport {\n\tIFluidHandle,\n\tIFluidHandleContext,\n\tIRequest,\n\tFluidObject,\n} from \"@fluidframework/core-interfaces\";\nimport { responseToException } from \"@fluidframework/runtime-utils\";\n\n/**\n * This handle is used to dynamically load a Fluid object on a remote client and is created on parsing a serialized\n * FluidObjectHandle.\n * This class is used to generate an IFluidHandle when de-serializing any all handles (including handles to DDSes,\n * custom objects) that are stored in SharedObjects. The Data Store or SharedObject corresponding to the\n * IFluidHandle can be retrieved by calling `get` on it.\n */\nexport class RemoteFluidObjectHandle implements IFluidHandle {\n\tpublic get IFluidHandleContext() {\n\t\treturn this;\n\t}\n\tpublic get IFluidHandle() {\n\t\treturn this;\n\t}\n\n\tpublic readonly isAttached = true;\n\tprivate objectP: Promise<FluidObject> | undefined;\n\n\t/**\n\t * Creates a new RemoteFluidObjectHandle when parsing an IFluidHandle.\n\t * @param absolutePath - The absolute path to the handle from the container runtime.\n\t * @param routeContext - The root IFluidHandleContext that has a route to this handle.\n\t */\n\tconstructor(\n\t\tpublic readonly absolutePath: string,\n\t\tpublic readonly routeContext: IFluidHandleContext,\n\t) {\n\t\tassert(\n\t\t\tabsolutePath.startsWith(\"/\"),\n\t\t\t0x19d /* \"Handles should always have absolute paths\" */,\n\t\t);\n\t}\n\n\tpublic async get(): Promise<any> {\n\t\tif (this.objectP === undefined) {\n\t\t\t// Add `viaHandle` header to distinguish from requests from non-handle paths.\n\t\t\tconst request: IRequest = {\n\t\t\t\turl: this.absolutePath,\n\t\t\t\theaders: { [RuntimeHeaders.viaHandle]: true },\n\t\t\t};\n\t\t\tthis.objectP = this.routeContext\n\t\t\t\t.resolveHandle(request)\n\t\t\t\t.then<FluidObject>((response) => {\n\t\t\t\t\tif (response.mimeType === \"fluid/object\") {\n\t\t\t\t\t\tconst fluidObject: FluidObject = response.value;\n\t\t\t\t\t\treturn fluidObject;\n\t\t\t\t\t}\n\t\t\t\t\tthrow responseToException(response, request);\n\t\t\t\t});\n\t\t}\n\t\treturn this.objectP;\n\t}\n\n\tpublic attachGraph(): void {\n\t\treturn;\n\t}\n\n\tpublic bind(handle: IFluidHandle): void {\n\t\thandle.attachGraph();\n\t}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,CAAC;iBACvB;aACD;SACD;QACD,OAAO,KAAK,IAAI,KAAK,CAAC;IACvB,CAAC;IAES,eAAe,CAAC,MAAoB,EAAE,IAAkB;QACjE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAClB,OAAO;YACN,IAAI,EAAE,kBAAkB;YACxB,GAAG,EAAE,MAAM,CAAC,YAAY;SACxB,CAAC;IACH,CAAC;CACD;AAnJD,0CAmJC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n// RATIONALE: Many methods consume and return 'any' by necessity.\n/* eslint-disable @typescript-eslint/no-unsafe-return */\n\nimport { generateHandleContextPath } from \"@fluidframework/runtime-utils\";\nimport { IFluidHandle, IFluidHandleContext } from \"@fluidframework/core-interfaces\";\nimport { RemoteFluidObjectHandle } from \"./remoteObjectHandle\";\n\n/**\n * JSON serialized form of an IFluidHandle\n * @internal\n */\nexport interface ISerializedHandle {\n\t// Marker to indicate to JSON.parse that the object is a Fluid handle\n\ttype: \"__fluid_handle__\";\n\n\t// URL to the object. Relative URLs are relative to the handle context passed to the stringify.\n\turl: string;\n}\n\n/**\n * @internal\n */\nexport const isSerializedHandle = (value: any): value is ISerializedHandle =>\n\tvalue?.type === \"__fluid_handle__\";\n\n/**\n * @alpha\n */\nexport interface IFluidSerializer {\n\t/**\n\t * Given a mostly-plain object that may have handle objects embedded within, will return a fully-plain object\n\t * where any embedded IFluidHandles have been replaced with a serializable form.\n\t *\n\t * The original `input` object is not mutated. This method will shallowly clones all objects in the path from\n\t * the root to any replaced handles. (If no handles are found, returns the original object.)\n\t */\n\tencode(value: any, bind: IFluidHandle): any;\n\n\t/**\n\t * Given a fully-jsonable object tree that may have encoded handle objects embedded within, will return an\n\t * equivalent object tree where any encoded IFluidHandles have been replaced with their decoded form.\n\t *\n\t * The original `input` object is not mutated. This method will shallowly clone all objects in the path from\n\t * the root to any replaced handles. (If no handles are found, returns the original object.)\n\t *\n\t * The decoded handles are implicitly bound to the handle context of this serializer.\n\t */\n\tdecode(input: any): any;\n\n\t/**\n\t * Stringifies a given value. Converts any IFluidHandle to its stringified equivalent.\n\t */\n\tstringify(value: any, bind: IFluidHandle): string;\n\n\t/**\n\t * Parses the given JSON input string and returns the JavaScript object defined by it. Any Fluid\n\t * handles will be realized as part of the parse\n\t */\n\tparse(value: string): any;\n}\n\n/**\n * Data Store serializer implementation\n * @alpha\n */\nexport class FluidSerializer implements IFluidSerializer {\n\tprivate readonly root: IFluidHandleContext;\n\n\tpublic constructor(\n\t\tprivate readonly context: IFluidHandleContext,\n\t\t// To be called whenever a handle is parsed by this serializer.\n\t\tprivate readonly handleParsedCb: (handle: IFluidHandle) => void,\n\t) {\n\t\tthis.root = this.context;\n\t\twhile (this.root.routeContext !== undefined) {\n\t\t\tthis.root = this.root.routeContext;\n\t\t}\n\t}\n\n\tpublic get IFluidSerializer() {\n\t\treturn this;\n\t}\n\n\t/**\n\t * Given a mostly-jsonable object tree that may have handle objects embedded within, will return a\n\t * fully-jsonable object tree where any embedded IFluidHandles have been replaced with a serializable form.\n\t *\n\t * The original `input` object is not mutated. This method will shallowly clone all objects in the path from\n\t * the root to any replaced handles. (If no handles are found, returns the original object.)\n\t *\n\t * Any unbound handles encountered are bound to the provided IFluidHandle.\n\t */\n\tpublic encode(input: any, bind: IFluidHandle) {\n\t\t// If the given 'input' cannot contain handles, return it immediately. Otherwise,\n\t\t// return the result of 'recursivelyReplace()'.\n\t\t// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions\n\t\treturn !!input && typeof input === \"object\"\n\t\t\t? this.recursivelyReplace(input, this.encodeValue, bind)\n\t\t\t: input;\n\t}\n\n\t/**\n\t * Given a fully-jsonable object tree that may have encoded handle objects embedded within, will return an\n\t * equivalent object tree where any encoded IFluidHandles have been replaced with their decoded form.\n\t *\n\t * The original `input` object is not mutated. This method will shallowly clone all objects in the path from\n\t * the root to any replaced handles. (If no handles are found, returns the original object.)\n\t *\n\t * The decoded handles are implicitly bound to the handle context of this serializer.\n\t */\n\tpublic decode(input: any) {\n\t\t// If the given 'input' cannot contain handles, return it immediately. Otherwise,\n\t\t// return the result of 'recursivelyReplace()'.\n\t\t// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions\n\t\treturn !!input && typeof input === \"object\"\n\t\t\t? this.recursivelyReplace(input, this.decodeValue)\n\t\t\t: input;\n\t}\n\n\tpublic stringify(input: any, bind: IFluidHandle) {\n\t\treturn JSON.stringify(input, (key, value) => this.encodeValue(value, bind));\n\t}\n\n\t// Parses the serialized data - context must match the context with which the JSON was stringified\n\tpublic parse(input: string) {\n\t\treturn JSON.parse(input, (key, value) => this.decodeValue(value));\n\t}\n\n\t// If the given 'value' is an IFluidHandle, returns the encoded IFluidHandle.\n\t// Otherwise returns the original 'value'. Used by 'encode()' and 'stringify()'.\n\tprivate readonly encodeValue = (value: any, bind: IFluidHandle) => {\n\t\t// Detect if 'value' is an IFluidHandle.\n\t\tconst handle = value?.IFluidHandle;\n\n\t\t// If 'value' is an IFluidHandle return its encoded form.\n\t\treturn handle !== undefined ? this.serializeHandle(handle, bind) : value;\n\t};\n\n\t// If the given 'value' is an encoded IFluidHandle, returns the decoded IFluidHandle.\n\t// Otherwise returns the original 'value'. Used by 'decode()' and 'parse()'.\n\tprivate readonly decodeValue = (value: any) => {\n\t\t// If 'value' is a serialized IFluidHandle return the deserialized result.\n\t\tif (isSerializedHandle(value)) {\n\t\t\t// Old documents may have handles with relative path in their summaries. Convert these to absolute\n\t\t\t// paths. This will ensure that future summaries will have absolute paths for these handles.\n\t\t\tconst absolutePath = value.url.startsWith(\"/\")\n\t\t\t\t? value.url\n\t\t\t\t: generateHandleContextPath(value.url, this.context);\n\n\t\t\tconst parsedHandle = new RemoteFluidObjectHandle(absolutePath, this.root);\n\t\t\tthis.handleParsedCb(parsedHandle);\n\t\t\treturn parsedHandle;\n\t\t} else {\n\t\t\treturn value;\n\t\t}\n\t};\n\n\t// Invoked for non-null objects to recursively replace references to IFluidHandles.\n\t// Clones as-needed to avoid mutating the `input` object. If no IFluidHandes are present,\n\t// returns the original `input`.\n\tprivate recursivelyReplace(\n\t\tinput: any,\n\t\treplacer: (input: any, context: any) => any,\n\t\tcontext?: any,\n\t) {\n\t\t// Note: Caller is responsible for ensuring that `input` is defined / non-null.\n\t\t// (Required for Object.keys() below.)\n\n\t\t// Execute the `replace` on the current input. Note that Caller is responsible for ensuring that `input`\n\t\t// is a non-null object.\n\t\tconst maybeReplaced = replacer(input, context);\n\n\t\t// If the replacer made a substitution there is no need to decscend further. IFluidHandles are always\n\t\t// leaves in the object graph.\n\t\tif (maybeReplaced !== input) {\n\t\t\treturn maybeReplaced;\n\t\t}\n\n\t\t// Otherwise descend into the object graph looking for IFluidHandle instances.\n\t\tlet clone: object | undefined;\n\t\tfor (const key of Object.keys(input)) {\n\t\t\tconst value = input[key];\n\t\t\t// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions\n\t\t\tif (!!value && typeof value === \"object\") {\n\t\t\t\t// Note: Except for IFluidHandle, `input` must not contain circular references (as object must\n\t\t\t\t// be JSON serializable.) Therefore, guarding against infinite recursion here would only\n\t\t\t\t// lead to a later error when attempting to stringify().\n\t\t\t\tconst replaced = this.recursivelyReplace(value, replacer, context);\n\n\t\t\t\t// If the `replaced` object is different than the original `value` then the subgraph contained one\n\t\t\t\t// or more handles. If this happens, we need to return a clone of the `input` object where the\n\t\t\t\t// current property is replaced by the `replaced` value.\n\t\t\t\tif (replaced !== value) {\n\t\t\t\t\t// Lazily create a shallow clone of the `input` object if we haven't done so already.\n\t\t\t\t\tclone = clone ?? (Array.isArray(input) ? [...input] : { ...input });\n\n\t\t\t\t\t// Overwrite the current property `key` in the clone with the `replaced` value.\n\t\t\t\t\t// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n\t\t\t\t\tclone![key] = replaced;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn clone ?? input;\n\t}\n\n\tprotected serializeHandle(handle: IFluidHandle, bind: IFluidHandle) {\n\t\tbind.bind(handle);\n\t\treturn {\n\t\t\ttype: \"__fluid_handle__\",\n\t\t\turl: handle.absolutePath,\n\t\t};\n\t}\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"summarySerializer.cjs","sourceRoot":"","sources":["../src/summarySerializer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,iDAA+C;AAE/C;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,4BAAe;IAAtD;;QACkB,qBAAgB,GAAgB,IAAI,GAAG,EAAE,CAAC;IAS5D,CAAC;IARO,mBAAmB;QACzB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC1C,CAAC;IAES,eAAe,CAAC,MAAoB,EAAE,IAAkB;QACjE,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;QAC/C,OAAO,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5C,CAAC;CACD;AAVD,8CAUC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidHandle } from \"@fluidframework/core-interfaces\";\nimport { FluidSerializer } from \"./serializer\";\n\n/**\n * Serializer implementation for serializing handles during summary.\n * @alpha\n */\nexport class SummarySerializer extends FluidSerializer {\n\tprivate readonly serializedRoutes: Set<string> = new Set();\n\tpublic getSerializedRoutes(): string[] {\n\t\treturn Array.from(this.serializedRoutes);\n\t}\n\n\tprotected serializeHandle(handle: IFluidHandle, bind: IFluidHandle) {\n\t\tthis.serializedRoutes.add(handle.absolutePath);\n\t\treturn super.serializeHandle(handle, bind);\n\t}\n}\n"]}
|
package/dist/types.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.cjs","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIErrorEvent,\n\tIEventProvider,\n\tIEventThisPlaceHolder,\n} from \"@fluidframework/core-interfaces\";\nimport { IChannel } from \"@fluidframework/datastore-definitions\";\nimport { ISequencedDocumentMessage } from \"@fluidframework/protocol-definitions\";\nimport { IGarbageCollectionData } from \"@fluidframework/runtime-definitions\";\n\n/**\n * Events emitted by {@link ISharedObject}.\n * @alpha\n */\nexport interface ISharedObjectEvents extends IErrorEvent {\n\t/**\n\t * Fires before an incoming operation (op) is applied to the shared object.\n\t *\n\t * @remarks Note: this should be considered an internal implementation detail. It is not recommended for external\n\t * use.\n\t *\n\t * @eventProperty\n\t */\n\t(\n\t\tevent: \"pre-op\",\n\t\tlistener: (\n\t\t\top: ISequencedDocumentMessage,\n\t\t\tlocal: boolean,\n\t\t\ttarget: IEventThisPlaceHolder,\n\t\t) => void,\n\t);\n\n\t/**\n\t * Fires after an incoming op is applied to the shared object.\n\t *\n\t * @remarks Note: this should be considered an internal implementation detail. It is not recommended for external\n\t * use.\n\t *\n\t * @eventProperty\n\t */\n\t(\n\t\tevent: \"op\",\n\t\tlistener: (\n\t\t\top: ISequencedDocumentMessage,\n\t\t\tlocal: boolean,\n\t\t\ttarget: IEventThisPlaceHolder,\n\t\t) => void,\n\t);\n}\n\n/**\n * Base interface for shared objects from which other interfaces derive. Implemented by SharedObject\n * @alpha\n */\nexport interface ISharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents>\n\textends IChannel,\n\t\tIEventProvider<TEvent> {\n\t/**\n\t * Binds the given shared object to its containing data store runtime, causing it to attach once\n\t * the runtime attaches.\n\t */\n\tbindToContext(): void;\n\n\t/**\n\t * Returns the GC data for this shared object. It contains a list of GC nodes that contains references to\n\t * other GC nodes.\n\t * @param fullGC - true to bypass optimizations and force full generation of GC data.\n\t */\n\tgetGCData(fullGC?: boolean): IGarbageCollectionData;\n}\n"]}
|
package/dist/utils.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.cjs","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,iEAAmE;AAGnE;;;;;;;;;GASG;AACH,SAAgB,gBAAgB,CAC/B,KAAU,EACV,UAA4B,EAC5B,IAAkB;IAElB,+DAA+D;IAC/D,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AACxE,CAAC;AAPD,4CAOC;AAED;;;;;;;;;;;;GAYG;AACH,SAAgB,uBAAuB,CACtC,KAAU,EACV,UAA4B,EAC5B,IAAkB;IAElB,+DAA+D;IAC/D,OAAO,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AACvC,CAAC;AAPD,0DAOC;AAED;;;;;;;;GAQG;AACH,SAAgB,YAAY,CAAC,KAAU,EAAE,UAA4B;IACpE,+DAA+D;IAC/D,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAC9E,CAAC;AAHD,oCAGC;AAED;;;;;;GAMG;AACH,SAAgB,uBAAuB,CACtC,GAAW,EACX,OAA4B;IAE5B,MAAM,OAAO,GAAG,IAAI,kCAAkB,EAAE,CAAC;IACzC,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAC9B,OAAO,OAAO,CAAC,cAAc,EAAE,CAAC;AACjC,CAAC;AAPD,0DAOC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidHandle } from \"@fluidframework/core-interfaces\";\nimport { ISummaryTreeWithStats } from \"@fluidframework/runtime-definitions\";\nimport { SummaryTreeBuilder } from \"@fluidframework/runtime-utils\";\nimport { IFluidSerializer } from \"./serializer\";\n\n/**\n * Given a mostly-plain object that may have handle objects embedded within, return a string representation of an object\n * where the handle objects have been replaced with a serializable form.\n * @param value - The mostly-plain object\n * @param serializer - The serializer that knows how to convert handles into serializable format\n * @param context - The handle context for the container\n * @param bind - Bind any other handles we find in the object against this given handle.\n * @returns Result of strigifying an object\n * @internal\n */\nexport function serializeHandles(\n\tvalue: any,\n\tserializer: IFluidSerializer,\n\tbind: IFluidHandle,\n): string | undefined {\n\t// eslint-disable-next-line @typescript-eslint/no-unsafe-return\n\treturn value !== undefined ? serializer.stringify(value, bind) : value;\n}\n\n/**\n * Given a mostly-plain object that may have handle objects embedded within, will return a fully-plain object\n * where any embedded IFluidHandles have been replaced with a serializable form.\n *\n * The original `input` object is not mutated. This method will shallowly clones all objects in the path from\n * the root to any replaced handles. (If no handles are found, returns the original object.)\n *\n * @param input - The mostly-plain object\n * @param context - The handle context for the container\n * @param bind - Bind any other handles we find in the object against this given handle.\n * @returns The fully-plain object\n * @internal\n */\nexport function makeHandlesSerializable(\n\tvalue: any,\n\tserializer: IFluidSerializer,\n\tbind: IFluidHandle,\n) {\n\t// eslint-disable-next-line @typescript-eslint/no-unsafe-return\n\treturn serializer.encode(value, bind);\n}\n\n/**\n * Given a fully-plain object that may have serializable-form handles within, will return the mostly-plain object\n * with handle objects created instead.\n * @param value - The fully-plain object\n * @param serializer - The serializer that knows how to convert serializable-form handles into handle objects\n * @param context - The handle context for the container\n * @returns The mostly-plain object with handle objects within\n * @internal\n */\nexport function parseHandles(value: any, serializer: IFluidSerializer) {\n\t// eslint-disable-next-line @typescript-eslint/no-unsafe-return\n\treturn value !== undefined ? serializer.parse(JSON.stringify(value)) : value;\n}\n\n/**\n * Create a new summary containing one blob\n * @param key - the key for the blob in the summary\n * @param content - blob content\n * @returns The summary containing the blob\n * @internal\n */\nexport function createSingleBlobSummary(\n\tkey: string,\n\tcontent: string | Uint8Array,\n): ISummaryTreeWithStats {\n\tconst builder = new SummaryTreeBuilder();\n\tbuilder.addBlob(key, content);\n\treturn builder.getSummaryTree();\n}\n"]}
|
package/dist/valueType.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valueType.cjs","sourceRoot":"","sources":["../src/valueType.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;GAGG;AACH,IAAY,SAWX;AAXD,WAAY,SAAS;IACpB;;;OAGG;IACH,6CAAM,CAAA;IAEN;;OAEG;IACH,2CAAK,CAAA;AACN,CAAC,EAXW,SAAS,yBAAT,SAAS,QAWpB","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * enum representing the possible types of a shared object\n * @internal\n */\nexport enum ValueType {\n\t/**\n\t * The value is a shared object\n\t * @deprecated Instead store the handle of the shared object, rather than the shared object itself.\n\t */\n\tShared,\n\n\t/**\n\t * The value is a plain JavaScript object or handle. If a plain object, it may contain handles deeper within.\n\t */\n\tPlain,\n}\n"]}
|
package/lib/handle.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAEI,EAAE,mBAAmB,EAAE,MAAM,iCAAiC;OAC9D,EAAE,iBAAiB,EAAE,MAAM,2BAA2B;OACtD,EAAE,aAAa,EAAE;AAExB;;;;;;;;;;GAUG;AACH,qBAAa,kBAAmB,SAAQ,iBAAiB,CAAC,aAAa,CAAC;IAgBtE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa;IAfxC;;OAEG;IACH,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED;;;;;;OAMG;gBAEiB,KAAK,EAAE,aAAa,EACvC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,mBAAmB;IAKlC;;;OAGG;IACI,WAAW,IAAI,IAAI;CAI1B"}
|
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAEI,EACN,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,GAClB;OACM,EAAE,YAAY,EAAE,gBAAgB,EAAE;OAClC,EAAE,iBAAiB,EAAE;OACrB,EAAE,aAAa,EAAE,mBAAmB,EAAE;OACtC,EACN,uBAAuB,EACvB,uBAAuB,EACvB,YAAY,EACZ,gBAAgB,GAChB;OACM,EAAE,SAAS,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,uCAAuC,CAAC;AAC5D,eAAO,MAAM,UAAU,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remoteObjectHandle.d.ts","sourceRoot":"","sources":["../src/remoteObjectHandle.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAII,EACN,YAAY,EACZ,mBAAmB,EAGnB,MAAM,iCAAiC;AAGxC;;;;;;GAMG;AACH,qBAAa,uBAAwB,YAAW,YAAY;aAiB1C,YAAY,EAAE,MAAM;aACpB,YAAY,EAAE,mBAAmB;IAjBlD,IAAW,mBAAmB,SAE7B;IACD,IAAW,YAAY,SAEtB;IAED,SAAgB,UAAU,QAAQ;IAClC,OAAO,CAAC,OAAO,CAAmC;IAElD;;;;OAIG;gBAEc,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,mBAAmB;IAQrC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC;IAoBzB,WAAW,IAAI,IAAI;IAInB,IAAI,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI;CAGvC"}
|
package/lib/serializer.d.ts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M;IAM1B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAM1B;IAIF,OAAO,CAAC,QAAQ,CAAC,WAAW,CAe1B;IAKF,OAAO,CAAC,kBAAkB;IA6C1B,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY;;;;CAOlE"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { EventEmitterEventType } from '@fluid-internal/client-utils';
|
|
2
|
-
import { EventEmitterWithErrorHandling } from '@fluidframework/telemetry-utils';
|
|
3
|
-
import { IChannel } from '@fluidframework/datastore-definitions';
|
|
4
|
-
import { IChannelAttributes } from '@fluidframework/datastore-definitions';
|
|
5
|
-
import { IChannelServices } from '@fluidframework/datastore-definitions';
|
|
6
|
-
import { IChannelStorageService } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
-
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IEventThisPlaceHolder } from '@fluidframework/core-interfaces';
|
|
10
|
-
import { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions';
|
|
11
|
-
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
12
|
-
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
13
|
-
import { IFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
14
|
-
import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
|
|
15
|
-
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
16
|
-
import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
|
|
17
|
-
import { ITelemetryContext } from '@fluidframework/runtime-definitions';
|
|
18
|
-
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
19
|
-
|
|
20
|
-
/* Excluded from this release type: createSingleBlobSummary */
|
|
21
|
-
|
|
22
|
-
/* Excluded from this release type: EventEmitterEventType */
|
|
23
|
-
|
|
24
|
-
/* Excluded from this release type: EventEmitterWithErrorHandling */
|
|
25
|
-
|
|
26
|
-
/* Excluded from this release type: FluidSerializer */
|
|
27
|
-
|
|
28
|
-
/* Excluded from this release type: IChannel */
|
|
29
|
-
|
|
30
|
-
/* Excluded from this release type: IChannelAttributes */
|
|
31
|
-
|
|
32
|
-
/* Excluded from this release type: IChannelServices */
|
|
33
|
-
|
|
34
|
-
/* Excluded from this release type: IChannelStorageService */
|
|
35
|
-
|
|
36
|
-
/* Excluded from this release type: IErrorEvent */
|
|
37
|
-
|
|
38
|
-
/* Excluded from this release type: IEventProvider */
|
|
39
|
-
|
|
40
|
-
/* Excluded from this release type: IEventThisPlaceHolder */
|
|
41
|
-
|
|
42
|
-
/* Excluded from this release type: IExperimentalIncrementalSummaryContext */
|
|
43
|
-
|
|
44
|
-
/* Excluded from this release type: IFluidDataStoreRuntime */
|
|
45
|
-
|
|
46
|
-
/* Excluded from this release type: IFluidHandle */
|
|
47
|
-
|
|
48
|
-
/* Excluded from this release type: IFluidHandleContext */
|
|
49
|
-
|
|
50
|
-
/* Excluded from this release type: IFluidSerializer */
|
|
51
|
-
|
|
52
|
-
/* Excluded from this release type: IGarbageCollectionData */
|
|
53
|
-
|
|
54
|
-
/* Excluded from this release type: ISerializedHandle */
|
|
55
|
-
|
|
56
|
-
/* Excluded from this release type: ISharedObject */
|
|
57
|
-
|
|
58
|
-
/* Excluded from this release type: ISharedObjectEvents */
|
|
59
|
-
|
|
60
|
-
/* Excluded from this release type: isSerializedHandle */
|
|
61
|
-
|
|
62
|
-
/* Excluded from this release type: ISummaryTreeWithStats */
|
|
63
|
-
|
|
64
|
-
/* Excluded from this release type: ITelemetryContext */
|
|
65
|
-
|
|
66
|
-
/* Excluded from this release type: ITelemetryLoggerExt */
|
|
67
|
-
|
|
68
|
-
/* Excluded from this release type: makeHandlesSerializable */
|
|
69
|
-
|
|
70
|
-
/* Excluded from this release type: parseHandles */
|
|
71
|
-
|
|
72
|
-
/* Excluded from this release type: serializeHandles */
|
|
73
|
-
|
|
74
|
-
/* Excluded from this release type: SharedObject */
|
|
75
|
-
|
|
76
|
-
/* Excluded from this release type: SharedObjectCore */
|
|
77
|
-
|
|
78
|
-
/* Excluded from this release type: SummarySerializer */
|
|
79
|
-
|
|
80
|
-
/* Excluded from this release type: ValueType */
|
|
81
|
-
|
|
82
|
-
export { }
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { EventEmitterEventType } from '@fluid-internal/client-utils';
|
|
2
|
-
import { EventEmitterWithErrorHandling } from '@fluidframework/telemetry-utils';
|
|
3
|
-
import { IChannel } from '@fluidframework/datastore-definitions';
|
|
4
|
-
import { IChannelAttributes } from '@fluidframework/datastore-definitions';
|
|
5
|
-
import { IChannelServices } from '@fluidframework/datastore-definitions';
|
|
6
|
-
import { IChannelStorageService } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
-
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IEventThisPlaceHolder } from '@fluidframework/core-interfaces';
|
|
10
|
-
import { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions';
|
|
11
|
-
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
12
|
-
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
13
|
-
import { IFluidHandleContext } from '@fluidframework/core-interfaces';
|
|
14
|
-
import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
|
|
15
|
-
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
16
|
-
import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
|
|
17
|
-
import { ITelemetryContext } from '@fluidframework/runtime-definitions';
|
|
18
|
-
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
19
|
-
|
|
20
|
-
/* Excluded from this release type: createSingleBlobSummary */
|
|
21
|
-
|
|
22
|
-
/* Excluded from this release type: EventEmitterEventType */
|
|
23
|
-
|
|
24
|
-
/* Excluded from this release type: EventEmitterWithErrorHandling */
|
|
25
|
-
|
|
26
|
-
/* Excluded from this release type: FluidSerializer */
|
|
27
|
-
|
|
28
|
-
/* Excluded from this release type: IChannel */
|
|
29
|
-
|
|
30
|
-
/* Excluded from this release type: IChannelAttributes */
|
|
31
|
-
|
|
32
|
-
/* Excluded from this release type: IChannelServices */
|
|
33
|
-
|
|
34
|
-
/* Excluded from this release type: IChannelStorageService */
|
|
35
|
-
|
|
36
|
-
/* Excluded from this release type: IErrorEvent */
|
|
37
|
-
|
|
38
|
-
/* Excluded from this release type: IEventProvider */
|
|
39
|
-
|
|
40
|
-
/* Excluded from this release type: IEventThisPlaceHolder */
|
|
41
|
-
|
|
42
|
-
/* Excluded from this release type: IExperimentalIncrementalSummaryContext */
|
|
43
|
-
|
|
44
|
-
/* Excluded from this release type: IFluidDataStoreRuntime */
|
|
45
|
-
|
|
46
|
-
/* Excluded from this release type: IFluidHandle */
|
|
47
|
-
|
|
48
|
-
/* Excluded from this release type: IFluidHandleContext */
|
|
49
|
-
|
|
50
|
-
/* Excluded from this release type: IFluidSerializer */
|
|
51
|
-
|
|
52
|
-
/* Excluded from this release type: IGarbageCollectionData */
|
|
53
|
-
|
|
54
|
-
/* Excluded from this release type: ISerializedHandle */
|
|
55
|
-
|
|
56
|
-
/* Excluded from this release type: ISharedObject */
|
|
57
|
-
|
|
58
|
-
/* Excluded from this release type: ISharedObjectEvents */
|
|
59
|
-
|
|
60
|
-
/* Excluded from this release type: isSerializedHandle */
|
|
61
|
-
|
|
62
|
-
/* Excluded from this release type: ISummaryTreeWithStats */
|
|
63
|
-
|
|
64
|
-
/* Excluded from this release type: ITelemetryContext */
|
|
65
|
-
|
|
66
|
-
/* Excluded from this release type: ITelemetryLoggerExt */
|
|
67
|
-
|
|
68
|
-
/* Excluded from this release type: makeHandlesSerializable */
|
|
69
|
-
|
|
70
|
-
/* Excluded from this release type: parseHandles */
|
|
71
|
-
|
|
72
|
-
/* Excluded from this release type: serializeHandles */
|
|
73
|
-
|
|
74
|
-
/* Excluded from this release type: SharedObject */
|
|
75
|
-
|
|
76
|
-
/* Excluded from this release type: SharedObjectCore */
|
|
77
|
-
|
|
78
|
-
/* Excluded from this release type: SummarySerializer */
|
|
79
|
-
|
|
80
|
-
/* Excluded from this release type: ValueType */
|
|
81
|
-
|
|
82
|
-
export { }
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sharedObject.d.ts","sourceRoot":"","sources":["../src/sharedObject.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAGI,EAAE,YAAY,EAAwB,MAAM,iCAAiC;OAC7E,EACN,mBAAmB,EAGnB,6BAA6B,EAK7B,MAAM,iCAAiC;OAEjC,EAAE,qBAAqB,EAAE,MAAM,8BAA8B;OAE7D,EACN,kBAAkB,EAClB,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,EAChB,MAAM,uCAAuC;OACvC,EAAE,yBAAyB,EAAE,MAAM,sCAAsC;OACzE,EACN,sBAAsB,EACtB,qBAAqB,EACrB,iBAAiB,EAGjB,sCAAsC,EACtC,MAAM,qCAAqC;OACrC,EAAmB,gBAAgB,EAAE;OAErC,EAAE,iBAAiB,EAAE;OACrB,EAAE,aAAa,EAAE,mBAAmB,EAAE;AAE7C;;;GAGG;AACH,8BAAsB,gBAAgB,CAAC,MAAM,SAAS,mBAAmB,GAAG,mBAAmB,CAC9F,SAAQ,6BAA6B,CAAC,MAAM,CAC5C,YAAW,aAAa,CAAC,MAAM,CAAC;IAsDxB,EAAE,EAAE,MAAM;IACjB,SAAS,CAAC,OAAO,EAAE,sBAAsB;aACzB,UAAU,EAAE,kBAAkB;IAtD/C,IAAW,cAAc,SAExB;IAED,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAyB;IAC5D,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAyB;IAEzD;;OAEG;IACH,SAAgB,MAAM,EAAE,YAAY,CAAC;IAErC;;OAEG;IACH,SAAS,CAAC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E,qBAAqB;IAExB,OAAO,CAAC,wBAAwB;CAShC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"summarySerializer.d.ts","sourceRoot":"","sources":["../src/summarySerializer.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAEI,EAAE,YAAY,EAAE,MAAM,iCAAiC;OACvD,EAAE,eAAe,EAAE;AAE1B;;;GAGG;AACH,qBAAa,iBAAkB,SAAQ,eAAe;IACrD,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAA0B;IACpD,mBAAmB,IAAI,MAAM,EAAE;IAItC,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY;;;;CAIlE"}
|
package/lib/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAEI,EACN,WAAW,EACX,cAAc,EACd,qBAAqB,EACrB,MAAM,iCAAiC;OACjC,EAAE,QAAQ,EAAE,MAAM,uCAAuC;OACzD,EAAE,yBAAyB,EAAE,MAAM,sCAAsC;OACzE,EAAE,sBAAsB,EAAE,MAAM,qCAAqC;AAE5E;;;GAGG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACvD;;;;;;;OAOG;IACH,CACC,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,CACT,EAAE,EAAE,yBAAyB,EAC7B,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,qBAAqB,KACzB,IAAI,OACR;IAEF;;;;;;;OAOG;IACH,CACC,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CACT,EAAE,EAAE,yBAAyB,EAC7B,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,qBAAqB,KACzB,IAAI,OACR;CACF;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa,CAAC,MAAM,SAAS,mBAAmB,GAAG,mBAAmB,CACtF,SAAQ,QAAQ,EACf,cAAc,CAAC,MAAM,CAAC;IACvB;;;OAGG;IACH,aAAa,IAAI,IAAI,CAAC;IAEtB;;;;OAIG;IACH,SAAS,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,sBAAsB,CAAC;CACpD"}
|
package/lib/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAEI,EAAE,YAAY,EAAE,MAAM,iCAAiC;OACvD,EAAE,qBAAqB,EAAE,MAAM,qCAAqC;OAEpE,EAAE,gBAAgB,EAAE;AAE3B;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC/B,KAAK,EAAE,GAAG,EACV,UAAU,EAAE,gBAAgB,EAC5B,IAAI,EAAE,YAAY,GAChB,MAAM,GAAG,SAAS,CAGpB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CACtC,KAAK,EAAE,GAAG,EACV,UAAU,EAAE,gBAAgB,EAC5B,IAAI,EAAE,YAAY,OAIlB;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,gBAAgB,OAGpE;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CACtC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,GAAG,UAAU,GAC1B,qBAAqB,CAIvB"}
|
package/lib/valueType.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valueType.d.ts","sourceRoot":"","sources":["../src/valueType.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AACH,oBAAY,SAAS;IACpB;;;OAGG;IACH,MAAM,IAAA;IAEN;;OAEG;IACH,KAAK,IAAA;CACL"}
|
package/tsc-multi.test.json
DELETED