@nocobase/plugin-workflow 1.9.0-alpha.14 → 1.9.0-alpha.16

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.
@@ -40,7 +40,7 @@ export declare const executionSchema: {
40
40
  enum?: undefined;
41
41
  };
42
42
  primaryKey: boolean;
43
- autoIncrement: boolean;
43
+ allowNull: boolean;
44
44
  target?: undefined;
45
45
  foreignKey?: undefined;
46
46
  unique?: undefined;
@@ -67,7 +67,7 @@ export declare const executionSchema: {
67
67
  enum?: undefined;
68
68
  };
69
69
  primaryKey?: undefined;
70
- autoIncrement?: undefined;
70
+ allowNull?: undefined;
71
71
  unique?: undefined;
72
72
  onDelete?: undefined;
73
73
  defaultValue?: undefined;
@@ -77,7 +77,7 @@ export declare const executionSchema: {
77
77
  interface?: undefined;
78
78
  uiSchema?: undefined;
79
79
  primaryKey?: undefined;
80
- autoIncrement?: undefined;
80
+ allowNull?: undefined;
81
81
  target?: undefined;
82
82
  foreignKey?: undefined;
83
83
  unique?: undefined;
@@ -90,7 +90,7 @@ export declare const executionSchema: {
90
90
  interface?: undefined;
91
91
  uiSchema?: undefined;
92
92
  primaryKey?: undefined;
93
- autoIncrement?: undefined;
93
+ allowNull?: undefined;
94
94
  target?: undefined;
95
95
  foreignKey?: undefined;
96
96
  onDelete?: undefined;
@@ -102,7 +102,7 @@ export declare const executionSchema: {
102
102
  interface?: undefined;
103
103
  uiSchema?: undefined;
104
104
  primaryKey?: undefined;
105
- autoIncrement?: undefined;
105
+ allowNull?: undefined;
106
106
  target?: undefined;
107
107
  foreignKey?: undefined;
108
108
  unique?: undefined;
@@ -121,7 +121,7 @@ export declare const executionSchema: {
121
121
  'x-read-pretty'?: undefined;
122
122
  };
123
123
  primaryKey?: undefined;
124
- autoIncrement?: undefined;
124
+ allowNull?: undefined;
125
125
  target?: undefined;
126
126
  foreignKey?: undefined;
127
127
  unique?: undefined;
@@ -134,7 +134,7 @@ export declare const executionSchema: {
134
134
  interface?: undefined;
135
135
  uiSchema?: undefined;
136
136
  primaryKey?: undefined;
137
- autoIncrement?: undefined;
137
+ allowNull?: undefined;
138
138
  target?: undefined;
139
139
  foreignKey?: undefined;
140
140
  unique?: undefined;
@@ -155,7 +155,7 @@ export declare const executionSchema: {
155
155
  enum?: undefined;
156
156
  };
157
157
  primaryKey?: undefined;
158
- autoIncrement?: undefined;
158
+ allowNull?: undefined;
159
159
  target?: undefined;
160
160
  foreignKey?: undefined;
161
161
  unique?: undefined;
@@ -29,7 +29,7 @@ declare const _default: {
29
29
  enum?: undefined;
30
30
  };
31
31
  primaryKey: boolean;
32
- autoIncrement: boolean;
32
+ allowNull: boolean;
33
33
  target?: undefined;
34
34
  foreignKey?: undefined;
35
35
  unique?: undefined;
@@ -56,7 +56,7 @@ declare const _default: {
56
56
  enum?: undefined;
57
57
  };
58
58
  primaryKey?: undefined;
59
- autoIncrement?: undefined;
59
+ allowNull?: undefined;
60
60
  unique?: undefined;
61
61
  onDelete?: undefined;
62
62
  defaultValue?: undefined;
@@ -66,7 +66,7 @@ declare const _default: {
66
66
  interface?: undefined;
67
67
  uiSchema?: undefined;
68
68
  primaryKey?: undefined;
69
- autoIncrement?: undefined;
69
+ allowNull?: undefined;
70
70
  target?: undefined;
71
71
  foreignKey?: undefined;
72
72
  unique?: undefined;
@@ -79,7 +79,7 @@ declare const _default: {
79
79
  interface?: undefined;
80
80
  uiSchema?: undefined;
81
81
  primaryKey?: undefined;
82
- autoIncrement?: undefined;
82
+ allowNull?: undefined;
83
83
  target?: undefined;
84
84
  foreignKey?: undefined;
85
85
  onDelete?: undefined;
@@ -91,7 +91,7 @@ declare const _default: {
91
91
  interface?: undefined;
92
92
  uiSchema?: undefined;
93
93
  primaryKey?: undefined;
94
- autoIncrement?: undefined;
94
+ allowNull?: undefined;
95
95
  target?: undefined;
96
96
  foreignKey?: undefined;
97
97
  unique?: undefined;
@@ -110,7 +110,7 @@ declare const _default: {
110
110
  'x-read-pretty'?: undefined;
111
111
  };
112
112
  primaryKey?: undefined;
113
- autoIncrement?: undefined;
113
+ allowNull?: undefined;
114
114
  target?: undefined;
115
115
  foreignKey?: undefined;
116
116
  unique?: undefined;
@@ -123,7 +123,7 @@ declare const _default: {
123
123
  interface?: undefined;
124
124
  uiSchema?: undefined;
125
125
  primaryKey?: undefined;
126
- autoIncrement?: undefined;
126
+ allowNull?: undefined;
127
127
  target?: undefined;
128
128
  foreignKey?: undefined;
129
129
  unique?: undefined;
@@ -144,7 +144,7 @@ declare const _default: {
144
144
  enum?: undefined;
145
145
  };
146
146
  primaryKey?: undefined;
147
- autoIncrement?: undefined;
147
+ allowNull?: undefined;
148
148
  target?: undefined;
149
149
  foreignKey?: undefined;
150
150
  unique?: undefined;
@@ -39,7 +39,7 @@ var executions_default = {
39
39
  shared: true,
40
40
  fields: [
41
41
  {
42
- type: "bigInt",
42
+ type: "snowflakeId",
43
43
  name: "id",
44
44
  interface: "id",
45
45
  uiSchema: {
@@ -50,7 +50,7 @@ var executions_default = {
50
50
  "x-read-pretty": true
51
51
  },
52
52
  primaryKey: true,
53
- autoIncrement: true
53
+ allowNull: false
54
54
  },
55
55
  {
56
56
  type: "belongsTo",
@@ -12,8 +12,21 @@ declare const _default: {
12
12
  name: string;
13
13
  shared: boolean;
14
14
  fields: ({
15
+ name: string;
16
+ type: string;
17
+ primaryKey: boolean;
18
+ allowNull: boolean;
19
+ interface?: undefined;
20
+ uiSchema?: undefined;
21
+ target?: undefined;
22
+ sourceKey?: undefined;
23
+ foreignKey?: undefined;
24
+ defaultValue?: undefined;
25
+ } | {
15
26
  type: string;
16
27
  name: string;
28
+ primaryKey?: undefined;
29
+ allowNull?: undefined;
17
30
  interface?: undefined;
18
31
  uiSchema?: undefined;
19
32
  target?: undefined;
@@ -29,6 +42,8 @@ declare const _default: {
29
42
  title: string;
30
43
  'x-component': string;
31
44
  };
45
+ primaryKey?: undefined;
46
+ allowNull?: undefined;
32
47
  target?: undefined;
33
48
  sourceKey?: undefined;
34
49
  foreignKey?: undefined;
@@ -37,6 +52,8 @@ declare const _default: {
37
52
  name: string;
38
53
  type: string;
39
54
  target: string;
55
+ primaryKey?: undefined;
56
+ allowNull?: undefined;
40
57
  interface?: undefined;
41
58
  uiSchema?: undefined;
42
59
  sourceKey?: undefined;
@@ -48,6 +65,8 @@ declare const _default: {
48
65
  target: string;
49
66
  sourceKey: string;
50
67
  foreignKey: string;
68
+ primaryKey?: undefined;
69
+ allowNull?: undefined;
51
70
  interface?: undefined;
52
71
  uiSchema?: undefined;
53
72
  defaultValue?: undefined;
@@ -55,6 +74,8 @@ declare const _default: {
55
74
  type: string;
56
75
  name: string;
57
76
  defaultValue: {};
77
+ primaryKey?: undefined;
78
+ allowNull?: undefined;
58
79
  interface?: undefined;
59
80
  uiSchema?: undefined;
60
81
  target?: undefined;
@@ -35,6 +35,12 @@ var flow_nodes_default = {
35
35
  name: "flow_nodes",
36
36
  shared: true,
37
37
  fields: [
38
+ {
39
+ name: "id",
40
+ type: "snowflakeId",
41
+ primaryKey: true,
42
+ allowNull: false
43
+ },
38
44
  {
39
45
  type: "uid",
40
46
  name: "key"
@@ -16,17 +16,30 @@ declare const _default: {
16
16
  fields: ({
17
17
  name: string;
18
18
  type: string;
19
+ primaryKey: boolean;
20
+ allowNull: boolean;
21
+ foreignKey?: undefined;
22
+ defaultValue?: undefined;
23
+ } | {
24
+ name: string;
25
+ type: string;
26
+ primaryKey?: undefined;
27
+ allowNull?: undefined;
19
28
  foreignKey?: undefined;
20
29
  defaultValue?: undefined;
21
30
  } | {
22
31
  name: string;
23
32
  type: string;
24
33
  foreignKey: string;
34
+ primaryKey?: undefined;
35
+ allowNull?: undefined;
25
36
  defaultValue?: undefined;
26
37
  } | {
27
38
  type: string;
28
39
  name: string;
29
40
  defaultValue: {};
41
+ primaryKey?: undefined;
42
+ allowNull?: undefined;
30
43
  foreignKey?: undefined;
31
44
  })[];
32
45
  indexes: {
@@ -37,6 +37,12 @@ var userWorkflowTasks_default = {
37
37
  name: "userWorkflowTasks",
38
38
  shared: true,
39
39
  fields: [
40
+ {
41
+ name: "id",
42
+ type: "snowflakeId",
43
+ primaryKey: true,
44
+ allowNull: false
45
+ },
40
46
  {
41
47
  name: "userId",
42
48
  type: "bigInt"
@@ -12,6 +12,19 @@ declare const _default: {
12
12
  name: string;
13
13
  shared: boolean;
14
14
  fields: ({
15
+ name: string;
16
+ type: string;
17
+ primaryKey: boolean;
18
+ allowNull: boolean;
19
+ interface?: undefined;
20
+ uiSchema?: undefined;
21
+ defaultValue?: undefined;
22
+ target?: undefined;
23
+ foreignKey?: undefined;
24
+ otherKey?: undefined;
25
+ targetKey?: undefined;
26
+ through?: undefined;
27
+ } | {
15
28
  type: string;
16
29
  name: string;
17
30
  interface: string;
@@ -21,6 +34,8 @@ declare const _default: {
21
34
  'x-component': string;
22
35
  required: boolean;
23
36
  };
37
+ primaryKey?: undefined;
38
+ allowNull?: undefined;
24
39
  defaultValue?: undefined;
25
40
  target?: undefined;
26
41
  foreignKey?: undefined;
@@ -31,6 +46,8 @@ declare const _default: {
31
46
  type: string;
32
47
  name: string;
33
48
  defaultValue: string;
49
+ primaryKey?: undefined;
50
+ allowNull?: undefined;
34
51
  interface?: undefined;
35
52
  uiSchema?: undefined;
36
53
  target?: undefined;
@@ -46,12 +63,16 @@ declare const _default: {
46
63
  otherKey: string;
47
64
  targetKey: string;
48
65
  through: string;
66
+ primaryKey?: undefined;
67
+ allowNull?: undefined;
49
68
  interface?: undefined;
50
69
  uiSchema?: undefined;
51
70
  defaultValue?: undefined;
52
71
  } | {
53
72
  type: string;
54
73
  name: string;
74
+ primaryKey?: undefined;
75
+ allowNull?: undefined;
55
76
  interface?: undefined;
56
77
  uiSchema?: undefined;
57
78
  defaultValue?: undefined;
@@ -35,6 +35,12 @@ var workflowCategories_default = {
35
35
  name: "workflowCategories",
36
36
  shared: true,
37
37
  fields: [
38
+ {
39
+ name: "id",
40
+ type: "snowflakeId",
41
+ primaryKey: true,
42
+ allowNull: false
43
+ },
38
44
  {
39
45
  type: "string",
40
46
  name: "title",
@@ -15,6 +15,24 @@ declare const _default: {
15
15
  fields: ({
16
16
  name: string;
17
17
  type: string;
18
+ primaryKey: boolean;
19
+ allowNull: boolean;
20
+ interface?: undefined;
21
+ uiSchema?: undefined;
22
+ defaultValue?: undefined;
23
+ required?: undefined;
24
+ target?: undefined;
25
+ onDelete?: undefined;
26
+ foreignKey?: undefined;
27
+ sourceKey?: undefined;
28
+ constraints?: undefined;
29
+ through?: undefined;
30
+ otherKey?: undefined;
31
+ } | {
32
+ name: string;
33
+ type: string;
34
+ primaryKey?: undefined;
35
+ allowNull?: undefined;
18
36
  interface?: undefined;
19
37
  uiSchema?: undefined;
20
38
  defaultValue?: undefined;
@@ -40,6 +58,8 @@ declare const _default: {
40
58
  'x-component-props'?: undefined;
41
59
  'x-read-pretty'?: undefined;
42
60
  };
61
+ primaryKey?: undefined;
62
+ allowNull?: undefined;
43
63
  defaultValue?: undefined;
44
64
  required?: undefined;
45
65
  target?: undefined;
@@ -72,6 +92,8 @@ declare const _default: {
72
92
  'x-component-props'?: undefined;
73
93
  'x-read-pretty'?: undefined;
74
94
  };
95
+ primaryKey?: undefined;
96
+ allowNull?: undefined;
75
97
  required?: undefined;
76
98
  target?: undefined;
77
99
  onDelete?: undefined;
@@ -94,6 +116,8 @@ declare const _default: {
94
116
  'x-component-props'?: undefined;
95
117
  'x-read-pretty'?: undefined;
96
118
  };
119
+ primaryKey?: undefined;
120
+ allowNull?: undefined;
97
121
  defaultValue?: undefined;
98
122
  required?: undefined;
99
123
  target?: undefined;
@@ -118,6 +142,8 @@ declare const _default: {
118
142
  'x-component-props'?: undefined;
119
143
  'x-read-pretty'?: undefined;
120
144
  };
145
+ primaryKey?: undefined;
146
+ allowNull?: undefined;
121
147
  defaultValue?: undefined;
122
148
  target?: undefined;
123
149
  onDelete?: undefined;
@@ -131,6 +157,8 @@ declare const _default: {
131
157
  name: string;
132
158
  required: boolean;
133
159
  defaultValue: {};
160
+ primaryKey?: undefined;
161
+ allowNull?: undefined;
134
162
  interface?: undefined;
135
163
  uiSchema?: undefined;
136
164
  target?: undefined;
@@ -145,6 +173,8 @@ declare const _default: {
145
173
  name: string;
146
174
  target: string;
147
175
  onDelete: string;
176
+ primaryKey?: undefined;
177
+ allowNull?: undefined;
148
178
  interface?: undefined;
149
179
  uiSchema?: undefined;
150
180
  defaultValue?: undefined;
@@ -158,6 +188,8 @@ declare const _default: {
158
188
  type: string;
159
189
  name: string;
160
190
  defaultValue: number;
191
+ primaryKey?: undefined;
192
+ allowNull?: undefined;
161
193
  interface?: undefined;
162
194
  uiSchema?: undefined;
163
195
  required?: undefined;
@@ -187,6 +219,8 @@ declare const _default: {
187
219
  'x-component-props'?: undefined;
188
220
  'x-read-pretty'?: undefined;
189
221
  };
222
+ primaryKey?: undefined;
223
+ allowNull?: undefined;
190
224
  required?: undefined;
191
225
  target?: undefined;
192
226
  onDelete?: undefined;
@@ -203,6 +237,8 @@ declare const _default: {
203
237
  sourceKey: string;
204
238
  constraints: boolean;
205
239
  onDelete: string;
240
+ primaryKey?: undefined;
241
+ allowNull?: undefined;
206
242
  interface?: undefined;
207
243
  uiSchema?: undefined;
208
244
  defaultValue?: undefined;
@@ -213,6 +249,8 @@ declare const _default: {
213
249
  type: string;
214
250
  name: string;
215
251
  defaultValue: {};
252
+ primaryKey?: undefined;
253
+ allowNull?: undefined;
216
254
  interface?: undefined;
217
255
  uiSchema?: undefined;
218
256
  required?: undefined;
@@ -230,6 +268,8 @@ declare const _default: {
230
268
  foreignKey: string;
231
269
  sourceKey: string;
232
270
  constraints: boolean;
271
+ primaryKey?: undefined;
272
+ allowNull?: undefined;
233
273
  interface?: undefined;
234
274
  uiSchema?: undefined;
235
275
  defaultValue?: undefined;
@@ -265,6 +305,8 @@ declare const _default: {
265
305
  enum?: undefined;
266
306
  default?: undefined;
267
307
  };
308
+ primaryKey?: undefined;
309
+ allowNull?: undefined;
268
310
  defaultValue?: undefined;
269
311
  required?: undefined;
270
312
  onDelete?: undefined;
@@ -37,6 +37,12 @@ var workflows_default = {
37
37
  shared: true,
38
38
  repository: "WorkflowRepository",
39
39
  fields: [
40
+ {
41
+ name: "id",
42
+ type: "snowflakeId",
43
+ primaryKey: true,
44
+ allowNull: false
45
+ },
40
46
  {
41
47
  name: "key",
42
48
  type: "uid"
@@ -11,8 +11,8 @@ module.exports = {
11
11
  "react": "18.2.0",
12
12
  "@formily/core": "2.3.0",
13
13
  "@formily/react": "2.3.0",
14
- "@nocobase/client": "1.9.0-alpha.14",
15
- "@nocobase/utils": "1.9.0-alpha.14",
14
+ "@nocobase/client": "1.9.0-alpha.16",
15
+ "@nocobase/utils": "1.9.0-alpha.16",
16
16
  "antd": "5.24.2",
17
17
  "@ant-design/icons": "5.6.1",
18
18
  "react-router-dom": "6.28.1",
@@ -20,17 +20,17 @@ module.exports = {
20
20
  "lodash": "4.17.21",
21
21
  "@dnd-kit/core": "6.1.0",
22
22
  "@formily/shared": "2.3.2",
23
- "@nocobase/plugin-mobile": "1.9.0-alpha.14",
23
+ "@nocobase/plugin-mobile": "1.9.0-alpha.16",
24
24
  "sequelize": "6.35.2",
25
- "@nocobase/database": "1.9.0-alpha.14",
26
- "@nocobase/server": "1.9.0-alpha.14",
27
- "@nocobase/data-source-manager": "1.9.0-alpha.14",
28
- "@nocobase/logger": "1.9.0-alpha.14",
29
- "@nocobase/evaluators": "1.9.0-alpha.14",
25
+ "@nocobase/database": "1.9.0-alpha.16",
26
+ "@nocobase/server": "1.9.0-alpha.16",
27
+ "@nocobase/data-source-manager": "1.9.0-alpha.16",
28
+ "@nocobase/logger": "1.9.0-alpha.16",
29
+ "@nocobase/evaluators": "1.9.0-alpha.16",
30
30
  "@formily/antd-v5": "1.2.3",
31
31
  "@formily/reactive": "2.3.0",
32
- "@nocobase/actions": "1.9.0-alpha.14",
32
+ "@nocobase/actions": "1.9.0-alpha.16",
33
33
  "dayjs": "1.11.13",
34
- "@nocobase/plugin-workflow-test": "1.9.0-alpha.14",
35
- "@nocobase/test": "1.9.0-alpha.14"
34
+ "@nocobase/plugin-workflow-test": "1.9.0-alpha.16",
35
+ "@nocobase/test": "1.9.0-alpha.16"
36
36
  };
@@ -1 +1 @@
1
- {"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","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":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2025-09-10T07:12:57.432Z"}
1
+ {"name":"cron-parser","version":"4.4.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","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":"^1.28.0"},"devDependencies":{"eslint":"^8.2.0","sinon":"^10.0.0","tap":"^16.0.1","tsd":"^0.19.0"},"engines":{"node":">=0.8"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"_lastModified":"2025-09-24T13:38:45.723Z"}
@@ -1 +1 @@
1
- {"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"8.0.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","preprepare":"rm -rf dist","prepare":"tsc -p tsconfig.json && tsc -p tsconfig-esm.json","postprepare":"bash fixup.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"c8 tap","snap":"c8 tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig tsconfig-esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile"},"main":"./dist/cjs/index-cjs.js","module":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","exports":{"./min":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.min.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.min.js"}},".":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index-cjs.js"}}},"repository":"git://github.com/isaacs/node-lru-cache.git","devDependencies":{"@size-limit/preset-small-lib":"^7.0.8","@types/node":"^17.0.31","@types/tap":"^15.0.6","benchmark":"^2.1.4","c8":"^7.11.2","clock-mock":"^1.0.6","esbuild":"^0.17.11","eslint-config-prettier":"^8.5.0","marked":"^4.2.12","mkdirp":"^2.1.5","prettier":"^2.6.2","size-limit":"^7.0.8","tap":"^16.3.4","ts-node":"^10.7.0","tslib":"^2.4.0","typedoc":"^0.23.24","typescript":"^4.6.4"},"license":"ISC","files":["dist"],"engines":{"node":">=16.14"},"prettier":{"semi":false,"printWidth":70,"tabWidth":2,"useTabs":false,"singleQuote":true,"jsxSingleQuote":false,"bracketSameLine":true,"arrowParens":"avoid","endOfLine":"lf"},"tap":{"coverage":false,"node-arg":["--expose-gc","--no-warnings","--loader","ts-node/esm"],"ts":false},"size-limit":[{"path":"./dist/mjs/index.js"}],"_lastModified":"2025-09-10T07:12:57.084Z"}
1
+ {"name":"lru-cache","description":"A cache object that deletes the least-recently-used items.","version":"8.0.5","author":"Isaac Z. Schlueter <i@izs.me>","keywords":["mru","lru","cache"],"sideEffects":false,"scripts":{"build":"npm run prepare","preprepare":"rm -rf dist","prepare":"tsc -p tsconfig.json && tsc -p tsconfig-esm.json","postprepare":"bash fixup.sh","pretest":"npm run prepare","presnap":"npm run prepare","test":"c8 tap","snap":"c8 tap","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","format":"prettier --write .","typedoc":"typedoc --tsconfig tsconfig-esm.json ./src/*.ts","benchmark-results-typedoc":"bash scripts/benchmark-results-typedoc.sh","prebenchmark":"npm run prepare","benchmark":"make -C benchmark","preprofile":"npm run prepare","profile":"make -C benchmark profile"},"main":"./dist/cjs/index-cjs.js","module":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","exports":{"./min":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.min.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.min.js"}},".":{"import":{"types":"./dist/mjs/index.d.ts","default":"./dist/mjs/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index-cjs.js"}}},"repository":"git://github.com/isaacs/node-lru-cache.git","devDependencies":{"@size-limit/preset-small-lib":"^7.0.8","@types/node":"^17.0.31","@types/tap":"^15.0.6","benchmark":"^2.1.4","c8":"^7.11.2","clock-mock":"^1.0.6","esbuild":"^0.17.11","eslint-config-prettier":"^8.5.0","marked":"^4.2.12","mkdirp":"^2.1.5","prettier":"^2.6.2","size-limit":"^7.0.8","tap":"^16.3.4","ts-node":"^10.7.0","tslib":"^2.4.0","typedoc":"^0.23.24","typescript":"^4.6.4"},"license":"ISC","files":["dist"],"engines":{"node":">=16.14"},"prettier":{"semi":false,"printWidth":70,"tabWidth":2,"useTabs":false,"singleQuote":true,"jsxSingleQuote":false,"bracketSameLine":true,"arrowParens":"avoid","endOfLine":"lf"},"tap":{"coverage":false,"node-arg":["--expose-gc","--no-warnings","--loader","ts-node/esm"],"ts":false},"size-limit":[{"path":"./dist/mjs/index.js"}],"_lastModified":"2025-09-24T13:38:45.354Z"}
@@ -1 +1 @@
1
- {"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2025-09-10T07:12:56.898Z"}
1
+ {"name":"nodejs-snowflake","collaborators":["Utkarsh Srivastava <utkarsh@sagacious.dev>"],"description":"Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)","version":"2.0.1","license":"Apache 2.0","repository":{"type":"git","url":"https://github.com/utkarsh-pro/nodejs-snowflake.git"},"files":["nodejs_snowflake_bg.wasm","nodejs_snowflake.js","nodejs_snowflake.d.ts"],"main":"nodejs_snowflake.js","types":"nodejs_snowflake.d.ts","_lastModified":"2025-09-24T13:38:45.157Z"}
@@ -207,6 +207,7 @@ class PluginWorkflowServer extends import_server.Plugin {
207
207
  if (this.checker) {
208
208
  clearInterval(this.checker);
209
209
  }
210
+ this.loggerCache.clear();
210
211
  };
211
212
  async handleSyncMessage(message) {
212
213
  if (message.type === "statusChange") {
@@ -307,12 +308,10 @@ class PluginWorkflowServer extends import_server.Plugin {
307
308
  this.snowflake = new import_nodejs_snowflake.Snowflake({
308
309
  custom_epoch: pluginRecord == null ? void 0 : pluginRecord.createdAt.getTime()
309
310
  });
310
- if (this.app.serving(WORKER_JOB_WORKFLOW_PROCESS)) {
311
- this.app.backgroundJobManager.subscribe(`${this.name}.pendingExecution`, {
312
- idle: () => !this.executing && !this.pending.length && !this.events.length,
313
- process: this.onQueueExecution
314
- });
315
- }
311
+ this.app.backgroundJobManager.subscribe(`${this.name}.pendingExecution`, {
312
+ idle: () => this.app.serving(WORKER_JOB_WORKFLOW_PROCESS) && !this.executing && !this.pending.length && !this.events.length,
313
+ process: this.onQueueExecution
314
+ });
316
315
  }
317
316
  /**
318
317
  * @internal
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "displayName.zh-CN": "工作流",
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
  "description.zh-CN": "一个强大的 BPM 工具,为业务自动化提供基础支持,并且可任意扩展更多的触发器和节点。",
7
- "version": "1.9.0-alpha.14",
7
+ "version": "1.9.0-alpha.16",
8
8
  "license": "AGPL-3.0",
9
9
  "main": "./dist/server/index.js",
10
10
  "homepage": "https://docs.nocobase.com/handbook/workflow",
@@ -45,7 +45,7 @@
45
45
  "@nocobase/test": "1.x",
46
46
  "@nocobase/utils": "1.x"
47
47
  },
48
- "gitHead": "0e2ad0f673bff626b4d59aaa9657ce5d5efb54c6",
48
+ "gitHead": "27dc5eb0e365a63d9fb7481dced69e253c018027",
49
49
  "keywords": [
50
50
  "Workflow"
51
51
  ]