@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
|
@@ -30,7 +30,7 @@ __export(CollectionTrigger_exports, {
|
|
|
30
30
|
default: () => CollectionTrigger
|
|
31
31
|
});
|
|
32
32
|
module.exports = __toCommonJS(CollectionTrigger_exports);
|
|
33
|
-
var
|
|
33
|
+
var import_server = require("@tego/server");
|
|
34
34
|
var import__ = __toESM(require("."));
|
|
35
35
|
var import_utils = require("../utils");
|
|
36
36
|
const MODE_BITMAP = {
|
|
@@ -55,7 +55,7 @@ function getFieldRawName(collection, name) {
|
|
|
55
55
|
async function handler(workflow, data, options) {
|
|
56
56
|
var _a, _b;
|
|
57
57
|
const { condition, changed, mode, appends, blacklist } = workflow.config;
|
|
58
|
-
const [dataSourceName, collectionName] = (0,
|
|
58
|
+
const [dataSourceName, collectionName] = (0, import_server.parseCollectionName)(workflow.config.collection);
|
|
59
59
|
const collection = (_a = this.workflow.app.dataSourceManager) == null ? void 0 : _a.dataSources.get(dataSourceName).collectionManager.getCollection(collectionName);
|
|
60
60
|
const { transaction, context } = options;
|
|
61
61
|
const { repository, filterTargetKey } = collection;
|
|
@@ -126,7 +126,7 @@ class CollectionTrigger extends import__.default {
|
|
|
126
126
|
if (!collection) {
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
|
-
const [dataSourceName, collectionName] = (0,
|
|
129
|
+
const [dataSourceName, collectionName] = (0, import_server.parseCollectionName)(collection);
|
|
130
130
|
const { db } = ((_b = (_a = this.workflow.app.dataSourceManager) == null ? void 0 : _a.dataSources.get(dataSourceName)) == null ? void 0 : _b.collectionManager) ?? {};
|
|
131
131
|
if (!db || !db.getCollection(collectionName)) {
|
|
132
132
|
return;
|
|
@@ -155,7 +155,7 @@ class CollectionTrigger extends import__.default {
|
|
|
155
155
|
if (!collection) {
|
|
156
156
|
return;
|
|
157
157
|
}
|
|
158
|
-
const [dataSourceName, collectionName] = (0,
|
|
158
|
+
const [dataSourceName, collectionName] = (0, import_server.parseCollectionName)(collection);
|
|
159
159
|
const { db } = ((_a = this.workflow.app.dataSourceManager.dataSources.get(dataSourceName)) == null ? void 0 : _a.collectionManager) ?? {};
|
|
160
160
|
if (!db || !db.getCollection(collectionName)) {
|
|
161
161
|
return;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Transactionable } from '@
|
|
1
|
+
import { Transactionable } from '@tego/server';
|
|
2
2
|
import type Plugin from '../../Plugin';
|
|
3
3
|
import type { WorkflowModel } from '../../types';
|
|
4
4
|
export type ScheduleOnField = {
|
|
@@ -22,7 +22,7 @@ export default class ScheduleTrigger {
|
|
|
22
22
|
constructor(workflow: Plugin);
|
|
23
23
|
reload(): Promise<void>;
|
|
24
24
|
inspect(workflows: WorkflowModel[]): void;
|
|
25
|
-
loadRecordsToSchedule({ config: { collection, limit, startsOn, repeat, endsOn }, allExecuted }: WorkflowModel, currentDate: Date): Promise<import("@
|
|
25
|
+
loadRecordsToSchedule({ config: { collection, limit, startsOn, repeat, endsOn }, allExecuted }: WorkflowModel, currentDate: Date): Promise<import("@tego/server").Model<any, any>[]>;
|
|
26
26
|
getRecordNextTime(workflow: WorkflowModel, record: any, nextSecond?: boolean): any;
|
|
27
27
|
schedule(workflow: WorkflowModel, record: any, nextTime: any, toggle?: boolean, options?: {}): Promise<void>;
|
|
28
28
|
trigger(workflow: WorkflowModel, record: any, nextTime: any, { transaction }?: Transactionable): Promise<void>;
|
|
@@ -30,8 +30,7 @@ __export(DateFieldScheduleTrigger_exports, {
|
|
|
30
30
|
default: () => ScheduleTrigger
|
|
31
31
|
});
|
|
32
32
|
module.exports = __toCommonJS(DateFieldScheduleTrigger_exports);
|
|
33
|
-
var
|
|
34
|
-
var import_database = require("@tachybase/database");
|
|
33
|
+
var import_server = require("@tego/server");
|
|
35
34
|
var import_cron_parser = __toESM(require("cron-parser"));
|
|
36
35
|
var import_utils = require("./utils");
|
|
37
36
|
function getOnTimestampWithOffset({ field, offset = 0, unit = 1e3 }, now) {
|
|
@@ -154,7 +153,7 @@ class ScheduleTrigger {
|
|
|
154
153
|
{
|
|
155
154
|
[startsOn.field]: {
|
|
156
155
|
// cache next 2 cycles
|
|
157
|
-
[
|
|
156
|
+
[import_server.Op.lt]: new Date(startTimestamp + range)
|
|
158
157
|
}
|
|
159
158
|
}
|
|
160
159
|
];
|
|
@@ -162,12 +161,12 @@ class ScheduleTrigger {
|
|
|
162
161
|
if (typeof repeat === "number") {
|
|
163
162
|
const tsFn = DialectTimestampFnMap[db.options.dialect];
|
|
164
163
|
if (repeat > range && tsFn) {
|
|
165
|
-
const modExp = (0,
|
|
164
|
+
const modExp = (0, import_server.fn)(
|
|
166
165
|
"MOD",
|
|
167
|
-
(0,
|
|
166
|
+
(0, import_server.literal)(`${Math.round(timestamp / 1e3)} - ${tsFn(startsOn.field)}`),
|
|
168
167
|
Math.round(repeat / 1e3)
|
|
169
168
|
);
|
|
170
|
-
conditions.push((0,
|
|
169
|
+
conditions.push((0, import_server.where)(modExp, { [import_server.Op.lt]: Math.round(range / 1e3) }));
|
|
171
170
|
}
|
|
172
171
|
} else if (typeof repeat === "string") {
|
|
173
172
|
if (!matchCronNextTime(repeat, currentDate, range)) {
|
|
@@ -187,7 +186,7 @@ class ScheduleTrigger {
|
|
|
187
186
|
} else {
|
|
188
187
|
conditions.push({
|
|
189
188
|
[endsOn.field]: {
|
|
190
|
-
[
|
|
189
|
+
[import_server.Op.gte]: new Date(endTimestamp)
|
|
191
190
|
}
|
|
192
191
|
});
|
|
193
192
|
}
|
|
@@ -195,14 +194,14 @@ class ScheduleTrigger {
|
|
|
195
194
|
} else {
|
|
196
195
|
conditions.push({
|
|
197
196
|
[startsOn.field]: {
|
|
198
|
-
[
|
|
197
|
+
[import_server.Op.gte]: new Date(startTimestamp)
|
|
199
198
|
}
|
|
200
199
|
});
|
|
201
200
|
}
|
|
202
201
|
const { model } = db.getCollection(collection);
|
|
203
202
|
return model.findAll({
|
|
204
203
|
where: {
|
|
205
|
-
[
|
|
204
|
+
[import_server.Op.and]: conditions
|
|
206
205
|
}
|
|
207
206
|
});
|
|
208
207
|
}
|
|
@@ -258,7 +257,7 @@ class ScheduleTrigger {
|
|
|
258
257
|
return nextTime;
|
|
259
258
|
}
|
|
260
259
|
schedule(workflow, record, nextTime, toggle = true, options = {}) {
|
|
261
|
-
const [dataSourceName, collectionName] = (0,
|
|
260
|
+
const [dataSourceName, collectionName] = (0, import_server.parseCollectionName)(workflow.config.collection);
|
|
262
261
|
const { filterTargetKey } = this.workflow.app.dataSourceManager.dataSources.get(dataSourceName).collectionManager.getCollection(collectionName);
|
|
263
262
|
const recordPk = record.get(filterTargetKey);
|
|
264
263
|
if (toggle) {
|
|
@@ -281,7 +280,7 @@ class ScheduleTrigger {
|
|
|
281
280
|
}
|
|
282
281
|
}
|
|
283
282
|
async trigger(workflow, record, nextTime, { transaction } = {}) {
|
|
284
|
-
const [dataSourceName, collectionName] = (0,
|
|
283
|
+
const [dataSourceName, collectionName] = (0, import_server.parseCollectionName)(workflow.config.collection);
|
|
285
284
|
const { repository, filterTargetKey } = this.workflow.app.dataSourceManager.dataSources.get(dataSourceName).collectionManager.getCollection(collectionName);
|
|
286
285
|
const recordPk = record.get(filterTargetKey);
|
|
287
286
|
const data = await repository.findOne({
|
|
@@ -306,7 +305,7 @@ class ScheduleTrigger {
|
|
|
306
305
|
on(workflow) {
|
|
307
306
|
this.inspect([workflow]);
|
|
308
307
|
const { collection } = workflow.config;
|
|
309
|
-
const [dataSourceName, collectionName] = (0,
|
|
308
|
+
const [dataSourceName, collectionName] = (0, import_server.parseCollectionName)(collection);
|
|
310
309
|
const event = `${collectionName}.afterSaveWithAssociations`;
|
|
311
310
|
const eventKey = `${collection}.afterSaveWithAssociations`;
|
|
312
311
|
const name = getHookId(workflow, event);
|
|
@@ -328,7 +327,7 @@ class ScheduleTrigger {
|
|
|
328
327
|
}
|
|
329
328
|
}
|
|
330
329
|
const { collection } = workflow.config;
|
|
331
|
-
const [dataSourceName, collectionName] = (0,
|
|
330
|
+
const [dataSourceName, collectionName] = (0, import_server.parseCollectionName)(collection);
|
|
332
331
|
const event = `${collectionName}.afterSaveWithAssociations`;
|
|
333
332
|
const eventKey = `${collection}.afterSaveWithAssociations`;
|
|
334
333
|
const name = getHookId(workflow, event);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BelongsToGetAssociationMixin, Database, HasManyGetAssociationsMixin, Model } from '@
|
|
1
|
+
import { BelongsToGetAssociationMixin, Database, HasManyGetAssociationsMixin, Model } from '@tego/server';
|
|
2
2
|
import JobModel from './Job';
|
|
3
3
|
import WorkflowModel from './Workflow';
|
|
4
4
|
export default class ExecutionModel extends Model {
|
|
@@ -20,6 +20,6 @@ __export(Execution_exports, {
|
|
|
20
20
|
default: () => ExecutionModel
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(Execution_exports);
|
|
23
|
-
var
|
|
24
|
-
class ExecutionModel extends
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
|
+
class ExecutionModel extends import_server.Model {
|
|
25
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BelongsToGetAssociationMixin, Database, Model } from '@
|
|
1
|
+
import { BelongsToGetAssociationMixin, Database, Model } from '@tego/server';
|
|
2
2
|
import WorkflowModel from './Workflow';
|
|
3
3
|
export default class FlowNodeModel extends Model {
|
|
4
4
|
static readonly database: Database;
|
|
@@ -20,6 +20,6 @@ __export(FlowNode_exports, {
|
|
|
20
20
|
default: () => FlowNodeModel
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(FlowNode_exports);
|
|
23
|
-
var
|
|
24
|
-
class FlowNodeModel extends
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
|
+
class FlowNodeModel extends import_server.Model {
|
|
25
25
|
}
|
package/dist/server/types/Job.js
CHANGED
|
@@ -20,6 +20,6 @@ __export(Job_exports, {
|
|
|
20
20
|
default: () => JobModel
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(Job_exports);
|
|
23
|
-
var
|
|
24
|
-
class JobModel extends
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
|
+
class JobModel extends import_server.Model {
|
|
25
25
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Database, HasManyCountAssociationsMixin, HasManyCreateAssociationMixin, HasManyGetAssociationsMixin, Model } from '@
|
|
1
|
+
import { Database, HasManyCountAssociationsMixin, HasManyCreateAssociationMixin, HasManyGetAssociationsMixin, Model } from '@tego/server';
|
|
2
2
|
import ExecutionModel from './Execution';
|
|
3
3
|
import FlowNodeModel from './FlowNode';
|
|
4
4
|
export default class WorkflowModel extends Model {
|
|
@@ -20,6 +20,6 @@ __export(Workflow_exports, {
|
|
|
20
20
|
default: () => WorkflowModel
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(Workflow_exports);
|
|
23
|
-
var
|
|
24
|
-
class WorkflowModel extends
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
|
+
class WorkflowModel extends import_server.Model {
|
|
25
25
|
}
|
package/dist/server/utils.js
CHANGED
|
@@ -20,12 +20,12 @@ __export(utils_exports, {
|
|
|
20
20
|
toJSON: () => toJSON
|
|
21
21
|
});
|
|
22
22
|
module.exports = __toCommonJS(utils_exports);
|
|
23
|
-
var
|
|
23
|
+
var import_server = require("@tego/server");
|
|
24
24
|
function toJSON(data) {
|
|
25
25
|
if (Array.isArray(data)) {
|
|
26
26
|
return data.map(toJSON);
|
|
27
27
|
}
|
|
28
|
-
if (!(data instanceof
|
|
28
|
+
if (!(data instanceof import_server.Model) || !data) {
|
|
29
29
|
return data;
|
|
30
30
|
}
|
|
31
31
|
const result = data.get();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/module-workflow",
|
|
3
3
|
"displayName": "Workflow",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.22",
|
|
5
5
|
"description": "A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Workflow"
|
|
@@ -9,13 +9,17 @@
|
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"main": "./dist/server/index.js",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@ant-design/icons": "
|
|
12
|
+
"@ant-design/icons": "^5.6.1",
|
|
13
13
|
"@babel/core": "7.27.4",
|
|
14
14
|
"@babel/parser": "7.27.5",
|
|
15
15
|
"@babel/preset-env": "7.27.2",
|
|
16
16
|
"@babel/preset-react": "7.27.1",
|
|
17
17
|
"@babel/preset-typescript": "7.27.1",
|
|
18
18
|
"@dnd-kit/core": "^6.3.1",
|
|
19
|
+
"@tachybase/schema": "^1.3.39",
|
|
20
|
+
"@tachybase/test": "^1.3.39",
|
|
21
|
+
"@tego/client": "^1.3.39",
|
|
22
|
+
"@tego/server": "^1.3.39",
|
|
19
23
|
"@types/babel__core": "7.20.5",
|
|
20
24
|
"@types/ejs": "^3.1.5",
|
|
21
25
|
"@types/file-saver": "^2.0.7",
|
|
@@ -31,34 +35,19 @@
|
|
|
31
35
|
"lru-cache": "11.1.0",
|
|
32
36
|
"mime-types": "^2.1.35",
|
|
33
37
|
"qrcode": "^1.5.4",
|
|
34
|
-
"react": "
|
|
35
|
-
"react-i18next": "
|
|
38
|
+
"react": "18.3.1",
|
|
39
|
+
"react-i18next": "15.2.0",
|
|
36
40
|
"react-js-cron": "^3.2.0",
|
|
37
41
|
"react-router-dom": "6.28.1",
|
|
38
42
|
"sequelize": "^6.37.5",
|
|
39
|
-
"@tachybase/
|
|
40
|
-
"@tachybase/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"@tachybase/
|
|
44
|
-
"@tachybase/
|
|
45
|
-
"@tachybase/data-source": "1.3.21",
|
|
46
|
-
"@tachybase/database": "1.3.21",
|
|
47
|
-
"@tachybase/evaluators": "1.3.21",
|
|
48
|
-
"@tachybase/logger": "1.3.21",
|
|
49
|
-
"@tachybase/module-error-handler": "1.3.21",
|
|
50
|
-
"@tachybase/module-ui-schema": "1.3.21",
|
|
51
|
-
"@tachybase/module-user": "1.3.21",
|
|
52
|
-
"@tachybase/resourcer": "1.3.21",
|
|
53
|
-
"@tachybase/schema": "1.3.21",
|
|
54
|
-
"@tachybase/module-collection": "1.3.21",
|
|
55
|
-
"@tachybase/server": "1.3.21",
|
|
56
|
-
"@tachybase/test": "1.3.21",
|
|
57
|
-
"@tachybase/utils": "1.3.21"
|
|
43
|
+
"@tachybase/client": "1.3.22",
|
|
44
|
+
"@tachybase/module-collection": "1.3.22",
|
|
45
|
+
"@tachybase/module-error-handler": "1.3.22",
|
|
46
|
+
"@tachybase/module-ui-schema": "1.3.22",
|
|
47
|
+
"@tachybase/module-user": "1.3.22",
|
|
48
|
+
"@tachybase/plugin-workflow-test": "1.3.22"
|
|
58
49
|
},
|
|
59
50
|
"description.zh-CN": "一个强大的 BPM 工具,为业务自动化提供基础支持,并且可任意扩展更多的触发器和节点。",
|
|
60
51
|
"displayName.zh-CN": "工作流",
|
|
61
|
-
"scripts": {
|
|
62
|
-
"build": "tachybase-build --no-dts @tachybase/module-workflow"
|
|
63
|
-
}
|
|
52
|
+
"scripts": {}
|
|
64
53
|
}
|