@fluidframework/cell 2.0.0-dev.7.4.0.215930 → 2.0.0-dev.7.4.0.217212
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/api-extractor-lint.json +13 -0
- package/api-extractor.json +0 -4
- package/api-report/cell.api.md +8 -8
- package/dist/cell-alpha.d.ts +27 -253
- package/dist/cell-beta.d.ts +23 -225
- package/dist/cell-public.d.ts +23 -225
- package/dist/cell-untrimmed.d.ts +5 -14
- package/dist/cell.cjs +1 -5
- package/dist/cell.cjs.map +1 -1
- package/dist/cell.d.ts +1 -5
- package/dist/cell.d.ts.map +1 -1
- package/dist/interfaces.cjs.map +1 -1
- package/dist/interfaces.d.ts +4 -9
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/packageVersion.cjs +1 -1
- package/dist/packageVersion.cjs.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/lib/cell-alpha.d.ts +27 -253
- package/lib/cell-beta.d.ts +23 -225
- package/lib/cell-public.d.ts +23 -225
- package/lib/cell-untrimmed.d.ts +5 -14
- package/lib/cell.d.ts +1 -5
- package/lib/cell.d.ts.map +1 -1
- package/lib/cell.mjs +1 -5
- package/lib/cell.mjs.map +1 -1
- package/lib/interfaces.d.ts +4 -9
- package/lib/interfaces.d.ts.map +1 -1
- package/lib/interfaces.mjs.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.mjs +1 -1
- package/lib/packageVersion.mjs.map +1 -1
- package/package.json +12 -11
- package/src/cell.ts +1 -5
- package/src/interfaces.ts +4 -9
- package/src/packageVersion.ts +1 -1
package/src/cell.ts
CHANGED
|
@@ -60,8 +60,7 @@ const snapshotFileName = "header";
|
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* {@inheritDoc ISharedCell}
|
|
63
|
-
*
|
|
64
|
-
* @public
|
|
63
|
+
* @internal
|
|
65
64
|
*/
|
|
66
65
|
// TODO: use `unknown` instead (breaking change).
|
|
67
66
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -187,7 +186,6 @@ export class SharedCell<T = any>
|
|
|
187
186
|
|
|
188
187
|
/**
|
|
189
188
|
* {@inheritDoc ISharedCell.getAttribution}
|
|
190
|
-
* @alpha
|
|
191
189
|
*/
|
|
192
190
|
public getAttribution(): AttributionKey | undefined {
|
|
193
191
|
return this.attribution;
|
|
@@ -345,8 +343,6 @@ export class SharedCell<T = any>
|
|
|
345
343
|
|
|
346
344
|
/**
|
|
347
345
|
* {@inheritDoc @fluidframework/shared-object-base#SharedObjectCore.applyStashedOp}
|
|
348
|
-
*
|
|
349
|
-
* @internal
|
|
350
346
|
*/
|
|
351
347
|
protected applyStashedOp(content: unknown): unknown {
|
|
352
348
|
const cellContent = content as ICellOperation;
|
package/src/interfaces.ts
CHANGED
|
@@ -9,8 +9,7 @@ import { type AttributionKey } from "@fluidframework/runtime-definitions";
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Events emitted by {@link ISharedCell}.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
12
|
+
* @internal
|
|
14
13
|
*/
|
|
15
14
|
export interface ISharedCellEvents<T> extends ISharedObjectEvents {
|
|
16
15
|
/**
|
|
@@ -75,8 +74,7 @@ export interface ISharedCellEvents<T> extends ISharedObjectEvents {
|
|
|
75
74
|
* `SharedCell` is an `EventEmitter`, and will emit events when other clients make modifications. You should
|
|
76
75
|
* register for these events and respond appropriately as the data is modified. `valueChanged` will be emitted
|
|
77
76
|
* in response to a `set`, and `delete` will be emitted in response to a `delete`.
|
|
78
|
-
*
|
|
79
|
-
* @public
|
|
77
|
+
* @internal
|
|
80
78
|
*/
|
|
81
79
|
// TODO: use `unknown` instead (breaking change).
|
|
82
80
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -108,7 +106,6 @@ export interface ISharedCell<T = any> extends ISharedObject<ISharedCellEvents<T>
|
|
|
108
106
|
delete(): void;
|
|
109
107
|
|
|
110
108
|
/**
|
|
111
|
-
* @alpha
|
|
112
109
|
* @returns the AttributionKey associated with the cell's most recent change.
|
|
113
110
|
*/
|
|
114
111
|
getAttribution(): AttributionKey | undefined;
|
|
@@ -133,8 +130,7 @@ export interface ICellLocalOpMetadata<T = any> {
|
|
|
133
130
|
|
|
134
131
|
/**
|
|
135
132
|
* Options related to attribution
|
|
136
|
-
*
|
|
137
|
-
* @alpha
|
|
133
|
+
* @internal
|
|
138
134
|
*/
|
|
139
135
|
export interface ICellOptions {
|
|
140
136
|
attribution?: ICellAttributionOptions;
|
|
@@ -145,8 +141,7 @@ export interface ICellOptions {
|
|
|
145
141
|
* (i.e. who creeated the content and when it was created)
|
|
146
142
|
*
|
|
147
143
|
* default: false
|
|
148
|
-
*
|
|
149
|
-
* @alpha
|
|
144
|
+
* @internal
|
|
150
145
|
*/
|
|
151
146
|
export interface ICellAttributionOptions {
|
|
152
147
|
track?: boolean;
|
package/src/packageVersion.ts
CHANGED