@@ -1125,6 +1125,7 @@ export class SchemaFactoryAlpha<out TScope extends string | undefined = string |
1125
1125
arrayRecursive<const Name extends TName , const T extends System_Unsafe .ImplicitAllowedTypesUnsafe , const TCustomMetadata = unknown >(name : Name , allowedTypes : T , options ? : NodeSchemaOptions <TCustomMetadata >): ArrayNodeCustomizableSchemaUnsafe <ScopedSchemaName <TScope , Name >, T , TCustomMetadata >;
1126
1126
static readonly identifier: <const TCustomMetadata = unknown >(props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ) => FieldSchemaAlpha_2 <FieldKind_2 .Identifier , LeafSchema_2 <" string" , string > & SimpleLeafNodeSchema_2 , TCustomMetadata >;
1127
1127
static readonly leaves: readonly [LeafSchema_2 <" string" , string > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" number" , number > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" boolean" , boolean > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" null" , null > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" handle" , IFluidHandle_2 <unknown >> & SimpleLeafNodeSchema_2 ];
1128
+ readonly leaves: readonly [LeafSchema_2 <" string" , string > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" number" , number > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" boolean" , boolean > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" null" , null > & SimpleLeafNodeSchema_2 , LeafSchema_2 <" handle" , IFluidHandle_2 <unknown >> & SimpleLeafNodeSchema_2 ];
1128
1129
mapAlpha<Name extends TName , const T extends ImplicitAnnotatedAllowedTypes , const TCustomMetadata = unknown >(name : Name , allowedTypes : T , options ? : NodeSchemaOptions <TCustomMetadata >): MapNodeCustomizableSchema <ScopedSchemaName <TScope , Name >, T , true , TCustomMetadata >;
1129
1130
mapRecursive<Name extends TName , const T extends System_Unsafe .ImplicitAllowedTypesUnsafe , const TCustomMetadata = unknown >(name : Name , allowedTypes : T , options ? : NodeSchemaOptions <TCustomMetadata >): MapNodeCustomizableSchemaUnsafe <ScopedSchemaName <TScope , Name >, T , TCustomMetadata >;
1130
1131
objectAlpha<const Name extends TName , const T extends RestrictiveStringRecord <ImplicitAnnotatedFieldSchema >, const TCustomMetadata = unknown >(name : Name , fields : T , options ? : SchemaFactoryObjectOptions <TCustomMetadata >): ObjectNodeSchema <ScopedSchemaName <TScope , Name >, T , true , TCustomMetadata > & {
@@ -1135,11 +1136,22 @@ export class SchemaFactoryAlpha<out TScope extends string | undefined = string |
1135
1136
<const T extends ImplicitAllowedTypes , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Optional , T , TCustomMetadata >;
1136
1137
<const T_1 extends ImplicitAnnotatedAllowedTypes , const TCustomMetadata_1 = unknown >(t : T_1 , props ? : Omit <FieldProps_2 <TCustomMetadata_1 >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Optional , UnannotateImplicitAllowedTypes_2 <T_1 >, TCustomMetadata_1 >;
1137
1138
};
1139
+ readonly optional: {
1140
+ <const T extends ImplicitAllowedTypes , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Optional , T , TCustomMetadata >;
1141
+ <const T_1 extends ImplicitAnnotatedAllowedTypes , const TCustomMetadata_1 = unknown >(t : T_1 , props ? : Omit <FieldProps_2 <TCustomMetadata_1 >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Optional , UnannotateImplicitAllowedTypes_2 <T_1 >, TCustomMetadata_1 >;
1142
+ };
1138
1143
static readonly optionalRecursive: <const T extends System_Unsafe .ImplicitAllowedTypesUnsafe , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ) => FieldSchemaAlphaUnsafe_2 <FieldKind_2 .Optional , T , TCustomMetadata >;
1144
+ readonly optionalRecursive: <const T extends System_Unsafe .ImplicitAllowedTypesUnsafe , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ) => FieldSchemaAlphaUnsafe_2 <FieldKind_2 .Optional , T , TCustomMetadata >;
1139
1145
static readonly required: {
1140
1146
<const T extends ImplicitAllowedTypes , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Required , T , TCustomMetadata >;
1141
1147
<const T_1 extends ImplicitAnnotatedAllowedTypes , const TCustomMetadata_1 = unknown >(t : T_1 , props ? : Omit <FieldProps_2 <TCustomMetadata_1 >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Required , UnannotateImplicitAllowedTypes_2 <T_1 >, TCustomMetadata_1 >;
1142
1148
};
1149
+ readonly required: {
1150
+ <const T extends ImplicitAllowedTypes , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Required , T , TCustomMetadata >;
1151
+ <const T_1 extends ImplicitAnnotatedAllowedTypes , const TCustomMetadata_1 = unknown >(t : T_1 , props ? : Omit <FieldProps_2 <TCustomMetadata_1 >, " defaultProvider" > | undefined ): FieldSchemaAlpha_2 <FieldKind_2 .Required , UnannotateImplicitAllowedTypes_2 <T_1 >, TCustomMetadata_1 >;
1152
+ };
1153
+ static readonly requiredRecursive: <const T extends System_Unsafe .ImplicitAllowedTypesUnsafe , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ) => FieldSchemaAlphaUnsafe_2 <FieldKind_2 .Required , T , TCustomMetadata >;
1154
+ readonly requiredRecursive: <const T extends System_Unsafe .ImplicitAllowedTypesUnsafe , const TCustomMetadata = unknown >(t : T , props ? : Omit <FieldProps_2 <TCustomMetadata >, " defaultProvider" > | undefined ) => FieldSchemaAlphaUnsafe_2 <FieldKind_2 .Required , T , TCustomMetadata >;
1143
1155
scopedFactory<const T extends TName , TNameInner extends number | string = string >(name : T ): SchemaFactoryAlpha <ScopedSchemaName <TScope , T >, TNameInner >;
1144
1156
}
1145
1157
@@ -1288,7 +1300,7 @@ export namespace System_TableSchema {
1288
1300
}), true , {
1289
1301
readonly props: TPropsSchema ;
1290
1302
readonly id: FieldSchema_2 <FieldKind_3 .Identifier , LeafSchema_3 <" string" , string >, unknown >;
1291
- readonly cells: FieldSchema_2 <FieldKind_3 .Required , TreeNodeSchemaClass <ScopedSchemaName <ScopedSchemaName <TInputScope , " table" >, " Row.cells" >, NodeKind .Map , TreeMapNode_2 <TCellSchema > & WithType <ScopedSchemaName <ScopedSchemaName <TInputScope , " table" >, " Row.cells" >, NodeKind .Map , unknown >, MapNodeInsertableData_2 <TCellSchema >, true , TCellSchema , undefined >, unknown >;
1303
+ readonly cells: FieldSchemaAlpha_3 <FieldKind_3 .Required , TreeNodeSchemaClass <ScopedSchemaName <ScopedSchemaName <TInputScope , " table" >, " Row.cells" >, NodeKind .Map , TreeMapNode_2 <TCellSchema > & WithType <ScopedSchemaName <ScopedSchemaName <TInputScope , " table" >, " Row.cells" >, NodeKind .Map , unknown >, MapNodeInsertableData_2 <TCellSchema >, true , TCellSchema , undefined >, unknown >;
1292
1304
}>;
1293
1305
// @system
1294
1306
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 : SchemaFactoryAlpha <TInputScope >, _cellSchema : TCellSchema , columnSchema : TColumnSchema , rowSchema : TRowSchema ): TreeNodeSchemaCore_2 <ScopedSchemaName <ScopedSchemaName <TInputScope , " table" >, " Table" >, NodeKind .Object , true , {
0 commit comments