fluid-framework 2.3.0-288113 → 2.3.1

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/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAiBH,+EAAoE;AAA3D,oHAAA,WAAW,OAAA;AACpB,qEAAmE;AAA1D,mHAAA,eAAe,OAAA;AAuCxB,mFAAmF;AACnF,gHAAgH;AAChH,gHAAgH;AAChH,qDAAqD;AACrD,+DAA+D;AAC/D,uDAAqC;AAUrC,4DAAiF;AAEjF;;;;;;;;;GASG;AACU,QAAA,UAAU,GAA4B,qBAAkB,CAAC;AAmBtE,yDAA0E;AAAjE,2GAAA,eAAe,OAAA;AAAE,qGAAA,SAAS,OAAA;AAsBnC,8DAO2C;AAN1C,wGAAA,YAAY,OAAA;AACZ,8GAAA,kBAAkB,OAAA;AAClB,yGAAA,aAAa,OAAA;AACb,4GAAA,gBAAgB,OAAA;AAChB,oHAAA,wBAAwB,OAAA;AACxB,wGAAA,YAAY,OAAA;AAcb,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 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 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\tITelemetryBaseProperties,\n\tIEventTransformer,\n\tIProvideFluidLoadable,\n\tIFluidHandleErased,\n\tTransformedEvent,\n\tTelemetryBaseEventPropertyType,\n\tTagged,\n\tReplaceIEventThisPlaceHolder,\n\tFluidObject, // Linked in doc comment\n\tFluidObjectProviderKeys, // Used by FluidObject\n} from \"@fluidframework/core-interfaces\";\n\nexport type { isFluidHandle } from \"@fluidframework/runtime-utils\";\n\n// Let the tree package manage its own API surface, we will simply reflect it here.\n// Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are\n// desired, they can be added by re-exporting from one of the package's aliased export paths instead (e.g. `tree\n// alpha` to surface everything `@alpha` and higher).\n// eslint-disable-next-line no-restricted-syntax, import/export\nexport * from \"@fluidframework/tree\";\n\n// End of basic public 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 { SharedTree as OriginalSharedTree } 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 `@alpha` 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 therefor it can discard that interface.\n * @public\n */\nexport const SharedTree: SharedObjectKind<ITree> = OriginalSharedTree;\n\n// #endregion Custom re-exports\n// #endregion Public exports\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\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalIndex,\n\tIntervalStickiness,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tSequencePlace,\n\tSharedStringSegment,\n\tSide,\n\tISharedSegmentSequence,\n} from \"@fluidframework/sequence/internal\";\n\nexport {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedString,\n} from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tISharedObject,\n\tISharedObjectEvents,\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,+EAAoE;AAA3D,oHAAA,WAAW,OAAA;AACpB,qEAAmE;AAA1D,mHAAA,eAAe,OAAA;AAuCxB,mDAAmD;AACnD,4FAA4F;AAC5F,4EAA4E;AAC5E,6DAA2C;AAU3C,4DAAiF;AAEjF;;;;;;;;;GASG;AACU,QAAA,UAAU,GAA4B,qBAAkB,CAAC;AAmBtE,yDAA0E;AAAjE,2GAAA,eAAe,OAAA;AAAE,qGAAA,SAAS,OAAA;AAsBnC,8DAO2C;AAN1C,wGAAA,YAAY,OAAA;AACZ,8GAAA,kBAAkB,OAAA;AAClB,yGAAA,aAAa,OAAA;AACb,4GAAA,gBAAgB,OAAA;AAChB,oHAAA,wBAAwB,OAAA;AACxB,wGAAA,YAAY,OAAA;AAcb,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 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\tITelemetryBaseProperties,\n\tIEventTransformer,\n\tIProvideFluidLoadable,\n\tIFluidHandleErased,\n\tTransformedEvent,\n\tTelemetryBaseEventPropertyType,\n\tTagged,\n\tReplaceIEventThisPlaceHolder,\n\tFluidObject, // Linked in doc comment\n\tFluidObjectProviderKeys, // Used by FluidObject\n} from \"@fluidframework/core-interfaces\";\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 no-restricted-syntax, import/no-internal-modules\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 { SharedTree as OriginalSharedTree } 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 `@alpha` 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 therefor it can discard that interface.\n * @public\n */\nexport const SharedTree: SharedObjectKind<ITree> = OriginalSharedTree;\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\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalIndex,\n\tIntervalStickiness,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tSequencePlace,\n\tSharedStringSegment,\n\tSide,\n\tISharedSegmentSequence,\n} from \"@fluidframework/sequence/internal\";\n\nexport {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedString,\n} from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tISharedObject,\n\tISharedObjectEvents,\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/dist/legacy.d.ts CHANGED
@@ -76,7 +76,6 @@ export {
76
76
  MapNodeInsertableData,
77
77
  MemberChangedListener,
78
78
  Myself,
79
- NodeChangedData,
80
79
  NodeFromSchema,
81
80
  NodeInDocumentConstraint,
82
81
  NodeKind,
package/dist/public.d.ts CHANGED
@@ -76,7 +76,6 @@ export {
76
76
  MapNodeInsertableData,
77
77
  MemberChangedListener,
78
78
  Myself,
79
- NodeChangedData,
80
79
  NodeFromSchema,
81
80
  NodeInDocumentConstraint,
82
81
  NodeKind,
package/lib/alpha.d.ts ADDED
@@ -0,0 +1,146 @@
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" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client
13
+ * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluidframework/odsp-client (BETA)`).
14
+ *
15
+ * @packageDocumentation
16
+ */
17
+
18
+ export {
19
+ // Unrestricted APIs
20
+ InternalTypes,
21
+
22
+ // @public APIs
23
+ AllowedTypes,
24
+ AttachState,
25
+ CommitKind,
26
+ CommitMetadata,
27
+ ConnectionState,
28
+ ConnectionStateType,
29
+ ContainerAttachProps,
30
+ ContainerSchema,
31
+ ErasedType,
32
+ FieldKind,
33
+ FieldProps,
34
+ FieldSchema,
35
+ FieldSchemaUnsafe,
36
+ FluidObject,
37
+ FluidObjectProviderKeys,
38
+ IConnection,
39
+ ICriticalContainerError,
40
+ IDisposable,
41
+ IErrorBase,
42
+ IErrorEvent,
43
+ IEvent,
44
+ IEventProvider,
45
+ IEventThisPlaceHolder,
46
+ IEventTransformer,
47
+ IFluidContainer,
48
+ IFluidContainerEvents,
49
+ IFluidHandle,
50
+ IFluidHandleErased,
51
+ IFluidLoadable,
52
+ IMember,
53
+ IProvideFluidLoadable,
54
+ IServiceAudience,
55
+ IServiceAudienceEvents,
56
+ ITelemetryBaseProperties,
57
+ ITree,
58
+ ITreeConfigurationOptions,
59
+ ITreeViewConfiguration,
60
+ ImplicitAllowedTypes,
61
+ ImplicitFieldSchema,
62
+ InitialObjects,
63
+ InsertableObjectFromSchemaRecordUnsafe,
64
+ InsertableTreeFieldFromImplicitField,
65
+ InsertableTreeFieldFromImplicitFieldUnsafe,
66
+ InsertableTreeNodeFromImplicitAllowedTypes,
67
+ InsertableTreeNodeFromImplicitAllowedTypesUnsafe,
68
+ InsertableTypedNode,
69
+ InternalTreeNode,
70
+ IsListener,
71
+ IterableTreeArrayContent,
72
+ LazyItem,
73
+ Listenable,
74
+ Listeners,
75
+ MakeNominal,
76
+ MapNodeInsertableData,
77
+ MemberChangedListener,
78
+ Myself,
79
+ NodeFromSchema,
80
+ NodeInDocumentConstraint,
81
+ NodeKind,
82
+ Off,
83
+ ReplaceIEventThisPlaceHolder,
84
+ RestrictiveReadonlyRecord,
85
+ Revertible,
86
+ RevertibleFactory,
87
+ RevertibleStatus,
88
+ RunTransaction,
89
+ SchemaCompatibilityStatus,
90
+ SchemaFactory,
91
+ SharedObjectKind,
92
+ SharedTree,
93
+ Tagged,
94
+ TelemetryBaseEventPropertyType,
95
+ TransactionConstraint,
96
+ TransformedEvent,
97
+ Tree,
98
+ TreeArrayNode,
99
+ TreeArrayNodeUnsafe,
100
+ TreeChangeEvents,
101
+ TreeFieldFromImplicitField,
102
+ TreeLeafValue,
103
+ TreeMapNode,
104
+ TreeMapNodeUnsafe,
105
+ TreeNode,
106
+ TreeNodeApi,
107
+ TreeNodeFromImplicitAllowedTypes,
108
+ TreeNodeSchema,
109
+ TreeNodeSchemaClass,
110
+ TreeNodeSchemaCore,
111
+ TreeObjectNode,
112
+ TreeObjectNodeUnsafe,
113
+ TreeStatus,
114
+ TreeView,
115
+ TreeViewConfiguration,
116
+ TreeViewEvents,
117
+ Unenforced,
118
+ Unhydrated,
119
+ ValidateRecursiveSchema,
120
+ WithType,
121
+ isFluidHandle,
122
+ rollback,
123
+ typeSchemaSymbol,
124
+
125
+ // @beta APIs
126
+ NodeChangedData,
127
+ TreeBeta,
128
+ TreeChangeEventsBeta,
129
+
130
+ // @alpha APIs
131
+ FixRecursiveArraySchema,
132
+ JsonArrayNodeSchema,
133
+ JsonFieldSchema,
134
+ JsonLeafNodeSchema,
135
+ JsonLeafSchemaType,
136
+ JsonMapNodeSchema,
137
+ JsonNodeSchema,
138
+ JsonNodeSchemaBase,
139
+ JsonObjectNodeSchema,
140
+ JsonRefPath,
141
+ JsonSchemaId,
142
+ JsonSchemaRef,
143
+ JsonSchemaType,
144
+ JsonTreeSchema,
145
+ getJsonSchema
146
+ } from "./index.js";
package/lib/beta.d.ts ADDED
@@ -0,0 +1,129 @@
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" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * Bundles a collection of Fluid Framework client libraries for easy use when paired with a corresponding service client
13
+ * package (e.g. `@fluidframework/azure-client`, `@fluidframework/tinylicious-client`, or `@fluidframework/odsp-client (BETA)`).
14
+ *
15
+ * @packageDocumentation
16
+ */
17
+
18
+ export {
19
+ // Unrestricted APIs
20
+ InternalTypes,
21
+
22
+ // @public APIs
23
+ AllowedTypes,
24
+ AttachState,
25
+ CommitKind,
26
+ CommitMetadata,
27
+ ConnectionState,
28
+ ConnectionStateType,
29
+ ContainerAttachProps,
30
+ ContainerSchema,
31
+ ErasedType,
32
+ FieldKind,
33
+ FieldProps,
34
+ FieldSchema,
35
+ FieldSchemaUnsafe,
36
+ FluidObject,
37
+ FluidObjectProviderKeys,
38
+ IConnection,
39
+ ICriticalContainerError,
40
+ IDisposable,
41
+ IErrorBase,
42
+ IErrorEvent,
43
+ IEvent,
44
+ IEventProvider,
45
+ IEventThisPlaceHolder,
46
+ IEventTransformer,
47
+ IFluidContainer,
48
+ IFluidContainerEvents,
49
+ IFluidHandle,
50
+ IFluidHandleErased,
51
+ IFluidLoadable,
52
+ IMember,
53
+ IProvideFluidLoadable,
54
+ IServiceAudience,
55
+ IServiceAudienceEvents,
56
+ ITelemetryBaseProperties,
57
+ ITree,
58
+ ITreeConfigurationOptions,
59
+ ITreeViewConfiguration,
60
+ ImplicitAllowedTypes,
61
+ ImplicitFieldSchema,
62
+ InitialObjects,
63
+ InsertableObjectFromSchemaRecordUnsafe,
64
+ InsertableTreeFieldFromImplicitField,
65
+ InsertableTreeFieldFromImplicitFieldUnsafe,
66
+ InsertableTreeNodeFromImplicitAllowedTypes,
67
+ InsertableTreeNodeFromImplicitAllowedTypesUnsafe,
68
+ InsertableTypedNode,
69
+ InternalTreeNode,
70
+ IsListener,
71
+ IterableTreeArrayContent,
72
+ LazyItem,
73
+ Listenable,
74
+ Listeners,
75
+ MakeNominal,
76
+ MapNodeInsertableData,
77
+ MemberChangedListener,
78
+ Myself,
79
+ NodeFromSchema,
80
+ NodeInDocumentConstraint,
81
+ NodeKind,
82
+ Off,
83
+ ReplaceIEventThisPlaceHolder,
84
+ RestrictiveReadonlyRecord,
85
+ Revertible,
86
+ RevertibleFactory,
87
+ RevertibleStatus,
88
+ RunTransaction,
89
+ SchemaCompatibilityStatus,
90
+ SchemaFactory,
91
+ SharedObjectKind,
92
+ SharedTree,
93
+ Tagged,
94
+ TelemetryBaseEventPropertyType,
95
+ TransactionConstraint,
96
+ TransformedEvent,
97
+ Tree,
98
+ TreeArrayNode,
99
+ TreeArrayNodeUnsafe,
100
+ TreeChangeEvents,
101
+ TreeFieldFromImplicitField,
102
+ TreeLeafValue,
103
+ TreeMapNode,
104
+ TreeMapNodeUnsafe,
105
+ TreeNode,
106
+ TreeNodeApi,
107
+ TreeNodeFromImplicitAllowedTypes,
108
+ TreeNodeSchema,
109
+ TreeNodeSchemaClass,
110
+ TreeNodeSchemaCore,
111
+ TreeObjectNode,
112
+ TreeObjectNodeUnsafe,
113
+ TreeStatus,
114
+ TreeView,
115
+ TreeViewConfiguration,
116
+ TreeViewEvents,
117
+ Unenforced,
118
+ Unhydrated,
119
+ ValidateRecursiveSchema,
120
+ WithType,
121
+ isFluidHandle,
122
+ rollback,
123
+ typeSchemaSymbol,
124
+
125
+ // @beta APIs
126
+ NodeChangedData,
127
+ TreeBeta,
128
+ TreeChangeEventsBeta
129
+ } from "./index.js";
package/lib/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export type { SharedObjectKind } from "@fluidframework/shared-object-base";
17
17
  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
18
  FluidObjectProviderKeys, } from "@fluidframework/core-interfaces";
19
19
  export type { isFluidHandle } from "@fluidframework/runtime-utils";
20
- export * from "@fluidframework/tree";
20
+ export * from "@fluidframework/tree/alpha";
21
21
  import type { SharedObjectKind } from "@fluidframework/shared-object-base";
22
22
  import type { ITree } from "@fluidframework/tree";
23
23
  /**
@@ -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,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,wBAAwB,EACxB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,8BAA8B,EAC9B,MAAM,EACN,4BAA4B,EAC5B,WAAW,EAAE,wBAAwB;AACrC,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAOnE,cAAc,sBAAsB,CAAC;AAQrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAGlD;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,gBAAgB,CAAC,KAAK,CAAsB,CAAC;AAQtE,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,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,IAAI,EACJ,sBAAsB,GACtB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,YAAY,GACZ,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EACX,aAAa,EACb,mBAAmB,GACnB,MAAM,6CAA6C,CAAC;AAErD,YAAY,EACX,yBAAyB,EAAE,iCAAiC;AAC5D,aAAa,EAAE,yCAAyC;AACxD,MAAM,GACN,MAAM,6CAA6C,CAAC"}
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,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,wBAAwB,EACxB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,8BAA8B,EAC9B,MAAM,EACN,4BAA4B,EAC5B,WAAW,EAAE,wBAAwB;AACrC,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AAEzC,YAAY,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAKnE,cAAc,4BAA4B,CAAC;AAQ3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAGlD;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,gBAAgB,CAAC,KAAK,CAAsB,CAAC;AAQtE,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,wBAAwB,EACxB,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,aAAa,EACb,aAAa,EACb,mBAAmB,EACnB,IAAI,EACJ,sBAAsB,GACtB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,YAAY,GACZ,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EACX,aAAa,EACb,mBAAmB,GACnB,MAAM,6CAA6C,CAAC;AAErD,YAAY,EACX,yBAAyB,EAAE,iCAAiC;AAC5D,aAAa,EAAE,yCAAyC;AACxD,MAAM,GACN,MAAM,6CAA6C,CAAC"}
package/lib/index.js CHANGED
@@ -4,12 +4,10 @@
4
4
  */
5
5
  export { AttachState } from "@fluidframework/container-definitions";
6
6
  export { ConnectionState } from "@fluidframework/container-loader";
7
- // Let the tree package manage its own API surface, we will simply reflect it here.
8
- // Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are
9
- // desired, they can be added by re-exporting from one of the package's aliased export paths instead (e.g. `tree
10
- // alpha` to surface everything `@alpha` and higher).
11
- // eslint-disable-next-line no-restricted-syntax, import/export
12
- export * from "@fluidframework/tree";
7
+ // Let the tree package manage its own API surface.
8
+ // Note: this only surfaces the `@public, @beta and @alpha` API items from the tree package.
9
+ // eslint-disable-next-line no-restricted-syntax, import/no-internal-modules
10
+ export * from "@fluidframework/tree/alpha";
13
11
  import { SharedTree as OriginalSharedTree } from "@fluidframework/tree/internal";
14
12
  /**
15
13
  * A hierarchical data structure for collaboratively editing strongly typed JSON-like trees
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;AAuCnE,mFAAmF;AACnF,gHAAgH;AAChH,gHAAgH;AAChH,qDAAqD;AACrD,+DAA+D;AAC/D,cAAc,sBAAsB,CAAC;AAUrC,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEjF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAA4B,kBAAkB,CAAC;AAmBtE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAsB1E,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,YAAY,GACZ,MAAM,mCAAmC,CAAC;AAa3C,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 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 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\tITelemetryBaseProperties,\n\tIEventTransformer,\n\tIProvideFluidLoadable,\n\tIFluidHandleErased,\n\tTransformedEvent,\n\tTelemetryBaseEventPropertyType,\n\tTagged,\n\tReplaceIEventThisPlaceHolder,\n\tFluidObject, // Linked in doc comment\n\tFluidObjectProviderKeys, // Used by FluidObject\n} from \"@fluidframework/core-interfaces\";\n\nexport type { isFluidHandle } from \"@fluidframework/runtime-utils\";\n\n// Let the tree package manage its own API surface, we will simply reflect it here.\n// Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are\n// desired, they can be added by re-exporting from one of the package's aliased export paths instead (e.g. `tree\n// alpha` to surface everything `@alpha` and higher).\n// eslint-disable-next-line no-restricted-syntax, import/export\nexport * from \"@fluidframework/tree\";\n\n// End of basic public 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 { SharedTree as OriginalSharedTree } 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 `@alpha` 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 therefor it can discard that interface.\n * @public\n */\nexport const SharedTree: SharedObjectKind<ITree> = OriginalSharedTree;\n\n// #endregion Custom re-exports\n// #endregion Public exports\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\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalIndex,\n\tIntervalStickiness,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tSequencePlace,\n\tSharedStringSegment,\n\tSide,\n\tISharedSegmentSequence,\n} from \"@fluidframework/sequence/internal\";\n\nexport {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedString,\n} from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tISharedObject,\n\tISharedObjectEvents,\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;AAuCnE,mDAAmD;AACnD,4FAA4F;AAC5F,4EAA4E;AAC5E,cAAc,4BAA4B,CAAC;AAU3C,OAAO,EAAE,UAAU,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEjF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAA4B,kBAAkB,CAAC;AAmBtE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAsB1E,OAAO,EACN,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,YAAY,GACZ,MAAM,mCAAmC,CAAC;AAa3C,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 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\tITelemetryBaseProperties,\n\tIEventTransformer,\n\tIProvideFluidLoadable,\n\tIFluidHandleErased,\n\tTransformedEvent,\n\tTelemetryBaseEventPropertyType,\n\tTagged,\n\tReplaceIEventThisPlaceHolder,\n\tFluidObject, // Linked in doc comment\n\tFluidObjectProviderKeys, // Used by FluidObject\n} from \"@fluidframework/core-interfaces\";\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 no-restricted-syntax, import/no-internal-modules\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 { SharedTree as OriginalSharedTree } 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 `@alpha` 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 therefor it can discard that interface.\n * @public\n */\nexport const SharedTree: SharedObjectKind<ITree> = OriginalSharedTree;\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\tIIntervalCollectionEvent,\n\tIIntervalCollection,\n\tIntervalIndex,\n\tIntervalStickiness,\n\tISequenceDeltaRange,\n\tISerializableInterval,\n\tISerializedInterval,\n\tISharedIntervalCollection,\n\tISharedSegmentSequenceEvents,\n\tISharedString,\n\tSequencePlace,\n\tSharedStringSegment,\n\tSide,\n\tISharedSegmentSequence,\n} from \"@fluidframework/sequence/internal\";\n\nexport {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n\tSharedString,\n} from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tISharedObject,\n\tISharedObjectEvents,\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
@@ -76,7 +76,6 @@ export {
76
76
  MapNodeInsertableData,
77
77
  MemberChangedListener,
78
78
  Myself,
79
- NodeChangedData,
80
79
  NodeFromSchema,
81
80
  NodeInDocumentConstraint,
82
81
  NodeKind,
package/lib/public.d.ts CHANGED
@@ -76,7 +76,6 @@ export {
76
76
  MapNodeInsertableData,
77
77
  MemberChangedListener,
78
78
  Myself,
79
- NodeChangedData,
80
79
  NodeFromSchema,
81
80
  NodeInDocumentConstraint,
82
81
  NodeKind,
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.45.1"
8
+ "packageVersion": "7.47.8"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluid-framework",
3
- "version": "2.3.0-288113",
3
+ "version": "2.3.1",
4
4
  "description": "The main entry point into Fluid Framework public packages",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -23,6 +23,26 @@
23
23
  "default": "./dist/index.js"
24
24
  }
25
25
  },
26
+ "./alpha": {
27
+ "import": {
28
+ "types": "./lib/alpha.d.ts",
29
+ "default": "./lib/index.js"
30
+ },
31
+ "require": {
32
+ "types": "./dist/alpha.d.ts",
33
+ "default": "./dist/index.js"
34
+ }
35
+ },
36
+ "./beta": {
37
+ "import": {
38
+ "types": "./lib/beta.d.ts",
39
+ "default": "./lib/index.js"
40
+ },
41
+ "require": {
42
+ "types": "./dist/beta.d.ts",
43
+ "default": "./dist/index.js"
44
+ }
45
+ },
26
46
  "./legacy": {
27
47
  "import": {
28
48
  "types": "./lib/legacy.d.ts",
@@ -37,25 +57,25 @@
37
57
  "main": "lib/index.js",
38
58
  "types": "lib/public.d.ts",
39
59
  "dependencies": {
40
- "@fluidframework/container-definitions": "2.3.0-288113",
41
- "@fluidframework/container-loader": "2.3.0-288113",
42
- "@fluidframework/core-interfaces": "2.3.0-288113",
43
- "@fluidframework/driver-definitions": "2.3.0-288113",
44
- "@fluidframework/fluid-static": "2.3.0-288113",
45
- "@fluidframework/map": "2.3.0-288113",
46
- "@fluidframework/runtime-utils": "2.3.0-288113",
47
- "@fluidframework/sequence": "2.3.0-288113",
48
- "@fluidframework/shared-object-base": "2.3.0-288113",
49
- "@fluidframework/tree": "2.3.0-288113"
60
+ "@fluidframework/container-definitions": "~2.3.1",
61
+ "@fluidframework/container-loader": "~2.3.1",
62
+ "@fluidframework/core-interfaces": "~2.3.1",
63
+ "@fluidframework/driver-definitions": "~2.3.1",
64
+ "@fluidframework/fluid-static": "~2.3.1",
65
+ "@fluidframework/map": "~2.3.1",
66
+ "@fluidframework/runtime-utils": "~2.3.1",
67
+ "@fluidframework/sequence": "~2.3.1",
68
+ "@fluidframework/shared-object-base": "~2.3.1",
69
+ "@fluidframework/tree": "~2.3.1"
50
70
  },
51
71
  "devDependencies": {
52
72
  "@arethetypeswrong/cli": "^0.15.2",
53
73
  "@biomejs/biome": "~1.8.3",
54
- "@fluid-tools/build-cli": "^0.43.0",
74
+ "@fluid-tools/build-cli": "^0.46.0",
55
75
  "@fluidframework/build-common": "^2.0.3",
56
- "@fluidframework/build-tools": "^0.43.0",
57
- "@fluidframework/eslint-config-fluid": "^5.3.0",
58
- "@microsoft/api-extractor": "^7.45.1",
76
+ "@fluidframework/build-tools": "^0.46.0",
77
+ "@fluidframework/eslint-config-fluid": "^5.4.0",
78
+ "@microsoft/api-extractor": "7.47.8",
59
79
  "@types/node": "^18.19.0",
60
80
  "concurrently": "^8.2.1",
61
81
  "copyfiles": "^2.4.1",
@@ -66,14 +86,20 @@
66
86
  },
67
87
  "fluidBuild": {
68
88
  "tasks": {
89
+ "build:esnext": [
90
+ "...",
91
+ "typetests:gen"
92
+ ],
69
93
  "tsc": [
94
+ "...",
70
95
  "typetests:gen"
71
96
  ]
72
97
  }
73
98
  },
74
99
  "typeValidation": {
75
100
  "disabled": true,
76
- "broken": {}
101
+ "broken": {},
102
+ "entrypoint": "internal"
77
103
  },
78
104
  "scripts": {
79
105
  "api": "fluid-build . --task api",
@@ -91,8 +117,12 @@
91
117
  "check:biome": "biome check .",
92
118
  "check:exports": "concurrently \"npm:check:exports:*\"",
93
119
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
120
+ "check:exports:cjs:alpha": "api-extractor run --config api-extractor/api-extractor-lint-alpha.cjs.json",
121
+ "check:exports:cjs:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.cjs.json",
94
122
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
95
123
  "check:exports:cjs:public": "api-extractor run --config api-extractor/api-extractor-lint-public.cjs.json",
124
+ "check:exports:esm:alpha": "api-extractor run --config api-extractor/api-extractor-lint-alpha.esm.json",
125
+ "check:exports:esm:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.esm.json",
96
126
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
97
127
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
98
128
  "check:format": "npm run check:biome",
package/src/index.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  */
12
12
 
13
13
  // ===============================================================
14
- // #region Public exports
14
+ // #region Public, Beta and Alpha (non-legacy) exports
15
15
  // #region Basic re-exports
16
16
 
17
17
  export type {
@@ -58,14 +58,12 @@ export type {
58
58
 
59
59
  export type { isFluidHandle } from "@fluidframework/runtime-utils";
60
60
 
61
- // Let the tree package manage its own API surface, we will simply reflect it here.
62
- // Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are
63
- // desired, they can be added by re-exporting from one of the package's aliased export paths instead (e.g. `tree
64
- // alpha` to surface everything `@alpha` and higher).
65
- // eslint-disable-next-line no-restricted-syntax, import/export
66
- export * from "@fluidframework/tree";
61
+ // Let the tree package manage its own API surface.
62
+ // Note: this only surfaces the `@public, @beta and @alpha` API items from the tree package.
63
+ // eslint-disable-next-line no-restricted-syntax, import/no-internal-modules
64
+ export * from "@fluidframework/tree/alpha";
67
65
 
68
- // End of basic public exports - nothing above this line should
66
+ // End of basic public+beta+alpha exports - nothing above this line should
69
67
  // depend on an /internal path.
70
68
  // #endregion Basic re-exports
71
69
  // ---------------------------------------------------------------
@@ -88,7 +86,7 @@ import { SharedTree as OriginalSharedTree } from "@fluidframework/tree/internal"
88
86
  export const SharedTree: SharedObjectKind<ITree> = OriginalSharedTree;
89
87
 
90
88
  // #endregion Custom re-exports
91
- // #endregion Public exports
89
+ // #endregion
92
90
 
93
91
  // ===============================================================
94
92
  // #region Legacy exports