@fluid-experimental/property-dds 2.0.0-internal.2.1.2 → 2.0.0-internal.2.2.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/.eslintrc.js
CHANGED
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
|
|
11
|
+
extends: [
|
|
12
|
+
require.resolve("@fluidframework/eslint-config-fluid"),
|
|
13
|
+
"prettier"
|
|
14
|
+
],
|
|
12
15
|
"parserOptions": {
|
|
13
16
|
"project": ["./tsconfig.json", "./src/test/tsconfig.json"]
|
|
14
17
|
},
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
import { deflate, inflate } from "pako";
|
|
6
1
|
import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannelFactory } from "@fluidframework/datastore-definitions";
|
|
7
2
|
import { IPropertyTreeConfig, ISharedPropertyTreeEncDec, SharedPropertyTree, SharedPropertyTreeOptions } from "./propertyTree";
|
|
8
3
|
import { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
|
|
@@ -24,8 +19,8 @@ export declare class DeflatedPropertyTreeFactory extends CompressedPropertyTreeF
|
|
|
24
19
|
create(document: IFluidDataStoreRuntime, id: string, requestUrl?: string): DeflatedPropertyTree;
|
|
25
20
|
get type(): string;
|
|
26
21
|
get attributes(): IChannelAttributes;
|
|
27
|
-
getEncodeFce():
|
|
28
|
-
getDecodeFce():
|
|
22
|
+
getEncodeFce(): any;
|
|
23
|
+
getDecodeFce(): any;
|
|
29
24
|
newPropertyTree(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes, options: SharedPropertyTreeOptions, propertyTreeConfig: IPropertyTreeConfig): SharedPropertyTree;
|
|
30
25
|
}
|
|
31
26
|
export declare class LZ4PropertyTreeFactory extends CompressedPropertyTreeFactory {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyTreeExtFactories.d.ts","sourceRoot":"","sources":["../src/propertyTreeExtFactories.ts"],"names":[],"mappings":"
|
|
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,EAAE,yBAAyB,EAClC,kBAAkB,EAAE,mBAAmB,GAAG,kBAAkB;IAEnD,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,kBAAkB,CAAC;IASvB,MAAM,CAAC,QAAQ,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,kBAAkB;CAQvG;AAED,qBAAa,2BAA4B,SAAQ,6BAA6B;IAC1E,gBAAuB,IAAI,+CAA+C;IAE1E,g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
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
import { deflate, inflate } from "pako";
|
|
6
1
|
import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannelFactory } from "@fluidframework/datastore-definitions";
|
|
7
2
|
import { IPropertyTreeConfig, ISharedPropertyTreeEncDec, SharedPropertyTree, SharedPropertyTreeOptions } from "./propertyTree";
|
|
8
3
|
import { DeflatedPropertyTree, LZ4PropertyTree } from "./propertyTreeExt";
|
|
@@ -24,8 +19,8 @@ export declare class DeflatedPropertyTreeFactory extends CompressedPropertyTreeF
|
|
|
24
19
|
create(document: IFluidDataStoreRuntime, id: string, requestUrl?: string): DeflatedPropertyTree;
|
|
25
20
|
get type(): string;
|
|
26
21
|
get attributes(): IChannelAttributes;
|
|
27
|
-
getEncodeFce():
|
|
28
|
-
getDecodeFce():
|
|
22
|
+
getEncodeFce(): any;
|
|
23
|
+
getDecodeFce(): any;
|
|
29
24
|
newPropertyTree(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes, options: SharedPropertyTreeOptions, propertyTreeConfig: IPropertyTreeConfig): SharedPropertyTree;
|
|
30
25
|
}
|
|
31
26
|
export declare class LZ4PropertyTreeFactory extends CompressedPropertyTreeFactory {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyTreeExtFactories.d.ts","sourceRoot":"","sources":["../src/propertyTreeExtFactories.ts"],"names":[],"mappings":"
|
|
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,gBAAg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EAC/B,UAAU,EAAE,kBAAkB,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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-experimental/property-dds",
|
|
3
|
-
"version": "2.0.0-internal.2.
|
|
3
|
+
"version": "2.0.0-internal.2.2.0",
|
|
4
4
|
"description": "definition of the property distributed data store",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -26,8 +26,11 @@
|
|
|
26
26
|
"clean": "rimraf dist lib *.tsbuildinfo *.build.log",
|
|
27
27
|
"eslint": "eslint src",
|
|
28
28
|
"eslint:fix": "eslint src --fix",
|
|
29
|
+
"format": "npm run prettier:fix",
|
|
29
30
|
"lint": "npm run eslint",
|
|
30
31
|
"lint:fix": "npm run eslint:fix",
|
|
32
|
+
"prettier": "prettier --check . --ignore-path ../../../.prettierignore",
|
|
33
|
+
"prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
|
|
31
34
|
"test": "npm run test:mocha",
|
|
32
35
|
"test:mocha": "mocha \"dist/**/*.spec.js\" --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
|
|
33
36
|
"test:mocha-ts": "cross-env FLUID_TEST_VERBOSE=1 TS_NODE_PROJECT=\"./src/test/tsconfig.json\" mocha --require ts-node/register --extensions ts,tsx \"src/test/**/*.spec.ts\" --exit -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict --timeout 1500000",
|
|
@@ -35,16 +38,16 @@
|
|
|
35
38
|
"tsc": "tsc"
|
|
36
39
|
},
|
|
37
40
|
"dependencies": {
|
|
38
|
-
"@fluid-experimental/property-changeset": ">=2.0.0-internal.2.
|
|
39
|
-
"@fluid-experimental/property-properties": ">=2.0.0-internal.2.
|
|
41
|
+
"@fluid-experimental/property-changeset": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
42
|
+
"@fluid-experimental/property-properties": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
40
43
|
"@fluidframework/common-utils": "^1.0.0",
|
|
41
|
-
"@fluidframework/container-definitions": ">=2.0.0-internal.2.
|
|
42
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.2.
|
|
43
|
-
"@fluidframework/datastore-definitions": ">=2.0.0-internal.2.
|
|
44
|
+
"@fluidframework/container-definitions": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
45
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
46
|
+
"@fluidframework/datastore-definitions": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
44
47
|
"@fluidframework/protocol-definitions": "^1.1.0",
|
|
45
|
-
"@fluidframework/runtime-definitions": ">=2.0.0-internal.2.
|
|
46
|
-
"@fluidframework/runtime-utils": ">=2.0.0-internal.2.
|
|
47
|
-
"@fluidframework/shared-object-base": ">=2.0.0-internal.2.
|
|
48
|
+
"@fluidframework/runtime-definitions": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
49
|
+
"@fluidframework/runtime-utils": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
50
|
+
"@fluidframework/shared-object-base": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
48
51
|
"axios": "^0.26.0",
|
|
49
52
|
"fastest-json-copy": "^1.0.1",
|
|
50
53
|
"lodash": "^4.17.21",
|
|
@@ -54,17 +57,17 @@
|
|
|
54
57
|
"uuid": "^8.3.1"
|
|
55
58
|
},
|
|
56
59
|
"devDependencies": {
|
|
57
|
-
"@fluid-experimental/property-common": ">=2.0.0-internal.2.
|
|
60
|
+
"@fluid-experimental/property-common": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
58
61
|
"@fluid-experimental/property-dds-previous": "npm:@fluid-experimental/property-dds@2.0.0-internal.2.1.0",
|
|
59
62
|
"@fluidframework/build-common": "^1.1.0",
|
|
60
|
-
"@fluidframework/driver-definitions": ">=2.0.0-internal.2.
|
|
63
|
+
"@fluidframework/driver-definitions": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
61
64
|
"@fluidframework/eslint-config-fluid": "^1.2.0",
|
|
62
|
-
"@fluidframework/local-driver": ">=2.0.0-internal.2.
|
|
63
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.
|
|
64
|
-
"@fluidframework/sequence": ">=2.0.0-internal.2.
|
|
65
|
+
"@fluidframework/local-driver": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
66
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
67
|
+
"@fluidframework/sequence": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
65
68
|
"@fluidframework/server-local-server": "^0.1038.2000",
|
|
66
|
-
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.2.
|
|
67
|
-
"@fluidframework/test-utils": ">=2.0.0-internal.2.
|
|
69
|
+
"@fluidframework/test-runtime-utils": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
70
|
+
"@fluidframework/test-utils": ">=2.0.0-internal.2.2.0 <2.0.0-internal.3.0.0",
|
|
68
71
|
"@microsoft/api-extractor": "^7.22.2",
|
|
69
72
|
"@rushstack/eslint-config": "^2.5.1",
|
|
70
73
|
"@types/mocha": "^9.1.1",
|
|
@@ -77,6 +80,7 @@
|
|
|
77
80
|
"eslint": "~8.6.0",
|
|
78
81
|
"mocha": "^10.0.0",
|
|
79
82
|
"nyc": "^15.0.0",
|
|
83
|
+
"prettier": "~2.6.2",
|
|
80
84
|
"rimraf": "^2.6.2",
|
|
81
85
|
"typescript": "~4.5.5"
|
|
82
86
|
},
|