IResourceGroup
Hierarchy
- IResourceCommonFields
- IResourceGroup
Index
Properties
files
readonlyid
The unique ID of this resource file, for most of the case, the value is randomly generated by Nano ID while importing the resource. Some extension may use meaningful value. However, this is a very special case, except developers have a specific purpose, this value should always be a random ID to prevent any kind of conflict.
readonlyimportTime
The time of the file is imported.
label
Human readable label to identity the resource file, this field is manually filled by developers, developers should avoid name conflict, at lease for each episode or resource group.
Please notice if there is a resource group and a resource file with the same label, Recative System selects resource groups over resource files in preference.
removed
If the file is soft removed, Recative System do not remove files even if developers removed the file in the Recative Studio since the resource is possible to be published in production, remove the record of these resource is not safe.
removedTime
The time of the file is removed.
optionalresourceGroupId
For resource group, there should never have a resource group field, this typing if written for prevent writing this field.
tags
The type of this resource, this is mainly for Recative Studio to filter different resource in the Resource view, not used in other places.
readonlythumbnailSrc
The URL of the thumbnail image, this field is only used in the Recative Studio, would not be uploaded to the CDN, and would not be used by any part of the Recative System.
readonlytype
The type of this resource, for a resource group, the value should be
group.
The id of the files included in this group.
This is a bi-directional field, developers should maintain this field and the
filesfield of the resource group. Or the resource querying may not working correctly, Recative Studio did this automatically but if you are writing resource definition manually, please be careful.