@fluid-experimental/sequence-deprecated 2.0.0-dev-rc.1.0.0.224419
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 +16 -0
- package/.mocharc.js +12 -0
- package/.vscode/launch.json +16 -0
- package/CHANGELOG.md +81 -0
- package/LICENSE +21 -0
- package/README.md +3 -0
- package/api-extractor-lint.json +4 -0
- package/api-extractor.json +4 -0
- package/api-report/sequence-deprecated.api.md +233 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -0
- package/dist/packageVersion.d.ts +9 -0
- package/dist/packageVersion.d.ts.map +1 -0
- package/dist/packageVersion.js +12 -0
- package/dist/packageVersion.js.map +1 -0
- package/dist/sequence-deprecated-alpha.d.ts +58 -0
- package/dist/sequence-deprecated-beta.d.ts +72 -0
- package/dist/sequence-deprecated-public.d.ts +72 -0
- package/dist/sequence-deprecated-untrimmed.d.ts +371 -0
- package/dist/sequenceFactory.d.ts +97 -0
- package/dist/sequenceFactory.d.ts.map +1 -0
- package/dist/sequenceFactory.js +154 -0
- package/dist/sequenceFactory.js.map +1 -0
- package/dist/sharedNumberSequence.d.ts +51 -0
- package/dist/sharedNumberSequence.d.ts.map +1 -0
- package/dist/sharedNumberSequence.js +68 -0
- package/dist/sharedNumberSequence.js.map +1 -0
- package/dist/sharedObjectSequence.d.ts +51 -0
- package/dist/sharedObjectSequence.d.ts.map +1 -0
- package/dist/sharedObjectSequence.js +62 -0
- package/dist/sharedObjectSequence.js.map +1 -0
- package/dist/sharedSequence.d.ts +12 -0
- package/dist/sharedSequence.d.ts.map +1 -0
- package/dist/sharedSequence.js +17 -0
- package/dist/sharedSequence.js.map +1 -0
- package/dist/sparsematrix.d.ts +167 -0
- package/dist/sparsematrix.d.ts.map +1 -0
- package/dist/sparsematrix.js +346 -0
- package/dist/sparsematrix.js.map +1 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/lib/packageVersion.d.ts +9 -0
- package/lib/packageVersion.d.ts.map +1 -0
- package/lib/packageVersion.js +9 -0
- package/lib/packageVersion.js.map +1 -0
- package/lib/sequenceFactory.d.ts +97 -0
- package/lib/sequenceFactory.d.ts.map +1 -0
- package/lib/sequenceFactory.js +149 -0
- package/lib/sequenceFactory.js.map +1 -0
- package/lib/sharedNumberSequence.d.ts +51 -0
- package/lib/sharedNumberSequence.d.ts.map +1 -0
- package/lib/sharedNumberSequence.js +64 -0
- package/lib/sharedNumberSequence.js.map +1 -0
- package/lib/sharedObjectSequence.d.ts +51 -0
- package/lib/sharedObjectSequence.d.ts.map +1 -0
- package/lib/sharedObjectSequence.js +58 -0
- package/lib/sharedObjectSequence.js.map +1 -0
- package/lib/sharedSequence.d.ts +12 -0
- package/lib/sharedSequence.d.ts.map +1 -0
- package/lib/sharedSequence.js +12 -0
- package/lib/sharedSequence.js.map +1 -0
- package/lib/sparsematrix.d.ts +167 -0
- package/lib/sparsematrix.d.ts.map +1 -0
- package/lib/sparsematrix.js +337 -0
- package/lib/sparsematrix.js.map +1 -0
- package/package.json +99 -0
- package/prettier.config.cjs +8 -0
- package/src/index.ts +24 -0
- package/src/packageVersion.ts +9 -0
- package/src/sequenceFactory.ts +183 -0
- package/src/sharedNumberSequence.ts +72 -0
- package/src/sharedObjectSequence.ts +74 -0
- package/src/sharedSequence.ts +12 -0
- package/src/sparsematrix.ts +429 -0
- package/tsconfig.esnext.json +7 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { SubSequence } from "@fluidframework/sequence";
|
|
6
|
+
import { pkgVersion } from "./packageVersion";
|
|
7
|
+
import { SharedNumberSequence } from "./sharedNumberSequence";
|
|
8
|
+
import { SharedObjectSequence } from "./sharedObjectSequence";
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
11
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export class SharedObjectSequenceFactory {
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
17
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
18
|
+
*/
|
|
19
|
+
static segmentFromSpec(segSpec) {
|
|
20
|
+
const runSegment = segSpec;
|
|
21
|
+
if (runSegment.items) {
|
|
22
|
+
const seg = new SubSequence(runSegment.items);
|
|
23
|
+
if (runSegment.props) {
|
|
24
|
+
seg.addProperties(runSegment.props);
|
|
25
|
+
}
|
|
26
|
+
return seg;
|
|
27
|
+
}
|
|
28
|
+
throw new Error(`Unrecognized IJSONObject`);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
32
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
33
|
+
*/
|
|
34
|
+
get type() {
|
|
35
|
+
return SharedObjectSequenceFactory.Type;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
39
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
40
|
+
*/
|
|
41
|
+
get attributes() {
|
|
42
|
+
return SharedObjectSequenceFactory.Attributes;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
46
|
+
*
|
|
47
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
48
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
49
|
+
*/
|
|
50
|
+
async load(runtime, id, services, attributes) {
|
|
51
|
+
const sharedSeq = new SharedObjectSequence(runtime, id, attributes);
|
|
52
|
+
await sharedSeq.load(services);
|
|
53
|
+
return sharedSeq;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
57
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
58
|
+
*/
|
|
59
|
+
create(document, id) {
|
|
60
|
+
const sharedString = new SharedObjectSequence(document, id, this.attributes);
|
|
61
|
+
sharedString.initializeLocal();
|
|
62
|
+
return sharedString;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
67
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
68
|
+
*/
|
|
69
|
+
SharedObjectSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/object-sequence";
|
|
70
|
+
/**
|
|
71
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
72
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
73
|
+
*/
|
|
74
|
+
SharedObjectSequenceFactory.Attributes = {
|
|
75
|
+
type: SharedObjectSequenceFactory.Type,
|
|
76
|
+
snapshotFormatVersion: "0.1",
|
|
77
|
+
packageVersion: pkgVersion,
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
81
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
export class SharedNumberSequenceFactory {
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
87
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
88
|
+
*/
|
|
89
|
+
static segmentFromSpec(segSpec) {
|
|
90
|
+
const runSegment = segSpec;
|
|
91
|
+
if (runSegment.items) {
|
|
92
|
+
const seg = new SubSequence(runSegment.items);
|
|
93
|
+
if (runSegment.props) {
|
|
94
|
+
seg.addProperties(runSegment.props);
|
|
95
|
+
}
|
|
96
|
+
return seg;
|
|
97
|
+
}
|
|
98
|
+
throw new Error(`Unrecognized IJSONObject`);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
102
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
103
|
+
*/
|
|
104
|
+
get type() {
|
|
105
|
+
return SharedNumberSequenceFactory.Type;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
109
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
110
|
+
*/
|
|
111
|
+
get attributes() {
|
|
112
|
+
return SharedNumberSequenceFactory.Attributes;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
116
|
+
*
|
|
117
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
118
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
119
|
+
*/
|
|
120
|
+
async load(runtime, id, services, attributes) {
|
|
121
|
+
const sharedSeq = new SharedNumberSequence(runtime, id, attributes);
|
|
122
|
+
await sharedSeq.load(services);
|
|
123
|
+
return sharedSeq;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
127
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
128
|
+
*/
|
|
129
|
+
create(document, id) {
|
|
130
|
+
const sharedString = new SharedNumberSequence(document, id, this.attributes);
|
|
131
|
+
sharedString.initializeLocal();
|
|
132
|
+
return sharedString;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
137
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
138
|
+
*/
|
|
139
|
+
SharedNumberSequenceFactory.Type = "https://graph.microsoft.com/types/mergeTree/number-sequence";
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
142
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
143
|
+
*/
|
|
144
|
+
SharedNumberSequenceFactory.Attributes = {
|
|
145
|
+
type: SharedNumberSequenceFactory.Type,
|
|
146
|
+
snapshotFormatVersion: "0.1",
|
|
147
|
+
packageVersion: pkgVersion,
|
|
148
|
+
};
|
|
149
|
+
//# sourceMappingURL=sequenceFactory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sequenceFactory.js","sourceRoot":"","sources":["../src/sequenceFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH,OAAO,EAAmB,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;;;GAIG;AACH,MA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C,IAAI;IACtC,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,UAAU;CAC1B,CAAC","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\";\nimport { SharedNumberSequence } from \"./sharedNumberSequence\";\nimport { SharedObjectSequence } from \"./sharedObjectSequence\";\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"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { IFluidDataStoreRuntime, IChannelAttributes } from "@fluidframework/datastore-definitions";
|
|
6
|
+
import { SharedNumberSequenceFactory } from "./sequenceFactory";
|
|
7
|
+
import { SharedSequence } from "./sharedSequence";
|
|
8
|
+
/**
|
|
9
|
+
* The SharedNumberSequence holds a sequence of numbers. Each number will be stored
|
|
10
|
+
* at a position within the sequence. See the
|
|
11
|
+
* {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}
|
|
12
|
+
* for details on working with sequences.
|
|
13
|
+
*
|
|
14
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
15
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare class SharedNumberSequence extends SharedSequence<number> {
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Create a new shared number sequence
|
|
22
|
+
*
|
|
23
|
+
* @param runtime - data store runtime the new shared number sequence belongs to
|
|
24
|
+
* @param id - optional name of the shared number sequence
|
|
25
|
+
* @returns newly create shared number sequence (but not attached yet)
|
|
26
|
+
*
|
|
27
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
28
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
29
|
+
*/
|
|
30
|
+
static create(runtime: IFluidDataStoreRuntime, id?: string): SharedNumberSequence;
|
|
31
|
+
/**
|
|
32
|
+
* Get a factory for SharedNumberSequence to register with the data store.
|
|
33
|
+
*
|
|
34
|
+
* @returns a factory that creates and load SharedNumberSequence
|
|
35
|
+
*
|
|
36
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
37
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
38
|
+
*/
|
|
39
|
+
static getFactory(): SharedNumberSequenceFactory;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
42
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
43
|
+
*/
|
|
44
|
+
constructor(document: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
47
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
48
|
+
*/
|
|
49
|
+
getRange(start: number, end?: number): number[];
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=sharedNumberSequence.d.ts.map
|
|
@@ -0,0 +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,mBAAmB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;;;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"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { SharedNumberSequenceFactory } from "./sequenceFactory";
|
|
6
|
+
import { SharedSequence } from "./sharedSequence";
|
|
7
|
+
/**
|
|
8
|
+
* The SharedNumberSequence holds a sequence of numbers. Each number will be stored
|
|
9
|
+
* at a position within the sequence. See the
|
|
10
|
+
* {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}
|
|
11
|
+
* for details on working with sequences.
|
|
12
|
+
*
|
|
13
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
14
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export class SharedNumberSequence extends SharedSequence {
|
|
18
|
+
/**
|
|
19
|
+
* Create a new shared number sequence
|
|
20
|
+
*
|
|
21
|
+
* @param runtime - data store runtime the new shared number sequence belongs to
|
|
22
|
+
* @param id - optional name of the shared number sequence
|
|
23
|
+
* @returns newly create shared number sequence (but not attached yet)
|
|
24
|
+
*
|
|
25
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
26
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
27
|
+
*/
|
|
28
|
+
static create(runtime, id) {
|
|
29
|
+
return runtime.createChannel(id, SharedNumberSequenceFactory.Type);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get a factory for SharedNumberSequence to register with the data store.
|
|
33
|
+
*
|
|
34
|
+
* @returns a factory that creates and load SharedNumberSequence
|
|
35
|
+
*
|
|
36
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
37
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
38
|
+
*/
|
|
39
|
+
static getFactory() {
|
|
40
|
+
return new SharedNumberSequenceFactory();
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
44
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
45
|
+
*/
|
|
46
|
+
constructor(document, id, attributes) {
|
|
47
|
+
super(document, id, attributes, (spec) => {
|
|
48
|
+
const segment = SharedNumberSequenceFactory.segmentFromSpec(spec);
|
|
49
|
+
if (!segment) {
|
|
50
|
+
throw new Error("expected `spec` to be valid `ISegment`");
|
|
51
|
+
}
|
|
52
|
+
return segment;
|
|
53
|
+
});
|
|
54
|
+
this.id = id;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
|
|
58
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
59
|
+
*/
|
|
60
|
+
getRange(start, end) {
|
|
61
|
+
return this.getItems(start, end);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=sharedNumberSequence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedNumberSequence.js","sourceRoot":"","sources":["../src/sharedNumberSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;;;GASG;AACH,MAAM,OAAO,oBAAqB,SAAQ,cAAsB;IAC/D;;;;;;;;;OASG;IACI,MAAM,CAAC,MAAM,CAAC,OAA+B,EAAE,EAAW;QAChE,OAAO,OAAO,CAAC,aAAa,CAAC,EAAE,EAAE,2BAA2B,CAAC,IAAI,CAAyB,CAAC;IAC5F,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,2BAA2B,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,2BAA2B,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","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\";\nimport { SharedSequence } from \"./sharedSequence\";\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"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { IFluidDataStoreRuntime, IChannelAttributes, Serializable } from "@fluidframework/datastore-definitions";
|
|
6
|
+
import { SharedObjectSequenceFactory } from "./sequenceFactory";
|
|
7
|
+
import { SharedSequence } from "./sharedSequence";
|
|
8
|
+
/**
|
|
9
|
+
* The SharedObjectSequence holds a sequence of serializable objects. Each object will be stored
|
|
10
|
+
* at a position within the sequence. See the
|
|
11
|
+
* {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}
|
|
12
|
+
* for details on working with sequences.
|
|
13
|
+
*
|
|
14
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
15
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare class SharedObjectSequence<T> extends SharedSequence<T> {
|
|
19
|
+
id: string;
|
|
20
|
+
/**
|
|
21
|
+
* Create a new shared object sequence
|
|
22
|
+
*
|
|
23
|
+
* @param runtime - data store runtime the new shared object sequence belongs to
|
|
24
|
+
* @param id - optional name of the shared object sequence
|
|
25
|
+
* @returns newly create shared object sequence (but not attached yet)
|
|
26
|
+
*
|
|
27
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
28
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
29
|
+
*/
|
|
30
|
+
static create<T>(runtime: IFluidDataStoreRuntime, id?: string): SharedObjectSequence<T>;
|
|
31
|
+
/**
|
|
32
|
+
* Get a factory for SharedObjectSequence to register with the data store.
|
|
33
|
+
*
|
|
34
|
+
* @returns a factory that creates and load SharedObjectSequence
|
|
35
|
+
*
|
|
36
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
37
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
38
|
+
*/
|
|
39
|
+
static getFactory(): SharedObjectSequenceFactory;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
42
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
43
|
+
*/
|
|
44
|
+
constructor(document: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
47
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
48
|
+
*/
|
|
49
|
+
getRange(start: number, end?: number): Serializable<T>[];
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=sharedObjectSequence.d.ts.map
|
|
@@ -0,0 +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,mBAAmB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;;;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"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { SharedObjectSequenceFactory } from "./sequenceFactory";
|
|
6
|
+
import { SharedSequence } from "./sharedSequence";
|
|
7
|
+
/**
|
|
8
|
+
* The SharedObjectSequence holds a sequence of serializable objects. Each object will be stored
|
|
9
|
+
* at a position within the sequence. See the
|
|
10
|
+
* {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}
|
|
11
|
+
* for details on working with sequences.
|
|
12
|
+
*
|
|
13
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
14
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export class SharedObjectSequence extends SharedSequence {
|
|
18
|
+
/**
|
|
19
|
+
* Create a new shared object sequence
|
|
20
|
+
*
|
|
21
|
+
* @param runtime - data store runtime the new shared object sequence belongs to
|
|
22
|
+
* @param id - optional name of the shared object sequence
|
|
23
|
+
* @returns newly create shared object sequence (but not attached yet)
|
|
24
|
+
*
|
|
25
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
26
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
27
|
+
*/
|
|
28
|
+
static create(runtime, id) {
|
|
29
|
+
return runtime.createChannel(id, SharedObjectSequenceFactory.Type);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Get a factory for SharedObjectSequence to register with the data store.
|
|
33
|
+
*
|
|
34
|
+
* @returns a factory that creates and load SharedObjectSequence
|
|
35
|
+
*
|
|
36
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
37
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
38
|
+
*/
|
|
39
|
+
static getFactory() {
|
|
40
|
+
return new SharedObjectSequenceFactory();
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
44
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
45
|
+
*/
|
|
46
|
+
constructor(document, id, attributes) {
|
|
47
|
+
super(document, id, attributes, SharedObjectSequenceFactory.segmentFromSpec);
|
|
48
|
+
this.id = id;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
|
|
52
|
+
* For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
|
|
53
|
+
*/
|
|
54
|
+
getRange(start, end) {
|
|
55
|
+
return this.getItems(start, end);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=sharedObjectSequence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedObjectSequence.js","sourceRoot":"","sources":["../src/sharedObjectSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;;;GASG;AACH,MAAM,OAAO,oBAAwB,SAAQ,cAAiB;IAC7D;;;;;;;;;OASG;IAEI,MAAM,CAAC,MAAM,CAAI,OAA+B,EAAE,EAAW;QACnE,OAAO,OAAO,CAAC,aAAa,CAC3B,EAAE,EACF,2BAA2B,CAAC,IAAI,CACL,CAAC;IAC9B,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,UAAU;QACvB,OAAO,IAAI,2BAA2B,EAAE,CAAC;IAC1C,CAAC;IAED;;;OAGG;IACH,YACC,QAAgC,EACzB,EAAU,EACjB,UAA8B;QAE9B,KAAK,CAAC,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,2BAA2B,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","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\";\nimport { SharedSequence } from \"./sharedSequence\";\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"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* In a future release we will move these types here and export them directly with:
|
|
7
|
+
*
|
|
8
|
+
* @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.
|
|
9
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
10
|
+
*/
|
|
11
|
+
export { SubSequence, SharedSequence, IJSONRunSegment } from "@fluidframework/sequence";
|
|
12
|
+
//# sourceMappingURL=sharedSequence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedSequence.d.ts","sourceRoot":"","sources":["../src/sharedSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* In a future release we will move these types here and export them directly with:
|
|
7
|
+
*
|
|
8
|
+
* @deprecated SharedSequence is not recommended for use and will be removed in an upcoming release.
|
|
9
|
+
* For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
|
|
10
|
+
*/
|
|
11
|
+
export { SubSequence, SharedSequence } from "@fluidframework/sequence";
|
|
12
|
+
//# sourceMappingURL=sharedSequence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedSequence.js","sourceRoot":"","sources":["../src/sharedSequence.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,OAAO,EAAE,WAAW,EAAE,cAAc,EAAmB,MAAM,0BAA0B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * In a future release we will move these types here and export them directly with:\n *\n * @deprecated SharedSequence 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 */\nexport { SubSequence, SharedSequence, IJSONRunSegment } from \"@fluidframework/sequence\";\n"]}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*/
|
|
5
|
+
import { IFluidHandle } from "@fluidframework/core-interfaces";
|
|
6
|
+
import { BaseSegment, IJSONSegment, ISegment, PropertySet } from "@fluidframework/merge-tree";
|
|
7
|
+
import { IChannelAttributes, IFluidDataStoreRuntime, IChannelServices, IChannelFactory, Jsonable } from "@fluidframework/datastore-definitions";
|
|
8
|
+
import { ISharedObject } from "@fluidframework/shared-object-base";
|
|
9
|
+
import { SharedSegmentSequence } from "@fluidframework/sequence";
|
|
10
|
+
import { SubSequence } from "./sharedSequence";
|
|
11
|
+
/**
|
|
12
|
+
* An empty segment that occupies 'cachedLength' positions.
|
|
13
|
+
* {@link SparseMatrix} uses `PaddingSegment` to "pad" a run of unoccupied cells.
|
|
14
|
+
*
|
|
15
|
+
* @deprecated `PaddingSegment` is part of an abandoned prototype.
|
|
16
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare class PaddingSegment extends BaseSegment {
|
|
20
|
+
static readonly typeString = "PaddingSegment";
|
|
21
|
+
static is(segment: ISegment): segment is PaddingSegment;
|
|
22
|
+
static fromJSONObject(spec: any): PaddingSegment | undefined;
|
|
23
|
+
readonly type = "PaddingSegment";
|
|
24
|
+
constructor(size: number);
|
|
25
|
+
toJSONObject(): {
|
|
26
|
+
pad: number;
|
|
27
|
+
props: PropertySet | undefined;
|
|
28
|
+
};
|
|
29
|
+
clone(start?: number, end?: number): PaddingSegment;
|
|
30
|
+
canAppend(segment: ISegment): boolean;
|
|
31
|
+
toString(): string;
|
|
32
|
+
append(segment: ISegment): void;
|
|
33
|
+
removeRange(start: number, end: number): boolean;
|
|
34
|
+
protected createSplitSegmentAt(pos: number): PaddingSegment;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated `SparseMatrixItem` is part of an abandoned prototype.
|
|
38
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
export type SparseMatrixItem = any;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated `RunSegment` is part of an abandoned prototype.
|
|
44
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
export declare class RunSegment extends SubSequence<SparseMatrixItem> {
|
|
48
|
+
items: SparseMatrixItem[];
|
|
49
|
+
static readonly typeString = "RunSegment";
|
|
50
|
+
static is(segment: ISegment): segment is RunSegment;
|
|
51
|
+
static fromJSONObject(spec: any): RunSegment | undefined;
|
|
52
|
+
readonly type = "RunSegment";
|
|
53
|
+
private tags;
|
|
54
|
+
constructor(items: SparseMatrixItem[]);
|
|
55
|
+
clone(start?: number, end?: number): RunSegment;
|
|
56
|
+
append(segment: ISegment): this;
|
|
57
|
+
removeRange(start: number, end: number): boolean;
|
|
58
|
+
getTag(pos: number): any;
|
|
59
|
+
setTag(pos: number, tag: any): void;
|
|
60
|
+
protected createSplitSegmentAt(pos: number): RunSegment | undefined;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated `MatrixSegment` is part of an abandoned prototype.
|
|
64
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
export type MatrixSegment = RunSegment | PaddingSegment;
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated `maxCol` is part of an abandoned prototype.
|
|
70
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
export declare const maxCol = 2097152;
|
|
74
|
+
/**
|
|
75
|
+
* @deprecated `maxCols` is part of an abandoned prototype.
|
|
76
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
export declare const maxCols: number;
|
|
80
|
+
/**
|
|
81
|
+
* @deprecated `maxRow` is part of an abandoned prototype.
|
|
82
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
export declare const maxRow = 4294967295;
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated `maxRows` is part of an abandoned prototype.
|
|
88
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
export declare const maxRows: number;
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated `maxCellPosition` is part of an abandoned prototype.
|
|
94
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
export declare const maxCellPosition: number;
|
|
98
|
+
/**
|
|
99
|
+
* @deprecated `positionToRowCol` is part of an abandoned prototype.
|
|
100
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
export declare const rowColToPosition: (row: number, col: number) => number;
|
|
104
|
+
/**
|
|
105
|
+
* @deprecated `positionToRowCol` is part of an abandoned prototype.
|
|
106
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
export declare function positionToRowCol(position: number): {
|
|
110
|
+
row: number;
|
|
111
|
+
col: number;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* @deprecated `SparseMatrix` is an abandoned prototype.
|
|
115
|
+
* Use {@link @fluidframework/matrix#SharedMatrix} instead.
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
export declare class SparseMatrix extends SharedSegmentSequence<MatrixSegment> {
|
|
119
|
+
id: string;
|
|
120
|
+
/**
|
|
121
|
+
* Create a new sparse matrix
|
|
122
|
+
*
|
|
123
|
+
* @param runtime - data store runtime the new sparse matrix belongs to
|
|
124
|
+
* @param id - optional name of the sparse matrix
|
|
125
|
+
* @returns newly create sparse matrix (but not attached yet)
|
|
126
|
+
*/
|
|
127
|
+
static create(runtime: IFluidDataStoreRuntime, id?: string): SparseMatrix;
|
|
128
|
+
/**
|
|
129
|
+
* Get a factory for SharedMap to register with the data store.
|
|
130
|
+
*
|
|
131
|
+
* @returns a factory that creates and load SharedMap
|
|
132
|
+
*/
|
|
133
|
+
static getFactory(): IChannelFactory;
|
|
134
|
+
constructor(document: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
|
|
135
|
+
get numRows(): number;
|
|
136
|
+
setItems(row: number, col: number, values: SparseMatrixItem[], props?: PropertySet): void;
|
|
137
|
+
getItem(row: number, col: number): // The return type is defined explicitly here to prevent TypeScript from generating dynamic imports
|
|
138
|
+
Jsonable<string | number | boolean | IFluidHandle> | undefined;
|
|
139
|
+
getTag(row: number, col: number): any;
|
|
140
|
+
setTag(row: number, col: number, tag: any): void;
|
|
141
|
+
insertRows(row: number, numRows: number): void;
|
|
142
|
+
removeRows(row: number, numRows: number): void;
|
|
143
|
+
insertCols(col: number, numCols: number): void;
|
|
144
|
+
removeCols(col: number, numCols: number): void;
|
|
145
|
+
annotatePosition(row: number, col: number, props: PropertySet): void;
|
|
146
|
+
getPositionProperties(row: number, col: number): PropertySet | undefined;
|
|
147
|
+
private moveAsPadding;
|
|
148
|
+
private getSegment;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @deprecated `SparseMatrixFactory` is an abandoned prototype.
|
|
152
|
+
* Use {@link @fluidframework/matrix#SharedMatrixFactory} instead.
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
export declare class SparseMatrixFactory implements IChannelFactory {
|
|
156
|
+
static Type: string;
|
|
157
|
+
static Attributes: IChannelAttributes;
|
|
158
|
+
static segmentFromSpec(spec: IJSONSegment): ISegment;
|
|
159
|
+
get type(): string;
|
|
160
|
+
get attributes(): IChannelAttributes;
|
|
161
|
+
/**
|
|
162
|
+
* {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
|
|
163
|
+
*/
|
|
164
|
+
load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
|
|
165
|
+
create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
|
|
166
|
+
}
|
|
167
|
+
//# sourceMappingURL=sparsematrix.d.ts.map
|
|
@@ -0,0 +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,kBAAkB,CAAC;AAE/C;;;;;;;GAOG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC9C,gBAAuB,UAAU,oBAAoB;WACvC,EAAE,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,IAAI,cAAc;WAGhD,cAAc,CAAC,IAAI,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