fluid-framework 2.61.0-355990 → 2.61.0-356312
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-report/fluid-framework.alpha.api.md +14 -8
- package/dist/alpha.d.ts +3 -0
- package/lib/alpha.d.ts +3 -0
- package/package.json +14 -14
|
@@ -182,6 +182,17 @@ export function createSimpleTreeIndex<TFieldSchema extends ImplicitFieldSchema,
|
|
|
182
182
|
interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider"> {
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
+
// @alpha
|
|
186
|
+
export interface DirtyTreeMap {
|
|
187
|
+
// (undocumented)
|
|
188
|
+
get(node: TreeNode): DirtyTreeStatus | undefined;
|
|
189
|
+
// (undocumented)
|
|
190
|
+
set(node: TreeNode, status: DirtyTreeStatus): void;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// @alpha
|
|
194
|
+
export type DirtyTreeStatus = "new" | "changed" | "moved";
|
|
195
|
+
|
|
185
196
|
// @beta
|
|
186
197
|
export function enumFromStrings<TScope extends string, const Members extends readonly string[]>(factory: SchemaFactory<TScope>, members: Members): (<TValue extends Members[number]>(value: TValue) => TValue extends unknown ? TreeNode & {
|
|
187
198
|
readonly value: TValue;
|
|
@@ -1602,6 +1613,9 @@ export interface Tagged<V, T extends string = string> {
|
|
|
1602
1613
|
// @public
|
|
1603
1614
|
export type TelemetryBaseEventPropertyType = string | number | boolean | undefined;
|
|
1604
1615
|
|
|
1616
|
+
// @alpha
|
|
1617
|
+
export function trackDirtyNodes(view: TreeViewAlpha<ImplicitFieldSchema>, dirty: DirtyTreeMap): () => void;
|
|
1618
|
+
|
|
1605
1619
|
// @alpha
|
|
1606
1620
|
export type TransactionCallbackStatus<TSuccessValue, TFailureValue> = ({
|
|
1607
1621
|
rollback?: false;
|
|
@@ -1665,14 +1679,6 @@ export interface TreeAlpha {
|
|
|
1665
1679
|
importConcise<const TSchema extends ImplicitFieldSchema | UnsafeUnknownSchema>(schema: UnsafeUnknownSchema extends TSchema ? ImplicitFieldSchema : TSchema & ImplicitFieldSchema, data: ConciseTree | undefined): Unhydrated<TSchema extends ImplicitFieldSchema ? TreeFieldFromImplicitField<TSchema> : TreeNode | TreeLeafValue | undefined>;
|
|
1666
1680
|
importVerbose<const TSchema extends ImplicitFieldSchema>(schema: TSchema, data: VerboseTree | undefined, options?: TreeParsingOptions): Unhydrated<TreeFieldFromImplicitField<TSchema>>;
|
|
1667
1681
|
key2(node: TreeNode): string | number | undefined;
|
|
1668
|
-
trackObservations<TResult>(onInvalidation: () => void, trackDuring: () => TResult): {
|
|
1669
|
-
result: TResult;
|
|
1670
|
-
unsubscribe: () => void;
|
|
1671
|
-
};
|
|
1672
|
-
trackObservationsOnce<TResult>(onInvalidation: () => void, trackDuring: () => TResult): {
|
|
1673
|
-
result: TResult;
|
|
1674
|
-
unsubscribe: () => void;
|
|
1675
|
-
};
|
|
1676
1682
|
}
|
|
1677
1683
|
|
|
1678
1684
|
// @alpha
|
package/dist/alpha.d.ts
CHANGED
|
@@ -161,6 +161,8 @@ export {
|
|
|
161
161
|
BranchableTree,
|
|
162
162
|
CodecWriteOptions,
|
|
163
163
|
ConciseTree,
|
|
164
|
+
DirtyTreeMap,
|
|
165
|
+
DirtyTreeStatus,
|
|
164
166
|
FactoryContent,
|
|
165
167
|
FactoryContentObject,
|
|
166
168
|
FieldPropsAlpha,
|
|
@@ -298,6 +300,7 @@ export {
|
|
|
298
300
|
replaceConciseTreeHandles,
|
|
299
301
|
replaceHandles,
|
|
300
302
|
replaceVerboseTreeHandles,
|
|
303
|
+
trackDirtyNodes,
|
|
301
304
|
typeboxValidator
|
|
302
305
|
// #endregion
|
|
303
306
|
} from "./index.js";
|
package/lib/alpha.d.ts
CHANGED
|
@@ -161,6 +161,8 @@ export {
|
|
|
161
161
|
BranchableTree,
|
|
162
162
|
CodecWriteOptions,
|
|
163
163
|
ConciseTree,
|
|
164
|
+
DirtyTreeMap,
|
|
165
|
+
DirtyTreeStatus,
|
|
164
166
|
FactoryContent,
|
|
165
167
|
FactoryContentObject,
|
|
166
168
|
FieldPropsAlpha,
|
|
@@ -298,6 +300,7 @@ export {
|
|
|
298
300
|
replaceConciseTreeHandles,
|
|
299
301
|
replaceHandles,
|
|
300
302
|
replaceVerboseTreeHandles,
|
|
303
|
+
trackDirtyNodes,
|
|
301
304
|
typeboxValidator
|
|
302
305
|
// #endregion
|
|
303
306
|
} from "./index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.61.0-
|
|
3
|
+
"version": "2.61.0-356312",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,24 +57,24 @@
|
|
|
57
57
|
"main": "lib/index.js",
|
|
58
58
|
"types": "lib/public.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/container-definitions": "2.61.0-
|
|
61
|
-
"@fluidframework/container-loader": "2.61.0-
|
|
62
|
-
"@fluidframework/core-interfaces": "2.61.0-
|
|
63
|
-
"@fluidframework/core-utils": "2.61.0-
|
|
64
|
-
"@fluidframework/driver-definitions": "2.61.0-
|
|
65
|
-
"@fluidframework/fluid-static": "2.61.0-
|
|
66
|
-
"@fluidframework/map": "2.61.0-
|
|
67
|
-
"@fluidframework/runtime-utils": "2.61.0-
|
|
68
|
-
"@fluidframework/sequence": "2.61.0-
|
|
69
|
-
"@fluidframework/shared-object-base": "2.61.0-
|
|
70
|
-
"@fluidframework/tree": "2.61.0-
|
|
60
|
+
"@fluidframework/container-definitions": "2.61.0-356312",
|
|
61
|
+
"@fluidframework/container-loader": "2.61.0-356312",
|
|
62
|
+
"@fluidframework/core-interfaces": "2.61.0-356312",
|
|
63
|
+
"@fluidframework/core-utils": "2.61.0-356312",
|
|
64
|
+
"@fluidframework/driver-definitions": "2.61.0-356312",
|
|
65
|
+
"@fluidframework/fluid-static": "2.61.0-356312",
|
|
66
|
+
"@fluidframework/map": "2.61.0-356312",
|
|
67
|
+
"@fluidframework/runtime-utils": "2.61.0-356312",
|
|
68
|
+
"@fluidframework/sequence": "2.61.0-356312",
|
|
69
|
+
"@fluidframework/shared-object-base": "2.61.0-356312",
|
|
70
|
+
"@fluidframework/tree": "2.61.0-356312"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
74
74
|
"@biomejs/biome": "~1.9.3",
|
|
75
|
-
"@fluid-tools/build-cli": "^0.58.
|
|
75
|
+
"@fluid-tools/build-cli": "^0.58.3",
|
|
76
76
|
"@fluidframework/build-common": "^2.0.3",
|
|
77
|
-
"@fluidframework/build-tools": "^0.58.
|
|
77
|
+
"@fluidframework/build-tools": "^0.58.3",
|
|
78
78
|
"@fluidframework/eslint-config-fluid": "^6.0.0",
|
|
79
79
|
"@microsoft/api-extractor": "7.52.11",
|
|
80
80
|
"@types/node": "^18.19.0",
|