fluid-framework 2.110.0 → 2.112.0
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/CHANGELOG.md +209 -0
- package/api-report/fluid-framework.alpha.api.md +127 -36
- package/api-report/fluid-framework.beta.api.md +70 -1
- package/api-report/fluid-framework.legacy.beta.api.md +70 -1
- package/api-report/fluid-framework.legacy.public.api.md +32 -1
- package/api-report/fluid-framework.public.api.md +32 -1
- package/dist/alpha.d.ts +19 -8
- package/dist/beta.d.ts +12 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +12 -0
- package/dist/public.d.ts +4 -0
- package/lib/alpha.d.ts +19 -8
- package/lib/beta.d.ts +12 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/legacy.d.ts +12 -0
- package/lib/public.d.ts +4 -0
- package/package.json +14 -14
- package/src/index.ts +4 -0
package/lib/alpha.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export {
|
|
|
54
54
|
IProvideFluidLoadable,
|
|
55
55
|
IServiceAudience,
|
|
56
56
|
IServiceAudienceEvents,
|
|
57
|
+
ITelemetryBaseEvent,
|
|
58
|
+
ITelemetryBaseLogger,
|
|
57
59
|
ITelemetryBaseProperties,
|
|
58
60
|
ITree,
|
|
59
61
|
ITreeConfigurationOptions,
|
|
@@ -74,6 +76,8 @@ export {
|
|
|
74
76
|
LeafSchema,
|
|
75
77
|
Listenable,
|
|
76
78
|
Listeners,
|
|
79
|
+
LogLevel,
|
|
80
|
+
LogLevelConst,
|
|
77
81
|
MakeNominal,
|
|
78
82
|
MapNodeInsertableData,
|
|
79
83
|
MemberChangedListener,
|
|
@@ -173,6 +177,7 @@ export {
|
|
|
173
177
|
ObjectSchemaOptions,
|
|
174
178
|
PopUnion,
|
|
175
179
|
RecordNodeInsertableData,
|
|
180
|
+
RunTransactionParamsBeta,
|
|
176
181
|
SchemaFactoryBeta,
|
|
177
182
|
SchemaStaticsBeta,
|
|
178
183
|
SchemaUpgrade,
|
|
@@ -181,6 +186,11 @@ export {
|
|
|
181
186
|
SnapshotSchemaCompatibilityOptions,
|
|
182
187
|
System_TableSchema,
|
|
183
188
|
TableSchema,
|
|
189
|
+
TransactionCallbackStatusBeta,
|
|
190
|
+
TransactionResultFailed,
|
|
191
|
+
TransactionResultSuccess,
|
|
192
|
+
TransactionValueResult,
|
|
193
|
+
TransactionVoidResult,
|
|
184
194
|
TreeBeta,
|
|
185
195
|
TreeBranch,
|
|
186
196
|
TreeChangeEventsBeta,
|
|
@@ -195,6 +205,8 @@ export {
|
|
|
195
205
|
UnannotateAllowedTypesList,
|
|
196
206
|
UnannotateAllowedTypesListUnsafe,
|
|
197
207
|
UnionToTuple,
|
|
208
|
+
VoidTransactionCallbackStatusBeta,
|
|
209
|
+
WithValue,
|
|
198
210
|
adaptEnum,
|
|
199
211
|
asBeta,
|
|
200
212
|
configuredSharedTreeBeta,
|
|
@@ -224,6 +236,7 @@ export {
|
|
|
224
236
|
ChangeMetadata,
|
|
225
237
|
CodecName,
|
|
226
238
|
CodecWriteOptions,
|
|
239
|
+
Component,
|
|
227
240
|
CreateIndependentTreeAlphaOptions,
|
|
228
241
|
DirtyTreeMap,
|
|
229
242
|
DirtyTreeStatus,
|
|
@@ -247,6 +260,7 @@ export {
|
|
|
247
260
|
ITreeAlpha,
|
|
248
261
|
IncrementalEncodingPolicy,
|
|
249
262
|
IndependentViewOptions,
|
|
263
|
+
IndependentViewTelemetryOptions,
|
|
250
264
|
Insertable,
|
|
251
265
|
InsertableContent,
|
|
252
266
|
InsertableField,
|
|
@@ -295,7 +309,7 @@ export {
|
|
|
295
309
|
RemoteChangeMetadata,
|
|
296
310
|
RevertibleAlpha,
|
|
297
311
|
RevertibleAlphaFactory,
|
|
298
|
-
|
|
312
|
+
RunTransactionParamsAlpha,
|
|
299
313
|
SchemaFactoryAlpha,
|
|
300
314
|
SchemaStaticsAlpha,
|
|
301
315
|
SchemaType,
|
|
@@ -313,13 +327,10 @@ export {
|
|
|
313
327
|
SimpleRecordNodeSchema,
|
|
314
328
|
SimpleTreeSchema,
|
|
315
329
|
TextAsTree,
|
|
316
|
-
|
|
330
|
+
TransactionCallbackStatusAlpha,
|
|
317
331
|
TransactionConstraintAlpha,
|
|
318
332
|
TransactionLabels,
|
|
319
|
-
|
|
320
|
-
TransactionResultExt,
|
|
321
|
-
TransactionResultFailed,
|
|
322
|
-
TransactionResultSuccess,
|
|
333
|
+
TransactionPostProcessor,
|
|
323
334
|
TreeAlpha,
|
|
324
335
|
TreeArrayNodeAlpha,
|
|
325
336
|
TreeBranchAlpha,
|
|
@@ -339,8 +350,7 @@ export {
|
|
|
339
350
|
VerboseTree,
|
|
340
351
|
VerboseTreeNode,
|
|
341
352
|
ViewContent,
|
|
342
|
-
|
|
343
|
-
WithValue,
|
|
353
|
+
VoidTransactionCallbackStatusAlpha,
|
|
344
354
|
allowUnused,
|
|
345
355
|
asAlpha,
|
|
346
356
|
asTreeViewAlpha,
|
|
@@ -368,6 +378,7 @@ export {
|
|
|
368
378
|
incrementalSummaryHint,
|
|
369
379
|
independentInitializedView,
|
|
370
380
|
independentView,
|
|
381
|
+
minimize,
|
|
371
382
|
normalizeAllowedTypes,
|
|
372
383
|
persistedToSimpleSchema,
|
|
373
384
|
replaceConciseTreeHandles,
|
package/lib/beta.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export {
|
|
|
54
54
|
IProvideFluidLoadable,
|
|
55
55
|
IServiceAudience,
|
|
56
56
|
IServiceAudienceEvents,
|
|
57
|
+
ITelemetryBaseEvent,
|
|
58
|
+
ITelemetryBaseLogger,
|
|
57
59
|
ITelemetryBaseProperties,
|
|
58
60
|
ITree,
|
|
59
61
|
ITreeConfigurationOptions,
|
|
@@ -74,6 +76,8 @@ export {
|
|
|
74
76
|
LeafSchema,
|
|
75
77
|
Listenable,
|
|
76
78
|
Listeners,
|
|
79
|
+
LogLevel,
|
|
80
|
+
LogLevelConst,
|
|
77
81
|
MakeNominal,
|
|
78
82
|
MapNodeInsertableData,
|
|
79
83
|
MemberChangedListener,
|
|
@@ -173,6 +177,7 @@ export {
|
|
|
173
177
|
ObjectSchemaOptions,
|
|
174
178
|
PopUnion,
|
|
175
179
|
RecordNodeInsertableData,
|
|
180
|
+
RunTransactionParamsBeta,
|
|
176
181
|
SchemaFactoryBeta,
|
|
177
182
|
SchemaStaticsBeta,
|
|
178
183
|
SchemaUpgrade,
|
|
@@ -181,6 +186,11 @@ export {
|
|
|
181
186
|
SnapshotSchemaCompatibilityOptions,
|
|
182
187
|
System_TableSchema,
|
|
183
188
|
TableSchema,
|
|
189
|
+
TransactionCallbackStatusBeta,
|
|
190
|
+
TransactionResultFailed,
|
|
191
|
+
TransactionResultSuccess,
|
|
192
|
+
TransactionValueResult,
|
|
193
|
+
TransactionVoidResult,
|
|
184
194
|
TreeBeta,
|
|
185
195
|
TreeBranch,
|
|
186
196
|
TreeChangeEventsBeta,
|
|
@@ -195,6 +205,8 @@ export {
|
|
|
195
205
|
UnannotateAllowedTypesList,
|
|
196
206
|
UnannotateAllowedTypesListUnsafe,
|
|
197
207
|
UnionToTuple,
|
|
208
|
+
VoidTransactionCallbackStatusBeta,
|
|
209
|
+
WithValue,
|
|
198
210
|
adaptEnum,
|
|
199
211
|
asBeta,
|
|
200
212
|
configuredSharedTreeBeta,
|
package/lib/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { ConnectionState } from "@fluidframework/container-loader";
|
|
|
15
15
|
export type { ContainerAttachProps, ContainerSchema, IConnection, IFluidContainer, IFluidContainerEvents, IMember, InitialObjects, IServiceAudience, IServiceAudienceEvents, MemberChangedListener, Myself, } from "@fluidframework/fluid-static";
|
|
16
16
|
export { getPresence, getPresenceAlpha } from "@fluidframework/fluid-static/internal";
|
|
17
17
|
export type { SharedObjectKind } from "@fluidframework/shared-object-base";
|
|
18
|
-
export type { IErrorBase, IEventProvider, IDisposable, IEvent, IEventThisPlaceHolder, IErrorEvent, ErasedType, IFluidHandle, IFluidLoadable, ITelemetryBaseProperties, IEventTransformer, IProvideFluidLoadable, IFluidHandleErased, TransformedEvent, TelemetryBaseEventPropertyType, Tagged, ReplaceIEventThisPlaceHolder, FluidObject, // Linked in doc comment
|
|
18
|
+
export type { IErrorBase, IEventProvider, IDisposable, IEvent, IEventThisPlaceHolder, IErrorEvent, ErasedType, IFluidHandle, IFluidLoadable, ITelemetryBaseEvent, ITelemetryBaseLogger, ITelemetryBaseProperties, IEventTransformer, IProvideFluidLoadable, IFluidHandleErased, LogLevel, LogLevelConst, TransformedEvent, TelemetryBaseEventPropertyType, Tagged, ReplaceIEventThisPlaceHolder, FluidObject, // Linked in doc comment
|
|
19
19
|
FluidObjectProviderKeys, // Used by FluidObject
|
|
20
20
|
Listeners, IsListener, Listenable, Off, } from "@fluidframework/core-interfaces";
|
|
21
21
|
export type { ErasedBaseType, FluidIterable, FluidIterableIterator, FluidMap, FluidReadonlyMap, } from "@fluidframework/core-interfaces/internal";
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAMH,YAAY,EACX,eAAe,IAAI,mBAAmB,EAAE,0CAA0C;AAClF,uBAAuB,GACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACX,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,GACN,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,gBAAgB,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AAmB,EACnB,qBAAqB,EACrB,SAAS,EACT,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,4BAA4B,EAC5B,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,IAAI,EACJ,sBAAsB,EACtB,2BAA2B,EAC3B,iCAAiC,EACjC,qBAAqB,GACrB,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EACX,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,GACxB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjE,YAAY,EACX,aAAa,EACb,mBAAmB,EACnB,iBAAiB,GACjB,MAAM,6CAA6C,CAAC;AAErD,YAAY,EACX,yBAAyB,EAAE,iCAAiC;AAC5D,aAAa,EAAE,yCAAyC;AACxD,MAAM,GACN,MAAM,6CAA6C,CAAC"}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAcnE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiBH,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAcnE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAwCtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAIzE,mDAAmD;AACnD,4FAA4F;AAC5F;;;;MAIG;AACH,cAAc,4BAA4B,CAAC;AAU3C,OAAO,EACN,UAAU,IAAI,kBAAkB,EAChC,oBAAoB,IAAI,4BAA4B,GAEpD,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAA4B,kBAAkB,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAA0B;IAC9D,OAAO,4BAA4B,CAAC,OAAO,CAAC,CAAC;AAC9C,CAAC;AAmBD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AA4B1E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAcjE,4BAA4B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client\n * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluidframework/odsp-client (BETA)`).\n *\n * @packageDocumentation\n */\n\n// ===============================================================\n// #region Public, Beta and Alpha (non-legacy) exports\n// #region Basic re-exports\n\nexport type {\n\tConnectionState as ConnectionStateType, // TODO: deduplicate ConnectionState types\n\tICriticalContainerError,\n} from \"@fluidframework/container-definitions\";\nexport { AttachState } from \"@fluidframework/container-definitions\";\nexport { ConnectionState } from \"@fluidframework/container-loader\";\nexport type {\n\tContainerAttachProps,\n\tContainerSchema,\n\tIConnection,\n\tIFluidContainer,\n\tIFluidContainerEvents,\n\tIMember,\n\tInitialObjects,\n\tIServiceAudience,\n\tIServiceAudienceEvents,\n\tMemberChangedListener,\n\tMyself,\n} from \"@fluidframework/fluid-static\";\nexport { getPresence, getPresenceAlpha } from \"@fluidframework/fluid-static/internal\";\nexport type { SharedObjectKind } from \"@fluidframework/shared-object-base\";\nexport type {\n\tIErrorBase,\n\tIEventProvider,\n\tIDisposable,\n\tIEvent,\n\tIEventThisPlaceHolder,\n\tIErrorEvent,\n\tErasedType,\n\tIFluidHandle,\n\tIFluidLoadable,\n\tITelemetryBaseEvent,\n\tITelemetryBaseLogger,\n\tITelemetryBaseProperties,\n\tIEventTransformer,\n\tIProvideFluidLoadable,\n\tIFluidHandleErased,\n\tLogLevel,\n\tLogLevelConst,\n\tTransformedEvent,\n\tTelemetryBaseEventPropertyType,\n\tTagged,\n\tReplaceIEventThisPlaceHolder,\n\tFluidObject, // Linked in doc comment\n\tFluidObjectProviderKeys, // Used by FluidObject\n\t/* eslint-disable import-x/export -- The event APIs are known to conflict, and this is intended as the exports via `@fluidframework/core-interfaces` are preferred over the deprecated ones from `@fluidframework/tree`. */\n\tListeners,\n\tIsListener,\n\tListenable,\n\tOff,\n\t/* eslint-enable import-x/export */\n} from \"@fluidframework/core-interfaces\";\nexport type {\n\tErasedBaseType,\n\tFluidIterable,\n\tFluidIterableIterator,\n\tFluidMap,\n\tFluidReadonlyMap,\n} from \"@fluidframework/core-interfaces/internal\";\nexport { onAssertionFailure } from \"@fluidframework/core-utils/internal\";\n\nexport type { isFluidHandle } from \"@fluidframework/runtime-utils\";\n\n// Let the tree package manage its own API surface.\n// Note: this only surfaces the `@public, @beta and @alpha` API items from the tree package.\n/* eslint-disable-next-line\n\tno-restricted-syntax,\n\timport-x/no-internal-modules,\n\timport-x/export -- This re-exports all non-conflicting APIs from `@fluidframework/tree`. In cases where * exports conflict with named exports, the named exports take precedence per https://tc39.es/ecma262/multipage/ecmascript-language-scripts-and-modules.html#sec-getexportednames. This does trigger the `import-x/export` lint warning (which is intentionally disabled here). This approach ensures that the non-deprecated versions of the event APIs from `@fluidframework/core-interfaces` (provided as named indirect exports) eclipse the deprecated ones from `@fluidframework/tree`. The preferred versions of the event APIs are those exported via `@fluidframework/core-interfaces`.\n\t*/\nexport * from \"@fluidframework/tree/alpha\";\n\n// End of basic public+beta+alpha exports - nothing above this line should\n// depend on an /internal path.\n// #endregion Basic re-exports\n// ---------------------------------------------------------------\n// #region Custom re-exports\n\nimport type { SharedObjectKind } from \"@fluidframework/shared-object-base\";\nimport type { ITree } from \"@fluidframework/tree\";\nimport {\n\tSharedTree as OriginalSharedTree,\n\tconfiguredSharedTree as originalConfiguredSharedTree,\n\ttype SharedTreeOptions,\n} from \"@fluidframework/tree/internal\";\n\n/**\n * A hierarchical data structure for collaboratively editing strongly typed JSON-like trees\n * of objects, arrays, and other data types.\n * @privateRemarks\n * Here we reexport SharedTree, but with the `@legacy` types (`ISharedObjectKind`) removed, just keeping the `SharedObjectKind`.\n * Doing this requires creating this new typed export rather than relying on a reexport directly from the tree package.\n * The tree package itself does not do this because it's API needs to be usable from the encapsulated API which requires `ISharedObjectKind`.\n * This package however is not intended for use by users of the encapsulated API, and therefore it can discard that interface.\n * @public\n */\nexport const SharedTree: SharedObjectKind<ITree> = OriginalSharedTree;\n\n/**\n * {@link SharedTree} but allowing a non-default configuration.\n * @remarks\n * This is useful for debugging and testing.\n * For example, it can be used to opt into extra validation or see if opting out of some optimizations fixes an issue.\n *\n * With great care, and knowledge of the support and stability of the options exposed here,\n * this can also be used to opt into some features early or for performance tuning.\n *\n * @example\n * ```typescript\n * import {\n * \tTreeCompressionStrategy,\n * \tconfiguredSharedTree,\n * \tFormatValidatorBasic,\n * \tForestTypeReference,\n * } from \"fluid-framework/alpha\";\n * const SharedTree = configuredSharedTree({\n * \tforest: ForestTypeReference,\n * \tjsonValidator: FormatValidatorBasic,\n * \ttreeEncodeType: TreeCompressionStrategy.Uncompressed,\n * });\n * ```\n * @alpha\n */\nexport function configuredSharedTree(options: SharedTreeOptions): SharedObjectKind<ITree> {\n\treturn originalConfiguredSharedTree(options);\n}\n\n// #endregion Custom re-exports\n// #endregion\n\n// ===============================================================\n// #region Legacy exports\n\nexport type {\n\tIDirectory,\n\tIDirectoryEvents,\n\tIDirectoryValueChanged,\n\tISharedDirectory,\n\tISharedDirectoryEvents,\n\tISharedMap,\n\tISharedMapEvents,\n\tIValueChanged,\n} from \"@fluidframework/map/internal\";\n\nexport { SharedDirectory, SharedMap } from \"@fluidframework/map/internal\";\n\nexport type {\n\tDeserializeCallback,\n\tInteriorSequencePlace,\n\tIInterval,\n\tIntervalStickiness,\n\tISequenceDeltaRange,\n\tISerializedInterval,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tSequencePlace,\n\tSharedStringSegment,\n\tSide,\n\tISharedSegmentSequence,\n\tISequenceIntervalCollection,\n\tISequenceIntervalCollectionEvents,\n\tSequenceIntervalIndex,\n} from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n} from \"@fluidframework/sequence/internal\";\n\nexport { SharedString } from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tISharedObject,\n\tISharedObjectEvents,\n\tISharedObjectKind,\n} from \"@fluidframework/shared-object-base/internal\";\n\nexport type {\n\tISequencedDocumentMessage, // Leaked via ISharedObjectEvents\n\tIBranchOrigin, // Required for ISequencedDocumentMessage\n\tITrace, // Required for ISequencedDocumentMessage\n} from \"@fluidframework/driver-definitions/internal\";\n\n// #endregion Legacy exports\n"]}
|
package/lib/legacy.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export {
|
|
|
54
54
|
IProvideFluidLoadable,
|
|
55
55
|
IServiceAudience,
|
|
56
56
|
IServiceAudienceEvents,
|
|
57
|
+
ITelemetryBaseEvent,
|
|
58
|
+
ITelemetryBaseLogger,
|
|
57
59
|
ITelemetryBaseProperties,
|
|
58
60
|
ITree,
|
|
59
61
|
ITreeConfigurationOptions,
|
|
@@ -74,6 +76,8 @@ export {
|
|
|
74
76
|
LeafSchema,
|
|
75
77
|
Listenable,
|
|
76
78
|
Listeners,
|
|
79
|
+
LogLevel,
|
|
80
|
+
LogLevelConst,
|
|
77
81
|
MakeNominal,
|
|
78
82
|
MapNodeInsertableData,
|
|
79
83
|
MemberChangedListener,
|
|
@@ -180,6 +184,7 @@ export {
|
|
|
180
184
|
ObjectSchemaOptions,
|
|
181
185
|
PopUnion,
|
|
182
186
|
RecordNodeInsertableData,
|
|
187
|
+
RunTransactionParamsBeta,
|
|
183
188
|
SchemaFactoryBeta,
|
|
184
189
|
SchemaStaticsBeta,
|
|
185
190
|
SchemaUpgrade,
|
|
@@ -188,6 +193,11 @@ export {
|
|
|
188
193
|
SnapshotSchemaCompatibilityOptions,
|
|
189
194
|
System_TableSchema,
|
|
190
195
|
TableSchema,
|
|
196
|
+
TransactionCallbackStatusBeta,
|
|
197
|
+
TransactionResultFailed,
|
|
198
|
+
TransactionResultSuccess,
|
|
199
|
+
TransactionValueResult,
|
|
200
|
+
TransactionVoidResult,
|
|
191
201
|
TreeBeta,
|
|
192
202
|
TreeBranch,
|
|
193
203
|
TreeChangeEventsBeta,
|
|
@@ -202,6 +212,8 @@ export {
|
|
|
202
212
|
UnannotateAllowedTypesList,
|
|
203
213
|
UnannotateAllowedTypesListUnsafe,
|
|
204
214
|
UnionToTuple,
|
|
215
|
+
VoidTransactionCallbackStatusBeta,
|
|
216
|
+
WithValue,
|
|
205
217
|
adaptEnum,
|
|
206
218
|
asBeta,
|
|
207
219
|
configuredSharedTreeBeta,
|
package/lib/public.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export {
|
|
|
54
54
|
IProvideFluidLoadable,
|
|
55
55
|
IServiceAudience,
|
|
56
56
|
IServiceAudienceEvents,
|
|
57
|
+
ITelemetryBaseEvent,
|
|
58
|
+
ITelemetryBaseLogger,
|
|
57
59
|
ITelemetryBaseProperties,
|
|
58
60
|
ITree,
|
|
59
61
|
ITreeConfigurationOptions,
|
|
@@ -74,6 +76,8 @@ export {
|
|
|
74
76
|
LeafSchema,
|
|
75
77
|
Listenable,
|
|
76
78
|
Listeners,
|
|
79
|
+
LogLevel,
|
|
80
|
+
LogLevelConst,
|
|
77
81
|
MakeNominal,
|
|
78
82
|
MapNodeInsertableData,
|
|
79
83
|
MemberChangedListener,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.112.0",
|
|
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": "~2.
|
|
61
|
-
"@fluidframework/container-loader": "~2.
|
|
62
|
-
"@fluidframework/core-interfaces": "~2.
|
|
63
|
-
"@fluidframework/core-utils": "~2.
|
|
64
|
-
"@fluidframework/driver-definitions": "~2.
|
|
65
|
-
"@fluidframework/fluid-static": "~2.
|
|
66
|
-
"@fluidframework/map": "~2.
|
|
67
|
-
"@fluidframework/runtime-utils": "~2.
|
|
68
|
-
"@fluidframework/sequence": "~2.
|
|
69
|
-
"@fluidframework/shared-object-base": "~2.
|
|
70
|
-
"@fluidframework/tree": "~2.
|
|
60
|
+
"@fluidframework/container-definitions": "~2.112.0",
|
|
61
|
+
"@fluidframework/container-loader": "~2.112.0",
|
|
62
|
+
"@fluidframework/core-interfaces": "~2.112.0",
|
|
63
|
+
"@fluidframework/core-utils": "~2.112.0",
|
|
64
|
+
"@fluidframework/driver-definitions": "~2.112.0",
|
|
65
|
+
"@fluidframework/fluid-static": "~2.112.0",
|
|
66
|
+
"@fluidframework/map": "~2.112.0",
|
|
67
|
+
"@fluidframework/runtime-utils": "~2.112.0",
|
|
68
|
+
"@fluidframework/sequence": "~2.112.0",
|
|
69
|
+
"@fluidframework/shared-object-base": "~2.112.0",
|
|
70
|
+
"@fluidframework/tree": "~2.112.0"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
"@fluidframework/eslint-config-fluid": "^13.0.0",
|
|
79
79
|
"@microsoft/api-extractor": "7.58.1",
|
|
80
80
|
"@types/node": "~22.19.17",
|
|
81
|
-
"concurrently": "^
|
|
81
|
+
"concurrently": "^10.0.3",
|
|
82
82
|
"copyfiles": "^2.4.1",
|
|
83
83
|
"eslint": "~9.39.1",
|
|
84
|
-
"fluid-framework-previous": "npm:fluid-framework@2.
|
|
84
|
+
"fluid-framework-previous": "npm:fluid-framework@2.111.0",
|
|
85
85
|
"jiti": "^2.6.1",
|
|
86
86
|
"rimraf": "^6.1.3",
|
|
87
87
|
"typescript": "~5.4.5"
|
package/src/index.ts
CHANGED
|
@@ -45,10 +45,14 @@ export type {
|
|
|
45
45
|
ErasedType,
|
|
46
46
|
IFluidHandle,
|
|
47
47
|
IFluidLoadable,
|
|
48
|
+
ITelemetryBaseEvent,
|
|
49
|
+
ITelemetryBaseLogger,
|
|
48
50
|
ITelemetryBaseProperties,
|
|
49
51
|
IEventTransformer,
|
|
50
52
|
IProvideFluidLoadable,
|
|
51
53
|
IFluidHandleErased,
|
|
54
|
+
LogLevel,
|
|
55
|
+
LogLevelConst,
|
|
52
56
|
TransformedEvent,
|
|
53
57
|
TelemetryBaseEventPropertyType,
|
|
54
58
|
Tagged,
|