@nocobase/plugin-workflow-cc 2.2.0-beta.9 → 3.0.0-alpha.1

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.
Files changed (51) hide show
  1. package/client-v2.d.ts +2 -0
  2. package/client-v2.js +3 -0
  3. package/dist/client/164.feee9c6f7d571d46.js +10 -0
  4. package/dist/client/208.d91a659a2b3502bd.js +10 -0
  5. package/dist/client/352.4012efde85e3acaf.js +10 -0
  6. package/dist/client/437.78f2b52a4a3fac84.js +10 -0
  7. package/dist/client/458.da07eac3bc1412d1.js +10 -0
  8. package/dist/client/486.5966b38a176b8313.js +10 -0
  9. package/dist/client/746.9362358210d85302.js +10 -0
  10. package/dist/client/86.e6c4759f3e699b2d.js +10 -0
  11. package/dist/client/index.js +1 -1
  12. package/dist/client/instruction/index.d.ts +2 -128
  13. package/dist/client/tasks.d.ts +1 -1
  14. package/dist/client-v2/164.e2c25964de2486b9.js +10 -0
  15. package/dist/client-v2/352.a8dbaca3691905cb.js +10 -0
  16. package/dist/client-v2/437.cbf01251aba7d74f.js +10 -0
  17. package/dist/client-v2/458.51f1362d12aefe62.js +10 -0
  18. package/dist/client-v2/486.d0a505ec5bea795c.js +10 -0
  19. package/dist/client-v2/679.1a40558fb0f1c4e6.js +10 -0
  20. package/dist/client-v2/746.b0fb6ac7c4f7e83b.js +10 -0
  21. package/dist/client-v2/86.f7881bb89e51a4b6.js +10 -0
  22. package/dist/client-v2/components/FlowModelConfigInput.d.ts +20 -0
  23. package/dist/{client → client-v2}/flow/RemoteFlowModelRenderer.d.ts +5 -5
  24. package/dist/client-v2/hooks/useTempAssociationSources.d.ts +11 -0
  25. package/dist/client-v2/index.d.ts +10 -0
  26. package/dist/client-v2/index.js +10 -0
  27. package/dist/client-v2/locale.d.ts +12 -0
  28. package/dist/{client → client-v2}/models/CCBlockGridModel.d.ts +2 -1
  29. package/dist/client-v2/models/CCChildPageModel.d.ts +23 -0
  30. package/dist/{client → client-v2}/models/CCTaskCardDetailsAssociationFieldGroupModel.d.ts +3 -2
  31. package/dist/{client → client-v2}/models/CCTaskCardDetailsItemModel.d.ts +16 -10
  32. package/dist/{client → client-v2}/models/CCTaskCardDetailsModel.d.ts +6 -9
  33. package/dist/{client → client-v2}/models/CCTaskCardGridModel.d.ts +2 -4
  34. package/dist/{client → client-v2}/models/CCTriggerBlockGridModel.d.ts +2 -1
  35. package/dist/client-v2/models/registerModelLoaders.d.ts +10 -0
  36. package/dist/client-v2/nodes/cc.d.ts +21 -0
  37. package/dist/client-v2/nodes/components/RecipientsInput.d.ts +19 -0
  38. package/dist/{client/models/CCChildPageTabModel.d.ts → client-v2/nodes/components/cc.d.ts} +2 -4
  39. package/dist/client-v2/plugin.d.ts +16 -0
  40. package/dist/client-v2/tasks.d.ts +15 -0
  41. package/dist/client-v2/utils/registerWorkflowCcCollections.d.ts +10 -0
  42. package/dist/client-v2/workflowPluginCompat.d.ts +41 -0
  43. package/dist/externalVersion.js +12 -12
  44. package/dist/locale/en-US.json +6 -0
  45. package/dist/locale/zh-CN.json +4 -0
  46. package/dist/{client/models/CCChildPageModel.d.ts → server/migrations/20260723120000-rebuild-workflow-task-stats.d.ts} +4 -3
  47. package/dist/server/migrations/20260723120000-rebuild-workflow-task-stats.js +51 -0
  48. package/dist/server/plugin.d.ts +2 -0
  49. package/dist/server/plugin.js +125 -16
  50. package/package.json +8 -3
  51. package/dist/client/instruction/SchemaConfig.d.ts +0 -17
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { Plugin, type Application } from '@nocobase/client-v2';
10
+ export declare class PluginWorkflowCCClientV2 extends Plugin<Record<string, never>, Application> {
11
+ load(): Promise<void>;
12
+ private registerCollections;
13
+ private registerModelLoaders;
14
+ private registerWorkflowExtensions;
15
+ }
16
+ export default PluginWorkflowCCClientV2;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { type TaskTypeOptions, type WorkflowTaskStatus } from '@nocobase/plugin-workflow/client-v2';
10
+ export declare function useCcTaskActionParams(status: WorkflowTaskStatus): {
11
+ filter: Record<string, unknown>;
12
+ appends: string[];
13
+ except: string[];
14
+ };
15
+ export declare const ccTaskType: TaskTypeOptions;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { type FlowEngine } from '@nocobase/flow-engine';
10
+ export declare function registerWorkflowCcCollections(flowEngine: FlowEngine): void;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+ import { type SubModelItem } from '@nocobase/flow-engine';
10
+ import { type TempAssociationSource } from '@nocobase/plugin-workflow/client-v2';
11
+ export type WorkflowLike = {
12
+ config?: Record<string, unknown>;
13
+ id?: number | string;
14
+ type?: string;
15
+ };
16
+ export type CanvasNodeLike = {
17
+ config?: Record<string, unknown>;
18
+ id?: number | string;
19
+ key?: string;
20
+ type?: string;
21
+ };
22
+ type WorkflowTriggerLike = {
23
+ getCreateModelMenuItem?: (args: {
24
+ config: Record<string, unknown>;
25
+ nodeType?: string;
26
+ workflow?: WorkflowLike;
27
+ }) => SubModelItem | SubModelItem[] | null;
28
+ useTempAssociationSource?: (config?: Record<string, unknown>, workflow?: WorkflowLike) => TempAssociationSource | null;
29
+ };
30
+ type WorkflowInstructionLike = {
31
+ getCreateModelMenuItem?: (args: {
32
+ node: CanvasNodeLike;
33
+ workflow?: WorkflowLike;
34
+ }) => SubModelItem | SubModelItem[] | null;
35
+ useTempAssociationSource?: (node: CanvasNodeLike) => TempAssociationSource | null;
36
+ };
37
+ export declare function useWorkflowPluginCompat(): {
38
+ getInstruction: (type?: string) => WorkflowInstructionLike;
39
+ getTrigger: (type?: string) => WorkflowTriggerLike;
40
+ };
41
+ export {};
@@ -9,22 +9,22 @@
9
9
 
10
10
  module.exports = {
11
11
  "react": "18.2.0",
12
- "@nocobase/client": "2.2.0-beta.9",
13
- "@nocobase/plugin-workflow": "2.2.0-beta.9",
12
+ "@nocobase/client": "3.0.0-alpha.1",
13
+ "@nocobase/plugin-workflow": "3.0.0-alpha.1",
14
14
  "react-i18next": "11.18.6",
15
15
  "antd-style": "3.7.1",
16
16
  "antd": "5.24.2",
17
17
  "react-router-dom": "6.30.1",
18
18
  "lodash": "4.18.1",
19
- "@nocobase/utils": "2.2.0-beta.9",
20
- "@nocobase/plugin-ui-schema-storage": "2.2.0-beta.9",
21
- "@nocobase/actions": "2.2.0-beta.9",
22
- "@nocobase/server": "2.2.0-beta.9",
23
- "@nocobase/database": "2.2.0-beta.9",
24
- "@nocobase/data-source-manager": "2.2.0-beta.9",
25
- "@nocobase/flow-engine": "2.2.0-beta.9",
26
- "@formily/shared": "2.3.7",
27
- "@formily/react": "2.3.7",
19
+ "@nocobase/flow-engine": "3.0.0-alpha.1",
20
+ "@nocobase/client-v2": "3.0.0-alpha.1",
28
21
  "@ant-design/icons": "5.6.1",
29
- "@formily/antd-v5": "1.2.3"
22
+ "ahooks": "3.7.8",
23
+ "@nocobase/utils": "3.0.0-alpha.1",
24
+ "@nocobase/plugin-ui-schema-storage": "3.0.0-alpha.1",
25
+ "@nocobase/actions": "3.0.0-alpha.1",
26
+ "@nocobase/server": "3.0.0-alpha.1",
27
+ "@nocobase/database": "3.0.0-alpha.1",
28
+ "@nocobase/data-source-manager": "3.0.0-alpha.1",
29
+ "@nocobase/plugin-notification-manager": "3.0.0-alpha.1"
30
30
  };
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "CC": "CC",
3
+ "CC node": "CC node",
3
4
  "CC to me": "CC to me",
4
5
  "CC information": "CC information",
5
6
  "Configure user interface": "Configure user interface",
@@ -11,14 +12,19 @@
11
12
  "Mark all as read": "Mark all as read",
12
13
  "Mark as read": "Mark as read",
13
14
  "Mark as unread": "Mark as unread",
15
+ "Please wait for the workflow model configuration to finish opening.": "Please wait for the workflow model configuration to finish opening.",
14
16
  "Refresh": "Refresh",
15
17
  "Filter": "Filter",
18
+ "Execution": "Execution",
19
+ "Load failed": "Load failed",
20
+ "Workflow": "Workflow",
16
21
  "Provide a CC (carbon copy) feature in workflows to send approvals, or any other type of information to specified users.": "Provide a CC (carbon copy) feature in workflows to send approvals, or any other type of information to specified users.",
17
22
  "Read": "Read",
18
23
  "Recipients": "Recipients",
19
24
  "Task card": "Task card",
20
25
  "Task title": "Task title",
21
26
  "Title of each CC item in tasks center. Could use variables in string template. Default to node title.": "Title of each CC item in tasks center. Could use variables in string template. Default to node title.",
27
+ "Status": "Status",
22
28
  "Read at": "Read at",
23
29
  "Created at": "Created at",
24
30
  "Updated at": "Updated at",
@@ -13,14 +13,18 @@
13
13
  "Mark all as read": "全部标为已读",
14
14
  "Mark as read": "标为已读",
15
15
  "Mark as unread": "标为未读",
16
+ "Please wait for the workflow model configuration to finish opening.": "请等待工作流模型配置打开完成。",
16
17
  "Refresh": "刷新",
17
18
  "Filter": "筛选",
19
+ "Execution": "执行",
20
+ "Load failed": "加载失败",
18
21
  "Provide a CC (carbon copy) feature in workflows to send approvals, or any other type of information to specified users.": "在工作流中提供抄送功能,将审批或其他任意信息抄送给特定的用户。",
19
22
  "Read": "已读",
20
23
  "Recipients": "接收人",
21
24
  "Task card": "任务卡片",
22
25
  "Task title": "任务标题",
23
26
  "Status": "状态",
27
+ "Workflow": "工作流",
24
28
  "Read at": "阅读时间",
25
29
  "Created at": "创建时间",
26
30
  "Updated at": "更新时间",
@@ -6,7 +6,8 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- import { ChildPageModel } from '@nocobase/client';
10
- export declare class CCChildPageModel extends ChildPageModel {
11
- onInit(options: any): void;
9
+ import { Migration } from '@nocobase/server';
10
+ export default class extends Migration {
11
+ on: string;
12
+ up(): Promise<void>;
12
13
  }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ var __create = Object.create;
11
+ var __defProp = Object.defineProperty;
12
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
13
+ var __getOwnPropNames = Object.getOwnPropertyNames;
14
+ var __getProtoOf = Object.getPrototypeOf;
15
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
16
+ var __export = (target, all) => {
17
+ for (var name in all)
18
+ __defProp(target, name, { get: all[name], enumerable: true });
19
+ };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") {
22
+ for (let key of __getOwnPropNames(from))
23
+ if (!__hasOwnProp.call(to, key) && key !== except)
24
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
+ }
26
+ return to;
27
+ };
28
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
+ mod
35
+ ));
36
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
37
+ var rebuild_workflow_task_stats_exports = {};
38
+ __export(rebuild_workflow_task_stats_exports, {
39
+ default: () => rebuild_workflow_task_stats_default
40
+ });
41
+ module.exports = __toCommonJS(rebuild_workflow_task_stats_exports);
42
+ var import_plugin_workflow = __toESM(require("@nocobase/plugin-workflow"));
43
+ var import_server = require("@nocobase/server");
44
+ var import_constants = require("../../common/constants");
45
+ class rebuild_workflow_task_stats_default extends import_server.Migration {
46
+ on = "afterLoad";
47
+ async up() {
48
+ const workflowPlugin = this.pm.get(import_plugin_workflow.default);
49
+ await workflowPlugin.repairTaskStats({ types: [import_constants.TASK_TYPE_CC], silent: true });
50
+ }
51
+ }
@@ -9,6 +9,8 @@
9
9
  import { Plugin } from '@nocobase/server';
10
10
  import { Model } from '@nocobase/database';
11
11
  export declare class PluginWorkflowCCServer extends Plugin {
12
+ private getWorkflowKeyById;
13
+ private collectCcTaskStats;
12
14
  onRecordSave: (record: Model, { transaction }: {
13
15
  transaction: any;
14
16
  }) => Promise<void>;
@@ -46,28 +46,132 @@ var import_CCInstruction = __toESM(require("./CCInstruction"));
46
46
  var import_constants = require("../common/constants");
47
47
  var import_actions = require("./actions");
48
48
  class PluginWorkflowCCServer extends import_server.Plugin {
49
- onRecordSave = async (record, { transaction }) => {
50
- if (!record.userId) {
51
- return;
49
+ async getWorkflowKeyById(workflowId, transaction) {
50
+ const WorkflowRepo = this.db.getRepository("workflows");
51
+ const workflow = await WorkflowRepo.findOne({
52
+ filterByTk: workflowId,
53
+ fields: ["key"],
54
+ transaction
55
+ });
56
+ return workflow == null ? void 0 : workflow.key;
57
+ }
58
+ async collectCcTaskStats(options) {
59
+ var _a, _b;
60
+ const workflowPlugin = this.app.pm.get(import_plugin_workflow.default);
61
+ const CCModel = this.db.getModel("workflowCcTasks");
62
+ const qualifiedColumn = (name) => {
63
+ const fieldName = CCModel.getAttributes()[name].field ?? name;
64
+ return this.db.sequelize.col(`${CCModel.name}.${fieldName}`);
65
+ };
66
+ const group = ["userId", "workflowId"].map((name) => qualifiedColumn(name));
67
+ const countColumn = qualifiedColumn("id");
68
+ const where = {};
69
+ if ((_a = options.userIds) == null ? void 0 : _a.length) {
70
+ where.userId = options.userIds;
52
71
  }
53
- const CCModel = record.constructor;
54
- const pending = await CCModel.count({
72
+ if ((_b = options.workflowKeys) == null ? void 0 : _b.length) {
73
+ const workflowIds2 = (await Promise.all(
74
+ options.workflowKeys.map(
75
+ (workflowKey) => workflowPlugin.getWorkflowIdsByKey(workflowKey, options.transaction)
76
+ )
77
+ )).flat();
78
+ if (!workflowIds2.length) {
79
+ return [];
80
+ }
81
+ where.workflowId = workflowIds2;
82
+ }
83
+ const allCounts = await CCModel.findAll({
84
+ attributes: ["userId", "workflowId", [this.db.sequelize.fn("COUNT", countColumn), "count"]],
85
+ where,
86
+ group,
87
+ raw: true,
88
+ transaction: options.transaction
89
+ });
90
+ const pendingCounts = await CCModel.findAll({
91
+ attributes: ["userId", "workflowId", [this.db.sequelize.fn("COUNT", countColumn), "count"]],
55
92
  where: {
56
- userId: record.userId,
93
+ ...where,
57
94
  status: import_constants.TASK_STATUS.UNREAD
58
95
  },
59
- transaction
96
+ group,
97
+ raw: true,
98
+ transaction: options.transaction
60
99
  });
61
- const all = await CCModel.count({
62
- where: {
63
- userId: record.userId
64
- },
100
+ const workflowIds = Array.from(new Set([...allCounts, ...pendingCounts].map((row) => row.workflowId)));
101
+ const workflows = workflowIds.length ? await this.db.getRepository("workflows").find({
102
+ filter: { id: workflowIds },
103
+ fields: ["id", "key"],
104
+ transaction: options.transaction
105
+ }) : [];
106
+ const workflowKeyMap = new Map(
107
+ workflows.map((workflow) => [workflow.id, workflow.key])
108
+ );
109
+ const statsMap = /* @__PURE__ */ new Map();
110
+ for (const row of allCounts) {
111
+ const userId = row.userId;
112
+ const workflowKey = workflowKeyMap.get(row.workflowId);
113
+ if (!userId || !workflowKey) {
114
+ continue;
115
+ }
116
+ const key = `${userId}\0${workflowKey}`;
117
+ const stats = statsMap.get(key) ?? {
118
+ userId,
119
+ workflowKey,
120
+ type: import_constants.TASK_TYPE_CC,
121
+ pending: 0,
122
+ all: 0
123
+ };
124
+ stats.all += Number(row.count) || 0;
125
+ statsMap.set(key, stats);
126
+ }
127
+ for (const row of pendingCounts) {
128
+ const userId = row.userId;
129
+ const workflowKey = workflowKeyMap.get(row.workflowId);
130
+ if (!userId || !workflowKey) {
131
+ continue;
132
+ }
133
+ const key = `${userId}\0${workflowKey}`;
134
+ const stats = statsMap.get(key) ?? {
135
+ userId,
136
+ workflowKey,
137
+ type: import_constants.TASK_TYPE_CC,
138
+ pending: 0,
139
+ all: 0
140
+ };
141
+ stats.pending += Number(row.count) || 0;
142
+ statsMap.set(key, stats);
143
+ }
144
+ return Array.from(statsMap.values());
145
+ }
146
+ onRecordSave = async (record, { transaction }) => {
147
+ const userId = record.get("userId");
148
+ const workflowId = record.get("workflowId");
149
+ if (!userId || !workflowId) {
150
+ return;
151
+ }
152
+ const workflowKey = await this.getWorkflowKeyById(workflowId, transaction);
153
+ if (!workflowKey) {
154
+ return;
155
+ }
156
+ const [row] = await this.collectCcTaskStats({
157
+ userIds: [userId],
158
+ workflowKeys: [workflowKey],
65
159
  transaction
66
160
  });
67
- await this.app.pm.get(import_plugin_workflow.default).updateTasksStats(
68
- record.userId,
69
- import_constants.TASK_TYPE_CC,
70
- { pending, all },
161
+ const stats = row ?? {
162
+ userId,
163
+ workflowKey,
164
+ type: import_constants.TASK_TYPE_CC,
165
+ pending: 0,
166
+ all: 0
167
+ };
168
+ await this.app.pm.get(import_plugin_workflow.default).updateTaskStatsByWorkflow(
169
+ {
170
+ userId,
171
+ workflowKey,
172
+ type: import_constants.TASK_TYPE_CC,
173
+ stats
174
+ },
71
175
  { transaction }
72
176
  );
73
177
  };
@@ -76,7 +180,12 @@ class PluginWorkflowCCServer extends import_server.Plugin {
76
180
  this.app.acl.allow("workflowCcTasks", ["list", "listMine", "get", "read", "unread", "readAll"], "loggedIn");
77
181
  const workflowPlugin = this.app.pm.get(import_plugin_workflow.default);
78
182
  workflowPlugin.registerInstruction("cc", import_CCInstruction.default);
79
- this.app.db.on("workflowCcTasks.afterSave", this.onRecordSave);
183
+ workflowPlugin.registerTaskStatsProvider(import_constants.TASK_TYPE_CC, {
184
+ collectTaskStats: (options) => this.collectCcTaskStats(options)
185
+ });
186
+ this.app.db.on("workflowCcTasks.afterCreateWithAssociations", this.onRecordSave);
187
+ this.app.db.on("workflowCcTasks.afterUpdate", this.onRecordSave);
188
+ this.app.db.on("workflowCcTasks.afterDestroy", this.onRecordSave);
80
189
  }
81
190
  }
82
191
  var plugin_default = PluginWorkflowCCServer;
package/package.json CHANGED
@@ -10,20 +10,25 @@
10
10
  "homepage.ru-RU": "https://docs-ru.nocobase.com/handbook/workflow-cc",
11
11
  "homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/workflow-cc",
12
12
  "license": "Apache-2.0",
13
- "version": "2.2.0-beta.9",
13
+ "version": "3.0.0-alpha.1",
14
14
  "main": "dist/server/index.js",
15
15
  "peerDependencies": {
16
16
  "@nocobase/actions": "2.x",
17
17
  "@nocobase/client": "2.x",
18
+ "@nocobase/client-v2": "2.x",
19
+ "@nocobase/flow-engine": "2.x",
20
+ "@nocobase/plugin-flow-engine": "2.x",
21
+ "@nocobase/plugin-notification-manager": "2.x",
18
22
  "@nocobase/plugin-ui-schema-storage": "2.x",
19
23
  "@nocobase/plugin-users": "2.x",
20
24
  "@nocobase/plugin-workflow": "2.x",
21
25
  "@nocobase/server": "2.x",
22
26
  "@nocobase/test": "2.x",
23
- "@nocobase/utils": "2.x"
27
+ "@nocobase/utils": "2.x",
28
+ "ahooks": "^3.7.2"
24
29
  },
25
30
  "keywords": [
26
31
  "Workflow"
27
32
  ],
28
- "gitHead": "60e3d7abbaa0c7cead76f71a4f3d5eedb6b8acdb"
33
+ "gitHead": "22d8be8ece179cfa5c8a4ebb2c896c92bd418e03"
29
34
  }
@@ -1,17 +0,0 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
- import React from 'react';
10
- import { SchemaInitializer } from '@nocobase/client';
11
- export declare const addBlockButton: SchemaInitializer<import("antd").ButtonProps, {}>;
12
- export declare function SchemaConfig(): React.JSX.Element;
13
- export declare function SchemaConfigButton(props: any): React.JSX.Element;
14
- export declare function CCInterfaceConfig({ children }: {
15
- children: any;
16
- }): React.JSX.Element;
17
- export declare function CCTaskCardConfigButton(): React.JSX.Element;