fluid-framework 2.118.0 → 3.0.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 +450 -75
- package/README.md +55 -52
- package/{api-extractor.json → api-extractor/api-extractor-model.json} +1 -1
- package/api-report/fluid-framework.alpha.api.md +132 -136
- package/api-report/fluid-framework.beta.api.md +123 -84
- package/api-report/fluid-framework.legacy.beta.api.md +131 -88
- package/api-report/fluid-framework.legacy.public.api.md +31 -38
- package/api-report/fluid-framework.public.api.md +27 -36
- package/dist/alpha.d.ts +16 -13
- package/dist/beta.d.ts +11 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/legacy.d.ts +11 -0
- package/lib/alpha.d.ts +17 -14
- package/lib/beta.d.ts +12 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/legacy.d.ts +12 -1
- package/lib/public.d.ts +1 -1
- package/package.json +49 -54
- package/src/index.ts +1 -0
- package/tsconfig.json +1 -1
- package/alpha.d.ts +0 -11
- package/beta.d.ts +0 -11
- package/legacy.d.ts +0 -11
- /package/api-extractor/{api-extractor.current.json → api-extractor-report.current.json} +0 -0
- /package/api-extractor/{api-extractor.legacy.json → api-extractor-report.legacy.json} +0 -0
package/lib/alpha.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -159,6 +159,12 @@ export {
|
|
|
159
159
|
AnnotatedAllowedTypeUnsafe,
|
|
160
160
|
AnnotatedAllowedTypes,
|
|
161
161
|
AnnotatedAllowedTypesUnsafe,
|
|
162
|
+
ArrayNodeDeltaOp,
|
|
163
|
+
ArrayNodeInsertOp,
|
|
164
|
+
ArrayNodeRemoveOp,
|
|
165
|
+
ArrayNodeRetainOp,
|
|
166
|
+
ArrayNodeTreeChangedDeltaOp,
|
|
167
|
+
ArrayNodeTreeChangedRetainOp,
|
|
162
168
|
CodecWriteOptionsBeta,
|
|
163
169
|
ConciseTree,
|
|
164
170
|
ErasedBaseType,
|
|
@@ -175,6 +181,9 @@ export {
|
|
|
175
181
|
JsonCompatibleObject,
|
|
176
182
|
KeyEncodingOptions,
|
|
177
183
|
NodeChangedData,
|
|
184
|
+
NodeChangedDataDelta,
|
|
185
|
+
NodeChangedDataProperties,
|
|
186
|
+
NodeChangedDataTreeDelta,
|
|
178
187
|
ObjectSchemaOptions,
|
|
179
188
|
PopUnion,
|
|
180
189
|
RecordNodeInsertableData,
|
|
@@ -197,6 +206,7 @@ export {
|
|
|
197
206
|
TreeBeta,
|
|
198
207
|
TreeBranch,
|
|
199
208
|
TreeChangeEventsBeta,
|
|
209
|
+
TreeContextBeta,
|
|
200
210
|
TreeEncodingOptions,
|
|
201
211
|
TreeIndex,
|
|
202
212
|
TreeIndexKey,
|
|
@@ -216,6 +226,7 @@ export {
|
|
|
216
226
|
configuredSharedTreeBeta,
|
|
217
227
|
createIdentifierIndex,
|
|
218
228
|
createIndependentTreeBeta,
|
|
229
|
+
createIndependentTreeView,
|
|
219
230
|
createTreeIndex,
|
|
220
231
|
enumFromStrings,
|
|
221
232
|
onAssertionFailure,
|
|
@@ -228,14 +239,8 @@ export {
|
|
|
228
239
|
ArrayNodeCustomizableSchema,
|
|
229
240
|
ArrayNodeCustomizableSchemaAlpha,
|
|
230
241
|
ArrayNodeCustomizableSchemaUnsafe,
|
|
231
|
-
ArrayNodeDeltaOp,
|
|
232
|
-
ArrayNodeInsertOp,
|
|
233
242
|
ArrayNodePojoEmulationSchema,
|
|
234
|
-
ArrayNodeRemoveOp,
|
|
235
|
-
ArrayNodeRetainOp,
|
|
236
243
|
ArrayNodeSchema,
|
|
237
|
-
ArrayNodeTreeChangedDeltaOp,
|
|
238
|
-
ArrayNodeTreeChangedRetainOp,
|
|
239
244
|
ArrayPlaceAnchor,
|
|
240
245
|
ChangeMetadata,
|
|
241
246
|
CodecName,
|
|
@@ -310,10 +315,6 @@ export {
|
|
|
310
315
|
MapNodePojoEmulationSchema,
|
|
311
316
|
MapNodeSchema,
|
|
312
317
|
NoChangeConstraint,
|
|
313
|
-
NodeChangedDataAlpha,
|
|
314
|
-
NodeChangedDataDelta,
|
|
315
|
-
NodeChangedDataProperties,
|
|
316
|
-
NodeChangedDataTreeDelta,
|
|
317
318
|
NodeProvider,
|
|
318
319
|
NodeSchemaOptionsAlpha,
|
|
319
320
|
ObjectNodeSchema,
|
|
@@ -372,7 +373,6 @@ export {
|
|
|
372
373
|
TreeBranchCommitMetadata,
|
|
373
374
|
TreeBranchEvents,
|
|
374
375
|
TreeBranchHistory,
|
|
375
|
-
TreeChangeEventsAlpha,
|
|
376
376
|
TreeCompressionStrategy,
|
|
377
377
|
TreeContextAlpha,
|
|
378
378
|
TreeDataStoreOptions,
|
|
@@ -392,9 +392,9 @@ export {
|
|
|
392
392
|
VoidTransactionCallbackStatusAlpha,
|
|
393
393
|
allowUnused,
|
|
394
394
|
asAlpha,
|
|
395
|
-
asTreeViewAlpha,
|
|
396
395
|
checkCompatibility,
|
|
397
396
|
cloneWithReplacements,
|
|
397
|
+
codePointCount,
|
|
398
398
|
comparePersistedSchema,
|
|
399
399
|
configuredSharedTree,
|
|
400
400
|
configuredSharedTreeAlpha,
|
|
@@ -402,6 +402,7 @@ export {
|
|
|
402
402
|
createArrayInsertionAnchor,
|
|
403
403
|
createBasicRegistryKey,
|
|
404
404
|
createIndependentTreeAlpha,
|
|
405
|
+
createIndependentTreeViewAlpha,
|
|
405
406
|
decodeSchemaCompatibilitySnapshot,
|
|
406
407
|
defineDataStore,
|
|
407
408
|
defineTreeDataStore,
|
|
@@ -411,6 +412,7 @@ export {
|
|
|
411
412
|
evaluateLazySchema,
|
|
412
413
|
exportCompatibilitySchemaSnapshot,
|
|
413
414
|
extractPersistedSchema,
|
|
415
|
+
featureVersion,
|
|
414
416
|
generateSchemaFromSimpleSchema,
|
|
415
417
|
getJsonSchema,
|
|
416
418
|
getPresenceAlpha,
|
|
@@ -429,6 +431,7 @@ export {
|
|
|
429
431
|
replaceHandles,
|
|
430
432
|
replaceVerboseTreeHandles,
|
|
431
433
|
sharedObjectRegistryFromIterable,
|
|
432
|
-
trackDirtyNodes
|
|
434
|
+
trackDirtyNodes,
|
|
435
|
+
utf16LengthForCodePoints
|
|
433
436
|
// #endregion
|
|
434
437
|
} from "./index.js";
|
package/lib/beta.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -159,6 +159,12 @@ export {
|
|
|
159
159
|
AnnotatedAllowedTypeUnsafe,
|
|
160
160
|
AnnotatedAllowedTypes,
|
|
161
161
|
AnnotatedAllowedTypesUnsafe,
|
|
162
|
+
ArrayNodeDeltaOp,
|
|
163
|
+
ArrayNodeInsertOp,
|
|
164
|
+
ArrayNodeRemoveOp,
|
|
165
|
+
ArrayNodeRetainOp,
|
|
166
|
+
ArrayNodeTreeChangedDeltaOp,
|
|
167
|
+
ArrayNodeTreeChangedRetainOp,
|
|
162
168
|
CodecWriteOptionsBeta,
|
|
163
169
|
ConciseTree,
|
|
164
170
|
ErasedBaseType,
|
|
@@ -175,6 +181,9 @@ export {
|
|
|
175
181
|
JsonCompatibleObject,
|
|
176
182
|
KeyEncodingOptions,
|
|
177
183
|
NodeChangedData,
|
|
184
|
+
NodeChangedDataDelta,
|
|
185
|
+
NodeChangedDataProperties,
|
|
186
|
+
NodeChangedDataTreeDelta,
|
|
178
187
|
ObjectSchemaOptions,
|
|
179
188
|
PopUnion,
|
|
180
189
|
RecordNodeInsertableData,
|
|
@@ -197,6 +206,7 @@ export {
|
|
|
197
206
|
TreeBeta,
|
|
198
207
|
TreeBranch,
|
|
199
208
|
TreeChangeEventsBeta,
|
|
209
|
+
TreeContextBeta,
|
|
200
210
|
TreeEncodingOptions,
|
|
201
211
|
TreeIndex,
|
|
202
212
|
TreeIndexKey,
|
|
@@ -216,6 +226,7 @@ export {
|
|
|
216
226
|
configuredSharedTreeBeta,
|
|
217
227
|
createIdentifierIndex,
|
|
218
228
|
createIndependentTreeBeta,
|
|
229
|
+
createIndependentTreeView,
|
|
219
230
|
createTreeIndex,
|
|
220
231
|
enumFromStrings,
|
|
221
232
|
onAssertionFailure,
|
package/lib/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export * from "@fluidframework/tree/alpha";
|
|
|
25
25
|
export { defineDataStore, sharedObjectRegistryFromIterable, } from "@fluidframework/shared-object-base/internal";
|
|
26
26
|
export type { DataStoreOptions, SharedObjectCreator, SharedObjectRegistry, SharedObjectKey, SharedObjectKindAlpha, DataStoreContext, } from "@fluidframework/shared-object-base/internal";
|
|
27
27
|
export type { DataStoreCreator, DataStoreKey, DataStoreKind, DataStoreRegistry, FluidContainer, FluidContainerAttached, FluidContainerWithService, OldestSupportedServiceClientVersion, Registry, RegistryKey, ServiceClient, ServiceOptions, } from "@fluidframework/driver-definitions/internal";
|
|
28
|
-
export { createBasicRegistryKey, lookupInRegistry, } from "@fluidframework/driver-definitions/internal";
|
|
28
|
+
export { createBasicRegistryKey, featureVersion, lookupInRegistry, } from "@fluidframework/driver-definitions/internal";
|
|
29
29
|
import type { SharedObjectKind } from "@fluidframework/shared-object-base";
|
|
30
30
|
import type { ITree } from "@fluidframework/tree";
|
|
31
31
|
import { type SharedTreeOptions } from "@fluidframework/tree/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,EAAE,MAAM,uCAAuC,CAAC;AACtF,YAAY,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,YAAY,EACX,UAAU,EACV,cAAc,EACd,WAAW,EACX,MAAM,EACN,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,YAAY,EACZ,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,8BAA8B,EAC9B,MAAM,EACN,4BAA4B,EAC5B,WAAW,EAAE,wBAAwB;AACrC,uBAAuB,EAAE,sBAAsB;AAE/C,SAAS,EACT,UAAU,EACV,UAAU,EACV,GAAG,GAEH,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACX,cAAc,EACd,aAAa,E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AC;AAEvC;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,gBAAgB,CAAC,KAAK,CAAsB,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,iBAAiB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAExF;AAQD,YAAY,EACX,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,UAAU,EACV,gBAAgB,EAChB,aAAa,GACb,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE1E,YAAY,EACX,mBAAmB,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
CHANGED
|
@@ -21,7 +21,7 @@ export * from "@fluidframework/tree/alpha";
|
|
|
21
21
|
// #region Custom re-exports
|
|
22
22
|
// These are alpha APIs, but this package doesn't have an alpha entry point so they are imported from "internal".
|
|
23
23
|
export { defineDataStore, sharedObjectRegistryFromIterable, } from "@fluidframework/shared-object-base/internal";
|
|
24
|
-
export { createBasicRegistryKey, lookupInRegistry,
|
|
24
|
+
export { createBasicRegistryKey, featureVersion, lookupInRegistry,
|
|
25
25
|
// Due to this currently referencing several existing public types we do not want to stabilize as reexports from here,
|
|
26
26
|
// do not reexport getContainerAudience for now.
|
|
27
27
|
// getContainerAudience,
|
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;AAyCtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAIzE,mDAAmD;AACnD,4FAA4F;AAC5F;;;;MAIG;AACH,cAAc,4BAA4B,CAAC;AAE3C,0EAA0E;AAC1E,+BAA+B;AAC/B,8BAA8B;AAC9B,kEAAkE;AAClE,4BAA4B;AAE5B,iHAAiH;AACjH,OAAO,EACN,eAAe,EACf,gCAAgC,GAChC,MAAM,6CAA6C,CAAC;AAuBrD,OAAO,EACN,sBAAsB,EACtB,gBAAgB;AAChB,sHAAsH;AACtH,gDAAgD;AAChD,wBAAwB;EACxB,MAAM,6CAA6C,CAAC;AAIrD,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\tFluidReadonlyArray,\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\n// These are alpha APIs, but this package doesn't have an alpha entry point so they are imported from \"internal\".\nexport {\n\tdefineDataStore,\n\tsharedObjectRegistryFromIterable,\n} from \"@fluidframework/shared-object-base/internal\";\nexport type {\n\tDataStoreOptions,\n\tSharedObjectCreator,\n\tSharedObjectRegistry,\n\tSharedObjectKey,\n\tSharedObjectKindAlpha,\n\tDataStoreContext,\n} from \"@fluidframework/shared-object-base/internal\";\nexport type {\n\tDataStoreCreator,\n\tDataStoreKey,\n\tDataStoreKind,\n\tDataStoreRegistry,\n\tFluidContainer,\n\tFluidContainerAttached,\n\tFluidContainerWithService,\n\tOldestSupportedServiceClientVersion,\n\tRegistry,\n\tRegistryKey,\n\tServiceClient,\n\tServiceOptions,\n} from \"@fluidframework/driver-definitions/internal\";\nexport {\n\tcreateBasicRegistryKey,\n\tlookupInRegistry,\n\t// Due to this currently referencing several existing public types we do not want to stabilize as reexports from here,\n\t// do not reexport getContainerAudience for now.\n\t// getContainerAudience,\n} from \"@fluidframework/driver-definitions/internal\";\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"]}
|
|
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;AAyCtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAIzE,mDAAmD;AACnD,4FAA4F;AAC5F;;;;MAIG;AACH,cAAc,4BAA4B,CAAC;AAE3C,0EAA0E;AAC1E,+BAA+B;AAC/B,8BAA8B;AAC9B,kEAAkE;AAClE,4BAA4B;AAE5B,iHAAiH;AACjH,OAAO,EACN,eAAe,EACf,gCAAgC,GAChC,MAAM,6CAA6C,CAAC;AAuBrD,OAAO,EACN,sBAAsB,EACtB,cAAc,EACd,gBAAgB;AAChB,sHAAsH;AACtH,gDAAgD;AAChD,wBAAwB;EACxB,MAAM,6CAA6C,CAAC;AAIrD,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\tFluidReadonlyArray,\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\n// These are alpha APIs, but this package doesn't have an alpha entry point so they are imported from \"internal\".\nexport {\n\tdefineDataStore,\n\tsharedObjectRegistryFromIterable,\n} from \"@fluidframework/shared-object-base/internal\";\nexport type {\n\tDataStoreOptions,\n\tSharedObjectCreator,\n\tSharedObjectRegistry,\n\tSharedObjectKey,\n\tSharedObjectKindAlpha,\n\tDataStoreContext,\n} from \"@fluidframework/shared-object-base/internal\";\nexport type {\n\tDataStoreCreator,\n\tDataStoreKey,\n\tDataStoreKind,\n\tDataStoreRegistry,\n\tFluidContainer,\n\tFluidContainerAttached,\n\tFluidContainerWithService,\n\tOldestSupportedServiceClientVersion,\n\tRegistry,\n\tRegistryKey,\n\tServiceClient,\n\tServiceOptions,\n} from \"@fluidframework/driver-definitions/internal\";\nexport {\n\tcreateBasicRegistryKey,\n\tfeatureVersion,\n\tlookupInRegistry,\n\t// Due to this currently referencing several existing public types we do not want to stabilize as reexports from here,\n\t// do not reexport getContainerAudience for now.\n\t// getContainerAudience,\n} from \"@fluidframework/driver-definitions/internal\";\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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -166,6 +166,12 @@ export {
|
|
|
166
166
|
AnnotatedAllowedTypeUnsafe,
|
|
167
167
|
AnnotatedAllowedTypes,
|
|
168
168
|
AnnotatedAllowedTypesUnsafe,
|
|
169
|
+
ArrayNodeDeltaOp,
|
|
170
|
+
ArrayNodeInsertOp,
|
|
171
|
+
ArrayNodeRemoveOp,
|
|
172
|
+
ArrayNodeRetainOp,
|
|
173
|
+
ArrayNodeTreeChangedDeltaOp,
|
|
174
|
+
ArrayNodeTreeChangedRetainOp,
|
|
169
175
|
CodecWriteOptionsBeta,
|
|
170
176
|
ConciseTree,
|
|
171
177
|
ErasedBaseType,
|
|
@@ -182,6 +188,9 @@ export {
|
|
|
182
188
|
JsonCompatibleObject,
|
|
183
189
|
KeyEncodingOptions,
|
|
184
190
|
NodeChangedData,
|
|
191
|
+
NodeChangedDataDelta,
|
|
192
|
+
NodeChangedDataProperties,
|
|
193
|
+
NodeChangedDataTreeDelta,
|
|
185
194
|
ObjectSchemaOptions,
|
|
186
195
|
PopUnion,
|
|
187
196
|
RecordNodeInsertableData,
|
|
@@ -204,6 +213,7 @@ export {
|
|
|
204
213
|
TreeBeta,
|
|
205
214
|
TreeBranch,
|
|
206
215
|
TreeChangeEventsBeta,
|
|
216
|
+
TreeContextBeta,
|
|
207
217
|
TreeEncodingOptions,
|
|
208
218
|
TreeIndex,
|
|
209
219
|
TreeIndexKey,
|
|
@@ -223,6 +233,7 @@ export {
|
|
|
223
233
|
configuredSharedTreeBeta,
|
|
224
234
|
createIdentifierIndex,
|
|
225
235
|
createIndependentTreeBeta,
|
|
236
|
+
createIndependentTreeView,
|
|
226
237
|
createTreeIndex,
|
|
227
238
|
enumFromStrings,
|
|
228
239
|
onAssertionFailure,
|
package/lib/public.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib
|
|
8
|
+
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib" in @fluid-tools/build-cli.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -14,60 +14,46 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": {
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"require": {
|
|
22
|
-
"types": "./dist/public.d.ts",
|
|
23
|
-
"default": "./dist/index.js"
|
|
17
|
+
"types": "./lib/public.d.ts",
|
|
18
|
+
"default": "./lib/index.js",
|
|
19
|
+
"internal-entrypoint-generation": {
|
|
20
|
+
"types": "./dist/public.d.ts"
|
|
24
21
|
}
|
|
25
22
|
},
|
|
26
23
|
"./alpha": {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"require": {
|
|
32
|
-
"types": "./dist/alpha.d.ts",
|
|
33
|
-
"default": "./dist/index.js"
|
|
24
|
+
"types": "./lib/alpha.d.ts",
|
|
25
|
+
"default": "./lib/index.js",
|
|
26
|
+
"internal-entrypoint-generation": {
|
|
27
|
+
"types": "./dist/alpha.d.ts"
|
|
34
28
|
}
|
|
35
29
|
},
|
|
36
30
|
"./beta": {
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"require": {
|
|
42
|
-
"types": "./dist/beta.d.ts",
|
|
43
|
-
"default": "./dist/index.js"
|
|
31
|
+
"types": "./lib/beta.d.ts",
|
|
32
|
+
"default": "./lib/index.js",
|
|
33
|
+
"internal-entrypoint-generation": {
|
|
34
|
+
"types": "./dist/beta.d.ts"
|
|
44
35
|
}
|
|
45
36
|
},
|
|
46
37
|
"./legacy": {
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"require": {
|
|
52
|
-
"types": "./dist/legacy.d.ts",
|
|
53
|
-
"default": "./dist/index.js"
|
|
38
|
+
"types": "./lib/legacy.d.ts",
|
|
39
|
+
"default": "./lib/index.js",
|
|
40
|
+
"internal-entrypoint-generation": {
|
|
41
|
+
"types": "./dist/legacy.d.ts"
|
|
54
42
|
}
|
|
55
43
|
}
|
|
56
44
|
},
|
|
57
|
-
"main": "lib/index.js",
|
|
58
|
-
"types": "lib/public.d.ts",
|
|
59
45
|
"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": "~
|
|
46
|
+
"@fluidframework/container-definitions": "~3.0.0",
|
|
47
|
+
"@fluidframework/container-loader": "~3.0.0",
|
|
48
|
+
"@fluidframework/core-interfaces": "~3.0.0",
|
|
49
|
+
"@fluidframework/core-utils": "~3.0.0",
|
|
50
|
+
"@fluidframework/driver-definitions": "~3.0.0",
|
|
51
|
+
"@fluidframework/fluid-static": "~3.0.0",
|
|
52
|
+
"@fluidframework/map": "~3.0.0",
|
|
53
|
+
"@fluidframework/runtime-utils": "~3.0.0",
|
|
54
|
+
"@fluidframework/sequence": "~3.0.0",
|
|
55
|
+
"@fluidframework/shared-object-base": "~3.0.0",
|
|
56
|
+
"@fluidframework/tree": "~3.0.0"
|
|
71
57
|
},
|
|
72
58
|
"devDependencies": {
|
|
73
59
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
@@ -84,28 +70,36 @@
|
|
|
84
70
|
"fluid-framework-previous": "npm:fluid-framework@2.116.0",
|
|
85
71
|
"jiti": "^2.6.1",
|
|
86
72
|
"rimraf": "^6.1.3",
|
|
87
|
-
"typescript": "~
|
|
73
|
+
"typescript": "~6.0.3"
|
|
88
74
|
},
|
|
89
75
|
"typeValidation": {
|
|
90
76
|
"entrypoint": "public",
|
|
91
|
-
"broken": {
|
|
77
|
+
"broken": {
|
|
78
|
+
"Interface_LogLevelConst": {
|
|
79
|
+
"backCompat": false
|
|
80
|
+
},
|
|
81
|
+
"Variable_LogLevel": {
|
|
82
|
+
"backCompat": false
|
|
83
|
+
}
|
|
84
|
+
}
|
|
92
85
|
},
|
|
93
86
|
"scripts": {
|
|
94
87
|
"build": "fluid-build . --task build",
|
|
95
88
|
"build:api-reports": "concurrently \"npm:build:api-reports:*\"",
|
|
96
|
-
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
|
|
97
|
-
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
|
|
89
|
+
"build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor-report.current.json",
|
|
90
|
+
"build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor-report.legacy.json",
|
|
91
|
+
"build:cjs": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist",
|
|
98
92
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
99
93
|
"build:compile": "fluid-build . --task compile",
|
|
100
|
-
"build:docs": "api-extractor run --local",
|
|
94
|
+
"build:docs": "api-extractor run --local --config api-extractor/api-extractor-model.json",
|
|
101
95
|
"build:entrypoints": "fluid-build . --task build:entrypoints",
|
|
102
96
|
"build:entrypoints:cjs": "flub generate entrypoints --resolutionConditions require --outFileLegacyBeta legacy --outDir ./dist",
|
|
103
|
-
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib
|
|
104
|
-
"build:
|
|
97
|
+
"build:entrypoints:esm": "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib",
|
|
98
|
+
"build:esm": "tsc --project ./tsconfig.json",
|
|
105
99
|
"build:test": "concurrently npm:build:test:esm npm:build:test:cjs",
|
|
106
100
|
"build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
|
|
107
101
|
"build:test:esm": "tsc --project ./src/test/tsconfig.json",
|
|
108
|
-
"check:are-the-types-wrong": "attw --pack .",
|
|
102
|
+
"check:are-the-types-wrong": "attw --pack . --profile esm-only",
|
|
109
103
|
"check:biome": "biome check .",
|
|
110
104
|
"check:exports": "concurrently \"npm:check:exports:*\"",
|
|
111
105
|
"check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
|
|
@@ -118,10 +112,11 @@
|
|
|
118
112
|
"check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
|
|
119
113
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
120
114
|
"check:format": "npm run check:biome",
|
|
115
|
+
"check:types:inexactOptionalPropertyTypes": "tsc --project ./tsconfig.json --noEmit --exactOptionalPropertyTypes false --skipLibCheck --emitDeclarationOnly false --tsBuildInfoFile ./tsconfig.inexactOptionalPropertyTypes.tsbuildinfo",
|
|
121
116
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
122
|
-
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
123
|
-
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
124
|
-
"ci:build:docs": "api-extractor run",
|
|
117
|
+
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor-report.current.json",
|
|
118
|
+
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor-report.legacy.json",
|
|
119
|
+
"ci:build:docs": "api-extractor run --config api-extractor/api-extractor-model.json",
|
|
125
120
|
"clean": "rimraf --glob _api-extractor-temp dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\"",
|
|
126
121
|
"eslint": "eslint --quiet --format stylish src",
|
|
127
122
|
"eslint:fix": "eslint --quiet --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
@@ -129,7 +124,7 @@
|
|
|
129
124
|
"format:biome": "biome check . --write",
|
|
130
125
|
"lint": "fluid-build . --task lint",
|
|
131
126
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
132
|
-
"
|
|
127
|
+
"rebuild": "npm run clean && npm run build",
|
|
133
128
|
"typetests:gen": "flub generate typetests --dir . -v"
|
|
134
129
|
}
|
|
135
130
|
}
|
package/src/index.ts
CHANGED
|
@@ -122,6 +122,7 @@ export type {
|
|
|
122
122
|
} from "@fluidframework/driver-definitions/internal";
|
|
123
123
|
export {
|
|
124
124
|
createBasicRegistryKey,
|
|
125
|
+
featureVersion,
|
|
125
126
|
lookupInRegistry,
|
|
126
127
|
// Due to this currently referencing several existing public types we do not want to stabilize as reexports from here,
|
|
127
128
|
// do not reexport getContainerAudience for now.
|
package/tsconfig.json
CHANGED
package/alpha.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export * from "./lib/alpha.js";
|
package/beta.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export * from "./lib/beta.js";
|
package/legacy.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
8
|
-
* Generated by "flub generate entrypoints --outFileLegacyBeta legacy --outDir ./lib --node10TypeCompat" in @fluid-tools/build-cli.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
export * from "./lib/legacy.js";
|
|
File without changes
|
|
File without changes
|