Skip to main content

IResourceCommonFields

Hierarchy

Index

Properties

readonlyid

id: string

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

importTime: number

The time of the file is imported.

label

label: string

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

removed: boolean

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

removedTime: number

The time of the file is removed.

readonlythumbnailSrc

thumbnailSrc: string

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.