mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08:00
* refactor(plugin-workflow): refactor apis * fix(plugin-workflow-parallel): fix import in test cases * fix(plugin-workflow): fix some module import source * fix(plugin-workflow): move manual table acl to manual plugin * fix(plugin-workflow-manual): fix folder typo
23 lines
351 B
TypeScript
23 lines
351 B
TypeScript
export const EXECUTION_STATUS = {
|
|
QUEUEING: null,
|
|
STARTED: 0,
|
|
RESOLVED: 1,
|
|
FAILED: -1,
|
|
ERROR: -2,
|
|
ABORTED: -3,
|
|
CANCELED: -4,
|
|
REJECTED: -5,
|
|
RETRY_NEEDED: -6,
|
|
} as const;
|
|
|
|
export const JOB_STATUS = {
|
|
PENDING: 0,
|
|
RESOLVED: 1,
|
|
FAILED: -1,
|
|
ERROR: -2,
|
|
ABORTED: -3,
|
|
CANCELED: -4,
|
|
REJECTED: -5,
|
|
RETRY_NEEDED: -6,
|
|
} as const;
|