fluid-framework 2.0.0-dev-rc.5.0.0.270401 → 2.0.0-dev-rc.5.0.0.270987
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 +22 -7
- package/api-report/fluid-framework.beta.api.md +22 -7
- package/api-report/fluid-framework.public.api.md +22 -7
- package/biome.jsonc +4 -0
- package/dist/legacy.d.ts +4 -3
- package/dist/public.d.ts +4 -3
- package/lib/legacy.d.ts +4 -3
- package/lib/public.d.ts +4 -3
- package/package.json +16 -13
|
@@ -35,7 +35,7 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
|
35
35
|
export type AllowedTypes = readonly LazyItem<TreeNodeSchema>[];
|
|
36
36
|
|
|
37
37
|
// @public
|
|
38
|
-
|
|
38
|
+
type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
|
|
39
39
|
[FieldKind.Required]: T;
|
|
40
40
|
[FieldKind.Optional]: T | undefined;
|
|
41
41
|
[FieldKind.Identifier]: DefaultsAreOptional extends true ? T | undefined : T;
|
|
@@ -103,7 +103,7 @@ export abstract class ErasedType<out Name = unknown> {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
// @public
|
|
106
|
-
|
|
106
|
+
type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
|
|
107
107
|
|
|
108
108
|
// @public
|
|
109
109
|
export enum FieldKind {
|
|
@@ -138,7 +138,7 @@ export interface FieldSchemaUnsafe<out Kind extends FieldKind, out Types extends
|
|
|
138
138
|
export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
|
|
139
139
|
|
|
140
140
|
// @public
|
|
141
|
-
|
|
141
|
+
type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
|
|
142
142
|
|
|
143
143
|
// @public
|
|
144
144
|
export type FluidObject<T = unknown> = {
|
|
@@ -526,10 +526,10 @@ export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSc
|
|
|
526
526
|
export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
|
|
527
527
|
|
|
528
528
|
// @public
|
|
529
|
-
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
|
|
529
|
+
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<InternalFlexListTypes.FlexListToUnion<TSchema>> : never;
|
|
530
530
|
|
|
531
531
|
// @public
|
|
532
|
-
export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
|
|
532
|
+
export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<InternalFlexListTypes.FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
|
|
533
533
|
|
|
534
534
|
// @public
|
|
535
535
|
export type InsertableTypedNode<T extends TreeNodeSchema> = (T extends {
|
|
@@ -549,6 +549,21 @@ export interface InteriorSequencePlace {
|
|
|
549
549
|
side: Side;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
|
+
declare namespace InternalFlexListTypes {
|
|
553
|
+
export {
|
|
554
|
+
FlexListToUnion,
|
|
555
|
+
ExtractItemType
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
export { InternalFlexListTypes }
|
|
559
|
+
|
|
560
|
+
declare namespace InternalSimpleTreeTypes {
|
|
561
|
+
export {
|
|
562
|
+
ApplyKind
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
export { InternalSimpleTreeTypes }
|
|
566
|
+
|
|
552
567
|
// @public
|
|
553
568
|
export interface InternalTreeNode extends ErasedType<"@fluidframework/tree.InternalTreeNode"> {
|
|
554
569
|
}
|
|
@@ -1179,10 +1194,10 @@ export interface TreeNodeApi {
|
|
|
1179
1194
|
}
|
|
1180
1195
|
|
|
1181
1196
|
// @public
|
|
1182
|
-
export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
|
|
1197
|
+
export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
|
|
1183
1198
|
|
|
1184
1199
|
// @public
|
|
1185
|
-
export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
|
|
1200
|
+
export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
|
|
1186
1201
|
|
|
1187
1202
|
// @public
|
|
1188
1203
|
export type TreeNodeSchema<Name extends string = string, Kind extends NodeKind = NodeKind, TNode = unknown, TBuild = never, ImplicitlyConstructable extends boolean = boolean, Info = unknown> = TreeNodeSchemaClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info> | TreeNodeSchemaNonClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info>;
|
|
@@ -35,7 +35,7 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
|
35
35
|
export type AllowedTypes = readonly LazyItem<TreeNodeSchema>[];
|
|
36
36
|
|
|
37
37
|
// @public
|
|
38
|
-
|
|
38
|
+
type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
|
|
39
39
|
[FieldKind.Required]: T;
|
|
40
40
|
[FieldKind.Optional]: T | undefined;
|
|
41
41
|
[FieldKind.Identifier]: DefaultsAreOptional extends true ? T | undefined : T;
|
|
@@ -100,7 +100,7 @@ export abstract class ErasedType<out Name = unknown> {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// @public
|
|
103
|
-
|
|
103
|
+
type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
|
|
104
104
|
|
|
105
105
|
// @public
|
|
106
106
|
export enum FieldKind {
|
|
@@ -135,7 +135,7 @@ export interface FieldSchemaUnsafe<out Kind extends FieldKind, out Types extends
|
|
|
135
135
|
export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
|
|
136
136
|
|
|
137
137
|
// @public
|
|
138
|
-
|
|
138
|
+
type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
|
|
139
139
|
|
|
140
140
|
// @public
|
|
141
141
|
export type FluidObject<T = unknown> = {
|
|
@@ -426,10 +426,10 @@ export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSc
|
|
|
426
426
|
export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
|
|
427
427
|
|
|
428
428
|
// @public
|
|
429
|
-
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
|
|
429
|
+
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<InternalFlexListTypes.FlexListToUnion<TSchema>> : never;
|
|
430
430
|
|
|
431
431
|
// @public
|
|
432
|
-
export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
|
|
432
|
+
export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<InternalFlexListTypes.FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
|
|
433
433
|
|
|
434
434
|
// @public
|
|
435
435
|
export type InsertableTypedNode<T extends TreeNodeSchema> = (T extends {
|
|
@@ -441,6 +441,21 @@ export type InsertableTypedNodeUnsafe<T extends Unenforced<TreeNodeSchema>> = Un
|
|
|
441
441
|
implicitlyConstructable: true;
|
|
442
442
|
} ? NodeBuilderDataUnsafe<T> : never);
|
|
443
443
|
|
|
444
|
+
declare namespace InternalFlexListTypes {
|
|
445
|
+
export {
|
|
446
|
+
FlexListToUnion,
|
|
447
|
+
ExtractItemType
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
export { InternalFlexListTypes }
|
|
451
|
+
|
|
452
|
+
declare namespace InternalSimpleTreeTypes {
|
|
453
|
+
export {
|
|
454
|
+
ApplyKind
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
export { InternalSimpleTreeTypes }
|
|
458
|
+
|
|
444
459
|
// @public
|
|
445
460
|
export interface InternalTreeNode extends ErasedType<"@fluidframework/tree.InternalTreeNode"> {
|
|
446
461
|
}
|
|
@@ -769,10 +784,10 @@ export interface TreeNodeApi {
|
|
|
769
784
|
}
|
|
770
785
|
|
|
771
786
|
// @public
|
|
772
|
-
export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
|
|
787
|
+
export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
|
|
773
788
|
|
|
774
789
|
// @public
|
|
775
|
-
export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
|
|
790
|
+
export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
|
|
776
791
|
|
|
777
792
|
// @public
|
|
778
793
|
export type TreeNodeSchema<Name extends string = string, Kind extends NodeKind = NodeKind, TNode = unknown, TBuild = never, ImplicitlyConstructable extends boolean = boolean, Info = unknown> = TreeNodeSchemaClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info> | TreeNodeSchemaNonClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info>;
|
|
@@ -35,7 +35,7 @@ import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
|
35
35
|
export type AllowedTypes = readonly LazyItem<TreeNodeSchema>[];
|
|
36
36
|
|
|
37
37
|
// @public
|
|
38
|
-
|
|
38
|
+
type ApplyKind<T, Kind extends FieldKind, DefaultsAreOptional extends boolean> = {
|
|
39
39
|
[FieldKind.Required]: T;
|
|
40
40
|
[FieldKind.Optional]: T | undefined;
|
|
41
41
|
[FieldKind.Identifier]: DefaultsAreOptional extends true ? T | undefined : T;
|
|
@@ -100,7 +100,7 @@ export abstract class ErasedType<out Name = unknown> {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// @public
|
|
103
|
-
|
|
103
|
+
type ExtractItemType<Item extends LazyItem> = Item extends () => infer Result ? Result : Item;
|
|
104
104
|
|
|
105
105
|
// @public
|
|
106
106
|
export enum FieldKind {
|
|
@@ -135,7 +135,7 @@ export interface FieldSchemaUnsafe<out Kind extends FieldKind, out Types extends
|
|
|
135
135
|
export type FlexList<Item = unknown> = readonly LazyItem<Item>[];
|
|
136
136
|
|
|
137
137
|
// @public
|
|
138
|
-
|
|
138
|
+
type FlexListToUnion<TList extends FlexList> = ExtractItemType<TList[number]>;
|
|
139
139
|
|
|
140
140
|
// @public
|
|
141
141
|
export type FluidObject<T = unknown> = {
|
|
@@ -426,10 +426,10 @@ export type InsertableTreeFieldFromImplicitField<TSchema extends ImplicitFieldSc
|
|
|
426
426
|
export type InsertableTreeFieldFromImplicitFieldUnsafe<TSchema extends Unenforced<ImplicitFieldSchema>> = TSchema extends FieldSchemaUnsafe<infer Kind, infer Types> ? ApplyKind<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema>;
|
|
427
427
|
|
|
428
428
|
// @public
|
|
429
|
-
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
|
|
429
|
+
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<InternalFlexListTypes.FlexListToUnion<TSchema>> : never;
|
|
430
430
|
|
|
431
431
|
// @public
|
|
432
|
-
export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
|
|
432
|
+
export type InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends AllowedTypes ? InsertableTypedNodeUnsafe<InternalFlexListTypes.FlexListToUnion<TSchema>> : InsertableTypedNodeUnsafe<TSchema>;
|
|
433
433
|
|
|
434
434
|
// @public
|
|
435
435
|
export type InsertableTypedNode<T extends TreeNodeSchema> = (T extends {
|
|
@@ -441,6 +441,21 @@ export type InsertableTypedNodeUnsafe<T extends Unenforced<TreeNodeSchema>> = Un
|
|
|
441
441
|
implicitlyConstructable: true;
|
|
442
442
|
} ? NodeBuilderDataUnsafe<T> : never);
|
|
443
443
|
|
|
444
|
+
declare namespace InternalFlexListTypes {
|
|
445
|
+
export {
|
|
446
|
+
FlexListToUnion,
|
|
447
|
+
ExtractItemType
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
export { InternalFlexListTypes }
|
|
451
|
+
|
|
452
|
+
declare namespace InternalSimpleTreeTypes {
|
|
453
|
+
export {
|
|
454
|
+
ApplyKind
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
export { InternalSimpleTreeTypes }
|
|
458
|
+
|
|
444
459
|
// @public
|
|
445
460
|
export interface InternalTreeNode extends ErasedType<"@fluidframework/tree.InternalTreeNode"> {
|
|
446
461
|
}
|
|
@@ -769,10 +784,10 @@ export interface TreeNodeApi {
|
|
|
769
784
|
}
|
|
770
785
|
|
|
771
786
|
// @public
|
|
772
|
-
export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
|
|
787
|
+
export type TreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
|
|
773
788
|
|
|
774
789
|
// @public
|
|
775
|
-
export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<FlexListToUnion<TSchema>> : unknown;
|
|
790
|
+
export type TreeNodeFromImplicitAllowedTypesUnsafe<TSchema extends Unenforced<ImplicitAllowedTypes>> = TSchema extends ImplicitAllowedTypes ? TreeNodeFromImplicitAllowedTypes<TSchema> : TSchema extends TreeNodeSchema ? NodeFromSchema<TSchema> : TSchema extends AllowedTypes ? NodeFromSchema<InternalFlexListTypes.FlexListToUnion<TSchema>> : unknown;
|
|
776
791
|
|
|
777
792
|
// @public
|
|
778
793
|
export type TreeNodeSchema<Name extends string = string, Kind extends NodeKind = NodeKind, TNode = unknown, TBuild = never, ImplicitlyConstructable extends boolean = boolean, Info = unknown> = TreeNodeSchemaClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info> | TreeNodeSchemaNonClass<Name, Kind, TNode, TBuild, ImplicitlyConstructable, Info>;
|
package/biome.jsonc
ADDED
package/dist/legacy.d.ts
CHANGED
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
+
// Unrestricted APIs
|
|
13
|
+
InternalFlexListTypes,
|
|
14
|
+
InternalSimpleTreeTypes,
|
|
15
|
+
|
|
12
16
|
// @public APIs
|
|
13
17
|
AllowedTypes,
|
|
14
|
-
ApplyKind,
|
|
15
18
|
AttachState,
|
|
16
19
|
CommitKind,
|
|
17
20
|
CommitMetadata,
|
|
@@ -21,13 +24,11 @@ export {
|
|
|
21
24
|
ContainerSchema,
|
|
22
25
|
DefaultProvider,
|
|
23
26
|
ErasedType,
|
|
24
|
-
ExtractItemType,
|
|
25
27
|
FieldKind,
|
|
26
28
|
FieldProps,
|
|
27
29
|
FieldSchema,
|
|
28
30
|
FieldSchemaUnsafe,
|
|
29
31
|
FlexList,
|
|
30
|
-
FlexListToUnion,
|
|
31
32
|
FluidObject,
|
|
32
33
|
FluidObjectProviderKeys,
|
|
33
34
|
IConnection,
|
package/dist/public.d.ts
CHANGED
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
+
// Unrestricted APIs
|
|
13
|
+
InternalFlexListTypes,
|
|
14
|
+
InternalSimpleTreeTypes,
|
|
15
|
+
|
|
12
16
|
// @public APIs
|
|
13
17
|
AllowedTypes,
|
|
14
|
-
ApplyKind,
|
|
15
18
|
AttachState,
|
|
16
19
|
CommitKind,
|
|
17
20
|
CommitMetadata,
|
|
@@ -21,13 +24,11 @@ export {
|
|
|
21
24
|
ContainerSchema,
|
|
22
25
|
DefaultProvider,
|
|
23
26
|
ErasedType,
|
|
24
|
-
ExtractItemType,
|
|
25
27
|
FieldKind,
|
|
26
28
|
FieldProps,
|
|
27
29
|
FieldSchema,
|
|
28
30
|
FieldSchemaUnsafe,
|
|
29
31
|
FlexList,
|
|
30
|
-
FlexListToUnion,
|
|
31
32
|
FluidObject,
|
|
32
33
|
FluidObjectProviderKeys,
|
|
33
34
|
IConnection,
|
package/lib/legacy.d.ts
CHANGED
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
+
// Unrestricted APIs
|
|
13
|
+
InternalFlexListTypes,
|
|
14
|
+
InternalSimpleTreeTypes,
|
|
15
|
+
|
|
12
16
|
// @public APIs
|
|
13
17
|
AllowedTypes,
|
|
14
|
-
ApplyKind,
|
|
15
18
|
AttachState,
|
|
16
19
|
CommitKind,
|
|
17
20
|
CommitMetadata,
|
|
@@ -21,13 +24,11 @@ export {
|
|
|
21
24
|
ContainerSchema,
|
|
22
25
|
DefaultProvider,
|
|
23
26
|
ErasedType,
|
|
24
|
-
ExtractItemType,
|
|
25
27
|
FieldKind,
|
|
26
28
|
FieldProps,
|
|
27
29
|
FieldSchema,
|
|
28
30
|
FieldSchemaUnsafe,
|
|
29
31
|
FlexList,
|
|
30
|
-
FlexListToUnion,
|
|
31
32
|
FluidObject,
|
|
32
33
|
FluidObjectProviderKeys,
|
|
33
34
|
IConnection,
|
package/lib/public.d.ts
CHANGED
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export {
|
|
12
|
+
// Unrestricted APIs
|
|
13
|
+
InternalFlexListTypes,
|
|
14
|
+
InternalSimpleTreeTypes,
|
|
15
|
+
|
|
12
16
|
// @public APIs
|
|
13
17
|
AllowedTypes,
|
|
14
|
-
ApplyKind,
|
|
15
18
|
AttachState,
|
|
16
19
|
CommitKind,
|
|
17
20
|
CommitMetadata,
|
|
@@ -21,13 +24,11 @@ export {
|
|
|
21
24
|
ContainerSchema,
|
|
22
25
|
DefaultProvider,
|
|
23
26
|
ErasedType,
|
|
24
|
-
ExtractItemType,
|
|
25
27
|
FieldKind,
|
|
26
28
|
FieldProps,
|
|
27
29
|
FieldSchema,
|
|
28
30
|
FieldSchemaUnsafe,
|
|
29
31
|
FlexList,
|
|
30
|
-
FlexListToUnion,
|
|
31
32
|
FluidObject,
|
|
32
33
|
FluidObjectProviderKeys,
|
|
33
34
|
IConnection,
|
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.
|
|
3
|
+
"version": "2.0.0-dev-rc.5.0.0.270987",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -37,22 +37,22 @@
|
|
|
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.
|
|
41
|
-
"@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.
|
|
42
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.
|
|
43
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.
|
|
44
|
-
"@fluidframework/fluid-static": "2.0.0-dev-rc.5.0.0.
|
|
45
|
-
"@fluidframework/map": "2.0.0-dev-rc.5.0.0.
|
|
46
|
-
"@fluidframework/sequence": "2.0.0-dev-rc.5.0.0.
|
|
47
|
-
"@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.
|
|
48
|
-
"@fluidframework/tree": "2.0.0-dev-rc.5.0.0.
|
|
40
|
+
"@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.270987",
|
|
41
|
+
"@fluidframework/container-loader": "2.0.0-dev-rc.5.0.0.270987",
|
|
42
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.270987",
|
|
43
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.270987",
|
|
44
|
+
"@fluidframework/fluid-static": "2.0.0-dev-rc.5.0.0.270987",
|
|
45
|
+
"@fluidframework/map": "2.0.0-dev-rc.5.0.0.270987",
|
|
46
|
+
"@fluidframework/sequence": "2.0.0-dev-rc.5.0.0.270987",
|
|
47
|
+
"@fluidframework/shared-object-base": "2.0.0-dev-rc.5.0.0.270987",
|
|
48
|
+
"@fluidframework/tree": "2.0.0-dev-rc.5.0.0.270987"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
52
52
|
"@biomejs/biome": "^1.7.3",
|
|
53
|
-
"@fluid-tools/build-cli": "^0.39.0
|
|
53
|
+
"@fluid-tools/build-cli": "^0.39.0",
|
|
54
54
|
"@fluidframework/build-common": "^2.0.3",
|
|
55
|
-
"@fluidframework/build-tools": "^0.39.0
|
|
55
|
+
"@fluidframework/build-tools": "^0.39.0",
|
|
56
56
|
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
57
57
|
"@microsoft/api-extractor": "^7.45.1",
|
|
58
58
|
"@types/node": "^18.19.0",
|
|
@@ -83,13 +83,16 @@
|
|
|
83
83
|
"build:docs": "api-extractor run --local",
|
|
84
84
|
"build:esnext": "tsc --project ./tsconfig.json",
|
|
85
85
|
"check:are-the-types-wrong": "attw --pack .",
|
|
86
|
+
"check:biome": "biome check . --formatter-enabled=true",
|
|
87
|
+
"check:format": "npm run check:prettier",
|
|
86
88
|
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
87
89
|
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
|
|
88
90
|
"ci:build:docs": "api-extractor run",
|
|
89
91
|
"clean": "rimraf --glob _api-extractor-temp dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\"",
|
|
90
92
|
"eslint": "eslint --format stylish src",
|
|
91
93
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
92
|
-
"format": "
|
|
94
|
+
"format": "npm run format:prettier",
|
|
95
|
+
"format:biome": "biome check . --formatter-enabled=true --apply",
|
|
93
96
|
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
94
97
|
"lint": "fluid-build . --task lint",
|
|
95
98
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|