ResourceMetaSingleton
Information about whether a resource is a singleton. Used as part of ResourceMeta to define singleton characteristics of a resource. A singleton resource means there will be only one instance for any user/workspace/system. This can be configured using resource-level decorators: @userSingleton, @workspaceSingleton, or @systemSingleton.
Properties
systemSingleton?
optionalsystemSingleton:boolean
When true, indicates there is only one instance of this resource in the entire system. Can be set using the @systemSingleton decorator.
userSingleton?
optionaluserSingleton:boolean
When true, indicates there is only one instance of this resource per user. Can be set using the @userSingleton decorator.
workspaceSingleton?
optionalworkspaceSingleton:boolean
When true, indicates there is only one instance of this resource per workspace. Can be set using the @workspaceSingleton decorator.