revenge-bundle-next/lib/plugins/src/constants.ts
2025-05-08 19:10:42 +07:00

22 lines
402 B
TypeScript

export const PluginFlags = {
/**
* The plugin is enabled.
*/
Enabled: 1 << 0,
/**
* The plugin requires a reload to apply changes.
*/
ReloadRequired: 1 << 1,
/**
* The plugin has errors.
*/
Errored: 1 << 2,
}
export const PluginStatus = {
Initing: 1 << 0,
Inited: 1 << 1,
Starting: 1 << 2,
Started: 1 << 3,
Stopping: 1 << 4,
}