@fluidframework/matrix 2.0.0-dev.7.4.0.215747 → 2.0.0-dev.7.4.0.216897

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.
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "../../../common/build/build-common/api-extractor-lint.json",
4
+ "messages": {
5
+ "extractorMessageReporting": {
6
+ // TODO: remove once base config has this enabled as an error
7
+ "ae-incompatible-release-tags": {
8
+ "logLevel": "error",
9
+ "addToApiReportFile": false
10
+ }
11
+ }
12
+ }
13
+ }
@@ -22,7 +22,7 @@ import { Serializable } from '@fluidframework/datastore-definitions';
22
22
  import { SharedObject } from '@fluidframework/shared-object-base';
23
23
  import { SummarySerializer } from '@fluidframework/shared-object-base';
24
24
 
25
- // @public (undocumented)
25
+ // @internal (undocumented)
26
26
  export interface IRevertible {
27
27
  // (undocumented)
28
28
  discard(): any;
@@ -30,16 +30,16 @@ export interface IRevertible {
30
30
  revert(): any;
31
31
  }
32
32
 
33
- // @public (undocumented)
33
+ // @internal (undocumented)
34
34
  export interface IUndoConsumer {
35
35
  // (undocumented)
36
36
  pushToCurrentOperation(revertible: IRevertible): any;
37
37
  }
38
38
 
39
- // @public
39
+ // @internal
40
40
  export type MatrixItem<T> = Serializable<Exclude<T, null>> | undefined;
41
41
 
42
- // @public
42
+ // @internal
43
43
  export class SharedMatrix<T = any> extends SharedObject implements IMatrixProducer<MatrixItem<T>>, IMatrixReader<MatrixItem<T>>, IMatrixWriter<MatrixItem<T>> {
44
44
  constructor(runtime: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
45
45
  // (undocumented)
@@ -94,13 +94,13 @@ export class SharedMatrix<T = any> extends SharedObject implements IMatrixProduc
94
94
  protected summarizeCore(serializer: IFluidSerializer): ISummaryTreeWithStats;
95
95
  // (undocumented)
96
96
  toString(): string;
97
- // @internal (undocumented)
97
+ // (undocumented)
98
98
  _undoRemoveCols(colStart: number, spec: IJSONSegment): void;
99
- // @internal (undocumented)
99
+ // (undocumented)
100
100
  _undoRemoveRows(rowStart: number, spec: IJSONSegment): void;
101
101
  }
102
102
 
103
- // @public
103
+ // @internal
104
104
  export class SharedMatrixFactory implements IChannelFactory {
105
105
  // (undocumented)
106
106
  static readonly Attributes: IChannelAttributes;
@@ -1,154 +1,41 @@
1
- import { IChannel } from '@fluidframework/datastore-definitions';
2
- import { IChannelAttributes } from '@fluidframework/datastore-definitions';
3
- import { IChannelFactory } from '@fluidframework/datastore-definitions';
4
- import { IChannelServices } from '@fluidframework/datastore-definitions';
5
- import { IChannelStorageService } from '@fluidframework/datastore-definitions';
6
- import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
7
- import { IFluidSerializer } from '@fluidframework/shared-object-base';
8
- import { IJSONSegment } from '@fluidframework/merge-tree';
9
1
  import { IMatrixConsumer } from '@tiny-calc/nano';
10
2
  import { IMatrixProducer } from '@tiny-calc/nano';
11
3
  import { IMatrixReader } from '@tiny-calc/nano';
12
4
  import { IMatrixWriter } from '@tiny-calc/nano';
13
5
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
14
- import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
15
- import { Serializable } from '@fluidframework/datastore-definitions';
16
- import { SharedObject } from '@fluidframework/shared-object-base';
17
- import { SummarySerializer } from '@fluidframework/shared-object-base';
18
-
19
- /**
20
- * @public
21
- */
22
- export declare interface IRevertible {
23
- revert(): any;
24
- discard(): any;
25
- }
26
-
27
- /**
28
- * @public
29
- */
30
- export declare interface IUndoConsumer {
31
- pushToCurrentOperation(revertible: IRevertible): any;
32
- }
33
-
34
- /**
35
- * A matrix cell value may be undefined (indicating an empty cell) or any serializable type,
36
- * excluding null. (However, nulls may be embedded inside objects and arrays.)
37
- * @public
38
- */
39
- export declare type MatrixItem<T> = Serializable<Exclude<T, null>> | undefined;
40
-
41
- /**
42
- * A SharedMatrix holds a rectangular 2D array of values. Supported operations
43
- * include setting values and inserting/removing rows and columns.
44
- *
45
- * Matrix values may be any Fluid serializable type, which is the set of JSON
46
- * serializable types extended to include IFluidHandles.
47
- *
48
- * Fluid's SharedMatrix implementation works equally well for dense and sparse
49
- * matrix data and physically stores data in Z-order to leverage CPU caches and
50
- * prefetching when reading in either row or column major order. (See README.md
51
- * for more details.)
52
- *
53
- * @public
54
- */
55
- export declare class SharedMatrix<T = any> extends SharedObject implements IMatrixProducer<MatrixItem<T>>, IMatrixReader<MatrixItem<T>>, IMatrixWriter<MatrixItem<T>> {
56
- id: string;
57
- private readonly consumers;
58
- static getFactory(): SharedMatrixFactory;
59
- private readonly rows;
60
- private readonly cols;
61
- private cells;
62
- private pending;
63
- constructor(runtime: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
64
- private undo?;
65
- /**
66
- * Subscribes the given IUndoConsumer to the matrix.
67
- */
68
- openUndo(consumer: IUndoConsumer): void;
69
- private get rowHandles();
70
- private get colHandles();
71
- /**
72
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.create}
73
- */
74
- static create<T>(runtime: IFluidDataStoreRuntime, id?: string): SharedMatrix<T>;
75
- openMatrix(consumer: IMatrixConsumer<MatrixItem<T>>): IMatrixReader<MatrixItem<T>>;
76
- closeMatrix(consumer: IMatrixConsumer<MatrixItem<T>>): void;
77
- get rowCount(): number;
78
- get colCount(): number;
79
- getCell(row: number, col: number): MatrixItem<T>;
80
- get matrixProducer(): IMatrixProducer<MatrixItem<T>>;
81
- setCell(row: number, col: number, value: MatrixItem<T>): void;
82
- setCells(rowStart: number, colStart: number, colCount: number, values: readonly MatrixItem<T>[]): void;
83
- private setCellCore;
84
- private sendSetCellOp;
85
- private submitVectorMessage;
86
- private submitColMessage;
87
- insertCols(colStart: number, count: number): void;
88
- removeCols(colStart: number, count: number): void;
89
- private submitRowMessage;
90
- insertRows(rowStart: number, count: number): void;
91
- removeRows(rowStart: number, count: number): void;
92
- /* Excluded from this release type: _undoRemoveRows */
93
- /* Excluded from this release type: _undoRemoveCols */
94
- protected summarizeCore(serializer: IFluidSerializer): ISummaryTreeWithStats;
95
- /**
96
- * Runs serializer on the GC data for this SharedMatrix.
97
- * All the IFluidHandle's stored in the cells represent routes to other objects.
98
- */
99
- protected processGCDataCore(serializer: SummarySerializer): void;
100
- /**
101
- * Advances the 'localSeq' counter for the cell data operation currently being queued.
102
- *
103
- * Do not use with 'submitColMessage()/submitRowMessage()' as these helpers + the MergeTree will
104
- * automatically advance 'localSeq'.
105
- */
106
- private nextLocalSeq;
107
- protected submitLocalMessage(message: any, localOpMetadata?: any): void;
108
- protected didAttach(): void;
109
- protected onConnect(): void;
110
- private rebasePosition;
111
- protected reSubmitCore(content: any, localOpMetadata: unknown): void;
112
- protected onDisconnect(): void;
113
- /**
114
- * {@inheritDoc @fluidframework/shared-object-base#SharedObject.loadCore}
115
- */
116
- protected loadCore(storage: IChannelStorageService): Promise<void>;
117
- protected processCore(rawMessage: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown): void;
118
- private readonly onRowDelta;
119
- private readonly onColDelta;
120
- private readonly onRowHandlesRecycled;
121
- private readonly onColHandlesRecycled;
122
- /**
123
- * Returns true if the latest pending write to the cell indicated by the given row/col handles
124
- * matches the given 'localSeq'.
125
- *
126
- * A return value of `true` indicates that there are no later local operations queued that will
127
- * clobber the write op at the given 'localSeq'. This includes later ops that overwrite the cell
128
- * with a different value as well as row/col removals that might recycled the given row/col handles.
129
- */
130
- private isLatestPendingWrite;
131
- toString(): string;
132
- /**
133
- * {@inheritDoc @fluidframework/shared-object-base#SharedObjectCore.applyStashedOp}
134
- */
135
- protected applyStashedOp(content: any): unknown;
136
- }
137
-
138
- /**
139
- * {@link @fluidframework/datastore-definitions#IChannelFactory} for {@link SharedMatrix}.
140
- * @public
141
- */
142
- export declare class SharedMatrixFactory implements IChannelFactory {
143
- static Type: string;
144
- static readonly Attributes: IChannelAttributes;
145
- get type(): string;
146
- get attributes(): IChannelAttributes;
147
- /**
148
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
149
- */
150
- load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<IChannel>;
151
- create(document: IFluidDataStoreRuntime, id: string): IChannel;
152
- }
6
+
7
+ /* Excluded from this release type: IChannel */
8
+
9
+ /* Excluded from this release type: IChannelAttributes */
10
+
11
+ /* Excluded from this release type: IChannelFactory */
12
+
13
+ /* Excluded from this release type: IChannelServices */
14
+
15
+ /* Excluded from this release type: IChannelStorageService */
16
+
17
+ /* Excluded from this release type: IFluidDataStoreRuntime */
18
+
19
+ /* Excluded from this release type: IFluidSerializer */
20
+
21
+ /* Excluded from this release type: IJSONSegment */
22
+
23
+ /* Excluded from this release type: IRevertible */
24
+
25
+ /* Excluded from this release type: ISummaryTreeWithStats */
26
+
27
+ /* Excluded from this release type: IUndoConsumer */
28
+
29
+ /* Excluded from this release type: MatrixItem */
30
+
31
+ /* Excluded from this release type: Serializable */
32
+
33
+ /* Excluded from this release type: SharedMatrix */
34
+
35
+ /* Excluded from this release type: SharedMatrixFactory */
36
+
37
+ /* Excluded from this release type: SharedObject */
38
+
39
+ /* Excluded from this release type: SummarySerializer */
153
40
 
154
41
  export { }
@@ -1,154 +1,41 @@
1
- import { IChannel } from '@fluidframework/datastore-definitions';
2
- import { IChannelAttributes } from '@fluidframework/datastore-definitions';
3
- import { IChannelFactory } from '@fluidframework/datastore-definitions';
4
- import { IChannelServices } from '@fluidframework/datastore-definitions';
5
- import { IChannelStorageService } from '@fluidframework/datastore-definitions';
6
- import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
7
- import { IFluidSerializer } from '@fluidframework/shared-object-base';
8
- import { IJSONSegment } from '@fluidframework/merge-tree';
9
1
  import { IMatrixConsumer } from '@tiny-calc/nano';
10
2
  import { IMatrixProducer } from '@tiny-calc/nano';
11
3
  import { IMatrixReader } from '@tiny-calc/nano';
12
4
  import { IMatrixWriter } from '@tiny-calc/nano';
13
5
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
14
- import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
15
- import { Serializable } from '@fluidframework/datastore-definitions';
16
- import { SharedObject } from '@fluidframework/shared-object-base';
17
- import { SummarySerializer } from '@fluidframework/shared-object-base';
18
-
19
- /**
20
- * @public
21
- */
22
- export declare interface IRevertible {
23
- revert(): any;
24
- discard(): any;
25
- }
26
-
27
- /**
28
- * @public
29
- */
30
- export declare interface IUndoConsumer {
31
- pushToCurrentOperation(revertible: IRevertible): any;
32
- }
33
-
34
- /**
35
- * A matrix cell value may be undefined (indicating an empty cell) or any serializable type,
36
- * excluding null. (However, nulls may be embedded inside objects and arrays.)
37
- * @public
38
- */
39
- export declare type MatrixItem<T> = Serializable<Exclude<T, null>> | undefined;
40
-
41
- /**
42
- * A SharedMatrix holds a rectangular 2D array of values. Supported operations
43
- * include setting values and inserting/removing rows and columns.
44
- *
45
- * Matrix values may be any Fluid serializable type, which is the set of JSON
46
- * serializable types extended to include IFluidHandles.
47
- *
48
- * Fluid's SharedMatrix implementation works equally well for dense and sparse
49
- * matrix data and physically stores data in Z-order to leverage CPU caches and
50
- * prefetching when reading in either row or column major order. (See README.md
51
- * for more details.)
52
- *
53
- * @public
54
- */
55
- export declare class SharedMatrix<T = any> extends SharedObject implements IMatrixProducer<MatrixItem<T>>, IMatrixReader<MatrixItem<T>>, IMatrixWriter<MatrixItem<T>> {
56
- id: string;
57
- private readonly consumers;
58
- static getFactory(): SharedMatrixFactory;
59
- private readonly rows;
60
- private readonly cols;
61
- private cells;
62
- private pending;
63
- constructor(runtime: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
64
- private undo?;
65
- /**
66
- * Subscribes the given IUndoConsumer to the matrix.
67
- */
68
- openUndo(consumer: IUndoConsumer): void;
69
- private get rowHandles();
70
- private get colHandles();
71
- /**
72
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.create}
73
- */
74
- static create<T>(runtime: IFluidDataStoreRuntime, id?: string): SharedMatrix<T>;
75
- openMatrix(consumer: IMatrixConsumer<MatrixItem<T>>): IMatrixReader<MatrixItem<T>>;
76
- closeMatrix(consumer: IMatrixConsumer<MatrixItem<T>>): void;
77
- get rowCount(): number;
78
- get colCount(): number;
79
- getCell(row: number, col: number): MatrixItem<T>;
80
- get matrixProducer(): IMatrixProducer<MatrixItem<T>>;
81
- setCell(row: number, col: number, value: MatrixItem<T>): void;
82
- setCells(rowStart: number, colStart: number, colCount: number, values: readonly MatrixItem<T>[]): void;
83
- private setCellCore;
84
- private sendSetCellOp;
85
- private submitVectorMessage;
86
- private submitColMessage;
87
- insertCols(colStart: number, count: number): void;
88
- removeCols(colStart: number, count: number): void;
89
- private submitRowMessage;
90
- insertRows(rowStart: number, count: number): void;
91
- removeRows(rowStart: number, count: number): void;
92
- /* Excluded from this release type: _undoRemoveRows */
93
- /* Excluded from this release type: _undoRemoveCols */
94
- protected summarizeCore(serializer: IFluidSerializer): ISummaryTreeWithStats;
95
- /**
96
- * Runs serializer on the GC data for this SharedMatrix.
97
- * All the IFluidHandle's stored in the cells represent routes to other objects.
98
- */
99
- protected processGCDataCore(serializer: SummarySerializer): void;
100
- /**
101
- * Advances the 'localSeq' counter for the cell data operation currently being queued.
102
- *
103
- * Do not use with 'submitColMessage()/submitRowMessage()' as these helpers + the MergeTree will
104
- * automatically advance 'localSeq'.
105
- */
106
- private nextLocalSeq;
107
- protected submitLocalMessage(message: any, localOpMetadata?: any): void;
108
- protected didAttach(): void;
109
- protected onConnect(): void;
110
- private rebasePosition;
111
- protected reSubmitCore(content: any, localOpMetadata: unknown): void;
112
- protected onDisconnect(): void;
113
- /**
114
- * {@inheritDoc @fluidframework/shared-object-base#SharedObject.loadCore}
115
- */
116
- protected loadCore(storage: IChannelStorageService): Promise<void>;
117
- protected processCore(rawMessage: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown): void;
118
- private readonly onRowDelta;
119
- private readonly onColDelta;
120
- private readonly onRowHandlesRecycled;
121
- private readonly onColHandlesRecycled;
122
- /**
123
- * Returns true if the latest pending write to the cell indicated by the given row/col handles
124
- * matches the given 'localSeq'.
125
- *
126
- * A return value of `true` indicates that there are no later local operations queued that will
127
- * clobber the write op at the given 'localSeq'. This includes later ops that overwrite the cell
128
- * with a different value as well as row/col removals that might recycled the given row/col handles.
129
- */
130
- private isLatestPendingWrite;
131
- toString(): string;
132
- /**
133
- * {@inheritDoc @fluidframework/shared-object-base#SharedObjectCore.applyStashedOp}
134
- */
135
- protected applyStashedOp(content: any): unknown;
136
- }
137
-
138
- /**
139
- * {@link @fluidframework/datastore-definitions#IChannelFactory} for {@link SharedMatrix}.
140
- * @public
141
- */
142
- export declare class SharedMatrixFactory implements IChannelFactory {
143
- static Type: string;
144
- static readonly Attributes: IChannelAttributes;
145
- get type(): string;
146
- get attributes(): IChannelAttributes;
147
- /**
148
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
149
- */
150
- load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<IChannel>;
151
- create(document: IFluidDataStoreRuntime, id: string): IChannel;
152
- }
6
+
7
+ /* Excluded from this release type: IChannel */
8
+
9
+ /* Excluded from this release type: IChannelAttributes */
10
+
11
+ /* Excluded from this release type: IChannelFactory */
12
+
13
+ /* Excluded from this release type: IChannelServices */
14
+
15
+ /* Excluded from this release type: IChannelStorageService */
16
+
17
+ /* Excluded from this release type: IFluidDataStoreRuntime */
18
+
19
+ /* Excluded from this release type: IFluidSerializer */
20
+
21
+ /* Excluded from this release type: IJSONSegment */
22
+
23
+ /* Excluded from this release type: IRevertible */
24
+
25
+ /* Excluded from this release type: ISummaryTreeWithStats */
26
+
27
+ /* Excluded from this release type: IUndoConsumer */
28
+
29
+ /* Excluded from this release type: MatrixItem */
30
+
31
+ /* Excluded from this release type: Serializable */
32
+
33
+ /* Excluded from this release type: SharedMatrix */
34
+
35
+ /* Excluded from this release type: SharedMatrixFactory */
36
+
37
+ /* Excluded from this release type: SharedObject */
38
+
39
+ /* Excluded from this release type: SummarySerializer */
153
40
 
154
41
  export { }
@@ -1,154 +1,41 @@
1
- import { IChannel } from '@fluidframework/datastore-definitions';
2
- import { IChannelAttributes } from '@fluidframework/datastore-definitions';
3
- import { IChannelFactory } from '@fluidframework/datastore-definitions';
4
- import { IChannelServices } from '@fluidframework/datastore-definitions';
5
- import { IChannelStorageService } from '@fluidframework/datastore-definitions';
6
- import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
7
- import { IFluidSerializer } from '@fluidframework/shared-object-base';
8
- import { IJSONSegment } from '@fluidframework/merge-tree';
9
1
  import { IMatrixConsumer } from '@tiny-calc/nano';
10
2
  import { IMatrixProducer } from '@tiny-calc/nano';
11
3
  import { IMatrixReader } from '@tiny-calc/nano';
12
4
  import { IMatrixWriter } from '@tiny-calc/nano';
13
5
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
14
- import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
15
- import { Serializable } from '@fluidframework/datastore-definitions';
16
- import { SharedObject } from '@fluidframework/shared-object-base';
17
- import { SummarySerializer } from '@fluidframework/shared-object-base';
18
-
19
- /**
20
- * @public
21
- */
22
- export declare interface IRevertible {
23
- revert(): any;
24
- discard(): any;
25
- }
26
-
27
- /**
28
- * @public
29
- */
30
- export declare interface IUndoConsumer {
31
- pushToCurrentOperation(revertible: IRevertible): any;
32
- }
33
-
34
- /**
35
- * A matrix cell value may be undefined (indicating an empty cell) or any serializable type,
36
- * excluding null. (However, nulls may be embedded inside objects and arrays.)
37
- * @public
38
- */
39
- export declare type MatrixItem<T> = Serializable<Exclude<T, null>> | undefined;
40
-
41
- /**
42
- * A SharedMatrix holds a rectangular 2D array of values. Supported operations
43
- * include setting values and inserting/removing rows and columns.
44
- *
45
- * Matrix values may be any Fluid serializable type, which is the set of JSON
46
- * serializable types extended to include IFluidHandles.
47
- *
48
- * Fluid's SharedMatrix implementation works equally well for dense and sparse
49
- * matrix data and physically stores data in Z-order to leverage CPU caches and
50
- * prefetching when reading in either row or column major order. (See README.md
51
- * for more details.)
52
- *
53
- * @public
54
- */
55
- export declare class SharedMatrix<T = any> extends SharedObject implements IMatrixProducer<MatrixItem<T>>, IMatrixReader<MatrixItem<T>>, IMatrixWriter<MatrixItem<T>> {
56
- id: string;
57
- private readonly consumers;
58
- static getFactory(): SharedMatrixFactory;
59
- private readonly rows;
60
- private readonly cols;
61
- private cells;
62
- private pending;
63
- constructor(runtime: IFluidDataStoreRuntime, id: string, attributes: IChannelAttributes);
64
- private undo?;
65
- /**
66
- * Subscribes the given IUndoConsumer to the matrix.
67
- */
68
- openUndo(consumer: IUndoConsumer): void;
69
- private get rowHandles();
70
- private get colHandles();
71
- /**
72
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.create}
73
- */
74
- static create<T>(runtime: IFluidDataStoreRuntime, id?: string): SharedMatrix<T>;
75
- openMatrix(consumer: IMatrixConsumer<MatrixItem<T>>): IMatrixReader<MatrixItem<T>>;
76
- closeMatrix(consumer: IMatrixConsumer<MatrixItem<T>>): void;
77
- get rowCount(): number;
78
- get colCount(): number;
79
- getCell(row: number, col: number): MatrixItem<T>;
80
- get matrixProducer(): IMatrixProducer<MatrixItem<T>>;
81
- setCell(row: number, col: number, value: MatrixItem<T>): void;
82
- setCells(rowStart: number, colStart: number, colCount: number, values: readonly MatrixItem<T>[]): void;
83
- private setCellCore;
84
- private sendSetCellOp;
85
- private submitVectorMessage;
86
- private submitColMessage;
87
- insertCols(colStart: number, count: number): void;
88
- removeCols(colStart: number, count: number): void;
89
- private submitRowMessage;
90
- insertRows(rowStart: number, count: number): void;
91
- removeRows(rowStart: number, count: number): void;
92
- /* Excluded from this release type: _undoRemoveRows */
93
- /* Excluded from this release type: _undoRemoveCols */
94
- protected summarizeCore(serializer: IFluidSerializer): ISummaryTreeWithStats;
95
- /**
96
- * Runs serializer on the GC data for this SharedMatrix.
97
- * All the IFluidHandle's stored in the cells represent routes to other objects.
98
- */
99
- protected processGCDataCore(serializer: SummarySerializer): void;
100
- /**
101
- * Advances the 'localSeq' counter for the cell data operation currently being queued.
102
- *
103
- * Do not use with 'submitColMessage()/submitRowMessage()' as these helpers + the MergeTree will
104
- * automatically advance 'localSeq'.
105
- */
106
- private nextLocalSeq;
107
- protected submitLocalMessage(message: any, localOpMetadata?: any): void;
108
- protected didAttach(): void;
109
- protected onConnect(): void;
110
- private rebasePosition;
111
- protected reSubmitCore(content: any, localOpMetadata: unknown): void;
112
- protected onDisconnect(): void;
113
- /**
114
- * {@inheritDoc @fluidframework/shared-object-base#SharedObject.loadCore}
115
- */
116
- protected loadCore(storage: IChannelStorageService): Promise<void>;
117
- protected processCore(rawMessage: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown): void;
118
- private readonly onRowDelta;
119
- private readonly onColDelta;
120
- private readonly onRowHandlesRecycled;
121
- private readonly onColHandlesRecycled;
122
- /**
123
- * Returns true if the latest pending write to the cell indicated by the given row/col handles
124
- * matches the given 'localSeq'.
125
- *
126
- * A return value of `true` indicates that there are no later local operations queued that will
127
- * clobber the write op at the given 'localSeq'. This includes later ops that overwrite the cell
128
- * with a different value as well as row/col removals that might recycled the given row/col handles.
129
- */
130
- private isLatestPendingWrite;
131
- toString(): string;
132
- /**
133
- * {@inheritDoc @fluidframework/shared-object-base#SharedObjectCore.applyStashedOp}
134
- */
135
- protected applyStashedOp(content: any): unknown;
136
- }
137
-
138
- /**
139
- * {@link @fluidframework/datastore-definitions#IChannelFactory} for {@link SharedMatrix}.
140
- * @public
141
- */
142
- export declare class SharedMatrixFactory implements IChannelFactory {
143
- static Type: string;
144
- static readonly Attributes: IChannelAttributes;
145
- get type(): string;
146
- get attributes(): IChannelAttributes;
147
- /**
148
- * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load}
149
- */
150
- load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise<IChannel>;
151
- create(document: IFluidDataStoreRuntime, id: string): IChannel;
152
- }
6
+
7
+ /* Excluded from this release type: IChannel */
8
+
9
+ /* Excluded from this release type: IChannelAttributes */
10
+
11
+ /* Excluded from this release type: IChannelFactory */
12
+
13
+ /* Excluded from this release type: IChannelServices */
14
+
15
+ /* Excluded from this release type: IChannelStorageService */
16
+
17
+ /* Excluded from this release type: IFluidDataStoreRuntime */
18
+
19
+ /* Excluded from this release type: IFluidSerializer */
20
+
21
+ /* Excluded from this release type: IJSONSegment */
22
+
23
+ /* Excluded from this release type: IRevertible */
24
+
25
+ /* Excluded from this release type: ISummaryTreeWithStats */
26
+
27
+ /* Excluded from this release type: IUndoConsumer */
28
+
29
+ /* Excluded from this release type: MatrixItem */
30
+
31
+ /* Excluded from this release type: Serializable */
32
+
33
+ /* Excluded from this release type: SharedMatrix */
34
+
35
+ /* Excluded from this release type: SharedMatrixFactory */
36
+
37
+ /* Excluded from this release type: SharedObject */
38
+
39
+ /* Excluded from this release type: SummarySerializer */
153
40
 
154
41
  export { }