nocobase/packages/plugins/@nocobase/plugin-workflow-loop/src/constants.ts
Junyi 05b9703101
feat(plugin-workflow-loop): add more configuration (#5342)
* feat(plugin-workflow-loop): add more configuration

* fix(plugin-workflow-loop): fix scope variable on current loop node

* refactor(plugin-workflow-loop): adjust order of exit options

* chore(plugin-workflow-loop): add migration

* fix(plugin-workflow): fix condition branch constant

* fix(plugin-workflow): fix additionalScope argument in parsing variable

* fix(plugin-workflow-loop): dependencies

* fix(plugin-workflow-loop): fix type

* fix(plugin-workflow-loop): fix client variable issues

* fix(plugin-workflow-loop): only use basic calculation due to expression variable issues

* refactor(plugin-workflow-loop): adjust configuration fields

* fix(plugin-workflow-loop): fix locale

* refactor(plugin-workflow-loop): adjust order of configuration fields

* fix(plugin-workflow-loop): fix number type properties

* fix(plugin-workflow-loop): fix null items in array are skipped
2024-10-16 21:15:35 +08:00

25 lines
489 B
TypeScript

/**
* This file is part of the NocoBase (R) project.
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
* Authors: NocoBase Team.
*
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
* For more information, please refer to: https://www.nocobase.com/agreement.
*/
export const CHECKPOINT = {
BEFORE: 0,
AFTER: 1,
};
export const CONTINUE_ON_FALSE = {
BREAK: false,
CONTINUE: true,
};
export const EXIT = {
CONTINUE: 2,
BREAK: 1,
RETURN: 0,
};