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

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.
@@ -24,7 +24,6 @@ import { IMergeTreeMaintenanceCallbackArgs } from '@fluidframework/merge-tree/in
24
24
  import { IRelativePosition } from '@fluidframework/merge-tree/internal';
25
25
  import { ISegment } from '@fluidframework/merge-tree/internal';
26
26
  import { ISegmentAction } from '@fluidframework/merge-tree/internal';
27
- import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
28
27
  import { ISharedObjectKind } from '@fluidframework/shared-object-base/internal';
29
28
  import { LocalReferencePosition } from '@fluidframework/merge-tree/internal';
30
29
  import { Marker } from '@fluidframework/merge-tree/internal';
@@ -109,11 +108,6 @@ export type DeserializeCallback = (properties: PropertySet) => void;
109
108
  // @public
110
109
  export const disposeSymbol: unique symbol;
111
110
 
112
- // @public
113
- export type Events<E> = {
114
- [P in (string | symbol) & keyof E as IsEvent<E[P]> extends true ? P : never]: E[P];
115
- };
116
-
117
111
  // @public
118
112
  export type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
119
113
 
@@ -152,6 +146,13 @@ export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
152
146
  // @public
153
147
  export type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
154
148
 
149
+ // @public
150
+ export interface IBranchOrigin {
151
+ id: string;
152
+ minimumSequenceNumber: number;
153
+ sequenceNumber: number;
154
+ }
155
+
155
156
  // @public
156
157
  export interface IConnection {
157
158
  readonly id: string;
@@ -366,6 +367,27 @@ export enum IntervalType {
366
367
  Transient = 4
367
368
  }
368
369
 
370
+ // @public
371
+ export interface ISequencedDocumentMessage {
372
+ clientId: string | null;
373
+ clientSequenceNumber: number;
374
+ // @deprecated
375
+ compression?: string;
376
+ contents: unknown;
377
+ data?: string;
378
+ // @deprecated
379
+ expHash1?: string;
380
+ metadata?: unknown;
381
+ minimumSequenceNumber: number;
382
+ origin?: IBranchOrigin;
383
+ referenceSequenceNumber: number;
384
+ sequenceNumber: number;
385
+ serverMetadata?: unknown;
386
+ timestamp: number;
387
+ traces?: ITrace[];
388
+ type: string;
389
+ }
390
+
369
391
  // @alpha
370
392
  export interface ISequenceDeltaRange<TOperation extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationTypes> {
371
393
  operation: TOperation;
@@ -416,9 +438,6 @@ export interface IServiceAudienceEvents<M extends IMember> extends IEvent {
416
438
  (event: "memberRemoved", listener: MemberChangedListener<M>): void;
417
439
  }
418
440
 
419
- // @public
420
- export type IsEvent<Event> = Event extends (...args: any[]) => any ? true : false;
421
-
422
441
  // @alpha
423
442
  export interface ISharedDirectory extends ISharedObject<ISharedDirectoryEvents & IDirectoryEvents>, Omit<IDirectory, "on" | "once" | "off"> {
424
443
  // (undocumented)
@@ -532,15 +551,20 @@ export interface ISharedString extends ISharedSegmentSequence<SharedStringSegmen
532
551
  }
533
552
 
534
553
  // @public
535
- export interface ISubscribable<E extends Events<E>> {
536
- on<K extends keyof Events<E>>(eventName: K, listener: E[K]): () => void;
537
- }
554
+ export type IsListener<TListener> = TListener extends (...args: any[]) => void ? true : false;
538
555
 
539
556
  // @public
540
557
  export class IterableTreeArrayContent<T> implements Iterable<T> {
541
558
  [Symbol.iterator](): Iterator<T>;
542
559
  }
543
560
 
561
+ // @public
562
+ export interface ITrace {
563
+ action: string;
564
+ service: string;
565
+ timestamp: number;
566
+ }
567
+
544
568
  // @public
545
569
  export interface ITree extends IFluidLoadable {
546
570
  schematize<TRoot extends ImplicitFieldSchema>(config: TreeConfiguration<TRoot>): TreeView<TRoot>;
@@ -560,6 +584,16 @@ export interface IValueChanged {
560
584
  // @public
561
585
  export type LazyItem<Item = unknown> = Item | (() => Item);
562
586
 
587
+ // @public
588
+ export interface Listenable<TListeners extends object> {
589
+ on<K extends keyof Listeners<TListeners>>(eventName: K, listener: TListeners[K]): Off;
590
+ }
591
+
592
+ // @public
593
+ export type Listeners<T extends object> = {
594
+ [P in (string | symbol) & keyof T as IsListener<T[P]> extends true ? P : never]: T[P];
595
+ };
596
+
563
597
  // @public
564
598
  export interface MakeNominal {
565
599
  }
@@ -610,6 +644,9 @@ export type ObjectFromSchemaRecordUnsafe<T extends Unenforced<RestrictiveReadonl
610
644
  -readonly [Property in keyof T]: TreeFieldFromImplicitFieldUnsafe<T[Property]>;
611
645
  };
612
646
 
647
+ // @public
648
+ export type Off = () => void;
649
+
613
650
  // @public
614
651
  export type RestrictiveReadonlyRecord<K extends symbol | string, T> = {
615
652
  readonly [P in symbol | string]: P extends K ? T : never;
@@ -948,7 +985,7 @@ export enum TreeStatus {
948
985
  // @public
949
986
  export interface TreeView<TSchema extends ImplicitFieldSchema> extends IDisposable {
950
987
  readonly error?: SchemaIncompatible;
951
- readonly events: ISubscribable<TreeViewEvents>;
988
+ readonly events: Listenable<TreeViewEvents>;
952
989
  get root(): TreeFieldFromImplicitField<TSchema>;
953
990
  set root(newRoot: InsertableTreeFieldFromImplicitField<TSchema>);
954
991
  upgradeSchema(): void;
package/dist/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":["../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AqB,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"}
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,17 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
33
  IDisposable,
34
34
  IFluidContainer,
35
35
  IFluidContainerEvents,
36
36
  IMember,
37
+ ISequencedDocumentMessage,
37
38
  IServiceAudience,
38
39
  IServiceAudienceEvents,
39
- ISubscribable,
40
+ ITrace,
40
41
  ITree,
41
42
  ITreeConfigurationOptions,
42
43
  ImplicitAllowedTypes,
@@ -51,9 +52,11 @@ export {
51
52
  InsertableTypedNode,
52
53
  InsertableTypedNodeUnsafe,
53
54
  InternalTreeNode,
54
- IsEvent,
55
+ IsListener,
55
56
  IterableTreeArrayContent,
56
57
  LazyItem,
58
+ Listenable,
59
+ Listeners,
57
60
  MakeNominal,
58
61
  MemberChangedListener,
59
62
  Myself,
@@ -65,6 +68,7 @@ export {
65
68
  NodeKind,
66
69
  ObjectFromSchemaRecord,
67
70
  ObjectFromSchemaRecordUnsafe,
71
+ Off,
68
72
  RestrictiveReadonlyRecord,
69
73
  Revertible,
70
74
  RevertibleFactory,
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,17 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
33
  IDisposable,
34
34
  IFluidContainer,
35
35
  IFluidContainerEvents,
36
36
  IMember,
37
+ ISequencedDocumentMessage,
37
38
  IServiceAudience,
38
39
  IServiceAudienceEvents,
39
- ISubscribable,
40
+ ITrace,
40
41
  ITree,
41
42
  ITreeConfigurationOptions,
42
43
  ImplicitAllowedTypes,
@@ -51,9 +52,11 @@ export {
51
52
  InsertableTypedNode,
52
53
  InsertableTypedNodeUnsafe,
53
54
  InternalTreeNode,
54
- IsEvent,
55
+ IsListener,
55
56
  IterableTreeArrayContent,
56
57
  LazyItem,
58
+ Listenable,
59
+ Listeners,
57
60
  MakeNominal,
58
61
  MemberChangedListener,
59
62
  Myself,
@@ -65,6 +68,7 @@ export {
65
68
  NodeKind,
66
69
  ObjectFromSchemaRecord,
67
70
  ObjectFromSchemaRecordUnsafe,
71
+ Off,
68
72
  RestrictiveReadonlyRecord,
69
73
  Revertible,
70
74
  RevertibleFactory,
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;;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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"}
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,17 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
33
  IDisposable,
34
34
  IFluidContainer,
35
35
  IFluidContainerEvents,
36
36
  IMember,
37
+ ISequencedDocumentMessage,
37
38
  IServiceAudience,
38
39
  IServiceAudienceEvents,
39
- ISubscribable,
40
+ ITrace,
40
41
  ITree,
41
42
  ITreeConfigurationOptions,
42
43
  ImplicitAllowedTypes,
@@ -51,9 +52,11 @@ export {
51
52
  InsertableTypedNode,
52
53
  InsertableTypedNodeUnsafe,
53
54
  InternalTreeNode,
54
- IsEvent,
55
+ IsListener,
55
56
  IterableTreeArrayContent,
56
57
  LazyItem,
58
+ Listenable,
59
+ Listeners,
57
60
  MakeNominal,
58
61
  MemberChangedListener,
59
62
  Myself,
@@ -65,6 +68,7 @@ export {
65
68
  NodeKind,
66
69
  ObjectFromSchemaRecord,
67
70
  ObjectFromSchemaRecordUnsafe,
71
+ Off,
68
72
  RestrictiveReadonlyRecord,
69
73
  Revertible,
70
74
  RevertibleFactory,
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,17 @@ export {
28
27
  FieldSchemaUnsafe,
29
28
  FlexList,
30
29
  FlexListToUnion,
30
+ IBranchOrigin,
31
31
  IConnection,
32
32
  ICriticalContainerError,
33
33
  IDisposable,
34
34
  IFluidContainer,
35
35
  IFluidContainerEvents,
36
36
  IMember,
37
+ ISequencedDocumentMessage,
37
38
  IServiceAudience,
38
39
  IServiceAudienceEvents,
39
- ISubscribable,
40
+ ITrace,
40
41
  ITree,
41
42
  ITreeConfigurationOptions,
42
43
  ImplicitAllowedTypes,
@@ -51,9 +52,11 @@ export {
51
52
  InsertableTypedNode,
52
53
  InsertableTypedNodeUnsafe,
53
54
  InternalTreeNode,
54
- IsEvent,
55
+ IsListener,
55
56
  IterableTreeArrayContent,
56
57
  LazyItem,
58
+ Listenable,
59
+ Listeners,
57
60
  MakeNominal,
58
61
  MemberChangedListener,
59
62
  Myself,
@@ -65,6 +68,7 @@ export {
65
68
  NodeKind,
66
69
  ObjectFromSchemaRecord,
67
70
  ObjectFromSchemaRecordUnsafe,
71
+ Off,
68
72
  RestrictiveReadonlyRecord,
69
73
  Revertible,
70
74
  RevertibleFactory,
@@ -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.267932",
4
4
  "description": "The main entry point into Fluid Framework public packages",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -37,14 +37,14 @@
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.267932",
41
+ "@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.267932",
42
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.267932",
43
+ "@fluidframework/fluid-static": "2.0.0-dev-rc.5.0.0.267932",
44
+ "@fluidframework/map": "2.0.0-dev-rc.5.0.0.267932",
45
+ "@fluidframework/sequence": "2.0.0-dev-rc.5.0.0.267932",
46
+ "@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.267932",
47
+ "@fluidframework/tree": "2.0.0-dev-rc.5.0.0.267932"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@arethetypeswrong/cli": "^0.15.2",
@@ -53,13 +53,13 @@
53
53
  "@fluidframework/build-common": "^2.0.3",
54
54
  "@fluidframework/build-tools": "^0.39.0-264124",
55
55
  "@fluidframework/eslint-config-fluid": "^5.1.0",
56
- "@microsoft/api-extractor": "^7.43.1",
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