@fluid-experimental/sequence-deprecated 2.0.0-dev.7.2.0.204906 → 2.0.0-dev.7.2.0.205722

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.
@@ -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-dev.7.2.0.204906";
8
+ export declare const pkgVersion = "2.0.0-dev.7.2.0.205722";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -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-dev.7.2.0.204906";
11
+ exports.pkgVersion = "2.0.0-dev.7.2.0.205722";
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,wBAAwB,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-dev.7.2.0.204906\";\n"]}
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,wBAAwB,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-dev.7.2.0.205722\";\n"]}
@@ -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-dev.7.2.0.204906";
8
+ export declare const pkgVersion = "2.0.0-dev.7.2.0.205722";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluid-experimental/sequence-deprecated";
8
- export const pkgVersion = "2.0.0-dev.7.2.0.204906";
8
+ export const pkgVersion = "2.0.0-dev.7.2.0.205722";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,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-dev.7.2.0.204906\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,yCAAyC,CAAC;AACjE,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,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-dev.7.2.0.205722\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/sequence-deprecated",
3
- "version": "2.0.0-dev.7.2.0.204906",
3
+ "version": "2.0.0-dev.7.2.0.205722",
4
4
  "description": "Deprecated distributed sequences",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,21 +35,21 @@
35
35
  "temp-directory": "nyc/.nyc_output"
36
36
  },
37
37
  "dependencies": {
38
- "@fluidframework/core-interfaces": "2.0.0-dev.7.2.0.204906",
39
- "@fluidframework/core-utils": "2.0.0-dev.7.2.0.204906",
40
- "@fluidframework/datastore-definitions": "2.0.0-dev.7.2.0.204906",
41
- "@fluidframework/merge-tree": "2.0.0-dev.7.2.0.204906",
42
- "@fluidframework/sequence": "2.0.0-dev.7.2.0.204906",
43
- "@fluidframework/shared-object-base": "2.0.0-dev.7.2.0.204906"
38
+ "@fluidframework/core-interfaces": "2.0.0-dev.7.2.0.205722",
39
+ "@fluidframework/core-utils": "2.0.0-dev.7.2.0.205722",
40
+ "@fluidframework/datastore-definitions": "2.0.0-dev.7.2.0.205722",
41
+ "@fluidframework/merge-tree": "2.0.0-dev.7.2.0.205722",
42
+ "@fluidframework/sequence": "2.0.0-dev.7.2.0.205722",
43
+ "@fluidframework/shared-object-base": "2.0.0-dev.7.2.0.205722"
44
44
  },
45
45
  "devDependencies": {
46
- "@fluid-internal/test-dds-utils": "2.0.0-dev.7.2.0.204906",
47
- "@fluid-tools/build-cli": "0.26.0-203096",
48
- "@fluidframework/build-common": "^2.0.2",
49
- "@fluidframework/build-tools": "0.26.0-203096",
46
+ "@fluid-internal/test-dds-utils": "2.0.0-dev.7.2.0.205722",
47
+ "@fluid-tools/build-cli": "^0.26.1",
48
+ "@fluidframework/build-common": "^2.0.3",
49
+ "@fluidframework/build-tools": "^0.26.1",
50
50
  "@fluidframework/eslint-config-fluid": "^3.0.0",
51
- "@fluidframework/mocha-test-setup": "2.0.0-dev.7.2.0.204906",
52
- "@fluidframework/test-runtime-utils": "2.0.0-dev.7.2.0.204906",
51
+ "@fluidframework/mocha-test-setup": "2.0.0-dev.7.2.0.205722",
52
+ "@fluidframework/test-runtime-utils": "2.0.0-dev.7.2.0.205722",
53
53
  "@microsoft/api-extractor": "^7.37.0",
54
54
  "@types/diff": "^3.5.1",
55
55
  "@types/mocha": "^9.1.1",
@@ -79,7 +79,7 @@
79
79
  "build:genver": "gen-version",
80
80
  "build:test": "tsc --project ./src/test/tsconfig.json",
81
81
  "ci:build:docs": "api-extractor run",
82
- "clean": "rimraf --glob 'dist' 'lib' '*.tsbuildinfo' '*.build.log' '_api-extractor-temp' 'nyc'",
82
+ "clean": "rimraf --glob dist lib \"*.tsbuildinfo\" \"*.build.log\" _api-extractor-temp nyc",
83
83
  "eslint": "eslint --format stylish src",
84
84
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
85
85
  "format": "npm run prettier:fix",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluid-experimental/sequence-deprecated";
9
- export const pkgVersion = "2.0.0-dev.7.2.0.204906";
9
+ export const pkgVersion = "2.0.0-dev.7.2.0.205722";
@@ -1,354 +0,0 @@
1
- import { BaseSegment } from '@fluidframework/merge-tree';
2
- import { IChannelAttributes } from '@fluidframework/datastore-definitions';
3
- import { IChannelFactory } from '@fluidframework/datastore-definitions';
4
- import { IChannelServices } from '@fluidframework/datastore-definitions';
5
- import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
6
- import { IFluidHandle } from '@fluidframework/core-interfaces';
7
- import { IJSONRunSegment } from '@fluidframework/sequence';
8
- import { IJSONSegment } from '@fluidframework/merge-tree';
9
- import { ISegment } from '@fluidframework/merge-tree';
10
- import { ISharedObject } from '@fluidframework/shared-object-base';
11
- import { Jsonable } from '@fluidframework/datastore-definitions';
12
- import { PropertySet } from '@fluidframework/merge-tree';
13
- import { Serializable } from '@fluidframework/datastore-definitions';
14
- import { SharedSegmentSequence } from '@fluidframework/sequence';
15
- import { SharedSequence } from '@fluidframework/sequence';
16
- import { SubSequence } from '@fluidframework/sequence';
17
-
18
- export { IJSONRunSegment }
19
-
20
- /**
21
- * @deprecated `MatrixSegment` is part of an abandoned prototype.
22
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
23
- */
24
- export declare type MatrixSegment = RunSegment | PaddingSegment;
25
-
26
- /**
27
- * @deprecated `maxCellPosition` is part of an abandoned prototype.
28
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
29
- */
30
- export declare const maxCellPosition: number;
31
-
32
- /**
33
- * @deprecated `maxCol` is part of an abandoned prototype.
34
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
35
- */
36
- export declare const maxCol = 2097152;
37
-
38
- /**
39
- * @deprecated `maxCols` is part of an abandoned prototype.
40
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
41
- */
42
- export declare const maxCols: number;
43
-
44
- /**
45
- * @deprecated `maxRow` is part of an abandoned prototype.
46
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
47
- */
48
- export declare const maxRow = 4294967295;
49
-
50
- /**
51
- * @deprecated `maxRows` is part of an abandoned prototype.
52
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
53
- */
54
- export declare const maxRows: number;
55
-
56
- /**
57
- * An empty segment that occupies 'cachedLength' positions.
58
- * {@link SparseMatrix} uses `PaddingSegment` to "pad" a run of unoccupied cells.
59
- *
60
- * @deprecated `PaddingSegment` is part of an abandoned prototype.
61
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
62
- */
63
- export declare class PaddingSegment extends BaseSegment {
64
- static readonly typeString = "PaddingSegment";
65
- static is(segment: ISegment): segment is PaddingSegment;
66
- static fromJSONObject(spec: any): PaddingSegment | undefined;
67
- readonly type = "PaddingSegment";
68
- constructor(size: number);
69
- toJSONObject(): {
70
- pad: number;
71
- props: PropertySet | undefined;
72
- };
73
- clone(start?: number, end?: number): PaddingSegment;
74
- canAppend(segment: ISegment): boolean;
75
- toString(): string;
76
- append(segment: ISegment): void;
77
- removeRange(start: number, end: number): boolean;
78
- protected createSplitSegmentAt(pos: number): PaddingSegment;
79
- }
80
-
81
- /**
82
- * @deprecated `positionToRowCol` is part of an abandoned prototype.
83
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
84
- */
85
- export declare function positionToRowCol(position: number): {
86
- row: number;
87
- col: number;
88
- };
89
-
90
- /**
91
- * @deprecated `positionToRowCol` is part of an abandoned prototype.
92
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
93
- */
94
- export declare const rowColToPosition: (row: number, col: number) => number;
95
-
96
- /**
97
- * @deprecated `RunSegment` is part of an abandoned prototype.
98
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
99
- */
100
- export declare class RunSegment extends SubSequence<SparseMatrixItem> {
101
- items: SparseMatrixItem[];
102
- static readonly typeString = "RunSegment";
103
- static is(segment: ISegment): segment is RunSegment;
104
- static fromJSONObject(spec: any): RunSegment | undefined;
105
- readonly type = "RunSegment";
106
- private tags;
107
- constructor(items: SparseMatrixItem[]);
108
- clone(start?: number, end?: number): RunSegment;
109
- append(segment: ISegment): this;
110
- removeRange(start: number, end: number): boolean;
111
- getTag(pos: number): any;
112
- setTag(pos: number, tag: any): void;
113
- protected createSplitSegmentAt(pos: number): RunSegment | undefined;
114
- }
115
-
116
- /**
117
- * The SharedNumberSequence holds a sequence of numbers. Each number will be stored
118
- * at a position within the sequence. See the
119
- * {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}
120
- * for details on working with sequences.
121
- *
122
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
123
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
124
- */
125
- export declare class SharedNumberSequence extends SharedSequence<number> {
126
- id: string;
127
- /**
128
- * Create a new shared number sequence
129
- *
130
- * @param runtime - data store runtime the new shared number sequence belongs to
131
- * @param id - optional name of the shared number sequence
132
- * @returns newly create shared number sequence (but not attached yet)
133
- *
134
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
135
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
136
- */
137
- static create(runtime: IFluidDataStoreRuntime, id?: string): SharedNumberSequence;
138
- /**
139
- * Get a factory for SharedNumberSequence to register with the data store.
140
- *
141
- * @returns a factory that creates and load SharedNumberSequence
142
- *
143
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
144
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
145
- */
146
- static getFactory(): SharedNumberSequenceFactory;
147
- /**
148
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
149
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
150
- */
151
- constructor(document: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
152
- /**
153
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
154
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
155
- */
156
- getRange(start: number, end?: number): number[];
157
- }
158
-
159
- /**
160
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
161
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
162
- */
163
- declare class SharedNumberSequenceFactory implements IChannelFactory {
164
- /**
165
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
166
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
167
- */
168
- static Type: string;
169
- /**
170
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
171
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
172
- */
173
- static readonly Attributes: IChannelAttributes;
174
- /**
175
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
176
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
177
- */
178
- static segmentFromSpec(segSpec: IJSONSegment): SubSequence<number>;
179
- /**
180
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
181
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
182
- */
183
- get type(): string;
184
- /**
185
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
186
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
187
- */
188
- get attributes(): IChannelAttributes;
189
- /**
190
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
191
- *
192
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
193
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
194
- */
195
- load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
196
- /**
197
- * @deprecated SharedNumberSequence is not recommended for use and will be removed in an upcoming release.
198
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
199
- */
200
- create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
201
- }
202
-
203
- /**
204
- * The SharedObjectSequence holds a sequence of serializable objects. Each object will be stored
205
- * at a position within the sequence. See the
206
- * {@link https://fluidframework.com/docs/data-structures/sequences/ | sequence documentation}
207
- * for details on working with sequences.
208
- *
209
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
210
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
211
- */
212
- export declare class SharedObjectSequence<T> extends SharedSequence<T> {
213
- id: string;
214
- /**
215
- * Create a new shared object sequence
216
- *
217
- * @param runtime - data store runtime the new shared object sequence belongs to
218
- * @param id - optional name of the shared object sequence
219
- * @returns newly create shared object sequence (but not attached yet)
220
- *
221
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
222
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
223
- */
224
- static create<T>(runtime: IFluidDataStoreRuntime, id?: string): SharedObjectSequence<T>;
225
- /**
226
- * Get a factory for SharedObjectSequence to register with the data store.
227
- *
228
- * @returns a factory that creates and load SharedObjectSequence
229
- *
230
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
231
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
232
- */
233
- static getFactory(): SharedObjectSequenceFactory;
234
- /**
235
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
236
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
237
- */
238
- constructor(document: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
239
- /**
240
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
241
- * For more info, please see {@link https://github.com/microsoft/FluidFramework/issues/8526 | Github issue 8526}.
242
- */
243
- getRange(start: number, end?: number): Serializable<T>[];
244
- }
245
-
246
- /**
247
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
248
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
249
- */
250
- declare class SharedObjectSequenceFactory implements IChannelFactory {
251
- /**
252
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
253
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
254
- */
255
- static Type: string;
256
- /**
257
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
258
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
259
- */
260
- static readonly Attributes: IChannelAttributes;
261
- /**
262
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
263
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
264
- */
265
- static segmentFromSpec(segSpec: IJSONSegment): SubSequence<object>;
266
- /**
267
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
268
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
269
- */
270
- get type(): string;
271
- /**
272
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
273
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
274
- */
275
- get attributes(): IChannelAttributes;
276
- /**
277
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
278
- *
279
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
280
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
281
- */
282
- load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
283
- /**
284
- * @deprecated SharedObjectSequence is not recommended for use and will be removed in an upcoming release.
285
- * For more info, please see [Github issue 8526](https://github.com/microsoft/FluidFramework/issues/8526)
286
- */
287
- create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
288
- }
289
-
290
- export { SharedSequence }
291
-
292
- /**
293
- * @deprecated `SparseMatrix` is an abandoned prototype.
294
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
295
- */
296
- export declare class SparseMatrix extends SharedSegmentSequence<MatrixSegment> {
297
- id: string;
298
- /**
299
- * Create a new sparse matrix
300
- *
301
- * @param runtime - data store runtime the new sparse matrix belongs to
302
- * @param id - optional name of the sparse matrix
303
- * @returns newly create sparse matrix (but not attached yet)
304
- */
305
- static create(runtime: IFluidDataStoreRuntime, id?: string): SparseMatrix;
306
- /**
307
- * Get a factory for SharedMap to register with the data store.
308
- *
309
- * @returns a factory that creates and load SharedMap
310
- */
311
- static getFactory(): IChannelFactory;
312
- constructor(document: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
313
- get numRows(): number;
314
- setItems(row: number, col: number, values: SparseMatrixItem[], props?: PropertySet): void;
315
- getItem(row: number, col: number): // The return type is defined explicitly here to prevent TypeScript from generating dynamic imports
316
- Jsonable<string | number | boolean | IFluidHandle> | undefined;
317
- getTag(row: number, col: number): any;
318
- setTag(row: number, col: number, tag: any): void;
319
- insertRows(row: number, numRows: number): void;
320
- removeRows(row: number, numRows: number): void;
321
- insertCols(col: number, numCols: number): void;
322
- removeCols(col: number, numCols: number): void;
323
- annotatePosition(row: number, col: number, props: PropertySet): void;
324
- getPositionProperties(row: number, col: number): PropertySet | undefined;
325
- private moveAsPadding;
326
- private getSegment;
327
- }
328
-
329
- /**
330
- * @deprecated `SparseMatrixFactory` is an abandoned prototype.
331
- * Use {@link @fluidframework/matrix#SharedMatrixFactory} instead.
332
- */
333
- export declare class SparseMatrixFactory implements IChannelFactory {
334
- static Type: string;
335
- static Attributes: IChannelAttributes;
336
- static segmentFromSpec(spec: IJSONSegment): ISegment;
337
- get type(): string;
338
- get attributes(): IChannelAttributes;
339
- /**
340
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
341
- */
342
- load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<ISharedObject>;
343
- create(document: IFluidDataStoreRuntime, id: string): ISharedObject;
344
- }
345
-
346
- /**
347
- * @deprecated `SparseMatrixItem` is part of an abandoned prototype.
348
- * Use {@link @fluidframework/matrix#SharedMatrix} instead.
349
- */
350
- export declare type SparseMatrixItem = Serializable;
351
-
352
- export { SubSequence }
353
-
354
- export { }