@skyblock-finance/actions 0.4.0 → 0.5.0

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/schema.d.ts CHANGED
@@ -1,394 +1,195 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v4';
2
2
  export declare const actionIoItemSchema: z.ZodObject<{
3
3
  amount: z.ZodNumber;
4
4
  id: z.ZodString;
5
5
  type: z.ZodLiteral<"item">;
6
- }, "strict", z.ZodTypeAny, {
7
- amount: number;
8
- id: string;
9
- type: "item";
10
- }, {
11
- amount: number;
12
- id: string;
13
- type: "item";
14
- }>;
6
+ }, z.core.$strict>;
15
7
  export declare const actionIoCurrencySchema: z.ZodObject<{
16
8
  amount: z.ZodNumber;
17
- id: z.ZodEnum<["bit", "coin", "gem", "north-star", "pest", "second", "usd"]>;
9
+ id: z.ZodEnum<{
10
+ bit: "bit";
11
+ coin: "coin";
12
+ copper: "copper";
13
+ gem: "gem";
14
+ "north-star": "north-star";
15
+ pest: "pest";
16
+ second: "second";
17
+ usd: "usd";
18
+ }>;
18
19
  type: z.ZodLiteral<"currency">;
19
- }, "strict", z.ZodTypeAny, {
20
- amount: number;
21
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
22
- type: "currency";
23
- }, {
24
- amount: number;
25
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
26
- type: "currency";
27
- }>;
28
- export declare const actionIoSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
20
+ }, z.core.$strict>;
21
+ export declare const actionIoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
29
22
  amount: z.ZodNumber;
30
- id: z.ZodEnum<["bit", "coin", "gem", "north-star", "pest", "second", "usd"]>;
23
+ id: z.ZodEnum<{
24
+ bit: "bit";
25
+ coin: "coin";
26
+ copper: "copper";
27
+ gem: "gem";
28
+ "north-star": "north-star";
29
+ pest: "pest";
30
+ second: "second";
31
+ usd: "usd";
32
+ }>;
31
33
  type: z.ZodLiteral<"currency">;
32
- }, "strict", z.ZodTypeAny, {
33
- amount: number;
34
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
35
- type: "currency";
36
- }, {
37
- amount: number;
38
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
39
- type: "currency";
40
- }>, z.ZodObject<{
34
+ }, z.core.$strict>, z.ZodObject<{
41
35
  amount: z.ZodNumber;
42
36
  id: z.ZodString;
43
37
  type: z.ZodLiteral<"item">;
44
- }, "strict", z.ZodTypeAny, {
45
- amount: number;
46
- id: string;
47
- type: "item";
48
- }, {
49
- amount: number;
50
- id: string;
51
- type: "item";
52
- }>]>;
53
- export declare const actionPlaceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
38
+ }, z.core.$strict>]>;
39
+ export declare const actionPlaceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
54
40
  left: z.ZodObject<{
55
41
  amount: z.ZodNumber;
56
42
  id: z.ZodString;
57
43
  type: z.ZodLiteral<"item">;
58
- }, "strict", z.ZodTypeAny, {
59
- amount: number;
60
- id: string;
61
- type: "item";
62
- }, {
63
- amount: number;
64
- id: string;
65
- type: "item";
66
- }>;
44
+ }, z.core.$strict>;
67
45
  right: z.ZodObject<{
68
46
  amount: z.ZodNumber;
69
47
  id: z.ZodString;
70
48
  type: z.ZodLiteral<"item">;
71
- }, "strict", z.ZodTypeAny, {
72
- amount: number;
73
- id: string;
74
- type: "item";
75
- }, {
76
- amount: number;
77
- id: string;
78
- type: "item";
79
- }>;
49
+ }, z.core.$strict>;
80
50
  type: z.ZodLiteral<"anvil">;
81
- }, "strict", z.ZodTypeAny, {
82
- type: "anvil";
83
- left: {
84
- amount: number;
85
- id: string;
86
- type: "item";
87
- };
88
- right: {
89
- amount: number;
90
- id: string;
91
- type: "item";
92
- };
93
- }, {
94
- type: "anvil";
95
- left: {
96
- amount: number;
97
- id: string;
98
- type: "item";
99
- };
100
- right: {
101
- amount: number;
102
- id: string;
103
- type: "item";
104
- };
105
- }>, z.ZodObject<{
51
+ }, z.core.$strict>, z.ZodObject<{
106
52
  id: z.ZodString;
107
53
  type: z.ZodLiteral<"npc">;
108
- }, "strict", z.ZodTypeAny, {
109
- id: string;
110
- type: "npc";
111
- }, {
112
- id: string;
113
- type: "npc";
114
- }>, z.ZodObject<{
54
+ }, z.core.$strict>, z.ZodObject<{
115
55
  type: z.ZodLiteral<"website">;
116
- url: z.ZodString;
117
- }, "strict", z.ZodTypeAny, {
118
- type: "website";
119
- url: string;
120
- }, {
121
- type: "website";
122
- url: string;
123
- }>, z.ZodObject<{
56
+ url: z.ZodURL;
57
+ }, z.core.$strict>, z.ZodObject<{
124
58
  grid: z.ZodArray<z.ZodNullable<z.ZodObject<{
125
59
  amount: z.ZodNumber;
126
60
  id: z.ZodString;
127
61
  type: z.ZodLiteral<"item">;
128
- }, "strict", z.ZodTypeAny, {
129
- amount: number;
130
- id: string;
131
- type: "item";
132
- }, {
133
- amount: number;
134
- id: string;
135
- type: "item";
136
- }>>, "many">;
62
+ }, z.core.$strict>>>;
137
63
  type: z.ZodLiteral<"workbench">;
138
- }, "strict", z.ZodTypeAny, {
139
- type: "workbench";
140
- grid: ({
141
- amount: number;
142
- id: string;
143
- type: "item";
144
- } | null)[];
145
- }, {
146
- type: "workbench";
147
- grid: ({
148
- amount: number;
149
- id: string;
150
- type: "item";
151
- } | null)[];
152
- }>]>;
64
+ }, z.core.$strict>]>;
153
65
  export declare const actionSchema: z.ZodObject<{
154
- inputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
66
+ inputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
155
67
  amount: z.ZodNumber;
156
- id: z.ZodEnum<["bit", "coin", "gem", "north-star", "pest", "second", "usd"]>;
68
+ id: z.ZodEnum<{
69
+ bit: "bit";
70
+ coin: "coin";
71
+ copper: "copper";
72
+ gem: "gem";
73
+ "north-star": "north-star";
74
+ pest: "pest";
75
+ second: "second";
76
+ usd: "usd";
77
+ }>;
157
78
  type: z.ZodLiteral<"currency">;
158
- }, "strict", z.ZodTypeAny, {
159
- amount: number;
160
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
161
- type: "currency";
162
- }, {
163
- amount: number;
164
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
165
- type: "currency";
166
- }>, z.ZodObject<{
79
+ }, z.core.$strict>, z.ZodObject<{
167
80
  amount: z.ZodNumber;
168
81
  id: z.ZodString;
169
82
  type: z.ZodLiteral<"item">;
170
- }, "strict", z.ZodTypeAny, {
171
- amount: number;
172
- id: string;
173
- type: "item";
174
- }, {
175
- amount: number;
176
- id: string;
177
- type: "item";
178
- }>]>, "many">;
179
- outputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
83
+ }, z.core.$strict>]>>;
84
+ outputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
180
85
  amount: z.ZodNumber;
181
- id: z.ZodEnum<["bit", "coin", "gem", "north-star", "pest", "second", "usd"]>;
86
+ id: z.ZodEnum<{
87
+ bit: "bit";
88
+ coin: "coin";
89
+ copper: "copper";
90
+ gem: "gem";
91
+ "north-star": "north-star";
92
+ pest: "pest";
93
+ second: "second";
94
+ usd: "usd";
95
+ }>;
182
96
  type: z.ZodLiteral<"currency">;
183
- }, "strict", z.ZodTypeAny, {
184
- amount: number;
185
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
186
- type: "currency";
187
- }, {
188
- amount: number;
189
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
190
- type: "currency";
191
- }>, z.ZodObject<{
97
+ }, z.core.$strict>, z.ZodObject<{
192
98
  amount: z.ZodNumber;
193
99
  id: z.ZodString;
194
100
  type: z.ZodLiteral<"item">;
195
- }, "strict", z.ZodTypeAny, {
196
- amount: number;
197
- id: string;
198
- type: "item";
199
- }, {
200
- amount: number;
201
- id: string;
202
- type: "item";
203
- }>]>, "many">;
204
- place: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
101
+ }, z.core.$strict>]>>;
102
+ place: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
205
103
  left: z.ZodObject<{
206
104
  amount: z.ZodNumber;
207
105
  id: z.ZodString;
208
106
  type: z.ZodLiteral<"item">;
209
- }, "strict", z.ZodTypeAny, {
210
- amount: number;
211
- id: string;
212
- type: "item";
213
- }, {
214
- amount: number;
215
- id: string;
216
- type: "item";
217
- }>;
107
+ }, z.core.$strict>;
218
108
  right: z.ZodObject<{
219
109
  amount: z.ZodNumber;
220
110
  id: z.ZodString;
221
111
  type: z.ZodLiteral<"item">;
222
- }, "strict", z.ZodTypeAny, {
223
- amount: number;
224
- id: string;
225
- type: "item";
226
- }, {
227
- amount: number;
228
- id: string;
229
- type: "item";
230
- }>;
112
+ }, z.core.$strict>;
231
113
  type: z.ZodLiteral<"anvil">;
232
- }, "strict", z.ZodTypeAny, {
233
- type: "anvil";
234
- left: {
235
- amount: number;
236
- id: string;
237
- type: "item";
238
- };
239
- right: {
240
- amount: number;
241
- id: string;
242
- type: "item";
243
- };
244
- }, {
245
- type: "anvil";
246
- left: {
247
- amount: number;
248
- id: string;
249
- type: "item";
250
- };
251
- right: {
252
- amount: number;
253
- id: string;
254
- type: "item";
255
- };
256
- }>, z.ZodObject<{
114
+ }, z.core.$strict>, z.ZodObject<{
257
115
  id: z.ZodString;
258
116
  type: z.ZodLiteral<"npc">;
259
- }, "strict", z.ZodTypeAny, {
260
- id: string;
261
- type: "npc";
262
- }, {
263
- id: string;
264
- type: "npc";
265
- }>, z.ZodObject<{
117
+ }, z.core.$strict>, z.ZodObject<{
266
118
  type: z.ZodLiteral<"website">;
267
- url: z.ZodString;
268
- }, "strict", z.ZodTypeAny, {
269
- type: "website";
270
- url: string;
271
- }, {
272
- type: "website";
273
- url: string;
274
- }>, z.ZodObject<{
119
+ url: z.ZodURL;
120
+ }, z.core.$strict>, z.ZodObject<{
275
121
  grid: z.ZodArray<z.ZodNullable<z.ZodObject<{
276
122
  amount: z.ZodNumber;
277
123
  id: z.ZodString;
278
124
  type: z.ZodLiteral<"item">;
279
- }, "strict", z.ZodTypeAny, {
280
- amount: number;
281
- id: string;
282
- type: "item";
283
- }, {
284
- amount: number;
285
- id: string;
286
- type: "item";
287
- }>>, "many">;
125
+ }, z.core.$strict>>>;
288
126
  type: z.ZodLiteral<"workbench">;
289
- }, "strict", z.ZodTypeAny, {
290
- type: "workbench";
291
- grid: ({
292
- amount: number;
293
- id: string;
294
- type: "item";
295
- } | null)[];
296
- }, {
297
- type: "workbench";
298
- grid: ({
299
- amount: number;
300
- id: string;
301
- type: "item";
302
- } | null)[];
303
- }>]>, "many">;
304
- }, "strict", z.ZodTypeAny, {
305
- inputs: ({
306
- amount: number;
307
- id: string;
308
- type: "item";
309
- } | {
310
- amount: number;
311
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
312
- type: "currency";
313
- })[];
314
- outputs: ({
315
- amount: number;
316
- id: string;
317
- type: "item";
318
- } | {
319
- amount: number;
320
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
321
- type: "currency";
322
- })[];
323
- place: ({
324
- type: "anvil";
325
- left: {
326
- amount: number;
327
- id: string;
328
- type: "item";
329
- };
330
- right: {
331
- amount: number;
332
- id: string;
333
- type: "item";
334
- };
335
- } | {
336
- id: string;
337
- type: "npc";
338
- } | {
339
- type: "website";
340
- url: string;
341
- } | {
342
- type: "workbench";
343
- grid: ({
344
- amount: number;
345
- id: string;
346
- type: "item";
347
- } | null)[];
348
- })[];
349
- }, {
350
- inputs: ({
351
- amount: number;
352
- id: string;
353
- type: "item";
354
- } | {
355
- amount: number;
356
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
357
- type: "currency";
358
- })[];
359
- outputs: ({
360
- amount: number;
361
- id: string;
362
- type: "item";
363
- } | {
364
- amount: number;
365
- id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
366
- type: "currency";
367
- })[];
368
- place: ({
369
- type: "anvil";
370
- left: {
371
- amount: number;
372
- id: string;
373
- type: "item";
374
- };
375
- right: {
376
- amount: number;
377
- id: string;
378
- type: "item";
379
- };
380
- } | {
381
- id: string;
382
- type: "npc";
383
- } | {
384
- type: "website";
385
- url: string;
386
- } | {
387
- type: "workbench";
388
- grid: ({
389
- amount: number;
390
- id: string;
391
- type: "item";
392
- } | null)[];
393
- })[];
394
- }>;
127
+ }, z.core.$strict>]>>;
128
+ }, z.core.$strict>;
129
+ export declare const actionDefinitionSchema: z.ZodObject<{
130
+ actions: z.ZodArray<z.ZodObject<{
131
+ inputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
132
+ amount: z.ZodNumber;
133
+ id: z.ZodEnum<{
134
+ bit: "bit";
135
+ coin: "coin";
136
+ copper: "copper";
137
+ gem: "gem";
138
+ "north-star": "north-star";
139
+ pest: "pest";
140
+ second: "second";
141
+ usd: "usd";
142
+ }>;
143
+ type: z.ZodLiteral<"currency">;
144
+ }, z.core.$strict>, z.ZodObject<{
145
+ amount: z.ZodNumber;
146
+ id: z.ZodString;
147
+ type: z.ZodLiteral<"item">;
148
+ }, z.core.$strict>]>>;
149
+ outputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
150
+ amount: z.ZodNumber;
151
+ id: z.ZodEnum<{
152
+ bit: "bit";
153
+ coin: "coin";
154
+ copper: "copper";
155
+ gem: "gem";
156
+ "north-star": "north-star";
157
+ pest: "pest";
158
+ second: "second";
159
+ usd: "usd";
160
+ }>;
161
+ type: z.ZodLiteral<"currency">;
162
+ }, z.core.$strict>, z.ZodObject<{
163
+ amount: z.ZodNumber;
164
+ id: z.ZodString;
165
+ type: z.ZodLiteral<"item">;
166
+ }, z.core.$strict>]>>;
167
+ place: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
168
+ left: z.ZodObject<{
169
+ amount: z.ZodNumber;
170
+ id: z.ZodString;
171
+ type: z.ZodLiteral<"item">;
172
+ }, z.core.$strict>;
173
+ right: z.ZodObject<{
174
+ amount: z.ZodNumber;
175
+ id: z.ZodString;
176
+ type: z.ZodLiteral<"item">;
177
+ }, z.core.$strict>;
178
+ type: z.ZodLiteral<"anvil">;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ id: z.ZodString;
181
+ type: z.ZodLiteral<"npc">;
182
+ }, z.core.$strict>, z.ZodObject<{
183
+ type: z.ZodLiteral<"website">;
184
+ url: z.ZodURL;
185
+ }, z.core.$strict>, z.ZodObject<{
186
+ grid: z.ZodArray<z.ZodNullable<z.ZodObject<{
187
+ amount: z.ZodNumber;
188
+ id: z.ZodString;
189
+ type: z.ZodLiteral<"item">;
190
+ }, z.core.$strict>>>;
191
+ type: z.ZodLiteral<"workbench">;
192
+ }, z.core.$strict>]>>;
193
+ }, z.core.$strict>>;
194
+ $schema: z.ZodOptional<z.ZodString>;
195
+ }, z.core.$strict>;
package/dist/schema.js CHANGED
@@ -1,56 +1,71 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.actionSchema = exports.actionPlaceSchema = exports.actionIoSchema = exports.actionIoCurrencySchema = exports.actionIoItemSchema = void 0;
4
- const zod_1 = require("zod");
5
- exports.actionIoItemSchema = zod_1.z
3
+ exports.actionDefinitionSchema = exports.actionSchema = exports.actionPlaceSchema = exports.actionIoSchema = exports.actionIoCurrencySchema = exports.actionIoItemSchema = void 0;
4
+ const v4_1 = require("zod/v4");
5
+ exports.actionIoItemSchema = v4_1.z
6
6
  .object({
7
- amount: zod_1.z.number().finite(),
8
- id: zod_1.z.string(),
9
- type: zod_1.z.literal('item'),
7
+ amount: v4_1.z.number(),
8
+ id: v4_1.z.string(),
9
+ type: v4_1.z.literal('item'),
10
10
  })
11
11
  .strict();
12
- exports.actionIoCurrencySchema = zod_1.z
12
+ exports.actionIoCurrencySchema = v4_1.z
13
13
  .object({
14
- amount: zod_1.z.number().finite(),
15
- id: zod_1.z.enum(['bit', 'coin', 'gem', 'north-star', 'pest', 'second', 'usd']),
16
- type: zod_1.z.literal('currency'),
14
+ amount: v4_1.z.number(),
15
+ id: v4_1.z.enum([
16
+ 'bit',
17
+ 'coin',
18
+ 'copper',
19
+ 'gem',
20
+ 'north-star',
21
+ 'pest',
22
+ 'second',
23
+ 'usd',
24
+ ]),
25
+ type: v4_1.z.literal('currency'),
17
26
  })
18
27
  .strict();
19
- exports.actionIoSchema = zod_1.z.discriminatedUnion('type', [
28
+ exports.actionIoSchema = v4_1.z.discriminatedUnion('type', [
20
29
  exports.actionIoCurrencySchema,
21
30
  exports.actionIoItemSchema,
22
31
  ]);
23
- exports.actionPlaceSchema = zod_1.z.discriminatedUnion('type', [
24
- zod_1.z
32
+ exports.actionPlaceSchema = v4_1.z.discriminatedUnion('type', [
33
+ v4_1.z
25
34
  .object({
26
35
  left: exports.actionIoItemSchema,
27
36
  right: exports.actionIoItemSchema,
28
- type: zod_1.z.literal('anvil'),
37
+ type: v4_1.z.literal('anvil'),
29
38
  })
30
39
  .strict(),
31
- zod_1.z
40
+ v4_1.z
32
41
  .object({
33
- id: zod_1.z.string(),
34
- type: zod_1.z.literal('npc'),
42
+ id: v4_1.z.string(),
43
+ type: v4_1.z.literal('npc'),
35
44
  })
36
45
  .strict(),
37
- zod_1.z
46
+ v4_1.z
38
47
  .object({
39
- type: zod_1.z.literal('website'),
40
- url: zod_1.z.string().url(),
48
+ type: v4_1.z.literal('website'),
49
+ url: v4_1.z.url(),
41
50
  })
42
51
  .strict(),
43
- zod_1.z
52
+ v4_1.z
44
53
  .object({
45
- grid: zod_1.z.array(exports.actionIoItemSchema.nullable()).length(9),
46
- type: zod_1.z.literal('workbench'),
54
+ grid: v4_1.z.array(exports.actionIoItemSchema.nullable()).length(9),
55
+ type: v4_1.z.literal('workbench'),
47
56
  })
48
57
  .strict(),
49
58
  ]);
50
- exports.actionSchema = zod_1.z
59
+ exports.actionSchema = v4_1.z
51
60
  .object({
52
- inputs: zod_1.z.array(exports.actionIoSchema),
53
- outputs: zod_1.z.array(exports.actionIoSchema),
54
- place: zod_1.z.array(exports.actionPlaceSchema),
61
+ inputs: v4_1.z.array(exports.actionIoSchema),
62
+ outputs: v4_1.z.array(exports.actionIoSchema),
63
+ place: v4_1.z.array(exports.actionPlaceSchema),
64
+ })
65
+ .strict();
66
+ exports.actionDefinitionSchema = v4_1.z
67
+ .object({
68
+ actions: v4_1.z.array(exports.actionSchema),
69
+ $schema: v4_1.z.string().optional(),
55
70
  })
56
71
  .strict();
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from 'zod/v4';
2
2
  import { actionIoCurrencySchema, actionIoItemSchema, actionIoSchema, actionSchema } from './schema';
3
3
  export type Action = z.output<typeof actionSchema>;
4
4
  export type ActionCurrency = z.output<typeof actionIoCurrencySchema.shape.id>;
package/package.json CHANGED
@@ -3,10 +3,11 @@
3
3
  "url": "https://github.com/skyblock-finance/skyblock-finance-opensource/issues"
4
4
  },
5
5
  "dependencies": {
6
- "zod": "^3.23.8"
6
+ "zod": "^3.25.67"
7
7
  },
8
8
  "devDependencies": {
9
- "@types/bun": "latest"
9
+ "@types/bun": "latest",
10
+ "json-stable-stringify": "^1.3.0"
10
11
  },
11
12
  "files": [
12
13
  "data",
@@ -26,7 +27,7 @@
26
27
  },
27
28
  "repository": {
28
29
  "type": "git",
29
- "url": "git+https://github.com/skyblock-finance/skyblock-finance-opensource"
30
+ "url": "git+https://github.com/skyblock-finance/skyblock-finance-opensource.git"
30
31
  },
31
32
  "scripts": {
32
33
  "build": "rm -rf dist && tsc --build",
@@ -42,5 +43,5 @@
42
43
  "sideEffects": false,
43
44
  "type": "commonjs",
44
45
  "types": "dist/index.d.ts",
45
- "version": "0.4.0"
46
+ "version": "0.5.0"
46
47
  }
@@ -1,6 +1,6 @@
1
1
  import { actionSchema } from './schema'
2
2
  import { allActions } from './data'
3
- import { z } from 'zod'
3
+ import { z } from 'zod/v4'
4
4
  import { describe, expect, test } from 'bun:test'
5
5
  import assert from 'node:assert'
6
6
  import { ActionIoItem } from './types'