createAssetValidator
Public Function
Create a validator for an asset record type.
Parameters
Name | Description |
---|---|
|
The type of the asset |
|
The validator for the asset's props |
Returns
T.ObjectValidator<{
id: TLAssetId
typeName: 'asset'
type: Type
props: Props
}>