fluid-framework 2.5.0 → 2.10.0-304831
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/api-report/fluid-framework.alpha.api.md +11 -13
- package/api-report/fluid-framework.beta.api.md +7 -12
- package/api-report/fluid-framework.legacy.alpha.api.md +23 -49
- package/api-report/fluid-framework.legacy.public.api.md +7 -12
- package/api-report/fluid-framework.public.api.md +7 -12
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +13 -13
- package/src/index.ts +3 -2
|
@@ -591,7 +591,6 @@ declare namespace InternalTypes {
|
|
|
591
591
|
ApplyKindInput,
|
|
592
592
|
NodeBuilderData,
|
|
593
593
|
FieldHasDefault,
|
|
594
|
-
TreeArrayNodeBase,
|
|
595
594
|
ScopedSchemaName,
|
|
596
595
|
DefaultProvider,
|
|
597
596
|
typeNameSymbol,
|
|
@@ -1048,16 +1047,7 @@ interface TreeApi extends TreeNodeApi {
|
|
|
1048
1047
|
}
|
|
1049
1048
|
|
|
1050
1049
|
// @public @sealed
|
|
1051
|
-
export interface TreeArrayNode<TAllowedTypes extends ImplicitAllowedTypes = ImplicitAllowedTypes
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
// @public
|
|
1055
|
-
export const TreeArrayNode: {
|
|
1056
|
-
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
1057
|
-
};
|
|
1058
|
-
|
|
1059
|
-
// @public @sealed
|
|
1060
|
-
interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
1050
|
+
export interface TreeArrayNode<TAllowedTypes extends Unenforced<ImplicitAllowedTypes> = ImplicitAllowedTypes, out T = [TAllowedTypes] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TAllowedTypes> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TNew = [TAllowedTypes] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TAllowedTypes> : InsertableTreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
1061
1051
|
insertAt(index: number, ...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
1062
1052
|
insertAtEnd(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
1063
1053
|
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
@@ -1078,8 +1068,13 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> ex
|
|
|
1078
1068
|
values(): IterableIterator<T>;
|
|
1079
1069
|
}
|
|
1080
1070
|
|
|
1071
|
+
// @public
|
|
1072
|
+
export const TreeArrayNode: {
|
|
1073
|
+
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1081
1076
|
// @public @sealed
|
|
1082
|
-
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends
|
|
1077
|
+
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends TreeArrayNode<TAllowedTypes, TreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>, InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>> {
|
|
1083
1078
|
}
|
|
1084
1079
|
|
|
1085
1080
|
// @beta @sealed
|
|
@@ -1100,6 +1095,7 @@ export interface TreeBranch extends IDisposable {
|
|
|
1100
1095
|
|
|
1101
1096
|
// @alpha @sealed
|
|
1102
1097
|
export interface TreeBranchEvents {
|
|
1098
|
+
changed(data: CommitMetadata, getRevertible?: RevertibleFactory): void;
|
|
1103
1099
|
commitApplied(data: CommitMetadata, getRevertible?: RevertibleFactory): void;
|
|
1104
1100
|
schemaChanged(): void;
|
|
1105
1101
|
}
|
|
@@ -1248,7 +1244,9 @@ export interface TreeView<in out TSchema extends ImplicitFieldSchema> extends ID
|
|
|
1248
1244
|
}
|
|
1249
1245
|
|
|
1250
1246
|
// @alpha @sealed
|
|
1251
|
-
export interface TreeViewAlpha<in out TSchema extends ImplicitFieldSchema | UnsafeUnknownSchema> extends Omit<TreeView<ReadSchema<TSchema>>, "root" | "initialize">,
|
|
1247
|
+
export interface TreeViewAlpha<in out TSchema extends ImplicitFieldSchema | UnsafeUnknownSchema> extends Omit<TreeView<ReadSchema<TSchema>>, "root" | "initialize">, TreeBranch {
|
|
1248
|
+
// (undocumented)
|
|
1249
|
+
readonly events: Listenable<TreeViewEvents & TreeBranchEvents>;
|
|
1252
1250
|
// (undocumented)
|
|
1253
1251
|
fork(): ReturnType<TreeBranch["fork"]> & TreeViewAlpha<TSchema>;
|
|
1254
1252
|
// (undocumented)
|
|
@@ -474,7 +474,6 @@ declare namespace InternalTypes {
|
|
|
474
474
|
ApplyKindInput,
|
|
475
475
|
NodeBuilderData,
|
|
476
476
|
FieldHasDefault,
|
|
477
|
-
TreeArrayNodeBase,
|
|
478
477
|
ScopedSchemaName,
|
|
479
478
|
DefaultProvider,
|
|
480
479
|
typeNameSymbol,
|
|
@@ -784,16 +783,7 @@ interface TreeApi extends TreeNodeApi {
|
|
|
784
783
|
}
|
|
785
784
|
|
|
786
785
|
// @public @sealed
|
|
787
|
-
export interface TreeArrayNode<TAllowedTypes extends ImplicitAllowedTypes = ImplicitAllowedTypes
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
// @public
|
|
791
|
-
export const TreeArrayNode: {
|
|
792
|
-
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
793
|
-
};
|
|
794
|
-
|
|
795
|
-
// @public @sealed
|
|
796
|
-
interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
786
|
+
export interface TreeArrayNode<TAllowedTypes extends Unenforced<ImplicitAllowedTypes> = ImplicitAllowedTypes, out T = [TAllowedTypes] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TAllowedTypes> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TNew = [TAllowedTypes] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TAllowedTypes> : InsertableTreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
797
787
|
insertAt(index: number, ...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
798
788
|
insertAtEnd(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
799
789
|
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
@@ -814,8 +804,13 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> ex
|
|
|
814
804
|
values(): IterableIterator<T>;
|
|
815
805
|
}
|
|
816
806
|
|
|
807
|
+
// @public
|
|
808
|
+
export const TreeArrayNode: {
|
|
809
|
+
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
810
|
+
};
|
|
811
|
+
|
|
817
812
|
// @public @sealed
|
|
818
|
-
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends
|
|
813
|
+
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends TreeArrayNode<TAllowedTypes, TreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>, InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>> {
|
|
819
814
|
}
|
|
820
815
|
|
|
821
816
|
// @beta @sealed
|
|
@@ -576,7 +576,6 @@ declare namespace InternalTypes {
|
|
|
576
576
|
ApplyKindInput,
|
|
577
577
|
NodeBuilderData,
|
|
578
578
|
FieldHasDefault,
|
|
579
|
-
TreeArrayNodeBase,
|
|
580
579
|
ScopedSchemaName,
|
|
581
580
|
DefaultProvider,
|
|
582
581
|
typeNameSymbol,
|
|
@@ -668,12 +667,8 @@ export interface ISequenceDeltaRange<TOperation extends MergeTreeDeltaOperationT
|
|
|
668
667
|
|
|
669
668
|
// @alpha (undocumented)
|
|
670
669
|
export interface ISerializableInterval extends IInterval {
|
|
671
|
-
|
|
672
|
-
addProperties(props: PropertySet, collaborating?: boolean, seq?: number): PropertySet | undefined;
|
|
673
|
-
getIntervalId(): string | undefined;
|
|
670
|
+
getIntervalId(): string;
|
|
674
671
|
properties: PropertySet;
|
|
675
|
-
// @deprecated (undocumented)
|
|
676
|
-
propertyManager: PropertiesManager;
|
|
677
672
|
// (undocumented)
|
|
678
673
|
serialize(): ISerializedInterval;
|
|
679
674
|
}
|
|
@@ -1051,72 +1046,55 @@ export class SchemaFactory<out TScope extends string | undefined = string | unde
|
|
|
1051
1046
|
type ScopedSchemaName<TScope extends string | undefined, TName extends number | string> = TScope extends undefined ? `${TName}` : `${TScope}.${TName}`;
|
|
1052
1047
|
|
|
1053
1048
|
// @alpha
|
|
1054
|
-
export
|
|
1055
|
-
// @deprecated
|
|
1056
|
-
constructor(opArgs: IMergeTreeDeltaOpArgs, deltaArgs: IMergeTreeDeltaCallbackArgs, mergeTreeClient: Client);
|
|
1049
|
+
export interface SequenceDeltaEvent extends SequenceEvent<MergeTreeDeltaOperationType> {
|
|
1057
1050
|
readonly isLocal: boolean;
|
|
1058
1051
|
// (undocumented)
|
|
1059
1052
|
readonly opArgs: IMergeTreeDeltaOpArgs;
|
|
1060
1053
|
}
|
|
1061
1054
|
|
|
1062
1055
|
// @alpha
|
|
1063
|
-
export
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
deltaArgs: IMergeTreeDeltaCallbackArgs<TOperation>, mergeTreeClient: Client);
|
|
1067
|
-
get clientId(): string | undefined;
|
|
1056
|
+
export interface SequenceEvent<TOperation extends MergeTreeDeltaOperationTypes = MergeTreeDeltaOperationTypes> {
|
|
1057
|
+
readonly clientId: string | undefined;
|
|
1058
|
+
// (undocumented)
|
|
1068
1059
|
readonly deltaArgs: IMergeTreeDeltaCallbackArgs<TOperation>;
|
|
1069
1060
|
// (undocumented)
|
|
1070
1061
|
readonly deltaOperation: TOperation;
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1062
|
+
readonly first: Readonly<ISequenceDeltaRange<TOperation>>;
|
|
1063
|
+
readonly last: Readonly<ISequenceDeltaRange<TOperation>>;
|
|
1064
|
+
readonly ranges: readonly Readonly<ISequenceDeltaRange<TOperation>>[];
|
|
1074
1065
|
}
|
|
1075
1066
|
|
|
1076
1067
|
// @alpha
|
|
1077
|
-
export
|
|
1078
|
-
// @deprecated
|
|
1079
|
-
constructor(client: Client,
|
|
1080
|
-
start: LocalReferencePosition,
|
|
1081
|
-
end: LocalReferencePosition, intervalType: IntervalType, props?: PropertySet, startSide?: Side, endSide?: Side);
|
|
1068
|
+
export interface SequenceInterval extends ISerializableInterval {
|
|
1082
1069
|
addPositionChangeListeners(beforePositionChange: () => void, afterPositionChange: () => void): void;
|
|
1083
1070
|
// (undocumented)
|
|
1084
|
-
addProperties(newProps: PropertySet, collab?: boolean, seq?: number): PropertySet | undefined;
|
|
1085
|
-
// (undocumented)
|
|
1086
1071
|
clone(): SequenceInterval;
|
|
1087
1072
|
compare(b: SequenceInterval): number;
|
|
1088
1073
|
compareEnd(b: SequenceInterval): number;
|
|
1089
1074
|
compareStart(b: SequenceInterval): number;
|
|
1090
|
-
end: LocalReferencePosition;
|
|
1075
|
+
readonly end: LocalReferencePosition;
|
|
1091
1076
|
// (undocumented)
|
|
1092
1077
|
readonly endSide: Side;
|
|
1093
|
-
getIntervalId(): string;
|
|
1094
1078
|
// (undocumented)
|
|
1095
|
-
intervalType: IntervalType;
|
|
1096
|
-
modify(label: string, start: SequencePlace | undefined, end: SequencePlace | undefined, op?: ISequencedDocumentMessage, localSeq?: number, useNewSlidingBehavior?: boolean): SequenceInterval;
|
|
1079
|
+
readonly intervalType: IntervalType;
|
|
1080
|
+
modify(label: string, start: SequencePlace | undefined, end: SequencePlace | undefined, op?: ISequencedDocumentMessage, localSeq?: number, useNewSlidingBehavior?: boolean): SequenceInterval | undefined;
|
|
1097
1081
|
// (undocumented)
|
|
1098
1082
|
overlaps(b: SequenceInterval): boolean;
|
|
1099
1083
|
// (undocumented)
|
|
1100
1084
|
overlapsPos(bstart: number, bend: number): boolean;
|
|
1101
|
-
properties: PropertySet;
|
|
1102
|
-
// (undocumented)
|
|
1103
|
-
propertyManager: PropertiesManager;
|
|
1104
1085
|
removePositionChangeListeners(): void;
|
|
1105
1086
|
// (undocumented)
|
|
1106
|
-
|
|
1107
|
-
start: LocalReferencePosition;
|
|
1087
|
+
readonly start: LocalReferencePosition;
|
|
1108
1088
|
// (undocumented)
|
|
1109
1089
|
readonly startSide: Side;
|
|
1110
1090
|
// (undocumented)
|
|
1111
|
-
|
|
1091
|
+
readonly stickiness: IntervalStickiness;
|
|
1112
1092
|
union(b: SequenceInterval): SequenceInterval;
|
|
1113
1093
|
}
|
|
1114
1094
|
|
|
1115
1095
|
// @alpha
|
|
1116
|
-
export
|
|
1117
|
-
//
|
|
1118
|
-
constructor(
|
|
1119
|
-
opArgs: IMergeTreeDeltaOpArgs | undefined, deltaArgs: IMergeTreeMaintenanceCallbackArgs, mergeTreeClient: Client);
|
|
1096
|
+
export interface SequenceMaintenanceEvent extends SequenceEvent<MergeTreeMaintenanceType> {
|
|
1097
|
+
// (undocumented)
|
|
1120
1098
|
readonly opArgs: IMergeTreeDeltaOpArgs | undefined;
|
|
1121
1099
|
}
|
|
1122
1100
|
|
|
@@ -1180,16 +1158,7 @@ interface TreeApi extends TreeNodeApi {
|
|
|
1180
1158
|
}
|
|
1181
1159
|
|
|
1182
1160
|
// @public @sealed
|
|
1183
|
-
export interface TreeArrayNode<TAllowedTypes extends ImplicitAllowedTypes = ImplicitAllowedTypes
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
// @public
|
|
1187
|
-
export const TreeArrayNode: {
|
|
1188
|
-
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
1189
|
-
};
|
|
1190
|
-
|
|
1191
|
-
// @public @sealed
|
|
1192
|
-
interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
1161
|
+
export interface TreeArrayNode<TAllowedTypes extends Unenforced<ImplicitAllowedTypes> = ImplicitAllowedTypes, out T = [TAllowedTypes] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TAllowedTypes> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TNew = [TAllowedTypes] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TAllowedTypes> : InsertableTreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
1193
1162
|
insertAt(index: number, ...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
1194
1163
|
insertAtEnd(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
1195
1164
|
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
@@ -1210,8 +1179,13 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> ex
|
|
|
1210
1179
|
values(): IterableIterator<T>;
|
|
1211
1180
|
}
|
|
1212
1181
|
|
|
1182
|
+
// @public
|
|
1183
|
+
export const TreeArrayNode: {
|
|
1184
|
+
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1213
1187
|
// @public @sealed
|
|
1214
|
-
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends
|
|
1188
|
+
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends TreeArrayNode<TAllowedTypes, TreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>, InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>> {
|
|
1215
1189
|
}
|
|
1216
1190
|
|
|
1217
1191
|
// @public @sealed
|
|
@@ -504,7 +504,6 @@ declare namespace InternalTypes {
|
|
|
504
504
|
ApplyKindInput,
|
|
505
505
|
NodeBuilderData,
|
|
506
506
|
FieldHasDefault,
|
|
507
|
-
TreeArrayNodeBase,
|
|
508
507
|
ScopedSchemaName,
|
|
509
508
|
DefaultProvider,
|
|
510
509
|
typeNameSymbol,
|
|
@@ -819,16 +818,7 @@ interface TreeApi extends TreeNodeApi {
|
|
|
819
818
|
}
|
|
820
819
|
|
|
821
820
|
// @public @sealed
|
|
822
|
-
export interface TreeArrayNode<TAllowedTypes extends ImplicitAllowedTypes = ImplicitAllowedTypes
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
// @public
|
|
826
|
-
export const TreeArrayNode: {
|
|
827
|
-
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
828
|
-
};
|
|
829
|
-
|
|
830
|
-
// @public @sealed
|
|
831
|
-
interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
821
|
+
export interface TreeArrayNode<TAllowedTypes extends Unenforced<ImplicitAllowedTypes> = ImplicitAllowedTypes, out T = [TAllowedTypes] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TAllowedTypes> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TNew = [TAllowedTypes] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TAllowedTypes> : InsertableTreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
832
822
|
insertAt(index: number, ...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
833
823
|
insertAtEnd(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
834
824
|
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
@@ -849,8 +839,13 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> ex
|
|
|
849
839
|
values(): IterableIterator<T>;
|
|
850
840
|
}
|
|
851
841
|
|
|
842
|
+
// @public
|
|
843
|
+
export const TreeArrayNode: {
|
|
844
|
+
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
845
|
+
};
|
|
846
|
+
|
|
852
847
|
// @public @sealed
|
|
853
|
-
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends
|
|
848
|
+
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends TreeArrayNode<TAllowedTypes, TreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>, InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>> {
|
|
854
849
|
}
|
|
855
850
|
|
|
856
851
|
// @public @sealed
|
|
@@ -474,7 +474,6 @@ declare namespace InternalTypes {
|
|
|
474
474
|
ApplyKindInput,
|
|
475
475
|
NodeBuilderData,
|
|
476
476
|
FieldHasDefault,
|
|
477
|
-
TreeArrayNodeBase,
|
|
478
477
|
ScopedSchemaName,
|
|
479
478
|
DefaultProvider,
|
|
480
479
|
typeNameSymbol,
|
|
@@ -779,16 +778,7 @@ interface TreeApi extends TreeNodeApi {
|
|
|
779
778
|
}
|
|
780
779
|
|
|
781
780
|
// @public @sealed
|
|
782
|
-
export interface TreeArrayNode<TAllowedTypes extends ImplicitAllowedTypes = ImplicitAllowedTypes
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
// @public
|
|
786
|
-
export const TreeArrayNode: {
|
|
787
|
-
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
788
|
-
};
|
|
789
|
-
|
|
790
|
-
// @public @sealed
|
|
791
|
-
interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
781
|
+
export interface TreeArrayNode<TAllowedTypes extends Unenforced<ImplicitAllowedTypes> = ImplicitAllowedTypes, out T = [TAllowedTypes] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TAllowedTypes> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TNew = [TAllowedTypes] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TAllowedTypes> : InsertableTreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, in TMoveFrom = ReadonlyArrayNode> extends ReadonlyArrayNode<T> {
|
|
792
782
|
insertAt(index: number, ...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
793
783
|
insertAtEnd(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
794
784
|
insertAtStart(...value: readonly (TNew | IterableTreeArrayContent<TNew>)[]): void;
|
|
@@ -809,8 +799,13 @@ interface TreeArrayNodeBase<out T, in TNew, in TMoveFrom = ReadonlyArrayNode> ex
|
|
|
809
799
|
values(): IterableIterator<T>;
|
|
810
800
|
}
|
|
811
801
|
|
|
802
|
+
// @public
|
|
803
|
+
export const TreeArrayNode: {
|
|
804
|
+
readonly spread: <T>(content: Iterable<T>) => IterableTreeArrayContent<T>;
|
|
805
|
+
};
|
|
806
|
+
|
|
812
807
|
// @public @sealed
|
|
813
|
-
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends
|
|
808
|
+
export interface TreeArrayNodeUnsafe<TAllowedTypes extends Unenforced<ImplicitAllowedTypes>> extends TreeArrayNode<TAllowedTypes, TreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>, InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TAllowedTypes>> {
|
|
814
809
|
}
|
|
815
810
|
|
|
816
811
|
// @public @sealed
|
package/dist/index.d.ts
CHANGED
|
@@ -56,7 +56,8 @@ export declare function configuredSharedTree(options: SharedTreeOptions): Shared
|
|
|
56
56
|
export type { IDirectory, IDirectoryEvents, IDirectoryValueChanged, ISharedDirectory, ISharedDirectoryEvents, ISharedMap, ISharedMapEvents, IValueChanged, } from "@fluidframework/map/internal";
|
|
57
57
|
export { SharedDirectory, SharedMap } from "@fluidframework/map/internal";
|
|
58
58
|
export type { DeserializeCallback, InteriorSequencePlace, IInterval, IIntervalCollectionEvent, IIntervalCollection, IntervalIndex, IntervalStickiness, ISequenceDeltaRange, ISerializableInterval, ISerializedInterval, ISharedIntervalCollection, ISharedSegmentSequenceEvents, ISharedString, SequencePlace, SharedStringSegment, Side, ISharedSegmentSequence, } from "@fluidframework/sequence/internal";
|
|
59
|
-
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent,
|
|
59
|
+
export type { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, } from "@fluidframework/sequence/internal";
|
|
60
|
+
export { SharedString } from "@fluidframework/sequence/internal";
|
|
60
61
|
export type { ISharedObject, ISharedObjectEvents, } from "@fluidframework/shared-object-base/internal";
|
|
61
62
|
export type { ISequencedDocumentMessage, // Leaked via ISharedObjectEvents
|
|
62
63
|
IBranchOrigin, // Required for ISequencedDocumentMessage
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAMH,Y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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,
|
|
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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,yCAAyC;AACxD,MAAM,GACN,MAAM,6CAA6C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.SharedString = exports.
|
|
21
|
+
exports.SharedString = exports.SharedMap = exports.SharedDirectory = exports.configuredSharedTree = exports.SharedTree = exports.ConnectionState = exports.AttachState = void 0;
|
|
22
22
|
var container_definitions_1 = require("@fluidframework/container-definitions");
|
|
23
23
|
Object.defineProperty(exports, "AttachState", { enumerable: true, get: function () { return container_definitions_1.AttachState; } });
|
|
24
24
|
var container_loader_1 = require("@fluidframework/container-loader");
|
|
@@ -67,11 +67,6 @@ var internal_2 = require("@fluidframework/map/internal");
|
|
|
67
67
|
Object.defineProperty(exports, "SharedDirectory", { enumerable: true, get: function () { return internal_2.SharedDirectory; } });
|
|
68
68
|
Object.defineProperty(exports, "SharedMap", { enumerable: true, get: function () { return internal_2.SharedMap; } });
|
|
69
69
|
var internal_3 = require("@fluidframework/sequence/internal");
|
|
70
|
-
Object.defineProperty(exports, "IntervalType", { enumerable: true, get: function () { return internal_3.IntervalType; } });
|
|
71
|
-
Object.defineProperty(exports, "SequenceDeltaEvent", { enumerable: true, get: function () { return internal_3.SequenceDeltaEvent; } });
|
|
72
|
-
Object.defineProperty(exports, "SequenceEvent", { enumerable: true, get: function () { return internal_3.SequenceEvent; } });
|
|
73
|
-
Object.defineProperty(exports, "SequenceInterval", { enumerable: true, get: function () { return internal_3.SequenceInterval; } });
|
|
74
|
-
Object.defineProperty(exports, "SequenceMaintenanceEvent", { enumerable: true, get: function () { return internal_3.SequenceMaintenanceEvent; } });
|
|
75
70
|
Object.defineProperty(exports, "SharedString", { enumerable: true, get: function () { return internal_3.SharedString; } });
|
|
76
71
|
// #endregion Legacy exports
|
|
77
72
|
//# sourceMappingURL=index.js.map
|
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,mDAAmD;AACnD,4FAA4F;AAC5F,4EAA4E;AAC5E,6DAA2C;AAU3C,4DAIuC;AAEvC;;;;;;;;;GASG;AACU,QAAA,UAAU,GAA4B,qBAAkB,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,OAA0B;IAC9D,OAAO,IAAA,+BAA4B,EAAC,OAAO,CAAC,CAAC;AAC9C,CAAC;AAFD,oDAEC;AAmBD,yDAA0E;AAAjE,2GAAA,eAAe,OAAA;AAAE,qGAAA,SAAS,OAAA;
|
|
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,4DAIuC;AAEvC;;;;;;;;;GASG;AACU,QAAA,UAAU,GAA4B,qBAAkB,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,OAA0B;IAC9D,OAAO,IAAA,+BAA4B,EAAC,OAAO,CAAC,CAAC;AAC9C,CAAC;AAFD,oDAEC;AAmBD,yDAA0E;AAAjE,2GAAA,eAAe,OAAA;AAAE,qGAAA,SAAS,OAAA;AA8BnC,8DAAiE;AAAxD,wGAAA,YAAY,OAAA;AAarB,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 {\n\tSharedTree as OriginalSharedTree,\n\tconfiguredSharedTree as originalConfiguredSharedTree,\n\ttype SharedTreeOptions,\n} from \"@fluidframework/tree/internal\";\n\n/**\n * A hierarchical data structure for collaboratively editing strongly typed JSON-like trees\n * of objects, arrays, and other data types.\n * @privateRemarks\n * Here we reexport SharedTree, but with the `@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/**\n * {@link SharedTree} but allowing a non-default configuration.\n * @remarks\n * This is useful for debugging and testing to opt into extra validation or see if opting out of some optimizations fixes an issue.\n * @example\n * ```typescript\n * import {\n * \tForestType,\n * \tTreeCompressionStrategy,\n * \tconfiguredSharedTree,\n * \ttypeboxValidator,\n * } from \"@fluid-framework/alpha\";\n * const SharedTree = configuredSharedTree({\n * \tforest: ForestType.Reference,\n * \tjsonValidator: typeboxValidator,\n * \ttreeEncodeType: TreeCompressionStrategy.Uncompressed,\n * });\n * ```\n * @alpha\n */\nexport function configuredSharedTree(options: SharedTreeOptions): SharedObjectKind<ITree> {\n\treturn originalConfiguredSharedTree(options);\n}\n\n// #endregion Custom re-exports\n// #endregion\n\n// ===============================================================\n// #region Legacy exports\n\nexport type {\n\tIDirectory,\n\tIDirectoryEvents,\n\tIDirectoryValueChanged,\n\tISharedDirectory,\n\tISharedDirectoryEvents,\n\tISharedMap,\n\tISharedMapEvents,\n\tIValueChanged,\n} from \"@fluidframework/map/internal\";\n\nexport { SharedDirectory, SharedMap } from \"@fluidframework/map/internal\";\n\nexport type {\n\tDeserializeCallback,\n\tInteriorSequencePlace,\n\tIInterval,\n\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 type {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n} from \"@fluidframework/sequence/internal\";\n\nexport { SharedString } from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tISharedObject,\n\tISharedObjectEvents,\n} 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/index.d.ts
CHANGED
|
@@ -56,7 +56,8 @@ export declare function configuredSharedTree(options: SharedTreeOptions): Shared
|
|
|
56
56
|
export type { IDirectory, IDirectoryEvents, IDirectoryValueChanged, ISharedDirectory, ISharedDirectoryEvents, ISharedMap, ISharedMapEvents, IValueChanged, } from "@fluidframework/map/internal";
|
|
57
57
|
export { SharedDirectory, SharedMap } from "@fluidframework/map/internal";
|
|
58
58
|
export type { DeserializeCallback, InteriorSequencePlace, IInterval, IIntervalCollectionEvent, IIntervalCollection, IntervalIndex, IntervalStickiness, ISequenceDeltaRange, ISerializableInterval, ISerializedInterval, ISharedIntervalCollection, ISharedSegmentSequenceEvents, ISharedString, SequencePlace, SharedStringSegment, Side, ISharedSegmentSequence, } from "@fluidframework/sequence/internal";
|
|
59
|
-
export { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent,
|
|
59
|
+
export type { IntervalType, SequenceDeltaEvent, SequenceEvent, SequenceInterval, SequenceMaintenanceEvent, } from "@fluidframework/sequence/internal";
|
|
60
|
+
export { SharedString } from "@fluidframework/sequence/internal";
|
|
60
61
|
export type { ISharedObject, ISharedObjectEvents, } from "@fluidframework/shared-object-base/internal";
|
|
61
62
|
export type { ISequencedDocumentMessage, // Leaked via ISharedObjectEvents
|
|
62
63
|
IBranchOrigin, // Required for ISequencedDocumentMessage
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAMH,YAAY,EACX,eAAe,IAAI,mBAAmB,EAAE,0CAA0C;AAClF,uBAAuB,GACvB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,YAAY,EACX,oBAAoB,EACpB,eAAe,EACf,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,GACN,MAAM,8BAA8B,CAAC;AACtC,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,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B,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,YAAY,EACX,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,GACxB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAEjE,YAAY,EACX,aAAa,EACb,mBAAmB,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
|
@@ -44,6 +44,6 @@ export function configuredSharedTree(options) {
|
|
|
44
44
|
return originalConfiguredSharedTree(options);
|
|
45
45
|
}
|
|
46
46
|
export { SharedDirectory, SharedMap } from "@fluidframework/map/internal";
|
|
47
|
-
export {
|
|
47
|
+
export { SharedString } from "@fluidframework/sequence/internal";
|
|
48
48
|
// #endregion Legacy exports
|
|
49
49
|
//# sourceMappingURL=index.js.map
|
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,mDAAmD;AACnD,4FAA4F;AAC5F,4EAA4E;AAC5E,cAAc,4BAA4B,CAAC;AAU3C,OAAO,EACN,UAAU,IAAI,kBAAkB,EAChC,oBAAoB,IAAI,4BAA4B,GAEpD,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAA4B,kBAAkB,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAA0B;IAC9D,OAAO,4BAA4B,CAAC,OAAO,CAAC,CAAC;AAC9C,CAAC;AAmBD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;
|
|
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,EACN,UAAU,IAAI,kBAAkB,EAChC,oBAAoB,IAAI,4BAA4B,GAEpD,MAAM,+BAA+B,CAAC;AAEvC;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,UAAU,GAA4B,kBAAkB,CAAC;AAEtE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,oBAAoB,CAAC,OAA0B;IAC9D,OAAO,4BAA4B,CAAC,OAAO,CAAC,CAAC;AAC9C,CAAC;AAmBD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AA8B1E,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAajE,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 {\n\tSharedTree as OriginalSharedTree,\n\tconfiguredSharedTree as originalConfiguredSharedTree,\n\ttype SharedTreeOptions,\n} from \"@fluidframework/tree/internal\";\n\n/**\n * A hierarchical data structure for collaboratively editing strongly typed JSON-like trees\n * of objects, arrays, and other data types.\n * @privateRemarks\n * Here we reexport SharedTree, but with the `@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/**\n * {@link SharedTree} but allowing a non-default configuration.\n * @remarks\n * This is useful for debugging and testing to opt into extra validation or see if opting out of some optimizations fixes an issue.\n * @example\n * ```typescript\n * import {\n * \tForestType,\n * \tTreeCompressionStrategy,\n * \tconfiguredSharedTree,\n * \ttypeboxValidator,\n * } from \"@fluid-framework/alpha\";\n * const SharedTree = configuredSharedTree({\n * \tforest: ForestType.Reference,\n * \tjsonValidator: typeboxValidator,\n * \ttreeEncodeType: TreeCompressionStrategy.Uncompressed,\n * });\n * ```\n * @alpha\n */\nexport function configuredSharedTree(options: SharedTreeOptions): SharedObjectKind<ITree> {\n\treturn originalConfiguredSharedTree(options);\n}\n\n// #endregion Custom re-exports\n// #endregion\n\n// ===============================================================\n// #region Legacy exports\n\nexport type {\n\tIDirectory,\n\tIDirectoryEvents,\n\tIDirectoryValueChanged,\n\tISharedDirectory,\n\tISharedDirectoryEvents,\n\tISharedMap,\n\tISharedMapEvents,\n\tIValueChanged,\n} from \"@fluidframework/map/internal\";\n\nexport { SharedDirectory, SharedMap } from \"@fluidframework/map/internal\";\n\nexport type {\n\tDeserializeCallback,\n\tInteriorSequencePlace,\n\tIInterval,\n\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 type {\n\tIntervalType,\n\tSequenceDeltaEvent,\n\tSequenceEvent,\n\tSequenceInterval,\n\tSequenceMaintenanceEvent,\n} from \"@fluidframework/sequence/internal\";\n\nexport { SharedString } from \"@fluidframework/sequence/internal\";\n\nexport type {\n\tISharedObject,\n\tISharedObjectEvents,\n} 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0-304831",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,23 +57,23 @@
|
|
|
57
57
|
"main": "lib/index.js",
|
|
58
58
|
"types": "lib/public.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/container-definitions": "
|
|
61
|
-
"@fluidframework/container-loader": "
|
|
62
|
-
"@fluidframework/core-interfaces": "
|
|
63
|
-
"@fluidframework/driver-definitions": "
|
|
64
|
-
"@fluidframework/fluid-static": "
|
|
65
|
-
"@fluidframework/map": "
|
|
66
|
-
"@fluidframework/runtime-utils": "
|
|
67
|
-
"@fluidframework/sequence": "
|
|
68
|
-
"@fluidframework/shared-object-base": "
|
|
69
|
-
"@fluidframework/tree": "
|
|
60
|
+
"@fluidframework/container-definitions": "2.10.0-304831",
|
|
61
|
+
"@fluidframework/container-loader": "2.10.0-304831",
|
|
62
|
+
"@fluidframework/core-interfaces": "2.10.0-304831",
|
|
63
|
+
"@fluidframework/driver-definitions": "2.10.0-304831",
|
|
64
|
+
"@fluidframework/fluid-static": "2.10.0-304831",
|
|
65
|
+
"@fluidframework/map": "2.10.0-304831",
|
|
66
|
+
"@fluidframework/runtime-utils": "2.10.0-304831",
|
|
67
|
+
"@fluidframework/sequence": "2.10.0-304831",
|
|
68
|
+
"@fluidframework/shared-object-base": "2.10.0-304831",
|
|
69
|
+
"@fluidframework/tree": "2.10.0-304831"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@arethetypeswrong/cli": "^0.16.4",
|
|
73
73
|
"@biomejs/biome": "~1.9.3",
|
|
74
|
-
"@fluid-tools/build-cli": "^0.
|
|
74
|
+
"@fluid-tools/build-cli": "^0.50.0",
|
|
75
75
|
"@fluidframework/build-common": "^2.0.3",
|
|
76
|
-
"@fluidframework/build-tools": "^0.
|
|
76
|
+
"@fluidframework/build-tools": "^0.50.0",
|
|
77
77
|
"@fluidframework/eslint-config-fluid": "^5.4.0",
|
|
78
78
|
"@microsoft/api-extractor": "7.47.8",
|
|
79
79
|
"@types/node": "^18.19.0",
|
package/src/index.ts
CHANGED
|
@@ -152,15 +152,16 @@ export type {
|
|
|
152
152
|
ISharedSegmentSequence,
|
|
153
153
|
} from "@fluidframework/sequence/internal";
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export type {
|
|
156
156
|
IntervalType,
|
|
157
157
|
SequenceDeltaEvent,
|
|
158
158
|
SequenceEvent,
|
|
159
159
|
SequenceInterval,
|
|
160
160
|
SequenceMaintenanceEvent,
|
|
161
|
-
SharedString,
|
|
162
161
|
} from "@fluidframework/sequence/internal";
|
|
163
162
|
|
|
163
|
+
export { SharedString } from "@fluidframework/sequence/internal";
|
|
164
|
+
|
|
164
165
|
export type {
|
|
165
166
|
ISharedObject,
|
|
166
167
|
ISharedObjectEvents,
|