tachybase_todo/packages/plugins/@tachybase/plugin-workflow/src/server/constants.ts
2024-04-29 21:41:13 +08:00

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;