Skip to main content

InsertableTreeFieldFromImplicitFieldUnsafe TypeAlias

Unenforced version of InsertableTreeFieldFromImplicitField.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature​

type InsertableTreeFieldFromImplicitFieldUnsafe<TSchemaInput extends ImplicitFieldSchemaUnsafe, TSchema = UnionToIntersection<TSchemaInput>> = [TSchema] extends [FieldSchemaUnsafe<infer Kind, infer Types>] ? ApplyKindInput<InsertableTreeNodeFromImplicitAllowedTypesUnsafe<Types>, Kind, true> : [TSchema] extends [ImplicitAllowedTypes] ? InsertableTreeNodeFromImplicitAllowedTypesUnsafe<TSchema> : never;

Type Parameters​

ParameterConstraintDefaultDescription
TSchemaInputImplicitFieldSchemaUnsafe
TSchemaUnionToIntersection<TSchemaInput>

Remarks​

Do not use this type directly: it's only needed in the implementation of generic logic which define recursive schema, not when using recursive schema.

See Also​

Input