fluid-framework 2.70.0-360374 → 2.70.0-360753
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 +31 -27
- package/api-report/fluid-framework.beta.api.md +36 -1
- package/api-report/fluid-framework.legacy.beta.api.md +36 -1
- package/dist/alpha.d.ts +4 -4
- package/dist/beta.d.ts +4 -0
- package/dist/legacy.d.ts +4 -0
- package/lib/alpha.d.ts +4 -4
- package/lib/beta.d.ts +4 -0
- package/lib/legacy.d.ts +4 -0
- package/package.json +13 -15
|
@@ -335,7 +335,7 @@ export interface FieldSchemaMetadata<TCustomMetadata = unknown> {
|
|
|
335
335
|
readonly description?: string | undefined;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
|
-
// @
|
|
338
|
+
// @beta
|
|
339
339
|
export type FixRecursiveArraySchema<T> = T extends TreeNodeSchema ? undefined : undefined;
|
|
340
340
|
|
|
341
341
|
// @public @system
|
|
@@ -363,7 +363,7 @@ export type FluidObject<T = unknown> = {
|
|
|
363
363
|
// @public
|
|
364
364
|
export type FluidObjectProviderKeys<T, TProp extends keyof T = keyof T> = string extends TProp ? never : number extends TProp ? never : TProp extends keyof Required<T>[TProp] ? Required<T>[TProp] extends Required<Required<T>[TProp]>[TProp] ? TProp : never : never;
|
|
365
365
|
|
|
366
|
-
// @
|
|
366
|
+
// @beta
|
|
367
367
|
export namespace FluidSerializableAsTree {
|
|
368
368
|
// @sealed
|
|
369
369
|
export class Array extends _APIExtractorWorkaroundArrayBase {
|
|
@@ -380,7 +380,9 @@ export namespace FluidSerializableAsTree {
|
|
|
380
380
|
// @system
|
|
381
381
|
export type _RecursiveArrayWorkaroundJsonArray = FixRecursiveArraySchema<typeof Array>;
|
|
382
382
|
const // @system
|
|
383
|
-
_APIExtractorWorkaroundArrayBase:
|
|
383
|
+
_APIExtractorWorkaroundArrayBase: TreeNodeSchemaClass_2<"com.fluidframework.serializable.array", NodeKind_2.Array, System_Unsafe_2.TreeArrayNodeUnsafe<readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>]> & WithType_2<"com.fluidframework.serializable.array", NodeKind_2.Array, unknown>, {
|
|
384
|
+
[Symbol.iterator](): Iterator<string | number | IFluidHandle<unknown> | System_Unsafe_2.InsertableTypedNodeUnsafe<LeafSchema_2<"boolean", boolean>, LeafSchema_2<"boolean", boolean>> | FluidSerializableObject | Array | null, any, undefined>;
|
|
385
|
+
}, false, readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>], undefined>;
|
|
384
386
|
// (undocumented)
|
|
385
387
|
export type Tree = TreeNodeFromImplicitAllowedTypes<typeof Tree>;
|
|
386
388
|
}
|
|
@@ -869,10 +871,10 @@ export namespace JsonAsTree {
|
|
|
869
871
|
export type Tree = TreeNodeFromImplicitAllowedTypes<typeof Tree>;
|
|
870
872
|
}
|
|
871
873
|
|
|
872
|
-
// @
|
|
874
|
+
// @beta
|
|
873
875
|
export type JsonCompatible<TExtra = never> = string | number | boolean | null | JsonCompatible<TExtra>[] | JsonCompatibleObject<TExtra> | TExtra;
|
|
874
876
|
|
|
875
|
-
// @
|
|
877
|
+
// @beta
|
|
876
878
|
export type JsonCompatibleObject<TExtra = never> = {
|
|
877
879
|
[P in string]?: JsonCompatible<TExtra>;
|
|
878
880
|
};
|
|
@@ -1125,14 +1127,14 @@ TSchema
|
|
|
1125
1127
|
] extends [ImplicitFieldSchema] ? TSchema : ImplicitFieldSchema;
|
|
1126
1128
|
|
|
1127
1129
|
// @alpha @sealed @system
|
|
1128
|
-
export interface RecordNodeCustomizableSchema<out TName extends string = string, in out T extends ImplicitAllowedTypes = ImplicitAllowedTypes, out ImplicitlyConstructable extends boolean = true, out TCustomMetadata = unknown> extends TreeNodeSchemaClass<TName, NodeKind.Record, TreeRecordNode<T> & WithType<TName, NodeKind.Record, T>, RecordNodeInsertableData<T>, ImplicitlyConstructable, T,
|
|
1130
|
+
export interface RecordNodeCustomizableSchema<out TName extends string = string, in out T extends ImplicitAllowedTypes = ImplicitAllowedTypes, out ImplicitlyConstructable extends boolean = true, out TCustomMetadata = unknown> extends TreeNodeSchemaClass<TName, NodeKind.Record, TreeRecordNode<T> & WithType<TName, NodeKind.Record, T>, RecordNodeInsertableData<T>, ImplicitlyConstructable, T, undefined, TCustomMetadata>, SimpleRecordNodeSchema<TCustomMetadata> {
|
|
1129
1131
|
}
|
|
1130
1132
|
|
|
1131
1133
|
// @beta @system
|
|
1132
1134
|
export type RecordNodeInsertableData<T extends ImplicitAllowedTypes> = RestrictiveStringRecord<InsertableTreeNodeFromImplicitAllowedTypes<T>>;
|
|
1133
1135
|
|
|
1134
1136
|
// @alpha @sealed @system
|
|
1135
|
-
export interface RecordNodePojoEmulationSchema<out TName extends string = string, in out T extends ImplicitAllowedTypes = ImplicitAllowedTypes, out ImplicitlyConstructable extends boolean = true, out TCustomMetadata = unknown> extends TreeNodeSchemaNonClass<TName, NodeKind.Record, TreeRecordNode<T> & WithType<TName, NodeKind.Record, T>, RecordNodeInsertableData<T>, ImplicitlyConstructable, T,
|
|
1137
|
+
export interface RecordNodePojoEmulationSchema<out TName extends string = string, in out T extends ImplicitAllowedTypes = ImplicitAllowedTypes, out ImplicitlyConstructable extends boolean = true, out TCustomMetadata = unknown> extends TreeNodeSchemaNonClass<TName, NodeKind.Record, TreeRecordNode<T> & WithType<TName, NodeKind.Record, T>, RecordNodeInsertableData<T>, ImplicitlyConstructable, T, undefined, TCustomMetadata>, SimpleRecordNodeSchema<TCustomMetadata> {
|
|
1136
1138
|
}
|
|
1137
1139
|
|
|
1138
1140
|
// @alpha
|
|
@@ -1298,7 +1300,7 @@ export class SchemaFactoryBeta<out TScope extends string | undefined = string |
|
|
|
1298
1300
|
// (undocumented)
|
|
1299
1301
|
objectRecursive<const Name extends TName, const T extends RestrictiveStringRecord<System_Unsafe.ImplicitFieldSchemaUnsafe>, const TCustomMetadata = unknown>(name: Name, t: T, options?: ObjectSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Object, System_Unsafe.TreeObjectNodeUnsafe<T, ScopedSchemaName<TScope, Name>>, object & System_Unsafe.InsertableObjectFromSchemaRecordUnsafe<T>, false, T>;
|
|
1300
1302
|
record<const T extends TreeNodeSchema | readonly TreeNodeSchema[]>(allowedTypes: T): TreeNodeSchemaNonClass<ScopedSchemaName<TScope, `Record<${string}>`>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, `Record<${string}>`>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined>;
|
|
1301
|
-
record<const Name extends TName, const T extends ImplicitAllowedTypes>(name: Name, allowedTypes: T): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined>;
|
|
1303
|
+
record<const Name extends TName, const T extends ImplicitAllowedTypes, const TCustomMetadata = unknown>(name: Name, allowedTypes: T, options?: NodeSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined, TCustomMetadata>;
|
|
1302
1304
|
recordRecursive<Name extends TName, const T extends System_Unsafe.ImplicitAllowedTypesUnsafe, const TCustomMetadata = unknown>(name: Name, allowedTypes: T, options?: NodeSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNodeUnsafe<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record, unknown>, {
|
|
1303
1305
|
readonly [x: string]: System_Unsafe.InsertableTreeNodeFromImplicitAllowedTypesUnsafe<T>;
|
|
1304
1306
|
}, false, T, undefined, TCustomMetadata>;
|
|
@@ -1445,9 +1447,9 @@ export namespace System_TableSchema {
|
|
|
1445
1447
|
// @sealed @system
|
|
1446
1448
|
export type ColumnSchemaBase<TScope extends string | undefined = string | undefined, TCellSchema extends ImplicitAllowedTypes = ImplicitAllowedTypes, TPropsSchema extends ImplicitFieldSchema = ImplicitFieldSchema> = ReturnType<typeof createColumnSchema<TScope, TCellSchema, TPropsSchema>>;
|
|
1447
1449
|
// @system
|
|
1448
|
-
export type CreateColumnOptionsBase<TSchemaFactory extends
|
|
1450
|
+
export type CreateColumnOptionsBase<TSchemaFactory extends SchemaFactoryBeta = SchemaFactoryBeta, TCell extends ImplicitAllowedTypes = ImplicitAllowedTypes> = OptionsWithSchemaFactory<TSchemaFactory> & OptionsWithCellSchema<TCell>;
|
|
1449
1451
|
// @system
|
|
1450
|
-
export function createColumnSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TPropsSchema extends ImplicitFieldSchema>(inputSchemaFactory:
|
|
1452
|
+
export function createColumnSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TPropsSchema extends ImplicitFieldSchema>(inputSchemaFactory: SchemaFactoryBeta<TInputScope>, cellSchema: TCellSchema, propsSchema: TPropsSchema): TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Column">, NodeKind.Object, TreeNode & TableSchema.Column<TCellSchema, TPropsSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Column">, NodeKind, unknown>, object & {
|
|
1451
1453
|
readonly id?: string | undefined;
|
|
1452
1454
|
} & (FieldHasDefault<TPropsSchema> extends true ? {
|
|
1453
1455
|
props?: InsertableTreeFieldFromImplicitField<TPropsSchema> | undefined;
|
|
@@ -1458,11 +1460,11 @@ export namespace System_TableSchema {
|
|
|
1458
1460
|
readonly id: FieldSchema_2<FieldKind_2.Identifier, LeafSchema_2<"string", string>, unknown>;
|
|
1459
1461
|
}>;
|
|
1460
1462
|
// @system
|
|
1461
|
-
export type CreateRowOptionsBase<TSchemaFactory extends
|
|
1463
|
+
export type CreateRowOptionsBase<TSchemaFactory extends SchemaFactoryBeta = SchemaFactoryBeta, TCell extends ImplicitAllowedTypes = ImplicitAllowedTypes> = OptionsWithSchemaFactory<TSchemaFactory> & OptionsWithCellSchema<TCell>;
|
|
1462
1464
|
// @sealed
|
|
1463
|
-
export function createRowSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TPropsSchema extends ImplicitFieldSchema>(inputSchemaFactory:
|
|
1465
|
+
export function createRowSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TPropsSchema extends ImplicitFieldSchema>(inputSchemaFactory: SchemaFactoryBeta<TInputScope>, cellSchema: TCellSchema, propsSchema: TPropsSchema): TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row">, NodeKind.Object, TreeNode & TableSchema.Row<TCellSchema, TPropsSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row">, NodeKind, unknown>, object & {
|
|
1464
1466
|
readonly id?: string | undefined;
|
|
1465
|
-
readonly cells: (InsertableTypedNode_2<TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, TreeRecordNode_2<TCellSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, unknown>, RecordNodeInsertableData_2<TCellSchema>, true, TCellSchema, undefined>> | undefined) & InsertableTypedNode_2<TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, TreeRecordNode_2<TCellSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, unknown>, RecordNodeInsertableData_2<TCellSchema>, true, TCellSchema, undefined>>;
|
|
1467
|
+
readonly cells: (InsertableTypedNode_2<TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, TreeRecordNode_2<TCellSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, unknown>, RecordNodeInsertableData_2<TCellSchema>, true, TCellSchema, undefined, unknown>> | undefined) & InsertableTypedNode_2<TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, TreeRecordNode_2<TCellSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, unknown>, RecordNodeInsertableData_2<TCellSchema>, true, TCellSchema, undefined, unknown>>;
|
|
1466
1468
|
} & (FieldHasDefault<TPropsSchema> extends true ? {
|
|
1467
1469
|
props?: InsertableTreeFieldFromImplicitField<TPropsSchema> | undefined;
|
|
1468
1470
|
} : {
|
|
@@ -1470,10 +1472,10 @@ export namespace System_TableSchema {
|
|
|
1470
1472
|
}), true, {
|
|
1471
1473
|
readonly props: TPropsSchema;
|
|
1472
1474
|
readonly id: FieldSchema_2<FieldKind_2.Identifier, LeafSchema_2<"string", string>, unknown>;
|
|
1473
|
-
readonly cells:
|
|
1475
|
+
readonly cells: FieldSchema_2<FieldKind_2.Required, TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, TreeRecordNode_2<TCellSchema> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Row.cells">, NodeKind.Record, unknown>, RecordNodeInsertableData_2<TCellSchema>, true, TCellSchema, undefined, unknown>, unknown>;
|
|
1474
1476
|
}>;
|
|
1475
1477
|
// @system
|
|
1476
|
-
export function createTableSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TColumnSchema extends ColumnSchemaBase<TInputScope, TCellSchema>, const TRowSchema extends RowSchemaBase<TInputScope, TCellSchema>>(inputSchemaFactory:
|
|
1478
|
+
export function createTableSchema<const TInputScope extends string | undefined, const TCellSchema extends ImplicitAllowedTypes, const TColumnSchema extends ColumnSchemaBase<TInputScope, TCellSchema>, const TRowSchema extends RowSchemaBase<TInputScope, TCellSchema>>(inputSchemaFactory: SchemaFactoryBeta<TInputScope>, _cellSchema: TCellSchema, columnSchema: TColumnSchema, rowSchema: TRowSchema): TreeNodeSchemaCore_2<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table">, NodeKind.Object, true, {
|
|
1477
1479
|
readonly rows: TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table.rows">, NodeKind.Array, TreeArrayNode<TRowSchema, [TRowSchema] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TRowSchema> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, [TRowSchema] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TRowSchema> : never, ReadonlyArrayNode_2<TreeNode | TreeLeafValue_2>> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table.rows">, NodeKind.Array, unknown>, Iterable<InsertableTreeNodeFromImplicitAllowedTypes<TRowSchema>>, true, TRowSchema, undefined>;
|
|
1478
1480
|
readonly columns: TreeNodeSchemaClass<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table.columns">, NodeKind.Array, TreeArrayNode<TColumnSchema, [TColumnSchema] extends [ImplicitAllowedTypes] ? TreeNodeFromImplicitAllowedTypes<TColumnSchema> : TreeNodeFromImplicitAllowedTypes<ImplicitAllowedTypes>, [TColumnSchema] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypes<TColumnSchema> : never, ReadonlyArrayNode_2<TreeNode | TreeLeafValue_2>> & WithType<ScopedSchemaName<ScopedSchemaName<TInputScope, "table">, "Table.columns">, NodeKind.Array, unknown>, Iterable<InsertableTreeNodeFromImplicitAllowedTypes<TColumnSchema>>, true, TColumnSchema, undefined>;
|
|
1479
1481
|
}, object & {
|
|
@@ -1495,13 +1497,13 @@ export namespace System_TableSchema {
|
|
|
1495
1497
|
readonly cell: TCellSchema;
|
|
1496
1498
|
}
|
|
1497
1499
|
// @system
|
|
1498
|
-
export interface OptionsWithSchemaFactory<TSchemaFactory extends
|
|
1500
|
+
export interface OptionsWithSchemaFactory<TSchemaFactory extends SchemaFactoryBeta> {
|
|
1499
1501
|
readonly schemaFactory: TSchemaFactory;
|
|
1500
1502
|
}
|
|
1501
1503
|
// @sealed @system
|
|
1502
1504
|
export type RowSchemaBase<TScope extends string | undefined = string | undefined, TCellSchema extends ImplicitAllowedTypes = ImplicitAllowedTypes, TPropsSchema extends ImplicitFieldSchema = ImplicitFieldSchema> = ReturnType<typeof createRowSchema<TScope, TCellSchema, TPropsSchema>>;
|
|
1503
1505
|
// @system
|
|
1504
|
-
export type TableFactoryOptionsBase<TSchemaFactory extends
|
|
1506
|
+
export type TableFactoryOptionsBase<TSchemaFactory extends SchemaFactoryBeta = SchemaFactoryBeta, TCell extends ImplicitAllowedTypes = ImplicitAllowedTypes> = OptionsWithSchemaFactory<TSchemaFactory> & OptionsWithCellSchema<TCell>;
|
|
1505
1507
|
// @sealed @system
|
|
1506
1508
|
export type TableSchemaBase<TScope extends string | undefined, TCell extends ImplicitAllowedTypes, TColumn extends ColumnSchemaBase<TScope, TCell>, TRow extends RowSchemaBase<TScope, TCell>> = ReturnType<typeof createTableSchema<TScope, TCell, TColumn, TRow>>;
|
|
1507
1509
|
}
|
|
@@ -1592,8 +1594,8 @@ export namespace System_Unsafe {
|
|
|
1592
1594
|
// @alpha
|
|
1593
1595
|
export namespace TableSchema {
|
|
1594
1596
|
export interface CellKey<TColumn extends ImplicitAllowedTypes, TRow extends ImplicitAllowedTypes> {
|
|
1595
|
-
readonly column: string | TreeNodeFromImplicitAllowedTypes<TColumn>;
|
|
1596
|
-
readonly row: string | TreeNodeFromImplicitAllowedTypes<TRow>;
|
|
1597
|
+
readonly column: string | number | TreeNodeFromImplicitAllowedTypes<TColumn>;
|
|
1598
|
+
readonly row: string | number | TreeNodeFromImplicitAllowedTypes<TRow>;
|
|
1597
1599
|
}
|
|
1598
1600
|
// @sealed
|
|
1599
1601
|
export interface Column<TCell extends ImplicitAllowedTypes, TProps extends ImplicitFieldSchema = ImplicitFieldSchema> {
|
|
@@ -1605,8 +1607,8 @@ export namespace TableSchema {
|
|
|
1605
1607
|
get props(): TreeFieldFromImplicitField<TProps>;
|
|
1606
1608
|
set props(value: InsertableTreeFieldFromImplicitField<TProps>);
|
|
1607
1609
|
}
|
|
1608
|
-
export function column<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.CreateColumnOptionsBase<
|
|
1609
|
-
export function column<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TProps extends ImplicitFieldSchema>(params: System_TableSchema.CreateColumnOptionsBase<
|
|
1610
|
+
export function column<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.CreateColumnOptionsBase<SchemaFactoryBeta<TScope>, TCell>): System_TableSchema.ColumnSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>;
|
|
1611
|
+
export function column<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TProps extends ImplicitFieldSchema>(params: System_TableSchema.CreateColumnOptionsBase<SchemaFactoryBeta<TScope>, TCell> & {
|
|
1610
1612
|
readonly props: TProps;
|
|
1611
1613
|
}): System_TableSchema.ColumnSchemaBase<TScope, TCell, TProps>;
|
|
1612
1614
|
export interface InsertColumnsParameters<TColumn extends ImplicitAllowedTypes> {
|
|
@@ -1633,8 +1635,8 @@ export namespace TableSchema {
|
|
|
1633
1635
|
setCell(column: Column<TCell>, value: InsertableTreeNodeFromImplicitAllowedTypes<TCell>): void;
|
|
1634
1636
|
setCell(columnId: string, value: InsertableTreeNodeFromImplicitAllowedTypes<TCell>): void;
|
|
1635
1637
|
}
|
|
1636
|
-
export function row<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.CreateRowOptionsBase<
|
|
1637
|
-
export function row<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TProps extends ImplicitFieldSchema>(params: System_TableSchema.CreateRowOptionsBase<
|
|
1638
|
+
export function row<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.CreateRowOptionsBase<SchemaFactoryBeta<TScope>, TCell>): System_TableSchema.RowSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>;
|
|
1639
|
+
export function row<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TProps extends ImplicitFieldSchema>(params: System_TableSchema.CreateRowOptionsBase<SchemaFactoryBeta<TScope>, TCell> & {
|
|
1638
1640
|
readonly props: TProps;
|
|
1639
1641
|
}): System_TableSchema.RowSchemaBase<TScope, TCell, TProps>;
|
|
1640
1642
|
export interface SetCellParameters<TCell extends ImplicitAllowedTypes, TColumn extends ImplicitAllowedTypes, TRow extends ImplicitAllowedTypes> {
|
|
@@ -1646,7 +1648,9 @@ export namespace TableSchema {
|
|
|
1646
1648
|
readonly columns: TreeArrayNode<TColumn>;
|
|
1647
1649
|
getCell(key: CellKey<TColumn, TRow>): TreeNodeFromImplicitAllowedTypes<TCell> | undefined;
|
|
1648
1650
|
getColumn(id: string): TreeNodeFromImplicitAllowedTypes<TColumn> | undefined;
|
|
1651
|
+
getColumn(index: number): TreeNodeFromImplicitAllowedTypes<TColumn> | undefined;
|
|
1649
1652
|
getRow(id: string): TreeNodeFromImplicitAllowedTypes<TRow> | undefined;
|
|
1653
|
+
getRow(index: number): TreeNodeFromImplicitAllowedTypes<TRow> | undefined;
|
|
1650
1654
|
insertColumns(params: InsertColumnsParameters<TColumn>): TreeNodeFromImplicitAllowedTypes<TColumn>[];
|
|
1651
1655
|
insertRows(params: InsertRowsParameters<TRow>): TreeNodeFromImplicitAllowedTypes<TRow>[];
|
|
1652
1656
|
removeCell(key: CellKey<TColumn, TRow>): TreeNodeFromImplicitAllowedTypes<TCell> | undefined;
|
|
@@ -1659,14 +1663,14 @@ export namespace TableSchema {
|
|
|
1659
1663
|
readonly rows: TreeArrayNode<TRow>;
|
|
1660
1664
|
setCell(params: SetCellParameters<TCell, TColumn, TRow>): void;
|
|
1661
1665
|
}
|
|
1662
|
-
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.TableFactoryOptionsBase<
|
|
1663
|
-
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TColumn extends System_TableSchema.ColumnSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<
|
|
1666
|
+
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryBeta<TScope>, TCell>): System_TableSchema.TableSchemaBase<TScope, TCell, System_TableSchema.ColumnSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>, System_TableSchema.RowSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>>;
|
|
1667
|
+
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TColumn extends System_TableSchema.ColumnSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryBeta<TScope>, TCell> & {
|
|
1664
1668
|
readonly column: TColumn;
|
|
1665
1669
|
}): System_TableSchema.TableSchemaBase<TScope, TCell, TColumn, System_TableSchema.RowSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>>;
|
|
1666
|
-
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TRow extends System_TableSchema.RowSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<
|
|
1670
|
+
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TRow extends System_TableSchema.RowSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryBeta<TScope>, TCell> & {
|
|
1667
1671
|
readonly row: TRow;
|
|
1668
1672
|
}): System_TableSchema.TableSchemaBase<TScope, TCell, System_TableSchema.ColumnSchemaBase<TScope, TCell, System_TableSchema.DefaultPropsType>, TRow>;
|
|
1669
|
-
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TColumn extends System_TableSchema.ColumnSchemaBase<TScope, TCell>, const TRow extends System_TableSchema.RowSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<
|
|
1673
|
+
export function table<const TScope extends string | undefined, const TCell extends ImplicitAllowedTypes, const TColumn extends System_TableSchema.ColumnSchemaBase<TScope, TCell>, const TRow extends System_TableSchema.RowSchemaBase<TScope, TCell>>(params: System_TableSchema.TableFactoryOptionsBase<SchemaFactoryBeta<TScope>, TCell> & {
|
|
1670
1674
|
readonly column: TColumn;
|
|
1671
1675
|
readonly row: TRow;
|
|
1672
1676
|
}): System_TableSchema.TableSchemaBase<TScope, TCell, TColumn, TRow>;
|
|
@@ -154,6 +154,9 @@ export interface FieldSchemaMetadata<TCustomMetadata = unknown> {
|
|
|
154
154
|
readonly description?: string | undefined;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
+
// @beta
|
|
158
|
+
export type FixRecursiveArraySchema<T> = T extends TreeNodeSchema ? undefined : undefined;
|
|
159
|
+
|
|
157
160
|
// @public @system
|
|
158
161
|
type FlattenKeys<T> = [{
|
|
159
162
|
[Property in keyof T]: T[Property];
|
|
@@ -173,6 +176,30 @@ export type FluidObject<T = unknown> = {
|
|
|
173
176
|
// @public
|
|
174
177
|
export type FluidObjectProviderKeys<T, TProp extends keyof T = keyof T> = string extends TProp ? never : number extends TProp ? never : TProp extends keyof Required<T>[TProp] ? Required<T>[TProp] extends Required<Required<T>[TProp]>[TProp] ? TProp : never : never;
|
|
175
178
|
|
|
179
|
+
// @beta
|
|
180
|
+
export namespace FluidSerializableAsTree {
|
|
181
|
+
// @sealed
|
|
182
|
+
export class Array extends _APIExtractorWorkaroundArrayBase {
|
|
183
|
+
}
|
|
184
|
+
const Tree: readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>];
|
|
185
|
+
export type Data = JsonCompatible<IFluidHandle>;
|
|
186
|
+
const // @system
|
|
187
|
+
_APIExtractorWorkaroundObjectBase: TreeNodeSchemaClass_2<"com.fluidframework.serializable.object", NodeKind_2.Record, TreeRecordNodeUnsafe_2<readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>]> & WithType_2<"com.fluidframework.serializable.object", NodeKind_2.Record, unknown>, {
|
|
188
|
+
readonly [x: string]: string | number | IFluidHandle<unknown> | System_Unsafe_2.InsertableTypedNodeUnsafe<LeafSchema_2<"boolean", boolean>, LeafSchema_2<"boolean", boolean>> | FluidSerializableObject | Array | null;
|
|
189
|
+
}, false, readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>], undefined, unknown>;
|
|
190
|
+
// @sealed
|
|
191
|
+
export class FluidSerializableObject extends _APIExtractorWorkaroundObjectBase {
|
|
192
|
+
}
|
|
193
|
+
// @system
|
|
194
|
+
export type _RecursiveArrayWorkaroundJsonArray = FixRecursiveArraySchema<typeof Array>;
|
|
195
|
+
const // @system
|
|
196
|
+
_APIExtractorWorkaroundArrayBase: TreeNodeSchemaClass_2<"com.fluidframework.serializable.array", NodeKind_2.Array, System_Unsafe_2.TreeArrayNodeUnsafe<readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>]> & WithType_2<"com.fluidframework.serializable.array", NodeKind_2.Array, unknown>, {
|
|
197
|
+
[Symbol.iterator](): Iterator<string | number | IFluidHandle<unknown> | System_Unsafe_2.InsertableTypedNodeUnsafe<LeafSchema_2<"boolean", boolean>, LeafSchema_2<"boolean", boolean>> | FluidSerializableObject | Array | null, any, undefined>;
|
|
198
|
+
}, false, readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>], undefined>;
|
|
199
|
+
// (undocumented)
|
|
200
|
+
export type Tree = TreeNodeFromImplicitAllowedTypes<typeof Tree>;
|
|
201
|
+
}
|
|
202
|
+
|
|
176
203
|
// @beta @input
|
|
177
204
|
export interface ForestOptions {
|
|
178
205
|
readonly forest?: ForestType;
|
|
@@ -566,6 +593,14 @@ export interface ITreeViewConfiguration<TSchema extends ImplicitFieldSchema = Im
|
|
|
566
593
|
readonly schema: TSchema;
|
|
567
594
|
}
|
|
568
595
|
|
|
596
|
+
// @beta
|
|
597
|
+
export type JsonCompatible<TExtra = never> = string | number | boolean | null | JsonCompatible<TExtra>[] | JsonCompatibleObject<TExtra> | TExtra;
|
|
598
|
+
|
|
599
|
+
// @beta
|
|
600
|
+
export type JsonCompatibleObject<TExtra = never> = {
|
|
601
|
+
[P in string]?: JsonCompatible<TExtra>;
|
|
602
|
+
};
|
|
603
|
+
|
|
569
604
|
// @beta @input
|
|
570
605
|
export enum KeyEncodingOptions {
|
|
571
606
|
allStoredKeys = "allStoredKeys",
|
|
@@ -770,7 +805,7 @@ export class SchemaFactoryBeta<out TScope extends string | undefined = string |
|
|
|
770
805
|
// (undocumented)
|
|
771
806
|
objectRecursive<const Name extends TName, const T extends RestrictiveStringRecord<System_Unsafe.ImplicitFieldSchemaUnsafe>, const TCustomMetadata = unknown>(name: Name, t: T, options?: ObjectSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Object, System_Unsafe.TreeObjectNodeUnsafe<T, ScopedSchemaName<TScope, Name>>, object & System_Unsafe.InsertableObjectFromSchemaRecordUnsafe<T>, false, T>;
|
|
772
807
|
record<const T extends TreeNodeSchema | readonly TreeNodeSchema[]>(allowedTypes: T): TreeNodeSchemaNonClass<ScopedSchemaName<TScope, `Record<${string}>`>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, `Record<${string}>`>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined>;
|
|
773
|
-
record<const Name extends TName, const T extends ImplicitAllowedTypes>(name: Name, allowedTypes: T): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined>;
|
|
808
|
+
record<const Name extends TName, const T extends ImplicitAllowedTypes, const TCustomMetadata = unknown>(name: Name, allowedTypes: T, options?: NodeSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined, TCustomMetadata>;
|
|
774
809
|
recordRecursive<Name extends TName, const T extends System_Unsafe.ImplicitAllowedTypesUnsafe, const TCustomMetadata = unknown>(name: Name, allowedTypes: T, options?: NodeSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNodeUnsafe<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record, unknown>, {
|
|
775
810
|
readonly [x: string]: System_Unsafe.InsertableTreeNodeFromImplicitAllowedTypesUnsafe<T>;
|
|
776
811
|
}, false, T, undefined, TCustomMetadata>;
|
|
@@ -157,6 +157,9 @@ export interface FieldSchemaMetadata<TCustomMetadata = unknown> {
|
|
|
157
157
|
readonly description?: string | undefined;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
// @beta
|
|
161
|
+
export type FixRecursiveArraySchema<T> = T extends TreeNodeSchema ? undefined : undefined;
|
|
162
|
+
|
|
160
163
|
// @public @system
|
|
161
164
|
type FlattenKeys<T> = [{
|
|
162
165
|
[Property in keyof T]: T[Property];
|
|
@@ -176,6 +179,30 @@ export type FluidObject<T = unknown> = {
|
|
|
176
179
|
// @public
|
|
177
180
|
export type FluidObjectProviderKeys<T, TProp extends keyof T = keyof T> = string extends TProp ? never : number extends TProp ? never : TProp extends keyof Required<T>[TProp] ? Required<T>[TProp] extends Required<Required<T>[TProp]>[TProp] ? TProp : never : never;
|
|
178
181
|
|
|
182
|
+
// @beta
|
|
183
|
+
export namespace FluidSerializableAsTree {
|
|
184
|
+
// @sealed
|
|
185
|
+
export class Array extends _APIExtractorWorkaroundArrayBase {
|
|
186
|
+
}
|
|
187
|
+
const Tree: readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>];
|
|
188
|
+
export type Data = JsonCompatible<IFluidHandle>;
|
|
189
|
+
const // @system
|
|
190
|
+
_APIExtractorWorkaroundObjectBase: TreeNodeSchemaClass_2<"com.fluidframework.serializable.object", NodeKind_2.Record, TreeRecordNodeUnsafe_2<readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>]> & WithType_2<"com.fluidframework.serializable.object", NodeKind_2.Record, unknown>, {
|
|
191
|
+
readonly [x: string]: string | number | IFluidHandle<unknown> | System_Unsafe_2.InsertableTypedNodeUnsafe<LeafSchema_2<"boolean", boolean>, LeafSchema_2<"boolean", boolean>> | FluidSerializableObject | Array | null;
|
|
192
|
+
}, false, readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>], undefined, unknown>;
|
|
193
|
+
// @sealed
|
|
194
|
+
export class FluidSerializableObject extends _APIExtractorWorkaroundObjectBase {
|
|
195
|
+
}
|
|
196
|
+
// @system
|
|
197
|
+
export type _RecursiveArrayWorkaroundJsonArray = FixRecursiveArraySchema<typeof Array>;
|
|
198
|
+
const // @system
|
|
199
|
+
_APIExtractorWorkaroundArrayBase: TreeNodeSchemaClass_2<"com.fluidframework.serializable.array", NodeKind_2.Array, System_Unsafe_2.TreeArrayNodeUnsafe<readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>]> & WithType_2<"com.fluidframework.serializable.array", NodeKind_2.Array, unknown>, {
|
|
200
|
+
[Symbol.iterator](): Iterator<string | number | IFluidHandle<unknown> | System_Unsafe_2.InsertableTypedNodeUnsafe<LeafSchema_2<"boolean", boolean>, LeafSchema_2<"boolean", boolean>> | FluidSerializableObject | Array | null, any, undefined>;
|
|
201
|
+
}, false, readonly [() => typeof FluidSerializableObject, () => typeof Array, LeafSchema_2<"string", string>, LeafSchema_2<"number", number>, LeafSchema_2<"boolean", boolean>, LeafSchema_2<"null", null>, LeafSchema_2<"handle", IFluidHandle<unknown>>], undefined>;
|
|
202
|
+
// (undocumented)
|
|
203
|
+
export type Tree = TreeNodeFromImplicitAllowedTypes<typeof Tree>;
|
|
204
|
+
}
|
|
205
|
+
|
|
179
206
|
// @beta @input
|
|
180
207
|
export interface ForestOptions {
|
|
181
208
|
readonly forest?: ForestType;
|
|
@@ -844,6 +871,14 @@ export interface IValueChanged {
|
|
|
844
871
|
readonly previousValue: any;
|
|
845
872
|
}
|
|
846
873
|
|
|
874
|
+
// @beta
|
|
875
|
+
export type JsonCompatible<TExtra = never> = string | number | boolean | null | JsonCompatible<TExtra>[] | JsonCompatibleObject<TExtra> | TExtra;
|
|
876
|
+
|
|
877
|
+
// @beta
|
|
878
|
+
export type JsonCompatibleObject<TExtra = never> = {
|
|
879
|
+
[P in string]?: JsonCompatible<TExtra>;
|
|
880
|
+
};
|
|
881
|
+
|
|
847
882
|
// @beta @input
|
|
848
883
|
export enum KeyEncodingOptions {
|
|
849
884
|
allStoredKeys = "allStoredKeys",
|
|
@@ -1048,7 +1083,7 @@ export class SchemaFactoryBeta<out TScope extends string | undefined = string |
|
|
|
1048
1083
|
// (undocumented)
|
|
1049
1084
|
objectRecursive<const Name extends TName, const T extends RestrictiveStringRecord<System_Unsafe.ImplicitFieldSchemaUnsafe>, const TCustomMetadata = unknown>(name: Name, t: T, options?: ObjectSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Object, System_Unsafe.TreeObjectNodeUnsafe<T, ScopedSchemaName<TScope, Name>>, object & System_Unsafe.InsertableObjectFromSchemaRecordUnsafe<T>, false, T>;
|
|
1050
1085
|
record<const T extends TreeNodeSchema | readonly TreeNodeSchema[]>(allowedTypes: T): TreeNodeSchemaNonClass<ScopedSchemaName<TScope, `Record<${string}>`>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, `Record<${string}>`>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined>;
|
|
1051
|
-
record<const Name extends TName, const T extends ImplicitAllowedTypes>(name: Name, allowedTypes: T): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined>;
|
|
1086
|
+
record<const Name extends TName, const T extends ImplicitAllowedTypes, const TCustomMetadata = unknown>(name: Name, allowedTypes: T, options?: NodeSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNode<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record>, RecordNodeInsertableData<T>, true, T, undefined, TCustomMetadata>;
|
|
1052
1087
|
recordRecursive<Name extends TName, const T extends System_Unsafe.ImplicitAllowedTypesUnsafe, const TCustomMetadata = unknown>(name: Name, allowedTypes: T, options?: NodeSchemaOptions<TCustomMetadata>): TreeNodeSchemaClass<ScopedSchemaName<TScope, Name>, NodeKind.Record, TreeRecordNodeUnsafe<T> & WithType<ScopedSchemaName<TScope, Name>, NodeKind.Record, unknown>, {
|
|
1053
1088
|
readonly [x: string]: System_Unsafe.InsertableTreeNodeFromImplicitAllowedTypesUnsafe<T>;
|
|
1054
1089
|
}, false, T, undefined, TCustomMetadata>;
|
package/dist/alpha.d.ts
CHANGED
|
@@ -138,11 +138,15 @@ export {
|
|
|
138
138
|
|
|
139
139
|
// #region @beta APIs
|
|
140
140
|
ConciseTree,
|
|
141
|
+
FixRecursiveArraySchema,
|
|
142
|
+
FluidSerializableAsTree,
|
|
141
143
|
ForestOptions,
|
|
142
144
|
ForestType,
|
|
143
145
|
ForestTypeExpensiveDebug,
|
|
144
146
|
ForestTypeOptimized,
|
|
145
147
|
ForestTypeReference,
|
|
148
|
+
JsonCompatible,
|
|
149
|
+
JsonCompatibleObject,
|
|
146
150
|
KeyEncodingOptions,
|
|
147
151
|
NodeChangedData,
|
|
148
152
|
ObjectSchemaOptions,
|
|
@@ -190,9 +194,7 @@ export {
|
|
|
190
194
|
FieldPropsAlpha,
|
|
191
195
|
FieldSchemaAlpha,
|
|
192
196
|
FieldSchemaAlphaUnsafe,
|
|
193
|
-
FixRecursiveArraySchema,
|
|
194
197
|
FluidClientVersion,
|
|
195
|
-
FluidSerializableAsTree,
|
|
196
198
|
FormatValidator,
|
|
197
199
|
FormatValidatorBasic,
|
|
198
200
|
FormatValidatorNoOp,
|
|
@@ -205,8 +207,6 @@ export {
|
|
|
205
207
|
InsertableField,
|
|
206
208
|
JsonArrayNodeSchema,
|
|
207
209
|
JsonAsTree,
|
|
208
|
-
JsonCompatible,
|
|
209
|
-
JsonCompatibleObject,
|
|
210
210
|
JsonCompatibleReadOnly,
|
|
211
211
|
JsonCompatibleReadOnlyObject,
|
|
212
212
|
JsonFieldSchema,
|
package/dist/beta.d.ts
CHANGED
|
@@ -138,11 +138,15 @@ export {
|
|
|
138
138
|
|
|
139
139
|
// #region @beta APIs
|
|
140
140
|
ConciseTree,
|
|
141
|
+
FixRecursiveArraySchema,
|
|
142
|
+
FluidSerializableAsTree,
|
|
141
143
|
ForestOptions,
|
|
142
144
|
ForestType,
|
|
143
145
|
ForestTypeExpensiveDebug,
|
|
144
146
|
ForestTypeOptimized,
|
|
145
147
|
ForestTypeReference,
|
|
148
|
+
JsonCompatible,
|
|
149
|
+
JsonCompatibleObject,
|
|
146
150
|
KeyEncodingOptions,
|
|
147
151
|
NodeChangedData,
|
|
148
152
|
ObjectSchemaOptions,
|
package/dist/legacy.d.ts
CHANGED
|
@@ -145,11 +145,15 @@ export {
|
|
|
145
145
|
|
|
146
146
|
// #region @beta APIs
|
|
147
147
|
ConciseTree,
|
|
148
|
+
FixRecursiveArraySchema,
|
|
149
|
+
FluidSerializableAsTree,
|
|
148
150
|
ForestOptions,
|
|
149
151
|
ForestType,
|
|
150
152
|
ForestTypeExpensiveDebug,
|
|
151
153
|
ForestTypeOptimized,
|
|
152
154
|
ForestTypeReference,
|
|
155
|
+
JsonCompatible,
|
|
156
|
+
JsonCompatibleObject,
|
|
153
157
|
KeyEncodingOptions,
|
|
154
158
|
NodeChangedData,
|
|
155
159
|
ObjectSchemaOptions,
|
package/lib/alpha.d.ts
CHANGED
|
@@ -138,11 +138,15 @@ export {
|
|
|
138
138
|
|
|
139
139
|
// #region @beta APIs
|
|
140
140
|
ConciseTree,
|
|
141
|
+
FixRecursiveArraySchema,
|
|
142
|
+
FluidSerializableAsTree,
|
|
141
143
|
ForestOptions,
|
|
142
144
|
ForestType,
|
|
143
145
|
ForestTypeExpensiveDebug,
|
|
144
146
|
ForestTypeOptimized,
|
|
145
147
|
ForestTypeReference,
|
|
148
|
+
JsonCompatible,
|
|
149
|
+
JsonCompatibleObject,
|
|
146
150
|
KeyEncodingOptions,
|
|
147
151
|
NodeChangedData,
|
|
148
152
|
ObjectSchemaOptions,
|
|
@@ -190,9 +194,7 @@ export {
|
|
|
190
194
|
FieldPropsAlpha,
|
|
191
195
|
FieldSchemaAlpha,
|
|
192
196
|
FieldSchemaAlphaUnsafe,
|
|
193
|
-
FixRecursiveArraySchema,
|
|
194
197
|
FluidClientVersion,
|
|
195
|
-
FluidSerializableAsTree,
|
|
196
198
|
FormatValidator,
|
|
197
199
|
FormatValidatorBasic,
|
|
198
200
|
FormatValidatorNoOp,
|
|
@@ -205,8 +207,6 @@ export {
|
|
|
205
207
|
InsertableField,
|
|
206
208
|
JsonArrayNodeSchema,
|
|
207
209
|
JsonAsTree,
|
|
208
|
-
JsonCompatible,
|
|
209
|
-
JsonCompatibleObject,
|
|
210
210
|
JsonCompatibleReadOnly,
|
|
211
211
|
JsonCompatibleReadOnlyObject,
|
|
212
212
|
JsonFieldSchema,
|
package/lib/beta.d.ts
CHANGED
|
@@ -138,11 +138,15 @@ export {
|
|
|
138
138
|
|
|
139
139
|
// #region @beta APIs
|
|
140
140
|
ConciseTree,
|
|
141
|
+
FixRecursiveArraySchema,
|
|
142
|
+
FluidSerializableAsTree,
|
|
141
143
|
ForestOptions,
|
|
142
144
|
ForestType,
|
|
143
145
|
ForestTypeExpensiveDebug,
|
|
144
146
|
ForestTypeOptimized,
|
|
145
147
|
ForestTypeReference,
|
|
148
|
+
JsonCompatible,
|
|
149
|
+
JsonCompatibleObject,
|
|
146
150
|
KeyEncodingOptions,
|
|
147
151
|
NodeChangedData,
|
|
148
152
|
ObjectSchemaOptions,
|
package/lib/legacy.d.ts
CHANGED
|
@@ -145,11 +145,15 @@ export {
|
|
|
145
145
|
|
|
146
146
|
// #region @beta APIs
|
|
147
147
|
ConciseTree,
|
|
148
|
+
FixRecursiveArraySchema,
|
|
149
|
+
FluidSerializableAsTree,
|
|
148
150
|
ForestOptions,
|
|
149
151
|
ForestType,
|
|
150
152
|
ForestTypeExpensiveDebug,
|
|
151
153
|
ForestTypeOptimized,
|
|
152
154
|
ForestTypeReference,
|
|
155
|
+
JsonCompatible,
|
|
156
|
+
JsonCompatibleObject,
|
|
153
157
|
KeyEncodingOptions,
|
|
154
158
|
NodeChangedData,
|
|
155
159
|
ObjectSchemaOptions,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fluid-framework",
|
|
3
|
-
"version": "2.70.0-
|
|
3
|
+
"version": "2.70.0-360753",
|
|
4
4
|
"description": "The main entry point into Fluid Framework public packages",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"main": "lib/index.js",
|
|
58
58
|
"types": "lib/public.d.ts",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@fluidframework/container-definitions": "2.70.0-
|
|
61
|
-
"@fluidframework/container-loader": "2.70.0-
|
|
62
|
-
"@fluidframework/core-interfaces": "2.70.0-
|
|
63
|
-
"@fluidframework/core-utils": "2.70.0-
|
|
64
|
-
"@fluidframework/driver-definitions": "2.70.0-
|
|
65
|
-
"@fluidframework/fluid-static": "2.70.0-
|
|
66
|
-
"@fluidframework/map": "2.70.0-
|
|
67
|
-
"@fluidframework/runtime-utils": "2.70.0-
|
|
68
|
-
"@fluidframework/sequence": "2.70.0-
|
|
69
|
-
"@fluidframework/shared-object-base": "2.70.0-
|
|
70
|
-
"@fluidframework/tree": "2.70.0-
|
|
60
|
+
"@fluidframework/container-definitions": "2.70.0-360753",
|
|
61
|
+
"@fluidframework/container-loader": "2.70.0-360753",
|
|
62
|
+
"@fluidframework/core-interfaces": "2.70.0-360753",
|
|
63
|
+
"@fluidframework/core-utils": "2.70.0-360753",
|
|
64
|
+
"@fluidframework/driver-definitions": "2.70.0-360753",
|
|
65
|
+
"@fluidframework/fluid-static": "2.70.0-360753",
|
|
66
|
+
"@fluidframework/map": "2.70.0-360753",
|
|
67
|
+
"@fluidframework/runtime-utils": "2.70.0-360753",
|
|
68
|
+
"@fluidframework/sequence": "2.70.0-360753",
|
|
69
|
+
"@fluidframework/shared-object-base": "2.70.0-360753",
|
|
70
|
+
"@fluidframework/tree": "2.70.0-360753"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
@@ -97,9 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"typeValidation": {
|
|
100
|
-
"disabled": true
|
|
101
|
-
"broken": {},
|
|
102
|
-
"entrypoint": "internal"
|
|
100
|
+
"disabled": true
|
|
103
101
|
},
|
|
104
102
|
"scripts": {
|
|
105
103
|
"api": "fluid-build . --task api",
|