fluid-framework 2.73.0 → 2.74.0-365691
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 +15 -1
- package/dist/alpha.d.ts +4 -0
- package/lib/alpha.d.ts +4 -0
- package/package.json +13 -13
|
@@ -179,6 +179,9 @@ export type ConciseTree<THandle = IFluidHandle> = Exclude<TreeLeafValue, IFluidH
|
|
|
179
179
|
// @alpha
|
|
180
180
|
export function configuredSharedTree(options: SharedTreeOptions): SharedObjectKind<ITree>;
|
|
181
181
|
|
|
182
|
+
// @alpha
|
|
183
|
+
export function configuredSharedTreeAlpha(options: SharedTreeOptions): SharedObjectKind<ITree>;
|
|
184
|
+
|
|
182
185
|
// @beta
|
|
183
186
|
export function configuredSharedTreeBeta(options: SharedTreeOptionsBeta): SharedObjectKind<ITree>;
|
|
184
187
|
|
|
@@ -741,6 +744,15 @@ export type ImplicitFieldSchema = FieldSchema | ImplicitAllowedTypes;
|
|
|
741
744
|
// @alpha
|
|
742
745
|
export function importCompatibilitySchemaSnapshot(config: JsonCompatibleReadOnly): TreeViewConfiguration;
|
|
743
746
|
|
|
747
|
+
// @alpha
|
|
748
|
+
export type IncrementalEncodingPolicy = (nodeIdentifier: string | undefined, fieldKey: string) => boolean;
|
|
749
|
+
|
|
750
|
+
// @alpha
|
|
751
|
+
export function incrementalEncodingPolicyForAllowedTypes(rootSchema: TreeSchema): IncrementalEncodingPolicy;
|
|
752
|
+
|
|
753
|
+
// @alpha
|
|
754
|
+
export const incrementalSummaryHint: unique symbol;
|
|
755
|
+
|
|
744
756
|
// @alpha
|
|
745
757
|
export function independentInitializedView<const TSchema extends ImplicitFieldSchema>(config: TreeViewConfiguration<TSchema>, options: ForestOptions & ICodecOptions, content: ViewContent): TreeViewAlpha<TSchema>;
|
|
746
758
|
|
|
@@ -1401,8 +1413,9 @@ export interface SharedTreeFormatOptions {
|
|
|
1401
1413
|
}
|
|
1402
1414
|
|
|
1403
1415
|
// @alpha @input
|
|
1404
|
-
export interface SharedTreeOptions extends Partial<CodecWriteOptions>, Partial<SharedTreeFormatOptions
|
|
1416
|
+
export interface SharedTreeOptions extends SharedTreeOptionsBeta, Partial<CodecWriteOptions>, Partial<SharedTreeFormatOptions> {
|
|
1405
1417
|
readonly enableSharedBranches?: boolean;
|
|
1418
|
+
shouldEncodeIncrementally?: IncrementalEncodingPolicy;
|
|
1406
1419
|
}
|
|
1407
1420
|
|
|
1408
1421
|
// @beta @input
|
|
@@ -1868,6 +1881,7 @@ export interface TreeChangeEventsBeta<TNode extends TreeNode = TreeNode> extends
|
|
|
1868
1881
|
// @alpha
|
|
1869
1882
|
export enum TreeCompressionStrategy {
|
|
1870
1883
|
Compressed = 0,
|
|
1884
|
+
CompressedIncremental = 2,
|
|
1871
1885
|
Uncompressed = 1
|
|
1872
1886
|
}
|
|
1873
1887
|
|
package/dist/alpha.d.ts
CHANGED
|
@@ -211,6 +211,7 @@ export {
|
|
|
211
211
|
ICodecOptions,
|
|
212
212
|
ITreeAlpha,
|
|
213
213
|
IdentifierIndex,
|
|
214
|
+
IncrementalEncodingPolicy,
|
|
214
215
|
Insertable,
|
|
215
216
|
InsertableContent,
|
|
216
217
|
InsertableField,
|
|
@@ -297,6 +298,7 @@ export {
|
|
|
297
298
|
cloneWithReplacements,
|
|
298
299
|
comparePersistedSchema,
|
|
299
300
|
configuredSharedTree,
|
|
301
|
+
configuredSharedTreeAlpha,
|
|
300
302
|
contentSchemaSymbol,
|
|
301
303
|
createIdentifierIndex,
|
|
302
304
|
createIndependentTreeAlpha,
|
|
@@ -311,6 +313,8 @@ export {
|
|
|
311
313
|
getJsonSchema,
|
|
312
314
|
getSimpleSchema,
|
|
313
315
|
importCompatibilitySchemaSnapshot,
|
|
316
|
+
incrementalEncodingPolicyForAllowedTypes,
|
|
317
|
+
incrementalSummaryHint,
|
|
314
318
|
independentInitializedView,
|
|
315
319
|
independentView,
|
|
316
320
|
normalizeAllowedTypes,
|
package/lib/alpha.d.ts
CHANGED
|
@@ -211,6 +211,7 @@ export {
|
|
|
211
211
|
ICodecOptions,
|
|
212
212
|
ITreeAlpha,
|
|
213
213
|
IdentifierIndex,
|
|
214
|
+
IncrementalEncodingPolicy,
|
|
214
215
|
Insertable,
|
|
215
216
|
InsertableContent,
|
|
216
217
|
InsertableField,
|
|
@@ -297,6 +298,7 @@ export {
|
|
|
297
298
|
cloneWithReplacements,
|
|
298
299
|
comparePersistedSchema,
|
|
299
300
|
configuredSharedTree,
|
|
301
|
+
configuredSharedTreeAlpha,
|
|
300
302
|
contentSchemaSymbol,
|
|
301
303
|
createIdentifierIndex,
|
|
302
304
|
createIndependentTreeAlpha,
|
|
@@ -311,6 +313,8 @@ export {
|
|
|
311
313
|
getJsonSchema,
|
|
312
314
|
getSimpleSchema,
|
|
313
315
|
importCompatibilitySchemaSnapshot,
|
|
316
|
+
incrementalEncodingPolicyForAllowedTypes,
|
|
317
|
+
incrementalSummaryHint,
|
|
314
318
|
independentInitializedView,
|
|
315
319
|
independentView,
|
|
316
320
|
normalizeAllowedTypes,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.74.0-365691",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"main": "lib/index.js",
|
|
58
58
|
"types": "lib/public.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/container-definitions": "
|
|
61
|
-
"@fluidframework/container-loader": "
|
|
62
|
-
"@fluidframework/core-interfaces": "
|
|
63
|
-
"@fluidframework/core-utils": "
|
|
64
|
-
"@fluidframework/driver-definitions": "
|
|
65
|
-
"@fluidframework/fluid-static": "
|
|
66
|
-
"@fluidframework/map": "
|
|
67
|
-
"@fluidframework/runtime-utils": "
|
|
68
|
-
"@fluidframework/sequence": "
|
|
69
|
-
"@fluidframework/shared-object-base": "
|
|
70
|
-
"@fluidframework/tree": "
|
|
60
|
+
"@fluidframework/container-definitions": "2.74.0-365691",
|
|
61
|
+
"@fluidframework/container-loader": "2.74.0-365691",
|
|
62
|
+
"@fluidframework/core-interfaces": "2.74.0-365691",
|
|
63
|
+
"@fluidframework/core-utils": "2.74.0-365691",
|
|
64
|
+
"@fluidframework/driver-definitions": "2.74.0-365691",
|
|
65
|
+
"@fluidframework/fluid-static": "2.74.0-365691",
|
|
66
|
+
"@fluidframework/map": "2.74.0-365691",
|
|
67
|
+
"@fluidframework/runtime-utils": "2.74.0-365691",
|
|
68
|
+
"@fluidframework/sequence": "2.74.0-365691",
|
|
69
|
+
"@fluidframework/shared-object-base": "2.74.0-365691",
|
|
70
|
+
"@fluidframework/tree": "2.74.0-365691"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@fluid-tools/build-cli": "^0.60.0",
|
|
76
76
|
"@fluidframework/build-common": "^2.0.3",
|
|
77
77
|
"@fluidframework/build-tools": "^0.60.0",
|
|
78
|
-
"@fluidframework/eslint-config-fluid": "
|
|
78
|
+
"@fluidframework/eslint-config-fluid": "2.74.0-365691",
|
|
79
79
|
"@microsoft/api-extractor": "7.52.11",
|
|
80
80
|
"@types/node": "^18.19.0",
|
|
81
81
|
"concurrently": "^8.2.1",
|