TLAssetId
Branded string type for asset record identifiers. Prevents mixing asset IDs with other record IDs at compile time.
type TLAssetId = RecordId<TLBaseAsset<any, any>>;Example
const imageShape = {
type: "image",
props: {
assetId: "asset:image123" as TLAssetId,
},
};Prev
TLAssetNext
TLAssetPartial