2025-07-21 14:45:03 +07:00
|
|
|
/**
|
|
|
|
|
* The plugin status.
|
|
|
|
|
*/
|
2025-05-01 01:18:36 +07:00
|
|
|
export const PluginStatus = {
|
2025-05-18 22:24:48 +07:00
|
|
|
PreIniting: 1 << 0,
|
|
|
|
|
PreInited: 1 << 1,
|
|
|
|
|
Initing: 1 << 2,
|
|
|
|
|
Inited: 1 << 3,
|
|
|
|
|
Starting: 1 << 4,
|
|
|
|
|
Started: 1 << 5,
|
|
|
|
|
Stopping: 1 << 6,
|
2025-04-29 21:38:14 +07:00
|
|
|
}
|
2025-05-22 02:45:38 +07:00
|
|
|
|
2026-07-07 00:21:53 +07:00
|
|
|
export const pluginStoragePathFor = (id: string) =>
|
|
|
|
|
`revenge/plugins/storage/${id}/storage.json`
|