@nocobase/plugin-workflow-manual 0.17.0-alpha.4 → 0.17.0-alpha.5

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.
@@ -3,16 +3,16 @@ module.exports = {
3
3
  "@formily/react": "2.2.27",
4
4
  "antd": "5.8.6",
5
5
  "dayjs": "1.11.9",
6
- "@nocobase/client": "0.17.0-alpha.4",
7
- "@nocobase/plugin-workflow": "0.17.0-alpha.4",
6
+ "@nocobase/client": "0.17.0-alpha.5",
7
+ "@nocobase/plugin-workflow": "0.17.0-alpha.5",
8
8
  "@ant-design/icons": "5.1.4",
9
9
  "react-i18next": "11.18.6",
10
- "@nocobase/utils": "0.17.0-alpha.4",
11
- "@nocobase/server": "0.17.0-alpha.4",
12
- "@nocobase/actions": "0.17.0-alpha.4",
13
- "@nocobase/resourcer": "0.17.0-alpha.4",
10
+ "@nocobase/utils": "0.17.0-alpha.5",
11
+ "@nocobase/server": "0.17.0-alpha.5",
12
+ "@nocobase/actions": "0.17.0-alpha.5",
13
+ "@nocobase/resourcer": "0.17.0-alpha.5",
14
14
  "@formily/core": "2.2.27",
15
15
  "@formily/antd-v5": "1.1.7",
16
- "@nocobase/database": "0.17.0-alpha.4",
16
+ "@nocobase/database": "0.17.0-alpha.5",
17
17
  "lodash": "4.17.21"
18
18
  };
@@ -59,12 +59,12 @@ async function submit(context, next) {
59
59
  }
60
60
  const presetValues = processor.getParsedValue(actionItem.values ?? {}, userJob.nodeId, {
61
61
  // @deprecated
62
- currentUser: currentUser.toJSON(),
62
+ currentUser,
63
63
  // @deprecated
64
64
  currentRecord: values.result[formKey],
65
65
  // @deprecated
66
66
  currentTime: /* @__PURE__ */ new Date(),
67
- $user: currentUser.toJSON(),
67
+ $user: currentUser,
68
68
  $nForm: values.result[formKey],
69
69
  $nDate: {
70
70
  now: /* @__PURE__ */ new Date()
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "工作流:人工处理节点",
5
5
  "description": "Could be used for workflows which some of decisions are made by users.",
6
6
  "description.zh-CN": "用于人工控制部分决策的流程。",
7
- "version": "0.17.0-alpha.4",
7
+ "version": "0.17.0-alpha.5",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "devDependencies": {
@@ -29,5 +29,5 @@
29
29
  "@nocobase/test": "0.x",
30
30
  "@nocobase/utils": "0.x"
31
31
  },
32
- "gitHead": "663b03a3799a70ba1a2bc6a0d686e679331a50ad"
32
+ "gitHead": "80ae6768a0f4108afa8ac342463627ef3960663f"
33
33
  }
@@ -56,12 +56,12 @@ export async function submit(context: Context, next) {
56
56
  }
57
57
  const presetValues = processor.getParsedValue(actionItem.values ?? {}, userJob.nodeId, {
58
58
  // @deprecated
59
- currentUser: currentUser.toJSON(),
59
+ currentUser: currentUser,
60
60
  // @deprecated
61
61
  currentRecord: values.result[formKey],
62
62
  // @deprecated
63
63
  currentTime: new Date(),
64
- $user: currentUser.toJSON(),
64
+ $user: currentUser,
65
65
  $nForm: values.result[formKey],
66
66
  $nDate: {
67
67
  now: new Date(),