@fluid-experimental/property-dds 2.0.0-internal.2.0.2 → 2.0.0-internal.2.1.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/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./propertyTree";
6
- export * from "./propertyTreeFactory";
7
- export * from "./propertyTreeExt";
8
- export * from "./propertyTreeExtFactories";
5
+ export { IPropertyTreeConfig, IPropertyTreeMessage, IRemotePropertyTreeMessage, ISharedPropertyTreeEncDec, ISnapshotSummary, Metadata, OpKind, SerializedChangeSet, SharedPropertyTree, SharedPropertyTreeOptions, } from "./propertyTree";
6
+ export { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
7
+ export { CompressedPropertyTreeFactory, DeflatedPropertyTreeFactory, LZ4PropertyTreeFactory, } from "./propertyTreeExtFactories";
8
+ export { PropertyTreeFactory } from "./propertyTreeFactory";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,EACzB,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,GACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EACN,6BAA6B,EAC7B,2BAA2B,EAC3B,sBAAsB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
package/dist/index.js CHANGED
@@ -3,19 +3,17 @@
3
3
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
4
4
  * Licensed under the MIT License.
5
5
  */
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
6
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./propertyTree"), exports);
18
- __exportStar(require("./propertyTreeFactory"), exports);
19
- __exportStar(require("./propertyTreeExt"), exports);
20
- __exportStar(require("./propertyTreeExtFactories"), exports);
7
+ exports.PropertyTreeFactory = exports.LZ4PropertyTreeFactory = exports.DeflatedPropertyTreeFactory = exports.CompressedPropertyTreeFactory = exports.LZ4PropertyTree = exports.DeflatedPropertyTree = exports.SharedPropertyTree = void 0;
8
+ var propertyTree_1 = require("./propertyTree");
9
+ Object.defineProperty(exports, "SharedPropertyTree", { enumerable: true, get: function () { return propertyTree_1.SharedPropertyTree; } });
10
+ var propertyTreeExt_1 = require("./propertyTreeExt");
11
+ Object.defineProperty(exports, "DeflatedPropertyTree", { enumerable: true, get: function () { return propertyTreeExt_1.DeflatedPropertyTree; } });
12
+ Object.defineProperty(exports, "LZ4PropertyTree", { enumerable: true, get: function () { return propertyTreeExt_1.LZ4PropertyTree; } });
13
+ var propertyTreeExtFactories_1 = require("./propertyTreeExtFactories");
14
+ Object.defineProperty(exports, "CompressedPropertyTreeFactory", { enumerable: true, get: function () { return propertyTreeExtFactories_1.CompressedPropertyTreeFactory; } });
15
+ Object.defineProperty(exports, "DeflatedPropertyTreeFactory", { enumerable: true, get: function () { return propertyTreeExtFactories_1.DeflatedPropertyTreeFactory; } });
16
+ Object.defineProperty(exports, "LZ4PropertyTreeFactory", { enumerable: true, get: function () { return propertyTreeExtFactories_1.LZ4PropertyTreeFactory; } });
17
+ var propertyTreeFactory_1 = require("./propertyTreeFactory");
18
+ Object.defineProperty(exports, "PropertyTreeFactory", { enumerable: true, get: function () { return propertyTreeFactory_1.PropertyTreeFactory; } });
21
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,iDAA+B;AAC/B,wDAAsC;AACtC,oDAAkC;AAClC,6DAA2C","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./propertyTree\";\nexport * from \"./propertyTreeFactory\";\nexport * from \"./propertyTreeExt\";\nexport * from \"./propertyTreeExtFactories\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,+CAWwB;AAFvB,kHAAA,kBAAkB,OAAA;AAGnB,qDAA0E;AAAjE,uHAAA,oBAAoB,OAAA;AAAE,kHAAA,eAAe,OAAA;AAC9C,uEAIoC;AAHnC,yIAAA,6BAA6B,OAAA;AAC7B,uIAAA,2BAA2B,OAAA;AAC3B,kIAAA,sBAAsB,OAAA;AAEvB,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tIPropertyTreeConfig,\n\tIPropertyTreeMessage,\n\tIRemotePropertyTreeMessage,\n\tISharedPropertyTreeEncDec,\n\tISnapshotSummary,\n\tMetadata,\n\tOpKind,\n\tSerializedChangeSet,\n\tSharedPropertyTree,\n\tSharedPropertyTreeOptions,\n} from \"./propertyTree\";\nexport { DeflatedPropertyTree, LZ4PropertyTree } from \"./propertyTreeExt\";\nexport {\n\tCompressedPropertyTreeFactory,\n\tDeflatedPropertyTreeFactory,\n\tLZ4PropertyTreeFactory,\n} from \"./propertyTreeExtFactories\";\nexport { PropertyTreeFactory } from \"./propertyTreeFactory\";\n"]}
@@ -1,3 +1,8 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+ import { deflate, inflate } from "pako";
1
6
  import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannelFactory } from "@fluidframework/datastore-definitions";
2
7
  import { IPropertyTreeConfig, ISharedPropertyTreeEncDec, SharedPropertyTree, SharedPropertyTreeOptions } from "./propertyTree";
3
8
  import { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
@@ -19,8 +24,8 @@ export declare class DeflatedPropertyTreeFactory extends CompressedPropertyTreeF
19
24
  create(document: IFluidDataStoreRuntime, id: string, requestUrl?: string): DeflatedPropertyTree;
20
25
  get type(): string;
21
26
  get attributes(): IChannelAttributes;
22
- getEncodeFce(): any;
23
- getDecodeFce(): any;
27
+ getEncodeFce(): typeof deflate;
28
+ getDecodeFce(): typeof inflate;
24
29
  newPropertyTree(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes, options: SharedPropertyTreeOptions, propertyTreeConfig: IPropertyTreeConfig): SharedPropertyTree;
25
30
  }
26
31
  export declare class LZ4PropertyTreeFactory extends CompressedPropertyTreeFactory {
@@ -1 +1 @@
1
- {"version":3,"file":"propertyTreeExtFactories.d.ts","sourceRoot":"","sources":["../src/propertyTreeExtFactories.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,e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B,EAC9B,OAAO,EAAE,yBAAyB,EAClC,kBAAkB,EAAE,mBAAmB,GAAG,kBAAkB;CAGnE;AAED,qBAAa,sBAAuB,SAAQ,6BAA6B;IACrE,gBAAuB,IAAI,0CAA0C;IAErE,gBAAuB,UAAU,EAAE,kBAAkB,CAInD;IAEW,IAAI,CACb,OAAO,EAAE,sBAAsB,EAC/B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,gBAAgB,EAC1B,UAAU,EAAE,kBAAkB,EAC9B,GAAG,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,eAAe,CAAC;IAIpB,MAAM,CAAC,QAAQ,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,eAAe;IAIjG,IAAW,IAAI,WAEd;IAED,IAAW,UAAU,uBAEpB;IAEM,YAAY;IACZ,YAAY;IACZ,eAAe,CAClB,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,sBAAsB,EAC/B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,EAAE,yBAAyB,EAClC,kBAAkB,EAAE,mBAAmB,GAAG,kBAAkB;CAGnE"}
package/lib/index.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./propertyTree";
6
- export * from "./propertyTreeFactory";
7
- export * from "./propertyTreeExt";
8
- export * from "./propertyTreeExtFactories";
5
+ export { IPropertyTreeConfig, IPropertyTreeMessage, IRemotePropertyTreeMessage, ISharedPropertyTreeEncDec, ISnapshotSummary, Metadata, OpKind, SerializedChangeSet, SharedPropertyTree, SharedPropertyTreeOptions, } from "./propertyTree";
6
+ export { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
7
+ export { CompressedPropertyTreeFactory, DeflatedPropertyTreeFactory, LZ4PropertyTreeFactory, } from "./propertyTreeExtFactories";
8
+ export { PropertyTreeFactory } from "./propertyTreeFactory";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,EACzB,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,GACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EACN,6BAA6B,EAC7B,2BAA2B,EAC3B,sBAAsB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
package/lib/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./propertyTree";
6
- export * from "./propertyTreeFactory";
7
- export * from "./propertyTreeExt";
8
- export * from "./propertyTreeExtFactories";
5
+ export { SharedPropertyTree, } from "./propertyTree";
6
+ export { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
7
+ export { CompressedPropertyTreeFactory, DeflatedPropertyTreeFactory, LZ4PropertyTreeFactory, } from "./propertyTreeExtFactories";
8
+ export { PropertyTreeFactory } from "./propertyTreeFactory";
9
9
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./propertyTree\";\nexport * from \"./propertyTreeFactory\";\nexport * from \"./propertyTreeExt\";\nexport * from \"./propertyTreeExtFactories\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EASN,kBAAkB,GAElB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EACN,6BAA6B,EAC7B,2BAA2B,EAC3B,sBAAsB,GACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport {\n\tIPropertyTreeConfig,\n\tIPropertyTreeMessage,\n\tIRemotePropertyTreeMessage,\n\tISharedPropertyTreeEncDec,\n\tISnapshotSummary,\n\tMetadata,\n\tOpKind,\n\tSerializedChangeSet,\n\tSharedPropertyTree,\n\tSharedPropertyTreeOptions,\n} from \"./propertyTree\";\nexport { DeflatedPropertyTree, LZ4PropertyTree } from \"./propertyTreeExt\";\nexport {\n\tCompressedPropertyTreeFactory,\n\tDeflatedPropertyTreeFactory,\n\tLZ4PropertyTreeFactory,\n} from \"./propertyTreeExtFactories\";\nexport { PropertyTreeFactory } from \"./propertyTreeFactory\";\n"]}
@@ -1,3 +1,8 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+ import { deflate, inflate } from "pako";
1
6
  import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannelFactory } from "@fluidframework/datastore-definitions";
2
7
  import { IPropertyTreeConfig, ISharedPropertyTreeEncDec, SharedPropertyTree, SharedPropertyTreeOptions } from "./propertyTree";
3
8
  import { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
@@ -19,8 +24,8 @@ export declare class DeflatedPropertyTreeFactory extends CompressedPropertyTreeF
19
24
  create(document: IFluidDataStoreRuntime, id: string, requestUrl?: string): DeflatedPropertyTree;
20
25
  get type(): string;
21
26
  get attributes(): IChannelAttributes;
22
- getEncodeFce(): any;
23
- getDecodeFce(): any;
27
+ getEncodeFce(): typeof deflate;
28
+ getDecodeFce(): typeof inflate;
24
29
  newPropertyTree(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes, options: SharedPropertyTreeOptions, propertyTreeConfig: IPropertyTreeConfig): SharedPropertyTree;
25
30
  }
26
31
  export declare class LZ4PropertyTreeFactory extends CompressedPropertyTreeFactory {
@@ -1 +1 @@
1
- {"version":3,"file":"propertyTreeExtFactories.d.ts","sourceRoot":"","sources":["../src/propertyTreeExtFactories.ts"],"names":[],"mappings":"AAQA,OAAO,EACH,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EAClB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACH,mBAAmB,EAAwB,yBAAyB,EAClD,kBAAkB,EAAE,yBAAyB,EAClE,MACQ,gBAAgB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE1E,8BAAsB,6BAA8B,YAAW,eAAe;IAC1E,aAAoB,UAAU,QAAG;IACjC,aAAoB,IAAI,QAAG;aACX,YAAY;aACZ,YAAY;IAC5B,OAAO,CAAC,wBAAwB;IA0CzB,SAAS,IAAI,yBAAyB;aAG7B,eAAe,CAC3B,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,sBAAsB,EAC/B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,EAA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IAIjG,IAAW,IAAI,WAEd;IAED,IAAW,UAAU,uBAEpB;IAEM,YAAY;IACZ,YAAY;IACZ,eAAe,CAClB,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,sBAAsB,EAC/B,UAAU,EAAE,kBAAkB,EAC9B,OAAO,EAAE,yBAAyB,EAClC,kBAAkB,EAAE,mBAAmB,GAAG,kBAAkB;CAGnE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/property-dds",
3
- "version": "2.0.0-internal.2.0.2",
3
+ "version": "2.0.0-internal.2.1.0",
4
4
  "description": "definition of the property distributed data store",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,16 +35,16 @@
35
35
  "tsc": "tsc"
36
36
  },
37
37
  "dependencies": {
38
- "@fluid-experimental/property-changeset": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
39
- "@fluid-experimental/property-properties": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
38
+ "@fluid-experimental/property-changeset": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
39
+ "@fluid-experimental/property-properties": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
40
40
  "@fluidframework/common-utils": "^1.0.0",
41
- "@fluidframework/container-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
42
- "@fluidframework/core-interfaces": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
43
- "@fluidframework/datastore-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
41
+ "@fluidframework/container-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
42
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
43
+ "@fluidframework/datastore-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
44
44
  "@fluidframework/protocol-definitions": "^1.1.0",
45
- "@fluidframework/runtime-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
46
- "@fluidframework/runtime-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
47
- "@fluidframework/shared-object-base": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
45
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
46
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
47
+ "@fluidframework/shared-object-base": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
48
48
  "axios": "^0.26.0",
49
49
  "fastest-json-copy": "^1.0.1",
50
50
  "lodash": "^4.17.21",
@@ -54,16 +54,17 @@
54
54
  "uuid": "^8.3.1"
55
55
  },
56
56
  "devDependencies": {
57
- "@fluid-experimental/property-common": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
58
- "@fluidframework/build-common": "^1.0.0",
59
- "@fluidframework/driver-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
60
- "@fluidframework/eslint-config-fluid": "^1.0.0",
61
- "@fluidframework/local-driver": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
62
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
63
- "@fluidframework/sequence": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
57
+ "@fluid-experimental/property-common": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
58
+ "@fluid-experimental/property-dds-previous": "npm:@fluid-experimental/property-dds@2.0.0-internal.2.0.0",
59
+ "@fluidframework/build-common": "^1.1.0",
60
+ "@fluidframework/driver-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
61
+ "@fluidframework/eslint-config-fluid": "^1.1.0",
62
+ "@fluidframework/local-driver": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
63
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
64
+ "@fluidframework/sequence": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
64
65
  "@fluidframework/server-local-server": "^0.1038.2000",
65
- "@fluidframework/test-runtime-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
66
- "@fluidframework/test-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
66
+ "@fluidframework/test-runtime-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
67
+ "@fluidframework/test-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
67
68
  "@microsoft/api-extractor": "^7.22.2",
68
69
  "@rushstack/eslint-config": "^2.5.1",
69
70
  "@types/mocha": "^9.1.1",
@@ -78,5 +79,9 @@
78
79
  "nyc": "^15.0.0",
79
80
  "rimraf": "^2.6.2",
80
81
  "typescript": "~4.5.5"
82
+ },
83
+ "typeValidation": {
84
+ "version": "2.0.0-internal.2.1.0",
85
+ "broken": {}
81
86
  }
82
87
  }
package/src/index.ts CHANGED
@@ -3,7 +3,22 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- export * from "./propertyTree";
7
- export * from "./propertyTreeFactory";
8
- export * from "./propertyTreeExt";
9
- export * from "./propertyTreeExtFactories";
6
+ export {
7
+ IPropertyTreeConfig,
8
+ IPropertyTreeMessage,
9
+ IRemotePropertyTreeMessage,
10
+ ISharedPropertyTreeEncDec,
11
+ ISnapshotSummary,
12
+ Metadata,
13
+ OpKind,
14
+ SerializedChangeSet,
15
+ SharedPropertyTree,
16
+ SharedPropertyTreeOptions,
17
+ } from "./propertyTree";
18
+ export { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
19
+ export {
20
+ CompressedPropertyTreeFactory,
21
+ DeflatedPropertyTreeFactory,
22
+ LZ4PropertyTreeFactory,
23
+ } from "./propertyTreeExtFactories";
24
+ export { PropertyTreeFactory } from "./propertyTreeFactory";