blob: f82d9d8f9481474ab706973d31882ce7a3828da9 [file] [edit]
{
"name": "FileAsset",
"key": {
"int": 103,
"string": "fileasset"
},
"abstract": true,
"extends": "assets/asset.json",
"properties": {
"assetId": {
"type": "uint",
"initialValue": "0",
"key": {
"int": 204,
"string": "assetid"
},
"description": "Id of the asset as stored on the backend"
},
"size": {
"type": "uint",
"initialValue": "0",
"key": {
"int": 211,
"string": "size"
},
"description": "Size of the asset in bytes",
"runtime": false
},
"exportTypeValue": {
"type": "uint",
"initialValue": "0",
"key": {
"int": 358,
"string": "exporttypevalue"
},
"description": "How to export the asset: embedded, referenced or cdn",
"runtime": false
},
"cdnUuid": {
"type": "Bytes",
"encoded": true,
"key": {
"int": 359,
"string": "cdnuuid"
},
"description": "The cdn uuid if it exists",
"coop": false
},
"cdnBaseUrl": {
"type": "String",
"initialValue": "'https://public.rive.app/cdn/uuid'",
"key": {
"int": 362,
"string": "cdnbaseurl"
},
"description": "Set the base url of our cdn.",
"coop": false
},
"includeInExport": {
"type": "bool",
"initialValue": "false",
"key": {
"int": 801,
"string": "includeinexport"
},
"description": "Whether to export the asset regardless of it being used.",
"runtime": false
},
"scopeLibraryId": {
"type": "uint64",
"initialValue": "0",
"key": {
"int": 1037,
"string": "scopelibraryid"
},
"description": "Backend library id of the library version this asset belongs to (its scope). Zero is the reserved root scope: the host file itself. Named distinctly from LibraryAsset.libraryId, which is a library's own identity.",
"journal": false,
"derived": true
},
"scopeLibraryVersionId": {
"type": "uint64",
"initialValue": "0",
"key": {
"int": 1038,
"string": "scopelibraryversionid"
},
"description": "Backend library version id of the library version this asset belongs to (its scope). Zero is the reserved root scope.",
"journal": false,
"derived": true
}
}
}