@tachybase/module-workflow 1.3.21 → 1.3.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/Plugin.d.ts +3 -3
- package/dist/client/features/interceptor/WorkflowTriggerInterceptor.d.ts +1 -1
- package/dist/client/features/js-parse/JSParse.instruction.d.ts +3 -3
- package/dist/client/features/json-parse/JSONParse.instruction.d.ts +3 -3
- package/dist/client/features/manual/instruction/SchemaConfig.d.ts +1 -1
- package/dist/client/features/manual/instruction/createManualFormBlockUISchema.d.ts +11 -11
- package/dist/client/features/notice/configuration/Notice.instruction.d.ts +2 -2
- package/dist/client/features/request/RequestInstruction.d.ts +2 -2
- package/dist/client/features/script/Script.instruction.d.ts +3 -3
- package/dist/client/index.js +51 -51
- package/dist/client/nodes/calculation.d.ts +2 -1
- package/dist/client/nodes/condition.d.ts +2 -2
- package/dist/client/nodes/create.d.ts +1 -1
- package/dist/client/nodes/query.d.ts +1 -1
- package/dist/client/triggers/collection.d.ts +1 -1
- package/dist/externalVersion.js +11 -16
- package/dist/node_modules/@babel/core/node_modules/.bin/json5 +2 -2
- package/dist/node_modules/@babel/core/node_modules/.bin/parser +2 -2
- package/dist/node_modules/@babel/core/node_modules/.bin/semver +2 -2
- package/dist/node_modules/@babel/core/package.json +1 -1
- package/dist/node_modules/@babel/preset-env/node_modules/.bin/semver +2 -2
- package/dist/node_modules/@babel/preset-env/package.json +1 -1
- package/dist/node_modules/@babel/preset-react/package.json +1 -1
- package/dist/node_modules/@babel/preset-typescript/package.json +1 -1
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/form-data/package.json +1 -1
- package/dist/node_modules/jsonata/package.json +1 -1
- package/dist/node_modules/lru-cache/package.json +1 -1
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/node_modules/qrcode/package.json +1 -1
- package/dist/server/Plugin.d.ts +1 -4
- package/dist/server/Plugin.js +8 -10
- package/dist/server/Processor.d.ts +1 -2
- package/dist/server/Processor.js +5 -7
- package/dist/server/actions/executions.d.ts +1 -1
- package/dist/server/actions/executions.js +4 -5
- package/dist/server/actions/nodes.d.ts +1 -1
- package/dist/server/actions/nodes.js +33 -25
- package/dist/server/actions/workflows.d.ts +1 -1
- package/dist/server/actions/workflows.js +11 -12
- package/dist/server/collections/1-users_jobs.d.ts +1 -1
- package/dist/server/collections/1-users_jobs.js +2 -2
- package/dist/server/collections/2-jobs.d.ts +1 -1
- package/dist/server/collections/2-jobs.js +2 -2
- package/dist/server/collections/3-users.d.ts +1 -1
- package/dist/server/collections/3-users.js +2 -2
- package/dist/server/collections/executions.d.ts +1 -1
- package/dist/server/collections/flow_nodes.d.ts +1 -1
- package/dist/server/collections/jobs.d.ts +1 -1
- package/dist/server/collections/workflowCategories.d.ts +1 -1
- package/dist/server/collections/workflows.d.ts +1 -1
- package/dist/server/features/_deprecated-js-parse/plugin.d.ts +1 -1
- package/dist/server/features/_deprecated-js-parse/plugin.js +1 -1
- package/dist/server/features/_deprecated-json-parse/plugin.d.ts +1 -1
- package/dist/server/features/_deprecated-json-parse/plugin.js +1 -1
- package/dist/server/features/aggregate/AggregateInstruction.js +4 -5
- package/dist/server/features/aggregate/Plugin.d.ts +1 -1
- package/dist/server/features/aggregate/Plugin.js +1 -1
- package/dist/server/features/delay/Plugin.d.ts +1 -1
- package/dist/server/features/delay/Plugin.js +1 -1
- package/dist/server/features/dynamic-calculation/DynamicCalculation.js +4 -15
- package/dist/server/features/dynamic-calculation/Plugin.d.ts +1 -1
- package/dist/server/features/dynamic-calculation/Plugin.js +1 -1
- package/dist/server/features/dynamic-calculation/expression-field.d.ts +1 -1
- package/dist/server/features/dynamic-calculation/expression-field.js +3 -3
- package/dist/server/features/interception/RequestInterceptionTrigger.d.ts +1 -1
- package/dist/server/features/interception/RequestInterceptionTrigger.js +2 -2
- package/dist/server/features/interception/index.d.ts +1 -1
- package/dist/server/features/interception/index.js +1 -1
- package/dist/server/features/loop/Plugin.d.ts +1 -1
- package/dist/server/features/loop/Plugin.js +1 -1
- package/dist/server/features/manual/ManualInstruction.d.ts +1 -1
- package/dist/server/features/manual/ManualInstruction.js +2 -2
- package/dist/server/features/manual/Plugin.d.ts +1 -1
- package/dist/server/features/manual/Plugin.js +4 -5
- package/dist/server/features/manual/actions.d.ts +1 -1
- package/dist/server/features/manual/actions.js +2 -2
- package/dist/server/features/notice/NoticeInstruction.js +2 -2
- package/dist/server/features/notice/actions.js +4 -14
- package/dist/server/features/notice/collections/workflowNotice.d.ts +1 -1
- package/dist/server/features/notice/collections/workflowNotice.js +2 -2
- package/dist/server/features/notice/plugin.d.ts +1 -1
- package/dist/server/features/notice/plugin.js +4 -4
- package/dist/server/features/omni-trigger/CustomActionTrigger.d.ts +1 -1
- package/dist/server/features/omni-trigger/CustomActionTrigger.js +6 -7
- package/dist/server/features/omni-trigger/Plugin.d.ts +1 -1
- package/dist/server/features/omni-trigger/Plugin.js +1 -1
- package/dist/server/features/parallel/Plugin.d.ts +1 -1
- package/dist/server/features/parallel/Plugin.js +1 -1
- package/dist/server/features/request/Plugin.d.ts +1 -1
- package/dist/server/features/request/Plugin.js +1 -1
- package/dist/server/features/request/RequestInstruction.js +10 -11
- package/dist/server/features/response/Plugin.d.ts +1 -1
- package/dist/server/features/response/Plugin.js +1 -1
- package/dist/server/features/script/plugin.d.ts +1 -1
- package/dist/server/features/script/plugin.js +1 -1
- package/dist/server/features/script/script.instruction.js +2 -2
- package/dist/server/features/sql/Plugin.d.ts +1 -1
- package/dist/server/features/sql/Plugin.js +1 -1
- package/dist/server/features/trigger-instruction/flownode-check.d.ts +1 -1
- package/dist/server/features/trigger-instruction/plugin.d.ts +1 -1
- package/dist/server/features/trigger-instruction/plugin.js +1 -1
- package/dist/server/features/variables/Plugin.d.ts +1 -1
- package/dist/server/features/variables/Plugin.js +1 -1
- package/dist/server/instructions/CalculationInstruction.js +3 -3
- package/dist/server/instructions/ConditionInstruction.d.ts +1 -1
- package/dist/server/instructions/ConditionInstruction.js +3 -4
- package/dist/server/instructions/CreateInstruction.js +7 -9
- package/dist/server/instructions/DestroyInstruction.js +2 -2
- package/dist/server/instructions/QueryInstruction.js +3 -4
- package/dist/server/instructions/UpdateInstruction.js +5 -7
- package/dist/server/instructions/UpdateOrCreateInstruction.js +7 -9
- package/dist/server/instructions/index.d.ts +1 -1
- package/dist/server/migrations/20241118104303-add-initAt.d.ts +1 -1
- package/dist/server/migrations/20241118104303-add-initAt.js +1 -1
- package/dist/server/migrations/20241206122842-add-createdBy.d.ts +1 -1
- package/dist/server/migrations/20241206122842-add-createdBy.js +1 -1
- package/dist/server/migrations/20241220001154-bigInt.d.ts +1 -1
- package/dist/server/migrations/20241220001154-bigInt.js +1 -1
- package/dist/server/triggers/CollectionTrigger.d.ts +1 -1
- package/dist/server/triggers/CollectionTrigger.js +4 -4
- package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.d.ts +2 -2
- package/dist/server/triggers/ScheduleTrigger/DateFieldScheduleTrigger.js +12 -13
- package/dist/server/triggers/index.d.ts +1 -1
- package/dist/server/types/Execution.d.ts +1 -1
- package/dist/server/types/Execution.js +2 -2
- package/dist/server/types/FlowNode.d.ts +1 -1
- package/dist/server/types/FlowNode.js +2 -2
- package/dist/server/types/Job.d.ts +1 -1
- package/dist/server/types/Job.js +2 -2
- package/dist/server/types/Workflow.d.ts +1 -1
- package/dist/server/types/Workflow.js +2 -2
- package/dist/server/utils.js +2 -2
- package/package.json +15 -26
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SchemaInitializerItemType } from '@tachybase/client';
|
|
2
|
+
import { getOptions } from '@tego/client';
|
|
2
3
|
import { RadioWithTooltip } from '../components/RadioWithTooltip';
|
|
3
4
|
import { WorkflowVariableTextArea } from '../variable';
|
|
4
5
|
import { Instruction } from './default-node/interface';
|
|
@@ -17,7 +18,7 @@ export default class extends Instruction {
|
|
|
17
18
|
'x-decorator': string;
|
|
18
19
|
'x-component': string;
|
|
19
20
|
'x-component-props': {
|
|
20
|
-
|
|
21
|
+
getOptions: typeof getOptions;
|
|
21
22
|
};
|
|
22
23
|
required: boolean;
|
|
23
24
|
default: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Registry } from '@
|
|
1
|
+
import { Registry } from '@tego/client';
|
|
2
2
|
import { RadioWithTooltip } from '../components/RadioWithTooltip';
|
|
3
3
|
import { useWorkflowVariableOptions, WorkflowVariableTextArea } from '../variable';
|
|
4
4
|
import { Instruction } from './default-node/interface';
|
|
@@ -40,7 +40,7 @@ export default class extends Instruction {
|
|
|
40
40
|
'x-decorator': string;
|
|
41
41
|
'x-component': string;
|
|
42
42
|
'x-component-props': {
|
|
43
|
-
options: [string, import("@
|
|
43
|
+
options: [string, import("@tego/client").Evaluator] | (string | {
|
|
44
44
|
label: string;
|
|
45
45
|
})[];
|
|
46
46
|
};
|
|
@@ -57,7 +57,7 @@ export default class extends Instruction {
|
|
|
57
57
|
useCollectionDataSource: typeof useCollectionDataSource;
|
|
58
58
|
};
|
|
59
59
|
components: {
|
|
60
|
-
CollectionFieldset: import("react").MemoExoticComponent<import("
|
|
60
|
+
CollectionFieldset: import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>;
|
|
61
61
|
};
|
|
62
62
|
useVariables({ key: name, title, config }: {
|
|
63
63
|
key: any;
|
|
@@ -218,7 +218,7 @@ export default class extends Instruction {
|
|
|
218
218
|
}[];
|
|
219
219
|
};
|
|
220
220
|
components: {
|
|
221
|
-
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@
|
|
221
|
+
ArrayItems: import("@tachybase/schema").ReactFC<import("react").HTMLAttributes<HTMLDivElement>> & import("@tego/client").ArrayBaseMixins & {
|
|
222
222
|
Item: import("@tachybase/schema").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
|
|
223
223
|
type?: "card" | "divide";
|
|
224
224
|
}>;
|
|
@@ -126,7 +126,7 @@ export default class extends Trigger {
|
|
|
126
126
|
useWorkflowAnyExecuted: typeof useWorkflowAnyExecuted;
|
|
127
127
|
};
|
|
128
128
|
components: {
|
|
129
|
-
FieldsSelect: import("react").MemoExoticComponent<import("
|
|
129
|
+
FieldsSelect: import("react").MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>;
|
|
130
130
|
};
|
|
131
131
|
useVariables(config: any, options: any): import("..").VariableOption[];
|
|
132
132
|
useInitializers(config: any): SchemaInitializerItemType | null;
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
"react": "18.3.1",
|
|
3
|
-
"@tachybase/client": "1.3.
|
|
4
|
-
"@ant-design/icons": "5.
|
|
3
|
+
"@tachybase/client": "1.3.22",
|
|
4
|
+
"@ant-design/icons": "5.6.1",
|
|
5
5
|
"antd": "5.22.5",
|
|
6
6
|
"lodash": "4.17.21",
|
|
7
|
-
"@
|
|
7
|
+
"@tego/client": "1.3.39",
|
|
8
8
|
"react-i18next": "15.2.0",
|
|
9
9
|
"react-router-dom": "6.28.1",
|
|
10
|
-
"@tachybase/schema": "1.3.
|
|
11
|
-
"@
|
|
12
|
-
"@tachybase/logger": "1.3.21",
|
|
13
|
-
"@tachybase/server": "1.3.21",
|
|
14
|
-
"@tachybase/evaluators": "1.3.21",
|
|
15
|
-
"@tachybase/components": "1.3.21",
|
|
10
|
+
"@tachybase/schema": "1.3.39",
|
|
11
|
+
"@tego/server": "1.3.39",
|
|
16
12
|
"@dnd-kit/core": "6.3.1",
|
|
17
|
-
"@tachybase/actions": "1.3.21",
|
|
18
|
-
"@tachybase/data-source": "1.3.21",
|
|
19
13
|
"axios": "1.7.7",
|
|
20
14
|
"sequelize": "6.37.5",
|
|
21
|
-
"@tachybase/plugin-workflow-test": "1.3.
|
|
22
|
-
"@tachybase/test": "1.3.
|
|
23
|
-
"@tachybase/
|
|
24
|
-
"@tachybase/
|
|
25
|
-
"@tachybase/module-
|
|
15
|
+
"@tachybase/plugin-workflow-test": "1.3.22",
|
|
16
|
+
"@tachybase/test": "1.3.39",
|
|
17
|
+
"@tachybase/actions": "1.3.39",
|
|
18
|
+
"@tachybase/database": "1.3.39",
|
|
19
|
+
"@tachybase/module-error-handler": "1.3.22",
|
|
20
|
+
"@tachybase/module-ui-schema": "1.3.22"
|
|
26
21
|
};
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/json5@2.2.3/node_modules/json5/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/json5@2.2.3/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules"
|
|
13
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/json5@2.2.3/node_modules/json5/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/json5@2.2.3/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/json5@2.2.3/node_modules/json5/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/json5@2.2.3/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
15
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/json5@2.2.3/node_modules/json5/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/json5@2.2.3/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../../../../../../json5@2.2.3/node_modules/json5/lib/cli.js" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/bin/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules"
|
|
13
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/bin/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/bin/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/@babel+parser@7.27.5/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
15
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/bin/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/parser/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules/@babel/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/@babel+parser@7.27.5/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.27.5/node_modules/@babel/parser/bin/babel-parser.js" "$@"
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules"
|
|
13
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
15
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../../../../../../semver@6.3.1/node_modules/semver/bin/semver.js" "$@"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@babel/core","version":"7.27.4","description":"Babel compiler core.","main":"./lib/index.js","author":"The Babel Team (https://babel.dev/team)","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-core"},"homepage":"https://babel.dev/docs/en/next/babel-core","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen","keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"engines":{"node":">=6.9.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/babel"},"browser":{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/config/resolve-targets.js":"./lib/config/resolve-targets-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js","./src/config/files/index.ts":"./src/config/files/index-browser.ts","./src/config/resolve-targets.ts":"./src/config/resolve-targets-browser.ts","./src/transform-file.ts":"./src/transform-file-browser.ts"},"dependencies":{"@ampproject/remapping":"^2.2.0","@babel/code-frame":"^7.27.1","@babel/generator":"^7.27.3","@babel/helper-compilation-targets":"^7.27.2","@babel/helper-module-transforms":"^7.27.3","@babel/helpers":"^7.27.4","@babel/parser":"^7.27.4","@babel/template":"^7.27.2","@babel/traverse":"^7.27.4","@babel/types":"^7.27.3","convert-source-map":"^2.0.0","debug":"^4.1.0","gensync":"^1.0.0-beta.2","json5":"^2.2.3","semver":"^6.3.1"},"devDependencies":{"@babel/helper-transform-fixture-test-runner":"^7.27.1","@babel/plugin-syntax-flow":"^7.27.1","@babel/plugin-transform-flow-strip-types":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/preset-env":"^7.27.2","@babel/preset-typescript":"^7.27.1","@jridgewell/trace-mapping":"^0.3.25","@types/convert-source-map":"^2.0.0","@types/debug":"^4.1.0","@types/resolve":"^1.3.2","@types/semver":"^5.4.0","rimraf":"^3.0.0","ts-node":"^11.0.0-beta.1"},"type":"commonjs","_lastModified":"2025-07-
|
|
1
|
+
{"name":"@babel/core","version":"7.27.4","description":"Babel compiler core.","main":"./lib/index.js","author":"The Babel Team (https://babel.dev/team)","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-core"},"homepage":"https://babel.dev/docs/en/next/babel-core","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen","keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"engines":{"node":">=6.9.0"},"funding":{"type":"opencollective","url":"https://opencollective.com/babel"},"browser":{"./lib/config/files/index.js":"./lib/config/files/index-browser.js","./lib/config/resolve-targets.js":"./lib/config/resolve-targets-browser.js","./lib/transform-file.js":"./lib/transform-file-browser.js","./src/config/files/index.ts":"./src/config/files/index-browser.ts","./src/config/resolve-targets.ts":"./src/config/resolve-targets-browser.ts","./src/transform-file.ts":"./src/transform-file-browser.ts"},"dependencies":{"@ampproject/remapping":"^2.2.0","@babel/code-frame":"^7.27.1","@babel/generator":"^7.27.3","@babel/helper-compilation-targets":"^7.27.2","@babel/helper-module-transforms":"^7.27.3","@babel/helpers":"^7.27.4","@babel/parser":"^7.27.4","@babel/template":"^7.27.2","@babel/traverse":"^7.27.4","@babel/types":"^7.27.3","convert-source-map":"^2.0.0","debug":"^4.1.0","gensync":"^1.0.0-beta.2","json5":"^2.2.3","semver":"^6.3.1"},"devDependencies":{"@babel/helper-transform-fixture-test-runner":"^7.27.1","@babel/plugin-syntax-flow":"^7.27.1","@babel/plugin-transform-flow-strip-types":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/preset-env":"^7.27.2","@babel/preset-typescript":"^7.27.1","@jridgewell/trace-mapping":"^0.3.25","@types/convert-source-map":"^2.0.0","@types/debug":"^4.1.0","@types/resolve":"^1.3.2","@types/semver":"^5.4.0","rimraf":"^3.0.0","ts-node":"^11.0.0-beta.1"},"type":"commonjs","_lastModified":"2025-07-29T06:21:32.584Z"}
|
|
@@ -10,9 +10,9 @@ case `uname` in
|
|
|
10
10
|
esac
|
|
11
11
|
|
|
12
12
|
if [ -z "$NODE_PATH" ]; then
|
|
13
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules"
|
|
13
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules"
|
|
14
14
|
else
|
|
15
|
-
export NODE_PATH="/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego/tego/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
15
|
+
export NODE_PATH="/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/bin/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules/semver/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/semver@6.3.1/node_modules:/home/runner/work/tego-standard/tego-standard/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
16
16
|
fi
|
|
17
17
|
if [ -x "$basedir/node" ]; then
|
|
18
18
|
exec "$basedir/node" "$basedir/../../../../../../semver@6.3.1/node_modules/semver/bin/semver.js" "$@"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@babel/preset-env","version":"7.27.2","description":"A Babel preset for each environment.","author":"The Babel Team (https://babel.dev/team)","homepage":"https://babel.dev/docs/en/next/babel-preset-env","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20preset-env%22+is%3Aopen","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-env"},"main":"./lib/index.js","dependencies":{"@babel/compat-data":"^7.27.2","@babel/helper-compilation-targets":"^7.27.2","@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-bugfix-firefox-class-in-computed-class-key":"^7.27.1","@babel/plugin-bugfix-safari-class-field-initializer-scope":"^7.27.1","@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression":"^7.27.1","@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining":"^7.27.1","@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly":"^7.27.1","@babel/plugin-proposal-private-property-in-object":"7.21.0-placeholder-for-preset-env.2","@babel/plugin-syntax-import-assertions":"^7.27.1","@babel/plugin-syntax-import-attributes":"^7.27.1","@babel/plugin-syntax-unicode-sets-regex":"^7.18.6","@babel/plugin-transform-arrow-functions":"^7.27.1","@babel/plugin-transform-async-generator-functions":"^7.27.1","@babel/plugin-transform-async-to-generator":"^7.27.1","@babel/plugin-transform-block-scoped-functions":"^7.27.1","@babel/plugin-transform-block-scoping":"^7.27.1","@babel/plugin-transform-class-properties":"^7.27.1","@babel/plugin-transform-class-static-block":"^7.27.1","@babel/plugin-transform-classes":"^7.27.1","@babel/plugin-transform-computed-properties":"^7.27.1","@babel/plugin-transform-destructuring":"^7.27.1","@babel/plugin-transform-dotall-regex":"^7.27.1","@babel/plugin-transform-duplicate-keys":"^7.27.1","@babel/plugin-transform-duplicate-named-capturing-groups-regex":"^7.27.1","@babel/plugin-transform-dynamic-import":"^7.27.1","@babel/plugin-transform-exponentiation-operator":"^7.27.1","@babel/plugin-transform-export-namespace-from":"^7.27.1","@babel/plugin-transform-for-of":"^7.27.1","@babel/plugin-transform-function-name":"^7.27.1","@babel/plugin-transform-json-strings":"^7.27.1","@babel/plugin-transform-literals":"^7.27.1","@babel/plugin-transform-logical-assignment-operators":"^7.27.1","@babel/plugin-transform-member-expression-literals":"^7.27.1","@babel/plugin-transform-modules-amd":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-modules-systemjs":"^7.27.1","@babel/plugin-transform-modules-umd":"^7.27.1","@babel/plugin-transform-named-capturing-groups-regex":"^7.27.1","@babel/plugin-transform-new-target":"^7.27.1","@babel/plugin-transform-nullish-coalescing-operator":"^7.27.1","@babel/plugin-transform-numeric-separator":"^7.27.1","@babel/plugin-transform-object-rest-spread":"^7.27.2","@babel/plugin-transform-object-super":"^7.27.1","@babel/plugin-transform-optional-catch-binding":"^7.27.1","@babel/plugin-transform-optional-chaining":"^7.27.1","@babel/plugin-transform-parameters":"^7.27.1","@babel/plugin-transform-private-methods":"^7.27.1","@babel/plugin-transform-private-property-in-object":"^7.27.1","@babel/plugin-transform-property-literals":"^7.27.1","@babel/plugin-transform-regenerator":"^7.27.1","@babel/plugin-transform-regexp-modifiers":"^7.27.1","@babel/plugin-transform-reserved-words":"^7.27.1","@babel/plugin-transform-shorthand-properties":"^7.27.1","@babel/plugin-transform-spread":"^7.27.1","@babel/plugin-transform-sticky-regex":"^7.27.1","@babel/plugin-transform-template-literals":"^7.27.1","@babel/plugin-transform-typeof-symbol":"^7.27.1","@babel/plugin-transform-unicode-escapes":"^7.27.1","@babel/plugin-transform-unicode-property-regex":"^7.27.1","@babel/plugin-transform-unicode-regex":"^7.27.1","@babel/plugin-transform-unicode-sets-regex":"^7.27.1","@babel/preset-modules":"0.1.6-no-external-plugins","babel-plugin-polyfill-corejs2":"^0.4.10","babel-plugin-polyfill-corejs3":"^0.11.0","babel-plugin-polyfill-regenerator":"^0.6.1","core-js-compat":"^3.40.0","semver":"^6.3.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/core-7.12":"npm:@babel/core@7.12.9","@babel/helper-plugin-test-runner":"^7.27.1","@babel/traverse":"^7.27.1"},"engines":{"node":">=6.9.0"},"type":"commonjs","_lastModified":"2025-07-
|
|
1
|
+
{"name":"@babel/preset-env","version":"7.27.2","description":"A Babel preset for each environment.","author":"The Babel Team (https://babel.dev/team)","homepage":"https://babel.dev/docs/en/next/babel-preset-env","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20preset-env%22+is%3Aopen","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-env"},"main":"./lib/index.js","dependencies":{"@babel/compat-data":"^7.27.2","@babel/helper-compilation-targets":"^7.27.2","@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-bugfix-firefox-class-in-computed-class-key":"^7.27.1","@babel/plugin-bugfix-safari-class-field-initializer-scope":"^7.27.1","@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression":"^7.27.1","@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining":"^7.27.1","@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly":"^7.27.1","@babel/plugin-proposal-private-property-in-object":"7.21.0-placeholder-for-preset-env.2","@babel/plugin-syntax-import-assertions":"^7.27.1","@babel/plugin-syntax-import-attributes":"^7.27.1","@babel/plugin-syntax-unicode-sets-regex":"^7.18.6","@babel/plugin-transform-arrow-functions":"^7.27.1","@babel/plugin-transform-async-generator-functions":"^7.27.1","@babel/plugin-transform-async-to-generator":"^7.27.1","@babel/plugin-transform-block-scoped-functions":"^7.27.1","@babel/plugin-transform-block-scoping":"^7.27.1","@babel/plugin-transform-class-properties":"^7.27.1","@babel/plugin-transform-class-static-block":"^7.27.1","@babel/plugin-transform-classes":"^7.27.1","@babel/plugin-transform-computed-properties":"^7.27.1","@babel/plugin-transform-destructuring":"^7.27.1","@babel/plugin-transform-dotall-regex":"^7.27.1","@babel/plugin-transform-duplicate-keys":"^7.27.1","@babel/plugin-transform-duplicate-named-capturing-groups-regex":"^7.27.1","@babel/plugin-transform-dynamic-import":"^7.27.1","@babel/plugin-transform-exponentiation-operator":"^7.27.1","@babel/plugin-transform-export-namespace-from":"^7.27.1","@babel/plugin-transform-for-of":"^7.27.1","@babel/plugin-transform-function-name":"^7.27.1","@babel/plugin-transform-json-strings":"^7.27.1","@babel/plugin-transform-literals":"^7.27.1","@babel/plugin-transform-logical-assignment-operators":"^7.27.1","@babel/plugin-transform-member-expression-literals":"^7.27.1","@babel/plugin-transform-modules-amd":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-modules-systemjs":"^7.27.1","@babel/plugin-transform-modules-umd":"^7.27.1","@babel/plugin-transform-named-capturing-groups-regex":"^7.27.1","@babel/plugin-transform-new-target":"^7.27.1","@babel/plugin-transform-nullish-coalescing-operator":"^7.27.1","@babel/plugin-transform-numeric-separator":"^7.27.1","@babel/plugin-transform-object-rest-spread":"^7.27.2","@babel/plugin-transform-object-super":"^7.27.1","@babel/plugin-transform-optional-catch-binding":"^7.27.1","@babel/plugin-transform-optional-chaining":"^7.27.1","@babel/plugin-transform-parameters":"^7.27.1","@babel/plugin-transform-private-methods":"^7.27.1","@babel/plugin-transform-private-property-in-object":"^7.27.1","@babel/plugin-transform-property-literals":"^7.27.1","@babel/plugin-transform-regenerator":"^7.27.1","@babel/plugin-transform-regexp-modifiers":"^7.27.1","@babel/plugin-transform-reserved-words":"^7.27.1","@babel/plugin-transform-shorthand-properties":"^7.27.1","@babel/plugin-transform-spread":"^7.27.1","@babel/plugin-transform-sticky-regex":"^7.27.1","@babel/plugin-transform-template-literals":"^7.27.1","@babel/plugin-transform-typeof-symbol":"^7.27.1","@babel/plugin-transform-unicode-escapes":"^7.27.1","@babel/plugin-transform-unicode-property-regex":"^7.27.1","@babel/plugin-transform-unicode-regex":"^7.27.1","@babel/plugin-transform-unicode-sets-regex":"^7.27.1","@babel/preset-modules":"0.1.6-no-external-plugins","babel-plugin-polyfill-corejs2":"^0.4.10","babel-plugin-polyfill-corejs3":"^0.11.0","babel-plugin-polyfill-regenerator":"^0.6.1","core-js-compat":"^3.40.0","semver":"^6.3.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/core-7.12":"npm:@babel/core@7.12.9","@babel/helper-plugin-test-runner":"^7.27.1","@babel/traverse":"^7.27.1"},"engines":{"node":">=6.9.0"},"type":"commonjs","_lastModified":"2025-07-29T06:21:38.173Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@babel/preset-react","version":"7.27.1","description":"Babel preset for all React plugins.","author":"The Babel Team (https://babel.dev/team)","homepage":"https://babel.dev/docs/en/next/babel-preset-react","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20react%22+is%3Aopen","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-react"},"main":"./lib/index.js","dependencies":{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-transform-react-display-name":"^7.27.1","@babel/plugin-transform-react-jsx":"^7.27.1","@babel/plugin-transform-react-jsx-development":"^7.27.1","@babel/plugin-transform-react-pure-annotations":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"engines":{"node":">=6.9.0"},"type":"commonjs","_lastModified":"2025-07-
|
|
1
|
+
{"name":"@babel/preset-react","version":"7.27.1","description":"Babel preset for all React plugins.","author":"The Babel Team (https://babel.dev/team)","homepage":"https://babel.dev/docs/en/next/babel-preset-react","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20react%22+is%3Aopen","license":"MIT","publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-react"},"main":"./lib/index.js","dependencies":{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-transform-react-display-name":"^7.27.1","@babel/plugin-transform-react-jsx":"^7.27.1","@babel/plugin-transform-react-jsx-development":"^7.27.1","@babel/plugin-transform-react-pure-annotations":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"engines":{"node":">=6.9.0"},"type":"commonjs","_lastModified":"2025-07-29T06:21:41.500Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@babel/preset-typescript","version":"7.27.1","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-syntax-jsx":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-typescript":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs","_lastModified":"2025-07-
|
|
1
|
+
{"name":"@babel/preset-typescript","version":"7.27.1","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-syntax-jsx":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-typescript":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs","_lastModified":"2025-07-29T06:21:44.640Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"cron-parser","version":"4.9.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"types/index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^3.2.1"},"devDependencies":{"eslint":"^8.27.0","sinon":"^15.0.1","tap":"^16.3.3","tsd":"^0.26.0"},"engines":{"node":">=12.0.0"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"files":["lib","types","LICENSE","README.md"],"_lastModified":"2025-07-
|
|
1
|
+
{"name":"cron-parser","version":"4.9.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"types/index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^3.2.1"},"devDependencies":{"eslint":"^8.27.0","sinon":"^15.0.1","tap":"^16.3.3","tsd":"^0.26.0"},"engines":{"node":">=12.0.0"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"files":["lib","types","LICENSE","README.md"],"_lastModified":"2025-07-29T06:21:44.938Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)","name":"form-data","description":"A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.","version":"4.0.4","repository":{"type":"git","url":"git://github.com/form-data/form-data.git"},"main":"./lib/form_data","browser":"./lib/browser","typings":"./index.d.ts","scripts":{"pretest":"npm run lint","pretests-only":"rimraf coverage test/tmp","tests-only":"istanbul cover test/run.js","posttests-only":"istanbul report lcov text","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production","lint":"eslint --ext=js,mjs .","report":"istanbul report lcov text","ci-lint":"is-node-modern 8 && npm run lint || is-node-not-modern 8","ci-test":"npm run tests-only && npm run browser && npm run report","predebug":"rimraf coverage test/tmp","debug":"verbose=1 ./test/run.js","browser":"browserify -t browserify-istanbul test/run-browser.js | obake --coverage","check":"istanbul check-coverage coverage/coverage*.json","files":"pkgfiles --sort=name","get-version":"node -e \"console.log(require('./package.json').version)\"","update-readme":"sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md","postupdate-readme":"mv README.md.bak READ.ME.md.bak","restore-readme":"mv READ.ME.md.bak README.md","prepublish":"not-in-publish || npm run prepublishOnly","prepack":"npm run update-readme","postpack":"npm run restore-readme","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"engines":{"node":">= 6"},"dependencies":{"asynckit":"^0.4.0","combined-stream":"^1.0.8","es-set-tostringtag":"^2.1.0","hasown":"^2.0.2","mime-types":"^2.1.12"},"devDependencies":{"@ljharb/eslint-config":"^21.2.0","auto-changelog":"^2.5.0","browserify":"^13.3.0","browserify-istanbul":"^2.0.0","coveralls":"^3.1.1","cross-spawn":"^6.0.6","eslint":"=8.8.0","fake":"^0.2.2","far":"^0.0.7","formidable":"^1.2.6","in-publish":"^2.0.1","is-node-modern":"^1.0.0","istanbul":"^0.4.5","obake":"^0.1.2","pkgfiles":"^2.3.2","pre-commit":"^1.2.2","predict-v8-randomness":"^1.0.35","puppeteer":"^1.20.0","request":"~2.87.0","rimraf":"^2.7.1","semver":"^6.3.1","tape":"^5.9.0"},"license":"MIT","auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"_lastModified":"2025-07-
|
|
1
|
+
{"author":"Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)","name":"form-data","description":"A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.","version":"4.0.4","repository":{"type":"git","url":"git://github.com/form-data/form-data.git"},"main":"./lib/form_data","browser":"./lib/browser","typings":"./index.d.ts","scripts":{"pretest":"npm run lint","pretests-only":"rimraf coverage test/tmp","tests-only":"istanbul cover test/run.js","posttests-only":"istanbul report lcov text","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production","lint":"eslint --ext=js,mjs .","report":"istanbul report lcov text","ci-lint":"is-node-modern 8 && npm run lint || is-node-not-modern 8","ci-test":"npm run tests-only && npm run browser && npm run report","predebug":"rimraf coverage test/tmp","debug":"verbose=1 ./test/run.js","browser":"browserify -t browserify-istanbul test/run-browser.js | obake --coverage","check":"istanbul check-coverage coverage/coverage*.json","files":"pkgfiles --sort=name","get-version":"node -e \"console.log(require('./package.json').version)\"","update-readme":"sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md","postupdate-readme":"mv README.md.bak READ.ME.md.bak","restore-readme":"mv READ.ME.md.bak README.md","prepublish":"not-in-publish || npm run prepublishOnly","prepack":"npm run update-readme","postpack":"npm run restore-readme","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"engines":{"node":">= 6"},"dependencies":{"asynckit":"^0.4.0","combined-stream":"^1.0.8","es-set-tostringtag":"^2.1.0","hasown":"^2.0.2","mime-types":"^2.1.12"},"devDependencies":{"@ljharb/eslint-config":"^21.2.0","auto-changelog":"^2.5.0","browserify":"^13.3.0","browserify-istanbul":"^2.0.0","coveralls":"^3.1.1","cross-spawn":"^6.0.6","eslint":"=8.8.0","fake":"^0.2.2","far":"^0.0.7","formidable":"^1.2.6","in-publish":"^2.0.1","is-node-modern":"^1.0.0","istanbul":"^0.4.5","obake":"^0.1.2","pkgfiles":"^2.3.2","pre-commit":"^1.2.2","predict-v8-randomness":"^1.0.35","puppeteer":"^1.20.0","request":"~2.87.0","rimraf":"^2.7.1","semver":"^6.3.1","tape":"^5.9.0"},"license":"MIT","auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"_lastModified":"2025-07-29T06:21:28.133Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"jsonata","version":"2.0.6","description":"JSON query and transformation language","module":"jsonata.js","main":"jsonata.js","typings":"jsonata.d.ts","homepage":"http://jsonata.org/","repository":{"type":"git","url":"https://github.com/jsonata-js/jsonata.git"},"scripts":{"pretest":"npm run lint","mocha":"nyc ./node_modules/mocha/bin/_mocha -- \"test/**/*.js\"","test":"npm run mocha","posttest":"npm run check-coverage && npm run browserify && npm run minify && npm run build-es5","build-es5":"npm run mkdir-dist && npm run regenerator && npm run browserify-es5 && npm run minify-es5","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","browserify":"browserify src/jsonata.js --outfile jsonata.js --standalone jsonata","mkdir-dist":"mkdirp ./dist","regenerator":"babel src --out-dir dist --presets=@babel/env","browserify-es5":"regenerator --include-runtime polyfill.js > jsonata-es5.js; browserify dist/jsonata.js --standalone jsonata >> jsonata-es5.js","prepublishOnly":"npm run browserify && npm run minify && npm run build-es5","lint":"eslint src","doc":"jsdoc --configure jsdoc.json .","cover":"nyc _mocha","minify":"uglifyjs jsonata.js -o jsonata.min.js --compress --mangle","minify-es5":"uglifyjs jsonata-es5.js -o jsonata-es5.min.js --compress --mangle"},"license":"MIT","keywords":["JSON","query","transformation","transform","mapping","path"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/preset-env":"^7.8.4","browserify":"^16.5.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","eslint":"8.0.0","eslint-plugin-ideal":"^0.1.3","eslint-plugin-promise":"^6.0.0","jsdoc":"^3.6.3","mkdirp":"^1.0.3","mocha":"^7.0.1","mocha-lcov-reporter":"^1.3.0","nyc":"^15.1.0","regenerator":"^0.14.4","request":"^2.88.2","uglify-es":"^3.3.10"},"engines":{"node":">= 8"},"_lastModified":"2025-07-
|
|
1
|
+
{"name":"jsonata","version":"2.0.6","description":"JSON query and transformation language","module":"jsonata.js","main":"jsonata.js","typings":"jsonata.d.ts","homepage":"http://jsonata.org/","repository":{"type":"git","url":"https://github.com/jsonata-js/jsonata.git"},"scripts":{"pretest":"npm run lint","mocha":"nyc ./node_modules/mocha/bin/_mocha -- \"test/**/*.js\"","test":"npm run mocha","posttest":"npm run check-coverage && npm run browserify && npm run minify && npm run build-es5","build-es5":"npm run mkdir-dist && npm run regenerator && npm run browserify-es5 && npm run minify-es5","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","browserify":"browserify src/jsonata.js --outfile jsonata.js --standalone jsonata","mkdir-dist":"mkdirp ./dist","regenerator":"babel src --out-dir dist --presets=@babel/env","browserify-es5":"regenerator --include-runtime polyfill.js > jsonata-es5.js; browserify dist/jsonata.js --standalone jsonata >> jsonata-es5.js","prepublishOnly":"npm run browserify && npm run minify && npm run build-es5","lint":"eslint src","doc":"jsdoc --configure jsdoc.json .","cover":"nyc _mocha","minify":"uglifyjs jsonata.js -o jsonata.min.js --compress --mangle","minify-es5":"uglifyjs jsonata-es5.js -o jsonata-es5.min.js --compress --mangle"},"license":"MIT","keywords":["JSON","query","transformation","transform","mapping","path"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/preset-env":"^7.8.4","browserify":"^16.5.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","eslint":"8.0.0","eslint-plugin-ideal":"^0.1.3","eslint-plugin-promise":"^6.0.0","jsdoc":"^3.6.3","mkdirp":"^1.0.3","mocha":"^7.0.1","mocha-lcov-reporter":"^1.3.0","nyc":"^15.1.0","regenerator":"^0.14.4","request":"^2.88.2","uglify-es":"^3.3.10"},"engines":{"node":">= 8"},"_lastModified":"2025-07-29T06:21:29.288Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"commonjs","_lastModified":"2025-07-
|
|
1
|
+
{"type":"commonjs","_lastModified":"2025-07-29T06:21:27.683Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mime-types","description":"The ultimate javascript content-type utility.","version":"2.1.35","contributors":["Douglas Christopher Wilson <doug@somethingdoug.com>","Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)","Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"],"license":"MIT","keywords":["mime","types"],"repository":"jshttp/mime-types","dependencies":{"mime-db":"1.52.0"},"devDependencies":{"eslint":"7.32.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.25.4","eslint-plugin-markdown":"2.2.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"5.2.0","eslint-plugin-standard":"4.1.0","mocha":"9.2.2","nyc":"15.1.0"},"files":["HISTORY.md","LICENSE","index.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"_lastModified":"2025-07-
|
|
1
|
+
{"name":"mime-types","description":"The ultimate javascript content-type utility.","version":"2.1.35","contributors":["Douglas Christopher Wilson <doug@somethingdoug.com>","Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)","Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"],"license":"MIT","keywords":["mime","types"],"repository":"jshttp/mime-types","dependencies":{"mime-db":"1.52.0"},"devDependencies":{"eslint":"7.32.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.25.4","eslint-plugin-markdown":"2.2.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"5.2.0","eslint-plugin-standard":"4.1.0","mocha":"9.2.2","nyc":"15.1.0"},"files":["HISTORY.md","LICENSE","index.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"_lastModified":"2025-07-29T06:21:28.321Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"qrcode","description":"QRCode / 2d Barcode api with both server side and client side support using canvas","version":"1.5.4","author":"Ryan Day <soldair@gmail.com>","contributors":["Vincenzo Greco <greco.vincenzo@gmail.com>","Linus Unnebäck <linus@folkdatorn.se>"],"keywords":["qr","code","canvas","qrcode"],"main":"./lib/index.js","browser":{"./lib/index.js":"./lib/browser.js","fs":false},"files":["bin","build","lib","helper"],"homepage":"http://github.com/soldair/node-qrcode","license":"MIT","scripts":{"lint":"standard","pretest":"npm run lint","test":"node --throw-deprecation test.js","build":"rollup -c","prepublish":"npm run build","browser":"node examples/clientsideserver.js"},"bin":{"qrcode":"./bin/qrcode"},"dependencies":{"dijkstrajs":"^1.0.1","pngjs":"^5.0.0","yargs":"^15.3.1"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.5","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","browserify":"^16.5.1","canvas":"^2.8.0","canvasutil":"0.0.4","colors":"^1.4.0","express":"^4.17.1","htmlparser2":"^4.1.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^5.3.0","sinon":"^9.0.2","standard":"^16.0.4","tap":"^16.2.0"},"repository":{"type":"git","url":"git://github.com/soldair/node-qrcode.git"},"engines":{"node":">=10.13.0"},"standard":{"ignore":["build/","examples/vendors/","lib/core/regex.js"]},"_lastModified":"2025-07-
|
|
1
|
+
{"name":"qrcode","description":"QRCode / 2d Barcode api with both server side and client side support using canvas","version":"1.5.4","author":"Ryan Day <soldair@gmail.com>","contributors":["Vincenzo Greco <greco.vincenzo@gmail.com>","Linus Unnebäck <linus@folkdatorn.se>"],"keywords":["qr","code","canvas","qrcode"],"main":"./lib/index.js","browser":{"./lib/index.js":"./lib/browser.js","fs":false},"files":["bin","build","lib","helper"],"homepage":"http://github.com/soldair/node-qrcode","license":"MIT","scripts":{"lint":"standard","pretest":"npm run lint","test":"node --throw-deprecation test.js","build":"rollup -c","prepublish":"npm run build","browser":"node examples/clientsideserver.js"},"bin":{"qrcode":"./bin/qrcode"},"dependencies":{"dijkstrajs":"^1.0.1","pngjs":"^5.0.0","yargs":"^15.3.1"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.5","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","browserify":"^16.5.1","canvas":"^2.8.0","canvasutil":"0.0.4","colors":"^1.4.0","express":"^4.17.1","htmlparser2":"^4.1.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^5.3.0","sinon":"^9.0.2","standard":"^16.0.4","tap":"^16.2.0"},"repository":{"type":"git","url":"git://github.com/soldair/node-qrcode.git"},"engines":{"node":">=10.13.0"},"standard":{"ignore":["build/","examples/vendors/","lib/core/regex.js"]},"_lastModified":"2025-07-29T06:21:28.809Z"}
|
package/dist/server/Plugin.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { Transactionable } from '@
|
|
2
|
-
import { Logger } from '@tachybase/logger';
|
|
3
|
-
import Application, { Plugin, PluginOptions } from '@tachybase/server';
|
|
4
|
-
import { Registry } from '@tachybase/utils';
|
|
1
|
+
import { Application, Logger, Plugin, PluginOptions, Registry, Transactionable } from '@tego/server';
|
|
5
2
|
import { CustomFunction } from './functions';
|
|
6
3
|
import { InstructionInterface } from './instructions';
|
|
7
4
|
import Processor from './Processor';
|
package/dist/server/Plugin.js
CHANGED
|
@@ -30,10 +30,8 @@ __export(Plugin_exports, {
|
|
|
30
30
|
default: () => PluginWorkflowServer
|
|
31
31
|
});
|
|
32
32
|
module.exports = __toCommonJS(Plugin_exports);
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var import_server = require("@tachybase/server");
|
|
36
|
-
var import_utils = require("@tachybase/utils");
|
|
33
|
+
var import_node_path = __toESM(require("node:path"));
|
|
34
|
+
var import_server = require("@tego/server");
|
|
37
35
|
var import_lru_cache = require("lru-cache");
|
|
38
36
|
var import_actions = __toESM(require("./actions"));
|
|
39
37
|
var import_constants = require("./constants");
|
|
@@ -69,9 +67,9 @@ var import_ScheduleTrigger = __toESM(require("./triggers/ScheduleTrigger"));
|
|
|
69
67
|
class PluginWorkflowServer extends import_server.Plugin {
|
|
70
68
|
constructor(app, options) {
|
|
71
69
|
super(app, options);
|
|
72
|
-
this.instructions = new
|
|
73
|
-
this.triggers = new
|
|
74
|
-
this.functions = new
|
|
70
|
+
this.instructions = new import_server.Registry();
|
|
71
|
+
this.triggers = new import_server.Registry();
|
|
72
|
+
this.functions = new import_server.Registry();
|
|
75
73
|
this.enabledCache = /* @__PURE__ */ new Map();
|
|
76
74
|
this.ready = false;
|
|
77
75
|
this.executing = null;
|
|
@@ -102,7 +100,7 @@ class PluginWorkflowServer extends import_server.Plugin {
|
|
|
102
100
|
key: instance.key,
|
|
103
101
|
current: true,
|
|
104
102
|
id: {
|
|
105
|
-
[
|
|
103
|
+
[import_server.Op.ne]: instance.id
|
|
106
104
|
}
|
|
107
105
|
},
|
|
108
106
|
transaction: options.transaction
|
|
@@ -170,7 +168,7 @@ class PluginWorkflowServer extends import_server.Plugin {
|
|
|
170
168
|
return this.loggerCache.get(key);
|
|
171
169
|
}
|
|
172
170
|
const logger = this.createLogger({
|
|
173
|
-
dirname:
|
|
171
|
+
dirname: import_node_path.default.join("workflows", date),
|
|
174
172
|
filename: `${workflowId}.log`,
|
|
175
173
|
transports: process.env.APP_ENV !== "production" ? ["console"] : ["file"]
|
|
176
174
|
});
|
|
@@ -441,7 +439,7 @@ class PluginWorkflowServer extends import_server.Plugin {
|
|
|
441
439
|
status: import_constants.EXECUTION_STATUS.QUEUEING,
|
|
442
440
|
"workflow.enabled": true,
|
|
443
441
|
"workflow.id": {
|
|
444
|
-
[
|
|
442
|
+
[import_server.Op.not]: null
|
|
445
443
|
}
|
|
446
444
|
},
|
|
447
445
|
appends: ["workflow"],
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Transaction, Transactionable } from '@
|
|
2
|
-
import { Logger } from '@tachybase/logger';
|
|
1
|
+
import { Logger, Transaction, Transactionable } from '@tego/server';
|
|
3
2
|
import type Plugin from './Plugin';
|
|
4
3
|
import type { ExecutionModel, FlowNodeModel, JobModel } from './types';
|
|
5
4
|
export interface ProcessorOptions extends Transactionable {
|
package/dist/server/Processor.js
CHANGED
|
@@ -20,9 +20,7 @@ __export(Processor_exports, {
|
|
|
20
20
|
default: () => Processor
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(Processor_exports);
|
|
23
|
-
var
|
|
24
|
-
var import_evaluators = require("@tachybase/evaluators");
|
|
25
|
-
var import_utils = require("@tachybase/utils");
|
|
23
|
+
var import_server = require("@tego/server");
|
|
26
24
|
var import_constants = require("./constants");
|
|
27
25
|
class Processor {
|
|
28
26
|
constructor(execution, options) {
|
|
@@ -120,8 +118,8 @@ class Processor {
|
|
|
120
118
|
job = prevJob;
|
|
121
119
|
}
|
|
122
120
|
}
|
|
123
|
-
if (!(job instanceof
|
|
124
|
-
job.upstreamId = prevJob instanceof
|
|
121
|
+
if (!(job instanceof import_server.Model)) {
|
|
122
|
+
job.upstreamId = prevJob instanceof import_server.Model ? prevJob.get("id") : null;
|
|
125
123
|
job.nodeId = node.id;
|
|
126
124
|
job.nodeKey = node.key;
|
|
127
125
|
}
|
|
@@ -285,10 +283,10 @@ class Processor {
|
|
|
285
283
|
};
|
|
286
284
|
}
|
|
287
285
|
getParsedValue(value, sourceNodeId, additionalScope) {
|
|
288
|
-
const template = (0,
|
|
286
|
+
const template = (0, import_server.parse)(value);
|
|
289
287
|
const scope = Object.assign(this.getScope(sourceNodeId), additionalScope);
|
|
290
288
|
template.parameters.forEach(({ key }) => {
|
|
291
|
-
(0,
|
|
289
|
+
(0, import_server.appendArrayColumn)(scope, key);
|
|
292
290
|
});
|
|
293
291
|
return template(scope);
|
|
294
292
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Context, Next } from '@
|
|
1
|
+
import { Context, Next } from '@tego/server';
|
|
2
2
|
export declare function destroy(context: Context, next: any): Promise<void>;
|
|
3
3
|
export declare function cancel(context: Context, next: any): Promise<never>;
|
|
4
4
|
export declare function retry(context: Context, next: Next): Promise<void>;
|
|
@@ -32,19 +32,18 @@ __export(executions_exports, {
|
|
|
32
32
|
retry: () => retry
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(executions_exports);
|
|
35
|
-
var
|
|
36
|
-
var import_database = require("@tachybase/database");
|
|
35
|
+
var import_server = require("@tego/server");
|
|
37
36
|
var import_constants = require("../constants");
|
|
38
37
|
var import_Plugin = __toESM(require("../Plugin"));
|
|
39
38
|
async function destroy(context, next) {
|
|
40
39
|
context.action.mergeParams({
|
|
41
40
|
filter: {
|
|
42
41
|
status: {
|
|
43
|
-
[
|
|
42
|
+
[import_server.Op.ne]: import_constants.EXECUTION_STATUS.STARTED
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
});
|
|
47
|
-
await
|
|
46
|
+
await import_server.actions.destroy(context, next);
|
|
48
47
|
}
|
|
49
48
|
async function cancel(context, next) {
|
|
50
49
|
const { filterByTk } = context.action.params;
|
|
@@ -88,7 +87,7 @@ async function cancel(context, next) {
|
|
|
88
87
|
}
|
|
89
88
|
async function retry(context, next) {
|
|
90
89
|
const plugin = context.app.getPlugin(import_Plugin.default);
|
|
91
|
-
const repository =
|
|
90
|
+
const repository = import_server.utils.getRepositoryFromParams(context);
|
|
92
91
|
const { filterByTk, filter = {}, values = {} } = context.action.params;
|
|
93
92
|
const WorkflowRepo = context.db.getRepository("workflows");
|
|
94
93
|
if (!context.state) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Context } from '@
|
|
1
|
+
import { Context } from '@tego/server';
|
|
2
2
|
export declare function create(context: Context, next: any): Promise<void>;
|
|
3
3
|
export declare function destroy(context: Context, next: any): Promise<void>;
|
|
4
4
|
export declare function update(context: Context, next: any): Promise<void>;
|
|
@@ -24,11 +24,10 @@ __export(nodes_exports, {
|
|
|
24
24
|
update: () => update
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(nodes_exports);
|
|
27
|
-
var
|
|
28
|
-
var import_database = require("@tachybase/database");
|
|
27
|
+
var import_server = require("@tego/server");
|
|
29
28
|
async function create(context, next) {
|
|
30
29
|
const { db } = context;
|
|
31
|
-
const repository =
|
|
30
|
+
const repository = import_server.utils.getRepositoryFromParams(context);
|
|
32
31
|
const { whitelist, blacklist, updateAssociationValues, values, associatedIndex: workflowId } = context.action.params;
|
|
33
32
|
context.body = await db.sequelize.transaction(async (transaction) => {
|
|
34
33
|
const workflow = await repository.getSourceModel(transaction);
|
|
@@ -79,7 +78,7 @@ async function create(context, next) {
|
|
|
79
78
|
const [downstream] = await upstream.getBranches({
|
|
80
79
|
where: {
|
|
81
80
|
id: {
|
|
82
|
-
[
|
|
81
|
+
[import_server.Op.ne]: instance.id
|
|
83
82
|
},
|
|
84
83
|
branchIndex: instance.branchIndex
|
|
85
84
|
},
|
|
@@ -118,7 +117,7 @@ function searchBranchDownstreams(nodes, from) {
|
|
|
118
117
|
}
|
|
119
118
|
async function destroy(context, next) {
|
|
120
119
|
const { db } = context;
|
|
121
|
-
const repository =
|
|
120
|
+
const repository = import_server.utils.getRepositoryFromParams(context);
|
|
122
121
|
const { filterByTk } = context.action.params;
|
|
123
122
|
const fields = ["id", "upstreamId", "downstreamId", "branchIndex"];
|
|
124
123
|
const instance = await repository.findOne({
|
|
@@ -178,7 +177,7 @@ async function destroy(context, next) {
|
|
|
178
177
|
}
|
|
179
178
|
async function update(context, next) {
|
|
180
179
|
const { db } = context;
|
|
181
|
-
const repository =
|
|
180
|
+
const repository = import_server.utils.getRepositoryFromParams(context);
|
|
182
181
|
const { filterByTk, values, whitelist, blacklist, filter, updateAssociationValues } = context.action.params;
|
|
183
182
|
context.body = await db.sequelize.transaction(async (transaction) => {
|
|
184
183
|
const { workflow } = await repository.findOne({
|
|
@@ -204,7 +203,7 @@ async function update(context, next) {
|
|
|
204
203
|
}
|
|
205
204
|
async function moveUp(context, next) {
|
|
206
205
|
const { db } = context;
|
|
207
|
-
const repository =
|
|
206
|
+
const repository = import_server.utils.getRepositoryFromParams(context);
|
|
208
207
|
const { filterByTk } = context.action.params;
|
|
209
208
|
const fields = ["id", "upstreamId", "downstreamId", "branchIndex", "key"];
|
|
210
209
|
const instance = await repository.findOne({
|
|
@@ -263,7 +262,7 @@ async function moveUp(context, next) {
|
|
|
263
262
|
}
|
|
264
263
|
async function moveDown(context, next) {
|
|
265
264
|
const { db } = context;
|
|
266
|
-
const repository =
|
|
265
|
+
const repository = import_server.utils.getRepositoryFromParams(context);
|
|
267
266
|
const { filterByTk } = context.action.params;
|
|
268
267
|
const fields = ["id", "upstreamId", "downstreamId", "branchIndex", "key"];
|
|
269
268
|
const instance = await repository.findOne({
|
|
@@ -281,24 +280,33 @@ async function moveDown(context, next) {
|
|
|
281
280
|
context.throw(400, "Last node could not be moved up");
|
|
282
281
|
}
|
|
283
282
|
if (upstream) {
|
|
284
|
-
await upstream.update(
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
283
|
+
await upstream.update(
|
|
284
|
+
{
|
|
285
|
+
downstreamId: instance.downstreamId
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
transaction
|
|
289
|
+
}
|
|
290
|
+
);
|
|
289
291
|
}
|
|
290
|
-
await downstream.update(
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
292
|
+
await downstream.update(
|
|
293
|
+
{
|
|
294
|
+
upstreamId: instance.upstreamId,
|
|
295
|
+
downstreamId: instance.id
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
transaction
|
|
299
|
+
}
|
|
300
|
+
);
|
|
301
|
+
await instance.update(
|
|
302
|
+
{
|
|
303
|
+
downstreamId: downDownstreamId,
|
|
304
|
+
upstreamId: downstream.id
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
transaction
|
|
308
|
+
}
|
|
309
|
+
);
|
|
302
310
|
if (downDownstreamId) {
|
|
303
311
|
await repository.update({
|
|
304
312
|
filterByTk: downDownstreamId,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Context, Next } from '@
|
|
1
|
+
import { Context, Next } from '@tego/server';
|
|
2
2
|
export declare function update(context: Context, next: any): Promise<void>;
|
|
3
3
|
export declare function destroy(context: Context, next: any): Promise<void>;
|
|
4
4
|
export declare function dump(context: Context, next: Next): Promise<void>;
|