fluid-framework 2.0.0-dev-rc.5.0.0.265721 → 2.0.0-dev-rc.5.0.0.268409

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;AAgBxB,mFAAmF;AACnF,gHAAgH;AAChH,gHAAgH;AAChH,qDAAqD;AACrD,+DAA+D;AAC/D,uDAAqC;AAUrC,4DAAiF;AAEjF;;;;;;;;;GASG;AACH,4FAA4F;AAC5F,yCAAyC;AAC5B,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;AAQb,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 `@fluid-experimental/osdp-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\";\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 */\n// Remove this and above lint disable after using @fluidframework/eslint-config-fluid ^5.3.0\n// eslint-disable-next-line import/export\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\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;AAsBxB,mFAAmF;AACnF,gHAAgH;AAChH,gHAAgH;AAChH,qDAAqD;AACrD,+DAA+D;AAC/D,uDAAqC;AAUrC,4DAAiF;AAEjF;;;;;;;;;GASG;AACH,4FAA4F;AAC5F,yCAAyC;AAC5B,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;AAQb,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 `@fluid-experimental/osdp-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\";\n\nexport type {\n\tISequencedDocumentMessage, // Leaked via ISharedObjectEvents\n\tIBranchOrigin, // Required for ISequencedDocumentMessage\n\tITrace, // Required for ISequencedDocumentMessage\n} from \"@fluidframework/driver-definitions\";\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 */\n// Remove this and above lint disable after using @fluidframework/eslint-config-fluid ^5.3.0\n// eslint-disable-next-line import/export\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\n// #endregion Legacy exports\n"]}
package/dist/legacy.d.ts CHANGED
@@ -20,7 +20,6 @@ export {
20
20
  ContainerAttachProps,
21
21
  ContainerSchema,
22
22
  DefaultProvider,
23
- Events,
24
23
  ExtractItemType,
25
24
  FieldKind,
26
25
  FieldProps,
@@ -28,15 +27,16 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
- IDisposable,
34
33
  IFluidContainer,
35
34
  IFluidContainerEvents,
36
35
  IMember,
36
+ ISequencedDocumentMessage,
37
37
  IServiceAudience,
38
38
  IServiceAudienceEvents,
39
- ISubscribable,
39
+ ITrace,
40
40
  ITree,
41
41
  ITreeConfigurationOptions,
42
42
  ImplicitAllowedTypes,
@@ -51,9 +51,11 @@ export {
51
51
  InsertableTypedNode,
52
52
  InsertableTypedNodeUnsafe,
53
53
  InternalTreeNode,
54
- IsEvent,
54
+ IsListener,
55
55
  IterableTreeArrayContent,
56
56
  LazyItem,
57
+ Listenable,
58
+ Listeners,
57
59
  MakeNominal,
58
60
  MemberChangedListener,
59
61
  Myself,
@@ -65,6 +67,7 @@ export {
65
67
  NodeKind,
66
68
  ObjectFromSchemaRecord,
67
69
  ObjectFromSchemaRecordUnsafe,
70
+ Off,
68
71
  RestrictiveReadonlyRecord,
69
72
  Revertible,
70
73
  RevertibleFactory,
@@ -105,7 +108,6 @@ export {
105
108
  Unhydrated,
106
109
  ValidateRecursiveSchema,
107
110
  WithType,
108
- disposeSymbol,
109
111
  rollback,
110
112
  type,
111
113
 
package/dist/public.d.ts CHANGED
@@ -20,7 +20,6 @@ export {
20
20
  ContainerAttachProps,
21
21
  ContainerSchema,
22
22
  DefaultProvider,
23
- Events,
24
23
  ExtractItemType,
25
24
  FieldKind,
26
25
  FieldProps,
@@ -28,15 +27,16 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
- IDisposable,
34
33
  IFluidContainer,
35
34
  IFluidContainerEvents,
36
35
  IMember,
36
+ ISequencedDocumentMessage,
37
37
  IServiceAudience,
38
38
  IServiceAudienceEvents,
39
- ISubscribable,
39
+ ITrace,
40
40
  ITree,
41
41
  ITreeConfigurationOptions,
42
42
  ImplicitAllowedTypes,
@@ -51,9 +51,11 @@ export {
51
51
  InsertableTypedNode,
52
52
  InsertableTypedNodeUnsafe,
53
53
  InternalTreeNode,
54
- IsEvent,
54
+ IsListener,
55
55
  IterableTreeArrayContent,
56
56
  LazyItem,
57
+ Listenable,
58
+ Listeners,
57
59
  MakeNominal,
58
60
  MemberChangedListener,
59
61
  Myself,
@@ -65,6 +67,7 @@ export {
65
67
  NodeKind,
66
68
  ObjectFromSchemaRecord,
67
69
  ObjectFromSchemaRecordUnsafe,
70
+ Off,
68
71
  RestrictiveReadonlyRecord,
69
72
  Revertible,
70
73
  RevertibleFactory,
@@ -105,7 +108,6 @@ export {
105
108
  Unhydrated,
106
109
  ValidateRecursiveSchema,
107
110
  WithType,
108
- disposeSymbol,
109
111
  rollback,
110
112
  type
111
113
  } from "./index.js";
package/lib/index.d.ts CHANGED
@@ -14,6 +14,9 @@ export { AttachState } from "@fluidframework/container-definitions";
14
14
  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 type { SharedObjectKind } from "@fluidframework/shared-object-base";
17
+ export type { ISequencedDocumentMessage, // Leaked via ISharedObjectEvents
18
+ IBranchOrigin, // Required for ISequencedDocumentMessage
19
+ ITrace, } from "@fluidframework/driver-definitions";
17
20
  export * from "@fluidframework/tree";
18
21
  import type { SharedObjectKind } from "@fluidframework/shared-object-base";
19
22
  import type { ITree } from "@fluidframework/tree";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAMH,YAAY,EACX,eAAe,I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AAmB,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"}
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;AAgBnE,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,4FAA4F;AAC5F,yCAAyC;AACzC,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;AAO3C,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 `@fluid-experimental/osdp-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\";\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 */\n// Remove this and above lint disable after using @fluidframework/eslint-config-fluid ^5.3.0\n// eslint-disable-next-line import/export\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\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;AAsBnE,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,4FAA4F;AAC5F,yCAAyC;AACzC,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;AAO3C,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 `@fluid-experimental/osdp-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\";\n\nexport type {\n\tISequencedDocumentMessage, // Leaked via ISharedObjectEvents\n\tIBranchOrigin, // Required for ISequencedDocumentMessage\n\tITrace, // Required for ISequencedDocumentMessage\n} from \"@fluidframework/driver-definitions\";\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 */\n// Remove this and above lint disable after using @fluidframework/eslint-config-fluid ^5.3.0\n// eslint-disable-next-line import/export\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\n// #endregion Legacy exports\n"]}
package/lib/legacy.d.ts CHANGED
@@ -20,7 +20,6 @@ export {
20
20
  ContainerAttachProps,
21
21
  ContainerSchema,
22
22
  DefaultProvider,
23
- Events,
24
23
  ExtractItemType,
25
24
  FieldKind,
26
25
  FieldProps,
@@ -28,15 +27,16 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
- IDisposable,
34
33
  IFluidContainer,
35
34
  IFluidContainerEvents,
36
35
  IMember,
36
+ ISequencedDocumentMessage,
37
37
  IServiceAudience,
38
38
  IServiceAudienceEvents,
39
- ISubscribable,
39
+ ITrace,
40
40
  ITree,
41
41
  ITreeConfigurationOptions,
42
42
  ImplicitAllowedTypes,
@@ -51,9 +51,11 @@ export {
51
51
  InsertableTypedNode,
52
52
  InsertableTypedNodeUnsafe,
53
53
  InternalTreeNode,
54
- IsEvent,
54
+ IsListener,
55
55
  IterableTreeArrayContent,
56
56
  LazyItem,
57
+ Listenable,
58
+ Listeners,
57
59
  MakeNominal,
58
60
  MemberChangedListener,
59
61
  Myself,
@@ -65,6 +67,7 @@ export {
65
67
  NodeKind,
66
68
  ObjectFromSchemaRecord,
67
69
  ObjectFromSchemaRecordUnsafe,
70
+ Off,
68
71
  RestrictiveReadonlyRecord,
69
72
  Revertible,
70
73
  RevertibleFactory,
@@ -105,7 +108,6 @@ export {
105
108
  Unhydrated,
106
109
  ValidateRecursiveSchema,
107
110
  WithType,
108
- disposeSymbol,
109
111
  rollback,
110
112
  type,
111
113
 
package/lib/public.d.ts CHANGED
@@ -20,7 +20,6 @@ export {
20
20
  ContainerAttachProps,
21
21
  ContainerSchema,
22
22
  DefaultProvider,
23
- Events,
24
23
  ExtractItemType,
25
24
  FieldKind,
26
25
  FieldProps,
@@ -28,15 +27,16 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
- IDisposable,
34
33
  IFluidContainer,
35
34
  IFluidContainerEvents,
36
35
  IMember,
36
+ ISequencedDocumentMessage,
37
37
  IServiceAudience,
38
38
  IServiceAudienceEvents,
39
- ISubscribable,
39
+ ITrace,
40
40
  ITree,
41
41
  ITreeConfigurationOptions,
42
42
  ImplicitAllowedTypes,
@@ -51,9 +51,11 @@ export {
51
51
  InsertableTypedNode,
52
52
  InsertableTypedNodeUnsafe,
53
53
  InternalTreeNode,
54
- IsEvent,
54
+ IsListener,
55
55
  IterableTreeArrayContent,
56
56
  LazyItem,
57
+ Listenable,
58
+ Listeners,
57
59
  MakeNominal,
58
60
  MemberChangedListener,
59
61
  Myself,
@@ -65,6 +67,7 @@ export {
65
67
  NodeKind,
66
68
  ObjectFromSchemaRecord,
67
69
  ObjectFromSchemaRecordUnsafe,
70
+ Off,
68
71
  RestrictiveReadonlyRecord,
69
72
  Revertible,
70
73
  RevertibleFactory,
@@ -105,7 +108,6 @@ export {
105
108
  Unhydrated,
106
109
  ValidateRecursiveSchema,
107
110
  WithType,
108
- disposeSymbol,
109
111
  rollback,
110
112
  type
111
113
  } from "./index.js";
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.1"
8
+ "packageVersion": "7.45.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluid-framework",
3
- "version": "2.0.0-dev-rc.5.0.0.265721",
3
+ "version": "2.0.0-dev-rc.5.0.0.268409",
4
4
  "description": "The main entry point into Fluid Framework public packages",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -37,29 +37,29 @@
37
37
  "main": "lib/index.js",
38
38
  "types": "lib/public.d.ts",
39
39
  "dependencies": {
40
- "@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.265721",
41
- "@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.265721",
42
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.265721",
43
- "@fluidframework/fluid-static": "2.0.0-dev-rc.5.0.0.265721",
44
- "@fluidframework/map": "2.0.0-dev-rc.5.0.0.265721",
45
- "@fluidframework/sequence": "2.0.0-dev-rc.5.0.0.265721",
46
- "@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.265721",
47
- "@fluidframework/tree": "2.0.0-dev-rc.5.0.0.265721"
40
+ "@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.268409",
41
+ "@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.268409",
42
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
43
+ "@fluidframework/fluid-static": "2.0.0-dev-rc.5.0.0.268409",
44
+ "@fluidframework/map": "2.0.0-dev-rc.5.0.0.268409",
45
+ "@fluidframework/sequence": "2.0.0-dev-rc.5.0.0.268409",
46
+ "@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.268409",
47
+ "@fluidframework/tree": "2.0.0-dev-rc.5.0.0.268409"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@arethetypeswrong/cli": "^0.15.2",
51
- "@biomejs/biome": "^1.6.2",
51
+ "@biomejs/biome": "^1.7.3",
52
52
  "@fluid-tools/build-cli": "^0.39.0-264124",
53
53
  "@fluidframework/build-common": "^2.0.3",
54
54
  "@fluidframework/build-tools": "^0.39.0-264124",
55
- "@fluidframework/eslint-config-fluid": "^5.1.0",
56
- "@microsoft/api-extractor": "^7.43.1",
55
+ "@fluidframework/eslint-config-fluid": "^5.3.0",
56
+ "@microsoft/api-extractor": "^7.45.1",
57
57
  "@types/node": "^18.19.0",
58
58
  "copyfiles": "^2.4.1",
59
59
  "eslint": "~8.55.0",
60
60
  "prettier": "~3.0.3",
61
61
  "rimraf": "^4.4.0",
62
- "typescript": "~5.3.3"
62
+ "typescript": "~5.4.5"
63
63
  },
64
64
  "fluidBuild": {
65
65
  "tasks": {
package/src/index.ts CHANGED
@@ -35,6 +35,12 @@ export type {
35
35
  } from "@fluidframework/fluid-static";
36
36
  export type { SharedObjectKind } from "@fluidframework/shared-object-base";
37
37
 
38
+ export type {
39
+ ISequencedDocumentMessage, // Leaked via ISharedObjectEvents
40
+ IBranchOrigin, // Required for ISequencedDocumentMessage
41
+ ITrace, // Required for ISequencedDocumentMessage
42
+ } from "@fluidframework/driver-definitions";
43
+
38
44
  // Let the tree package manage its own API surface, we will simply reflect it here.
39
45
  // Note: this only surfaces the `@public` API items from the tree package. If the `@beta` and `@alpha` items are
40
46
  // desired, they can be added by re-exporting from one of the package's aliased export paths instead (e.g. `tree