CreateData
CreateData<
TFields
> ={ [K in RequiredOnCreate<TFields>]: InferFieldType<TFields[K]> }
&{ [K in OptionalOnCreate<TFields>]?: InferFieldType<TFields[K]> }
&object
Defined in: types.ts:205
Represents the shape of data for creating a new record. Fields with default values or marked as optional are not required. The ‘id’ field is also optional.
Type declaration
Section titled “Type declaration”
optional
id:RecordId
<string
>
Type Parameters
Section titled “Type Parameters”TFields
Section titled “TFields”TFields
extends Record
<string
, FieldDefinition
<unknown
>>