@fluidframework/matrix 2.1.0-274160 → 2.1.0-276326
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/dist/legacy.d.ts +1 -1
- package/dist/matrix.d.ts +6 -1
- package/dist/matrix.d.ts.map +1 -1
- package/dist/matrix.js +1 -0
- package/dist/matrix.js.map +1 -1
- package/dist/ops.d.ts +1 -0
- package/dist/ops.d.ts.map +1 -1
- package/dist/ops.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/runtime.d.ts +3 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +2 -0
- package/dist/runtime.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/lib/legacy.d.ts +1 -1
- package/lib/matrix.d.ts +6 -1
- package/lib/matrix.d.ts.map +1 -1
- package/lib/matrix.js +1 -0
- package/lib/matrix.js.map +1 -1
- package/lib/ops.d.ts +1 -0
- package/lib/ops.d.ts.map +1 -1
- package/lib/ops.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/runtime.d.ts +3 -0
- package/lib/runtime.d.ts.map +1 -1
- package/lib/runtime.js +2 -0
- package/lib/runtime.js.map +1 -1
- package/lib/types.d.ts +2 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +19 -19
- package/src/matrix.ts +6 -1
- package/src/ops.ts +1 -0
- package/src/packageVersion.ts +1 -1
- package/src/runtime.ts +3 -0
- package/src/types.ts +2 -0
- /package/api-report/{matrix.alpha.api.md → matrix.legacy.alpha.api.md} +0 -0
package/src/matrix.ts
CHANGED
|
@@ -73,6 +73,7 @@ interface ISetOpMetadata {
|
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
75
|
* Events emitted by Shared Matrix.
|
|
76
|
+
* @legacy
|
|
76
77
|
* @alpha
|
|
77
78
|
*/
|
|
78
79
|
export interface ISharedMatrixEvents<T> extends IEvent {
|
|
@@ -115,7 +116,10 @@ interface CellLastWriteTrackerItem {
|
|
|
115
116
|
clientId: string; // clientId of the client which last modified this cell
|
|
116
117
|
}
|
|
117
118
|
|
|
118
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* @legacy
|
|
121
|
+
* @alpha
|
|
122
|
+
*/
|
|
119
123
|
export interface ISharedMatrix<T = any>
|
|
120
124
|
extends IEventProvider<ISharedMatrixEvents<T>>,
|
|
121
125
|
IMatrixProducer<MatrixItem<T>>,
|
|
@@ -208,6 +212,7 @@ export interface ISharedMatrix<T = any>
|
|
|
208
212
|
* matrix data and physically stores data in Z-order to leverage CPU caches and
|
|
209
213
|
* prefetching when reading in either row or column major order. (See README.md
|
|
210
214
|
* for more details.)
|
|
215
|
+
* @legacy
|
|
211
216
|
* @alpha
|
|
212
217
|
*/
|
|
213
218
|
export class SharedMatrix<T = any>
|
package/src/ops.ts
CHANGED
|
@@ -26,6 +26,7 @@ export enum SnapshotPath {
|
|
|
26
26
|
/**
|
|
27
27
|
* A matrix cell value may be undefined (indicating an empty cell) or any serializable type,
|
|
28
28
|
* excluding null. (However, nulls may be embedded inside objects and arrays.)
|
|
29
|
+
* @legacy
|
|
29
30
|
* @alpha
|
|
30
31
|
*/
|
|
31
32
|
// eslint-disable-next-line @rushstack/no-new-null -- Using 'null' to disallow 'null'.
|
package/src/packageVersion.ts
CHANGED
package/src/runtime.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { pkgVersion } from "./packageVersion.js";
|
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* {@link @fluidframework/datastore-definitions#IChannelFactory} for {@link ISharedMatrix}.
|
|
20
|
+
* @legacy
|
|
20
21
|
* @alpha
|
|
21
22
|
* @deprecated - Use `SharedMatrix.getFactory` instead.
|
|
22
23
|
*/
|
|
@@ -60,6 +61,7 @@ export class SharedMatrixFactory implements IChannelFactory<ISharedMatrix> {
|
|
|
60
61
|
|
|
61
62
|
/**
|
|
62
63
|
* Entrypoint for {@link ISharedMatrix} creation.
|
|
64
|
+
* @legacy
|
|
63
65
|
* @alpha
|
|
64
66
|
*/
|
|
65
67
|
export const SharedMatrix = createSharedObjectKind<ISharedMatrix>(SharedMatrixFactory);
|
|
@@ -67,6 +69,7 @@ export const SharedMatrix = createSharedObjectKind<ISharedMatrix>(SharedMatrixFa
|
|
|
67
69
|
/**
|
|
68
70
|
* Convenience alias for {@link ISharedMatrix}. Prefer to use {@link ISharedMatrix} when referring to
|
|
69
71
|
* SharedMatrix as a type.
|
|
72
|
+
* @legacy
|
|
70
73
|
* @alpha
|
|
71
74
|
* @privateRemarks
|
|
72
75
|
* This alias is for legacy compat from when the SharedMatrix class was exported as public.
|
package/src/types.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
// of SharedMatrix undo while we decide on the correct layering for undo.
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
+
* @legacy
|
|
10
11
|
* @alpha
|
|
11
12
|
*/
|
|
12
13
|
export interface IRevertible {
|
|
@@ -15,6 +16,7 @@ export interface IRevertible {
|
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
/**
|
|
19
|
+
* @legacy
|
|
18
20
|
* @alpha
|
|
19
21
|
*/
|
|
20
22
|
export interface IUndoConsumer {
|
|
File without changes
|