@fluid-experimental/sequence-deprecated 2.0.0-rc.1.0.6 → 2.0.0-rc.2.0.1
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 → .eslintrc.cjs} +4 -1
- package/{.mocharc.js → .mocharc.cjs} +1 -1
- package/CHANGELOG.md +4 -0
- package/api-extractor-cjs.json +8 -0
- package/api-extractor.json +1 -1
- package/api-report/sequence-deprecated.api.md +2 -3
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +22 -22
- package/dist/index.js.map +1 -1
- package/dist/package.json +3 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/sequenceFactory.js +9 -9
- package/dist/sequenceFactory.js.map +1 -1
- package/dist/sharedNumberSequence.d.ts +2 -2
- package/dist/sharedNumberSequence.d.ts.map +1 -1
- package/dist/sharedNumberSequence.js +6 -6
- package/dist/sharedNumberSequence.js.map +1 -1
- package/dist/sharedObjectSequence.d.ts +2 -2
- package/dist/sharedObjectSequence.d.ts.map +1 -1
- package/dist/sharedObjectSequence.js +6 -6
- package/dist/sharedObjectSequence.js.map +1 -1
- package/dist/sparsematrix.d.ts +1 -1
- package/dist/sparsematrix.d.ts.map +1 -1
- package/dist/sparsematrix.js +4 -4
- package/dist/sparsematrix.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -5
- 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/lib/sequence-deprecated-alpha.d.ts +58 -0
- package/lib/sequence-deprecated-beta.d.ts +72 -0
- package/lib/sequence-deprecated-public.d.ts +72 -0
- package/lib/sequence-deprecated-untrimmed.d.ts +371 -0
- package/lib/sequenceFactory.js +3 -3
- package/lib/sequenceFactory.js.map +1 -1
- package/lib/sharedNumberSequence.d.ts +2 -2
- package/lib/sharedNumberSequence.d.ts.map +1 -1
- package/lib/sharedNumberSequence.js +2 -2
- package/lib/sharedNumberSequence.js.map +1 -1
- package/lib/sharedObjectSequence.d.ts +2 -2
- package/lib/sharedObjectSequence.d.ts.map +1 -1
- package/lib/sharedObjectSequence.js +2 -2
- package/lib/sharedObjectSequence.js.map +1 -1
- package/lib/sparsematrix.d.ts +1 -1
- package/lib/sparsematrix.d.ts.map +1 -1
- package/lib/sparsematrix.js +2 -2
- package/lib/sparsematrix.js.map +1 -1
- package/lib/test/sharedNumberSequence.spec.js +48 -0
- package/lib/test/sharedNumberSequence.spec.js.map +1 -0
- package/lib/test/sharedObjectSequence.spec.js +87 -0
- package/lib/test/sharedObjectSequence.spec.js.map +1 -0
- package/lib/test/sparseMatrix.spec.js +293 -0
- package/lib/test/sparseMatrix.spec.js.map +1 -0
- package/package.json +75 -21
- package/src/index.ts +5 -5
- package/src/packageVersion.ts +1 -1
- package/src/sequenceFactory.ts +3 -3
- package/src/sharedNumberSequence.ts +2 -2
- package/src/sharedObjectSequence.ts +2 -2
- package/src/sparsematrix.ts +2 -2
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +3 -4
- package/tsconfig.esnext.json +0 -7
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
|
-
extends: [
|
|
7
|
+
extends: [
|
|
8
|
+
require.resolve("@fluidframework/eslint-config-fluid/minimal-deprecated"),
|
|
9
|
+
"prettier",
|
|
10
|
+
],
|
|
8
11
|
parserOptions: {
|
|
9
12
|
project: ["./tsconfig.json", "./src/test/tsconfig.json"],
|
|
10
13
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
7
7
|
|
|
8
|
-
const getFluidTestMochaConfig = require("@
|
|
8
|
+
const getFluidTestMochaConfig = require("@fluid-internal/mocha-test-setup/mocharc-common");
|
|
9
9
|
|
|
10
10
|
const packageDir = __dirname;
|
|
11
11
|
const config = getFluidTestMochaConfig(packageDir);
|
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
+
"extends": "../../../common/build/build-common/api-extractor-base.cjs.primary.json",
|
|
4
|
+
// CJS is actually secondary; so, no report.
|
|
5
|
+
"apiReport": {
|
|
6
|
+
"enabled": false
|
|
7
|
+
}
|
|
8
|
+
}
|
package/api-extractor.json
CHANGED
|
@@ -129,7 +129,7 @@ export class SharedNumberSequenceFactory implements IChannelFactory {
|
|
|
129
129
|
get attributes(): IChannelAttributes;
|
|
130
130
|
// @deprecated (undocumented)
|
|
131
131
|
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
132
|
-
// @deprecated
|
|
132
|
+
// @deprecated
|
|
133
133
|
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
134
134
|
// @deprecated (undocumented)
|
|
135
135
|
static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number>;
|
|
@@ -161,7 +161,7 @@ export class SharedObjectSequenceFactory implements IChannelFactory {
|
|
|
161
161
|
get attributes(): IChannelAttributes;
|
|
162
162
|
// @deprecated (undocumented)
|
|
163
163
|
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
164
|
-
// @deprecated
|
|
164
|
+
// @deprecated
|
|
165
165
|
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
166
166
|
// @deprecated (undocumented)
|
|
167
167
|
static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object>;
|
|
@@ -213,7 +213,6 @@ export class SparseMatrixFactory implements IChannelFactory {
|
|
|
213
213
|
get attributes(): IChannelAttributes;
|
|
214
214
|
// (undocumented)
|
|
215
215
|
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
216
|
-
// (undocumented)
|
|
217
216
|
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
218
217
|
// (undocumented)
|
|
219
218
|
static segmentFromSpec(spec: IJSONSegment): ISegment;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
export { SharedNumberSequence } from "./sharedNumberSequence";
|
|
6
|
-
export { SharedObjectSequence } from "./sharedObjectSequence";
|
|
7
|
-
export { MatrixSegment, maxCellPosition, maxCol, maxCols, maxRow, maxRows, PaddingSegment, positionToRowCol, rowColToPosition, RunSegment, SparseMatrix, SparseMatrixFactory, SparseMatrixItem, } from "./sparsematrix";
|
|
8
|
-
export { IJSONRunSegment, SubSequence, SharedSequence } from "./sharedSequence";
|
|
9
|
-
export { SharedNumberSequenceFactory, SharedObjectSequenceFactory } from "./sequenceFactory";
|
|
5
|
+
export { SharedNumberSequence } from "./sharedNumberSequence.js";
|
|
6
|
+
export { SharedObjectSequence } from "./sharedObjectSequence.js";
|
|
7
|
+
export { MatrixSegment, maxCellPosition, maxCol, maxCols, maxRow, maxRows, PaddingSegment, positionToRowCol, rowColToPosition, RunSegment, SparseMatrix, SparseMatrixFactory, SparseMatrixItem, } from "./sparsematrix.js";
|
|
8
|
+
export { IJSONRunSegment, SubSequence, SharedSequence } from "./sharedSequence.js";
|
|
9
|
+
export { SharedNumberSequenceFactory, SharedObjectSequenceFactory } from "./sequenceFactory.js";
|
|
10
10
|
//# 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,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACN,aAAa,EACb,eAAe,EACf,MAAM,EACN,OAAO,EACP,MAAM,EACN,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,gBAAgB,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,26 +5,26 @@
|
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.SharedObjectSequenceFactory = exports.SharedNumberSequenceFactory = exports.SharedSequence = exports.SubSequence = exports.SparseMatrixFactory = exports.SparseMatrix = exports.RunSegment = exports.rowColToPosition = exports.positionToRowCol = exports.PaddingSegment = exports.maxRows = exports.maxRow = exports.maxCols = exports.maxCol = exports.maxCellPosition = exports.SharedObjectSequence = exports.SharedNumberSequence = void 0;
|
|
8
|
-
var
|
|
9
|
-
Object.defineProperty(exports, "SharedNumberSequence", { enumerable: true, get: function () { return
|
|
10
|
-
var
|
|
11
|
-
Object.defineProperty(exports, "SharedObjectSequence", { enumerable: true, get: function () { return
|
|
12
|
-
var
|
|
13
|
-
Object.defineProperty(exports, "maxCellPosition", { enumerable: true, get: function () { return
|
|
14
|
-
Object.defineProperty(exports, "maxCol", { enumerable: true, get: function () { return
|
|
15
|
-
Object.defineProperty(exports, "maxCols", { enumerable: true, get: function () { return
|
|
16
|
-
Object.defineProperty(exports, "maxRow", { enumerable: true, get: function () { return
|
|
17
|
-
Object.defineProperty(exports, "maxRows", { enumerable: true, get: function () { return
|
|
18
|
-
Object.defineProperty(exports, "PaddingSegment", { enumerable: true, get: function () { return
|
|
19
|
-
Object.defineProperty(exports, "positionToRowCol", { enumerable: true, get: function () { return
|
|
20
|
-
Object.defineProperty(exports, "rowColToPosition", { enumerable: true, get: function () { return
|
|
21
|
-
Object.defineProperty(exports, "RunSegment", { enumerable: true, get: function () { return
|
|
22
|
-
Object.defineProperty(exports, "SparseMatrix", { enumerable: true, get: function () { return
|
|
23
|
-
Object.defineProperty(exports, "SparseMatrixFactory", { enumerable: true, get: function () { return
|
|
24
|
-
var
|
|
25
|
-
Object.defineProperty(exports, "SubSequence", { enumerable: true, get: function () { return
|
|
26
|
-
Object.defineProperty(exports, "SharedSequence", { enumerable: true, get: function () { return
|
|
27
|
-
var
|
|
28
|
-
Object.defineProperty(exports, "SharedNumberSequenceFactory", { enumerable: true, get: function () { return
|
|
29
|
-
Object.defineProperty(exports, "SharedObjectSequenceFactory", { enumerable: true, get: function () { return
|
|
8
|
+
var sharedNumberSequence_js_1 = require("./sharedNumberSequence.js");
|
|
9
|
+
Object.defineProperty(exports, "SharedNumberSequence", { enumerable: true, get: function () { return sharedNumberSequence_js_1.SharedNumberSequence; } });
|
|
10
|
+
var sharedObjectSequence_js_1 = require("./sharedObjectSequence.js");
|
|
11
|
+
Object.defineProperty(exports, "SharedObjectSequence", { enumerable: true, get: function () { return sharedObjectSequence_js_1.SharedObjectSequence; } });
|
|
12
|
+
var sparsematrix_js_1 = require("./sparsematrix.js");
|
|
13
|
+
Object.defineProperty(exports, "maxCellPosition", { enumerable: true, get: function () { return sparsematrix_js_1.maxCellPosition; } });
|
|
14
|
+
Object.defineProperty(exports, "maxCol", { enumerable: true, get: function () { return sparsematrix_js_1.maxCol; } });
|
|
15
|
+
Object.defineProperty(exports, "maxCols", { enumerable: true, get: function () { return sparsematrix_js_1.maxCols; } });
|
|
16
|
+
Object.defineProperty(exports, "maxRow", { enumerable: true, get: function () { return sparsematrix_js_1.maxRow; } });
|
|
17
|
+
Object.defineProperty(exports, "maxRows", { enumerable: true, get: function () { return sparsematrix_js_1.maxRows; } });
|
|
18
|
+
Object.defineProperty(exports, "PaddingSegment", { enumerable: true, get: function () { return sparsematrix_js_1.PaddingSegment; } });
|
|
19
|
+
Object.defineProperty(exports, "positionToRowCol", { enumerable: true, get: function () { return sparsematrix_js_1.positionToRowCol; } });
|
|
20
|
+
Object.defineProperty(exports, "rowColToPosition", { enumerable: true, get: function () { return sparsematrix_js_1.rowColToPosition; } });
|
|
21
|
+
Object.defineProperty(exports, "RunSegment", { enumerable: true, get: function () { return sparsematrix_js_1.RunSegment; } });
|
|
22
|
+
Object.defineProperty(exports, "SparseMatrix", { enumerable: true, get: function () { return sparsematrix_js_1.SparseMatrix; } });
|
|
23
|
+
Object.defineProperty(exports, "SparseMatrixFactory", { enumerable: true, get: function () { return sparsematrix_js_1.SparseMatrixFactory; } });
|
|
24
|
+
var sharedSequence_js_1 = require("./sharedSequence.js");
|
|
25
|
+
Object.defineProperty(exports, "SubSequence", { enumerable: true, get: function () { return sharedSequence_js_1.SubSequence; } });
|
|
26
|
+
Object.defineProperty(exports, "SharedSequence", { enumerable: true, get: function () { return sharedSequence_js_1.SharedSequence; } });
|
|
27
|
+
var sequenceFactory_js_1 = require("./sequenceFactory.js");
|
|
28
|
+
Object.defineProperty(exports, "SharedNumberSequenceFactory", { enumerable: true, get: function () { return sequenceFactory_js_1.SharedNumberSequenceFactory; } });
|
|
29
|
+
Object.defineProperty(exports, "SharedObjectSequenceFactory", { enumerable: true, get: function () { return sequenceFactory_js_1.SharedObjectSequenceFactory; } });
|
|
30
30
|
//# 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,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA;AAC7B,qDAc2B;AAZ1B,kHAAA,eAAe,OAAA;AACf,yGAAA,MAAM,OAAA;AACN,0GAAA,OAAO,OAAA;AACP,yGAAA,MAAM,OAAA;AACN,0GAAA,OAAO,OAAA;AACP,iHAAA,cAAc,OAAA;AACd,mHAAA,gBAAgB,OAAA;AAChB,mHAAA,gBAAgB,OAAA;AAChB,6GAAA,UAAU,OAAA;AACV,+GAAA,YAAY,OAAA;AACZ,sHAAA,mBAAmB,OAAA;AAGpB,yDAAmF;AAAzD,gHAAA,WAAW,OAAA;AAAE,mHAAA,cAAc,OAAA;AACrD,2DAAgG;AAAvF,iIAAA,2BAA2B,OAAA;AAAE,iIAAA,2BAA2B,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { SharedNumberSequence } from \"./sharedNumberSequence.js\";\nexport { SharedObjectSequence } from \"./sharedObjectSequence.js\";\nexport {\n\tMatrixSegment,\n\tmaxCellPosition,\n\tmaxCol,\n\tmaxCols,\n\tmaxRow,\n\tmaxRows,\n\tPaddingSegment,\n\tpositionToRowCol,\n\trowColToPosition,\n\tRunSegment,\n\tSparseMatrix,\n\tSparseMatrixFactory,\n\tSparseMatrixItem,\n} from \"./sparsematrix.js\";\nexport { IJSONRunSegment, SubSequence, SharedSequence } from \"./sharedSequence.js\";\nexport { SharedNumberSequenceFactory, SharedObjectSequenceFactory } from \"./sequenceFactory.js\";\n"]}
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluid-experimental/sequence-deprecated";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-rc.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-rc.2.0.1";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
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 = "@fluid-experimental/sequence-deprecated";
|
|
11
|
-
exports.pkgVersion = "2.0.0-rc.
|
|
11
|
+
exports.pkgVersion = "2.0.0-rc.2.0.1";
|
|
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,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,gBAAgB,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 = \"@fluid-experimental/sequence-deprecated\";\nexport const pkgVersion = \"2.0.0-rc.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,yCAAyC,CAAC;AACpD,QAAA,UAAU,GAAG,gBAAgB,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 = \"@fluid-experimental/sequence-deprecated\";\nexport const pkgVersion = \"2.0.0-rc.2.0.1\";\n"]}
|
package/dist/sequenceFactory.js
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.SharedNumberSequenceFactory = exports.SharedObjectSequenceFactory = void 0;
|
|
8
8
|
const sequence_1 = require("@fluidframework/sequence");
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
9
|
+
const packageVersion_js_1 = require("./packageVersion.js");
|
|
10
|
+
const sharedNumberSequence_js_1 = require("./sharedNumberSequence.js");
|
|
11
|
+
const sharedObjectSequence_js_1 = require("./sharedObjectSequence.js");
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
14
14
|
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
@@ -51,7 +51,7 @@ class SharedObjectSequenceFactory {
|
|
|
51
51
|
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
52
52
|
*/
|
|
53
53
|
async load(runtime, id, services, attributes) {
|
|
54
|
-
const sharedSeq = new
|
|
54
|
+
const sharedSeq = new sharedObjectSequence_js_1.SharedObjectSequence(runtime, id, attributes);
|
|
55
55
|
await sharedSeq.load(services);
|
|
56
56
|
return sharedSeq;
|
|
57
57
|
}
|
|
@@ -60,7 +60,7 @@ class SharedObjectSequenceFactory {
|
|
|
60
60
|
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
61
61
|
*/
|
|
62
62
|
create(document, id) {
|
|
63
|
-
const sharedString = new
|
|
63
|
+
const sharedString = new sharedObjectSequence_js_1.SharedObjectSequence(document, id, this.attributes);
|
|
64
64
|
sharedString.initializeLocal();
|
|
65
65
|
return sharedString;
|
|
66
66
|
}
|
|
@@ -78,7 +78,7 @@ SharedObjectSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/
|
|
|
78
78
|
SharedObjectSequenceFactory.Attributes = {
|
|
79
79
|
type: SharedObjectSequenceFactory.Type,
|
|
80
80
|
snapshotFormatVersion: "0.1",
|
|
81
|
-
packageVersion:
|
|
81
|
+
packageVersion: packageVersion_js_1.pkgVersion,
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
84
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
@@ -122,7 +122,7 @@ class SharedNumberSequenceFactory {
|
|
|
122
122
|
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
123
123
|
*/
|
|
124
124
|
async load(runtime, id, services, attributes) {
|
|
125
|
-
const sharedSeq = new
|
|
125
|
+
const sharedSeq = new sharedNumberSequence_js_1.SharedNumberSequence(runtime, id, attributes);
|
|
126
126
|
await sharedSeq.load(services);
|
|
127
127
|
return sharedSeq;
|
|
128
128
|
}
|
|
@@ -131,7 +131,7 @@ class SharedNumberSequenceFactory {
|
|
|
131
131
|
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
132
132
|
*/
|
|
133
133
|
create(document, id) {
|
|
134
|
-
const sharedString = new
|
|
134
|
+
const sharedString = new sharedNumberSequence_js_1.SharedNumberSequence(document, id, this.attributes);
|
|
135
135
|
sharedString.initializeLocal();
|
|
136
136
|
return sharedString;
|
|
137
137
|
}
|
|
@@ -149,6 +149,6 @@ SharedNumberSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/
|
|
|
149
149
|
SharedNumberSequenceFactory.Attributes = {
|
|
150
150
|
type: SharedNumberSequenceFactory.Type,
|
|
151
151
|
snapshotFormatVersion: "0.1",
|
|
152
|
-
packageVersion:
|
|
152
|
+
packageVersion: packageVersion_js_1.pkgVersion,
|
|
153
153
|
};
|
|
154
154
|
//# sourceMappingURL=sequenceFactory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequenceFactory.js","sourceRoot":"","sources":["../src/sequenceFactory.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAUH,uDAAwE;AACxE,
|
|
1
|
+
{"version":3,"file":"sequenceFactory.js","sourceRoot":"","sources":["../src/sequenceFactory.ts"],"names":[],"mappings":"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","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIChannelAttributes,\n\tIFluidDataStoreRuntime,\n\tIChannelServices,\n\tIChannelFactory,\n} from \"@fluidframework/datastore-definitions\";\nimport { IJSONSegment } from \"@fluidframework/merge-tree\";\nimport { ISharedObject } from \"@fluidframework/shared-object-base\";\nimport { IJSONRunSegment, SubSequence } from \"@fluidframework/sequence\";\nimport { pkgVersion } from \"./packageVersion.js\";\nimport { SharedNumberSequence } from \"./sharedNumberSequence.js\";\nimport { SharedObjectSequence } from \"./sharedObjectSequence.js\";\n\n/**\n * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n * @internal\n */\nexport class SharedObjectSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/object-sequence\";\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedObjectSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<object>;\n\t\tif (runSegment.items) {\n\t\t\tconst seg = new SubSequence<object>(runSegment.items);\n\t\t\tif (runSegment.props) {\n\t\t\t\tseg.addProperties(runSegment.props);\n\t\t\t}\n\t\t\treturn seg;\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get type() {\n\t\treturn SharedObjectSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get attributes() {\n\t\treturn SharedObjectSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic async load(\n\t\truntime: IFluidDataStoreRuntime,\n\t\tid: string,\n\t\tservices: IChannelServices,\n\t\tattributes: IChannelAttributes,\n\t): Promise<ISharedObject> {\n\t\tconst sharedSeq = new SharedObjectSequence<object>(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedObjectSequence(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n\n/**\n * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n * @internal\n */\nexport class SharedNumberSequenceFactory implements IChannelFactory {\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static Type = \"https://graph.microsoft.com/types/mergeTree/number-sequence\";\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static readonly Attributes: IChannelAttributes = {\n\t\ttype: SharedNumberSequenceFactory.Type,\n\t\tsnapshotFormatVersion: \"0.1\",\n\t\tpackageVersion: pkgVersion,\n\t};\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number> {\n\t\tconst runSegment = segSpec as IJSONRunSegment<number>;\n\t\tif (runSegment.items) {\n\t\t\tconst seg = new SubSequence<number>(runSegment.items);\n\t\t\tif (runSegment.props) {\n\t\t\t\tseg.addProperties(runSegment.props);\n\t\t\t}\n\t\t\treturn seg;\n\t\t}\n\n\t\tthrow new Error(`Unrecognized IJSONObject`);\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get type() {\n\t\treturn SharedNumberSequenceFactory.Type;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic get attributes() {\n\t\treturn SharedNumberSequenceFactory.Attributes;\n\t}\n\n\t/**\n\t * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}\n\t *\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic async load(\n\t\truntime: IFluidDataStoreRuntime,\n\t\tid: string,\n\t\tservices: IChannelServices,\n\t\tattributes: IChannelAttributes,\n\t): Promise<ISharedObject> {\n\t\tconst sharedSeq = new SharedNumberSequence(runtime, id, attributes);\n\t\tawait sharedSeq.load(services);\n\t\treturn sharedSeq;\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)\n\t */\n\tpublic create(document: IFluidDataStoreRuntime, id: string): ISharedObject {\n\t\tconst sharedString = new SharedNumberSequence(document, id, this.attributes);\n\t\tsharedString.initializeLocal();\n\t\treturn sharedString;\n\t}\n}\n"]}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import { IFluidDataStoreRuntime, IChannelAttributes } from "@fluidframework/datastore-definitions";
|
|
6
|
-
import { SharedNumberSequenceFactory } from "./sequenceFactory";
|
|
7
|
-
import { SharedSequence } from "./sharedSequence";
|
|
6
|
+
import { SharedNumberSequenceFactory } from "./sequenceFactory.js";
|
|
7
|
+
import { SharedSequence } from "./sharedSequence.js";
|
|
8
8
|
/**
|
|
9
9
|
* The SharedNumberSequence holds a sequence of numbers. Each number will be stored
|
|
10
10
|
* at a position within the sequence. See the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedNumberSequence.d.ts","sourceRoot":"","sources":["../src/sharedNumberSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACnG,OAAO,EAAE,2BAA2B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sharedNumberSequence.d.ts","sourceRoot":"","sources":["../src/sharedNumberSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AACnG,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;;;;;;GASG;AACH,qBAAa,oBAAqB,SAAQ,cAAc,CAAC,MAAM,CAAC;IAiCvD,EAAE,EAAE,MAAM;IAhClB;;;;;;;;;OASG;WACW,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAE,EAAE,CAAC,EAAE,MAAM;IAIjE;;;;;;;OAOG;WACW,UAAU;IAIxB;;;OAGG;gBAEF,QAAQ,EAAE,sBAAsB,EACzB,EAAE,EAAE,MAAM,EACjB,UAAU,EAAE,kBAAkB;IAW/B;;;OAGG;IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAG3C"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.SharedNumberSequence = void 0;
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const sequenceFactory_js_1 = require("./sequenceFactory.js");
|
|
9
|
+
const sharedSequence_js_1 = require("./sharedSequence.js");
|
|
10
10
|
/**
|
|
11
11
|
* The SharedNumberSequence holds a sequence of numbers. Each number will be stored
|
|
12
12
|
* at a position within the sequence. See the
|
|
@@ -17,7 +17,7 @@ const sharedSequence_1 = require("./sharedSequence");
|
|
|
17
17
|
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
class SharedNumberSequence extends
|
|
20
|
+
class SharedNumberSequence extends sharedSequence_js_1.SharedSequence {
|
|
21
21
|
/**
|
|
22
22
|
* Create a new shared number sequence
|
|
23
23
|
*
|
|
@@ -29,7 +29,7 @@ class SharedNumberSequence extends sharedSequence_1.SharedSequence {
|
|
|
29
29
|
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
30
30
|
*/
|
|
31
31
|
static create(runtime, id) {
|
|
32
|
-
return runtime.createChannel(id,
|
|
32
|
+
return runtime.createChannel(id, sequenceFactory_js_1.SharedNumberSequenceFactory.Type);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Get a factory for SharedNumberSequence to register with the data store.
|
|
@@ -40,7 +40,7 @@ class SharedNumberSequence extends sharedSequence_1.SharedSequence {
|
|
|
40
40
|
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
41
41
|
*/
|
|
42
42
|
static getFactory() {
|
|
43
|
-
return new
|
|
43
|
+
return new sequenceFactory_js_1.SharedNumberSequenceFactory();
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
@@ -48,7 +48,7 @@ class SharedNumberSequence extends sharedSequence_1.SharedSequence {
|
|
|
48
48
|
*/
|
|
49
49
|
constructor(document, id, attributes) {
|
|
50
50
|
super(document, id, attributes, (spec) => {
|
|
51
|
-
const segment =
|
|
51
|
+
const segment = sequenceFactory_js_1.SharedNumberSequenceFactory.segmentFromSpec(spec);
|
|
52
52
|
if (!segment) {
|
|
53
53
|
throw new Error("expected `spec` to be valid `ISegment`");
|
|
54
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedNumberSequence.js","sourceRoot":"","sources":["../src/sharedNumberSequence.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,
|
|
1
|
+
{"version":3,"file":"sharedNumberSequence.js","sourceRoot":"","sources":["../src/sharedNumberSequence.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,6DAAmE;AACnE,2DAAqD;AAErD;;;;;;;;;GASG;AACH,MAAa,oBAAqB,SAAQ,kCAAsB;IAC/D;;;;;;;;;OASG;IACI,MAAM,CAAC,MAAM,CAAC,OAA+B,EAAE,EAAW;QAChE,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,gDAA2B,CAAC,IAAI,CAAyB,CAAC;IAC5F,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,gDAA2B,EAAE,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACH,YACC,QAAgC,EACzB,EAAU,EACjB,UAA8B;QAE9B,KAAK,CAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE;YACxC,MAAM,OAAO,GAAG,gDAA2B,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;YAClE,IAAI,CAAC,OAAO,EAAE;gBACb,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC1D;YACD,OAAO,OAAO,CAAC;QAChB,CAAC,CAAC,CAAC;QATI,OAAE,GAAF,EAAE,CAAQ;IAUlB,CAAC;IAED;;;OAGG;IACI,QAAQ,CAAC,KAAa,EAAE,GAAY;QAC1C,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAClC,CAAC;CACD;AApDD,oDAoDC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidDataStoreRuntime, IChannelAttributes } from \"@fluidframework/datastore-definitions\";\nimport { SharedNumberSequenceFactory } from \"./sequenceFactory.js\";\nimport { SharedSequence } from \"./sharedSequence.js\";\n\n/**\n * The SharedNumberSequence holds a sequence of numbers. Each number will be stored\n * at a position within the sequence. See the\n * {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}\n * for details on working with sequences.\n *\n * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n * @internal\n */\nexport class SharedNumberSequence extends SharedSequence<number> {\n\t/**\n\t * Create a new shared number sequence\n\t *\n\t * @param runtime - data store runtime the new shared number sequence belongs to\n\t * @param id - optional name of the shared number sequence\n\t * @returns newly create shared number sequence (but not attached yet)\n\t *\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\tpublic static create(runtime: IFluidDataStoreRuntime, id?: string) {\n\t\treturn runtime.createChannel(id, SharedNumberSequenceFactory.Type) as SharedNumberSequence;\n\t}\n\n\t/**\n\t * Get a factory for SharedNumberSequence to register with the data store.\n\t *\n\t * @returns a factory that creates and load SharedNumberSequence\n\t *\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\tpublic static getFactory() {\n\t\treturn new SharedNumberSequenceFactory();\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\tconstructor(\n\t\tdocument: IFluidDataStoreRuntime,\n\t\tpublic id: string,\n\t\tattributes: IChannelAttributes,\n\t) {\n\t\tsuper(document, id, attributes, (spec) => {\n\t\t\tconst segment = SharedNumberSequenceFactory.segmentFromSpec(spec);\n\t\t\tif (!segment) {\n\t\t\t\tthrow new Error(\"expected `spec` to be valid `ISegment`\");\n\t\t\t}\n\t\t\treturn segment;\n\t\t});\n\t}\n\n\t/**\n\t * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\tpublic getRange(start: number, end?: number) {\n\t\treturn this.getItems(start, end);\n\t}\n}\n"]}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import { IFluidDataStoreRuntime, IChannelAttributes, Serializable } from "@fluidframework/datastore-definitions";
|
|
6
|
-
import { SharedObjectSequenceFactory } from "./sequenceFactory";
|
|
7
|
-
import { SharedSequence } from "./sharedSequence";
|
|
6
|
+
import { SharedObjectSequenceFactory } from "./sequenceFactory.js";
|
|
7
|
+
import { SharedSequence } from "./sharedSequence.js";
|
|
8
8
|
/**
|
|
9
9
|
* The SharedObjectSequence holds a sequence of serializable objects. Each object will be stored
|
|
10
10
|
* at a position within the sequence. See the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedObjectSequence.d.ts","sourceRoot":"","sources":["../src/sharedObjectSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sharedObjectSequence.d.ts","sourceRoot":"","sources":["../src/sharedObjectSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,sBAAsB,EACtB,kBAAkB,EAClB,YAAY,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;;;;;;GASG;AACH,qBAAa,oBAAoB,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;IAqCrD,EAAE,EAAE,MAAM;IApClB;;;;;;;;;OASG;WAEW,MAAM,CAAC,CAAC,EAAE,OAAO,EAAE,sBAAsB,EAAE,EAAE,CAAC,EAAE,MAAM;IAOpE;;;;;;;OAOG;WACW,UAAU;IAIxB;;;OAGG;gBAEF,QAAQ,EAAE,sBAAsB,EACzB,EAAE,EAAE,MAAM,EACjB,UAAU,EAAE,kBAAkB;IAK/B;;;OAGG;IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE;CAG/D"}
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.SharedObjectSequence = void 0;
|
|
8
|
-
const
|
|
9
|
-
const
|
|
8
|
+
const sequenceFactory_js_1 = require("./sequenceFactory.js");
|
|
9
|
+
const sharedSequence_js_1 = require("./sharedSequence.js");
|
|
10
10
|
/**
|
|
11
11
|
* The SharedObjectSequence holds a sequence of serializable objects. Each object will be stored
|
|
12
12
|
* at a position within the sequence. See the
|
|
@@ -17,7 +17,7 @@ const sharedSequence_1 = require("./sharedSequence");
|
|
|
17
17
|
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
18
18
|
* @internal
|
|
19
19
|
*/
|
|
20
|
-
class SharedObjectSequence extends
|
|
20
|
+
class SharedObjectSequence extends sharedSequence_js_1.SharedSequence {
|
|
21
21
|
/**
|
|
22
22
|
* Create a new shared object sequence
|
|
23
23
|
*
|
|
@@ -29,7 +29,7 @@ class SharedObjectSequence extends sharedSequence_1.SharedSequence {
|
|
|
29
29
|
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
30
30
|
*/
|
|
31
31
|
static create(runtime, id) {
|
|
32
|
-
return runtime.createChannel(id,
|
|
32
|
+
return runtime.createChannel(id, sequenceFactory_js_1.SharedObjectSequenceFactory.Type);
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Get a factory for SharedObjectSequence to register with the data store.
|
|
@@ -40,14 +40,14 @@ class SharedObjectSequence extends sharedSequence_1.SharedSequence {
|
|
|
40
40
|
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
41
41
|
*/
|
|
42
42
|
static getFactory() {
|
|
43
|
-
return new
|
|
43
|
+
return new sequenceFactory_js_1.SharedObjectSequenceFactory();
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
47
47
|
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
48
48
|
*/
|
|
49
49
|
constructor(document, id, attributes) {
|
|
50
|
-
super(document, id, attributes,
|
|
50
|
+
super(document, id, attributes, sequenceFactory_js_1.SharedObjectSequenceFactory.segmentFromSpec);
|
|
51
51
|
this.id = id;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedObjectSequence.js","sourceRoot":"","sources":["../src/sharedObjectSequence.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAOH,
|
|
1
|
+
{"version":3,"file":"sharedObjectSequence.js","sourceRoot":"","sources":["../src/sharedObjectSequence.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAOH,6DAAmE;AACnE,2DAAqD;AAErD;;;;;;;;;GASG;AACH,MAAa,oBAAwB,SAAQ,kCAAiB;IAC7D;;;;;;;;;OASG;IAEI,MAAM,CAAC,MAAM,CAAI,OAA+B,EAAE,EAAW;QACnE,OAAO,OAAO,CAAC,aAAa,CAC3B,EAAE,EACF,gDAA2B,CAAC,IAAI,CACL,CAAC;IAC9B,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,gDAA2B,EAAE,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACH,YACC,QAAgC,EACzB,EAAU,EACjB,UAA8B;QAE9B,KAAK,CAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,gDAA2B,CAAC,eAAsB,CAAC,CAAC;QAH7E,OAAE,GAAF,EAAE,CAAQ;IAIlB,CAAC;IAED;;;OAGG;IACI,QAAQ,CAAC,KAAa,EAAE,GAAY;QAC1C,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAClC,CAAC;CACD;AAlDD,oDAkDC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIFluidDataStoreRuntime,\n\tIChannelAttributes,\n\tSerializable,\n} from \"@fluidframework/datastore-definitions\";\nimport { SharedObjectSequenceFactory } from \"./sequenceFactory.js\";\nimport { SharedSequence } from \"./sharedSequence.js\";\n\n/**\n * The SharedObjectSequence holds a sequence of serializable objects. Each object will be stored\n * at a position within the sequence. See the\n * {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}\n * for details on working with sequences.\n *\n * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n * @internal\n */\nexport class SharedObjectSequence<T> extends SharedSequence<T> {\n\t/**\n\t * Create a new shared object sequence\n\t *\n\t * @param runtime - data store runtime the new shared object sequence belongs to\n\t * @param id - optional name of the shared object sequence\n\t * @returns newly create shared object sequence (but not attached yet)\n\t *\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\n\tpublic static create<T>(runtime: IFluidDataStoreRuntime, id?: string) {\n\t\treturn runtime.createChannel(\n\t\t\tid,\n\t\t\tSharedObjectSequenceFactory.Type,\n\t\t) as SharedObjectSequence<T>;\n\t}\n\n\t/**\n\t * Get a factory for SharedObjectSequence to register with the data store.\n\t *\n\t * @returns a factory that creates and load SharedObjectSequence\n\t *\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\tpublic static getFactory() {\n\t\treturn new SharedObjectSequenceFactory();\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\tconstructor(\n\t\tdocument: IFluidDataStoreRuntime,\n\t\tpublic id: string,\n\t\tattributes: IChannelAttributes,\n\t) {\n\t\tsuper(document, id, attributes, SharedObjectSequenceFactory.segmentFromSpec as any);\n\t}\n\n\t/**\n\t * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.\n\t * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.\n\t */\n\tpublic getRange(start: number, end?: number): Serializable<T>[] {\n\t\treturn this.getItems(start, end);\n\t}\n}\n"]}
|
package/dist/sparsematrix.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { BaseSegment, IJSONSegment, ISegment, PropertySet } from "@fluidframewor
|
|
|
7
7
|
import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannelFactory, Jsonable } from "@fluidframework/datastore-definitions";
|
|
8
8
|
import { ISharedObject } from "@fluidframework/shared-object-base";
|
|
9
9
|
import { SharedSegmentSequence } from "@fluidframework/sequence";
|
|
10
|
-
import { SubSequence } from "./sharedSequence";
|
|
10
|
+
import { SubSequence } from "./sharedSequence.js";
|
|
11
11
|
/**
|
|
12
12
|
* An empty segment that occupies 'cachedLength' positions.
|
|
13
13
|
* {@link SparseMatrix} uses `PaddingSegment` to "pad" a run of unoccupied cells.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sparsematrix.d.ts","sourceRoot":"","sources":["../src/sparsematrix.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9F,OAAO,EACN,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EACf,QAAQ,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sparsematrix.d.ts","sourceRoot":"","sources":["../src/sparsematrix.ts"],"names":[],"mappings":"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"}
|
package/dist/sparsematrix.js
CHANGED
|
@@ -8,8 +8,8 @@ exports.SparseMatrixFactory = exports.SparseMatrix = exports.positionToRowCol =
|
|
|
8
8
|
const core_utils_1 = require("@fluidframework/core-utils");
|
|
9
9
|
const merge_tree_1 = require("@fluidframework/merge-tree");
|
|
10
10
|
const sequence_1 = require("@fluidframework/sequence");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const packageVersion_js_1 = require("./packageVersion.js");
|
|
12
|
+
const sharedSequence_js_1 = require("./sharedSequence.js");
|
|
13
13
|
/**
|
|
14
14
|
* An empty segment that occupies 'cachedLength' positions.
|
|
15
15
|
* {@link SparseMatrix} uses `PaddingSegment` to "pad" a run of unoccupied cells.
|
|
@@ -74,7 +74,7 @@ PaddingSegment.typeString = "PaddingSegment";
|
|
|
74
74
|
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
75
75
|
* @internal
|
|
76
76
|
*/
|
|
77
|
-
class RunSegment extends
|
|
77
|
+
class RunSegment extends sharedSequence_js_1.SubSequence {
|
|
78
78
|
static is(segment) {
|
|
79
79
|
return segment.type === RunSegment.typeString;
|
|
80
80
|
}
|
|
@@ -341,6 +341,6 @@ SparseMatrixFactory.Type = "https://graph.microsoft.com/types/mergeTree/sparse-m
|
|
|
341
341
|
SparseMatrixFactory.Attributes = {
|
|
342
342
|
type: SparseMatrixFactory.Type,
|
|
343
343
|
snapshotFormatVersion: "0.1",
|
|
344
|
-
packageVersion:
|
|
344
|
+
packageVersion: packageVersion_js_1.pkgVersion,
|
|
345
345
|
};
|
|
346
346
|
//# sourceMappingURL=sparsematrix.js.map
|