Skip to main content

InsertableObjectFromSchemaRecordUnsafe TypeAlias

Unenforced version of InsertableObjectFromSchemaRecord.

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 InsertableObjectFromSchemaRecordUnsafe<T extends RestrictiveStringRecord<ImplicitFieldSchemaUnsafe>> = {
readonly [Property in keyof T as FieldHasDefaultUnsafe<T[Property & string]> extends false ? Property : never]: InsertableTreeFieldFromImplicitFieldUnsafe<T[Property & string]>;
} & {
readonly [Property in keyof T as FieldHasDefaultUnsafe<T[Property & string]> extends true ? Property : never]?: InsertableTreeFieldFromImplicitFieldUnsafe<T[Property & string]>;
};

Type Parameters

ParameterConstraintDescription
TRestrictiveStringRecord<ImplicitFieldSchemaUnsafe>

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