Manages API methods for StageInstance objects and holds their cache.
The data structure belonging to this manager.
Inherited from DataManagerCreates a new stage instance.
Example
| Name | Type | Optional | Description |
|---|---|---|---|
| channel | StageChannelResolvable | No | The stage channel to associate the created stage instance to |
| options | StageInstanceCreateOptions | No | The options to create the stage instance |
Deletes an existing stage instance.
| Name | Type | Optional | Description |
|---|---|---|---|
| channel | StageChannelResolvable | No | The stage channel whose associated stage instance is to be deleted |
Edits an existing stage instance.
Example
| Name | Type | Optional | Description |
|---|---|---|---|
| channel | StageChannelResolvable | No | The stage channel whose associated stage instance is to be edited |
| options | StageInstanceEditOptions | No | The options to edit the stage instance |
Fetches the stage instance associated with a stage channel, if it exists.
Example
| Name | Type | Optional | Description |
|---|---|---|---|
| channel | StageChannelResolvable | No | The stage channel whose associated stage instance is to be fetched |
| options | BaseFetchOptions | Yes | Additional options for this fetch |
Resolves a data entry to a data Object.
Returns
An instance from this Manager| Name | Type | Optional | Description |
|---|---|---|---|
| idOrInstance | Holds | No | The id or instance of something in this Manager |
Resolves a data entry to an instance id.
Returns
| Name | Type | Optional | Description |
|---|---|---|---|
| idOrInstance | Key | Holds | No | The id or instance of something in this Manager |