@skyblock-finance/actions 0.4.0 → 0.4.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.
package/dist/data.d.ts CHANGED
@@ -9,25 +9,24 @@ export declare const pests: Action[];
9
9
  export declare const wood: Action[];
10
10
  export declare const allActions: {
11
11
  inputs: ({
12
- amount: number;
13
- id: string;
14
- type: "item";
15
- } | {
16
12
  amount: number;
17
13
  id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
18
14
  type: "currency";
19
- })[];
20
- outputs: ({
15
+ } | {
21
16
  amount: number;
22
17
  id: string;
23
18
  type: "item";
24
- } | {
19
+ })[];
20
+ outputs: ({
25
21
  amount: number;
26
22
  id: "bit" | "coin" | "gem" | "north-star" | "pest" | "second" | "usd";
27
23
  type: "currency";
24
+ } | {
25
+ amount: number;
26
+ id: string;
27
+ type: "item";
28
28
  })[];
29
29
  place: ({
30
- type: "anvil";
31
30
  left: {
32
31
  amount: number;
33
32
  id: string;
@@ -38,6 +37,7 @@ export declare const allActions: {
38
37
  id: string;
39
38
  type: "item";
40
39
  };
40
+ type: "anvil";
41
41
  } | {
42
42
  id: string;
43
43
  type: "npc";
@@ -45,11 +45,11 @@ export declare const allActions: {
45
45
  type: "website";
46
46
  url: string;
47
47
  } | {
48
- type: "workbench";
49
48
  grid: ({
50
49
  amount: number;
51
50
  id: string;
52
51
  type: "item";
53
52
  } | null)[];
53
+ type: "workbench";
54
54
  })[];
55
55
  }[];
package/dist/schema.d.ts CHANGED
@@ -1,394 +1,189 @@
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
+ gem: "gem";
13
+ "north-star": "north-star";
14
+ pest: "pest";
15
+ second: "second";
16
+ usd: "usd";
17
+ }>;
18
18
  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<{
19
+ }, z.core.$strict>;
20
+ export declare const actionIoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
29
21
  amount: z.ZodNumber;
30
- id: z.ZodEnum<["bit", "coin", "gem", "north-star", "pest", "second", "usd"]>;
22
+ id: z.ZodEnum<{
23
+ bit: "bit";
24
+ coin: "coin";
25
+ gem: "gem";
26
+ "north-star": "north-star";
27
+ pest: "pest";
28
+ second: "second";
29
+ usd: "usd";
30
+ }>;
31
31
  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<{
32
+ }, z.core.$strict>, z.ZodObject<{
41
33
  amount: z.ZodNumber;
42
34
  id: z.ZodString;
43
35
  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<{
36
+ }, z.core.$strict>]>;
37
+ export declare const actionPlaceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
54
38
  left: z.ZodObject<{
55
39
  amount: z.ZodNumber;
56
40
  id: z.ZodString;
57
41
  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
- }>;
42
+ }, z.core.$strict>;
67
43
  right: z.ZodObject<{
68
44
  amount: z.ZodNumber;
69
45
  id: z.ZodString;
70
46
  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
- }>;
47
+ }, z.core.$strict>;
80
48
  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<{
49
+ }, z.core.$strict>, z.ZodObject<{
106
50
  id: z.ZodString;
107
51
  type: z.ZodLiteral<"npc">;
108
- }, "strict", z.ZodTypeAny, {
109
- id: string;
110
- type: "npc";
111
- }, {
112
- id: string;
113
- type: "npc";
114
- }>, z.ZodObject<{
52
+ }, z.core.$strict>, z.ZodObject<{
115
53
  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<{
54
+ url: z.ZodURL;
55
+ }, z.core.$strict>, z.ZodObject<{
124
56
  grid: z.ZodArray<z.ZodNullable<z.ZodObject<{
125
57
  amount: z.ZodNumber;
126
58
  id: z.ZodString;
127
59
  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">;
60
+ }, z.core.$strict>>>;
137
61
  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
- }>]>;
62
+ }, z.core.$strict>]>;
153
63
  export declare const actionSchema: z.ZodObject<{
154
- inputs: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
64
+ inputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
155
65
  amount: z.ZodNumber;
156
- id: z.ZodEnum<["bit", "coin", "gem", "north-star", "pest", "second", "usd"]>;
66
+ id: z.ZodEnum<{
67
+ bit: "bit";
68
+ coin: "coin";
69
+ gem: "gem";
70
+ "north-star": "north-star";
71
+ pest: "pest";
72
+ second: "second";
73
+ usd: "usd";
74
+ }>;
157
75
  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<{
76
+ }, z.core.$strict>, z.ZodObject<{
167
77
  amount: z.ZodNumber;
168
78
  id: z.ZodString;
169
79
  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<{
80
+ }, z.core.$strict>]>>;
81
+ outputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
180
82
  amount: z.ZodNumber;
181
- id: z.ZodEnum<["bit", "coin", "gem", "north-star", "pest", "second", "usd"]>;
83
+ id: z.ZodEnum<{
84
+ bit: "bit";
85
+ coin: "coin";
86
+ gem: "gem";
87
+ "north-star": "north-star";
88
+ pest: "pest";
89
+ second: "second";
90
+ usd: "usd";
91
+ }>;
182
92
  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<{
93
+ }, z.core.$strict>, z.ZodObject<{
192
94
  amount: z.ZodNumber;
193
95
  id: z.ZodString;
194
96
  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<{
97
+ }, z.core.$strict>]>>;
98
+ place: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
205
99
  left: z.ZodObject<{
206
100
  amount: z.ZodNumber;
207
101
  id: z.ZodString;
208
102
  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
- }>;
103
+ }, z.core.$strict>;
218
104
  right: z.ZodObject<{
219
105
  amount: z.ZodNumber;
220
106
  id: z.ZodString;
221
107
  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
- }>;
108
+ }, z.core.$strict>;
231
109
  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<{
110
+ }, z.core.$strict>, z.ZodObject<{
257
111
  id: z.ZodString;
258
112
  type: z.ZodLiteral<"npc">;
259
- }, "strict", z.ZodTypeAny, {
260
- id: string;
261
- type: "npc";
262
- }, {
263
- id: string;
264
- type: "npc";
265
- }>, z.ZodObject<{
113
+ }, z.core.$strict>, z.ZodObject<{
266
114
  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<{
115
+ url: z.ZodURL;
116
+ }, z.core.$strict>, z.ZodObject<{
275
117
  grid: z.ZodArray<z.ZodNullable<z.ZodObject<{
276
118
  amount: z.ZodNumber;
277
119
  id: z.ZodString;
278
120
  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">;
121
+ }, z.core.$strict>>>;
288
122
  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
- }>;
123
+ }, z.core.$strict>]>>;
124
+ }, z.core.$strict>;
125
+ export declare const actionDefinitionSchema: z.ZodObject<{
126
+ actions: z.ZodArray<z.ZodObject<{
127
+ inputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
128
+ amount: z.ZodNumber;
129
+ id: z.ZodEnum<{
130
+ bit: "bit";
131
+ coin: "coin";
132
+ gem: "gem";
133
+ "north-star": "north-star";
134
+ pest: "pest";
135
+ second: "second";
136
+ usd: "usd";
137
+ }>;
138
+ type: z.ZodLiteral<"currency">;
139
+ }, z.core.$strict>, z.ZodObject<{
140
+ amount: z.ZodNumber;
141
+ id: z.ZodString;
142
+ type: z.ZodLiteral<"item">;
143
+ }, z.core.$strict>]>>;
144
+ outputs: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
145
+ amount: z.ZodNumber;
146
+ id: z.ZodEnum<{
147
+ bit: "bit";
148
+ coin: "coin";
149
+ gem: "gem";
150
+ "north-star": "north-star";
151
+ pest: "pest";
152
+ second: "second";
153
+ usd: "usd";
154
+ }>;
155
+ type: z.ZodLiteral<"currency">;
156
+ }, z.core.$strict>, z.ZodObject<{
157
+ amount: z.ZodNumber;
158
+ id: z.ZodString;
159
+ type: z.ZodLiteral<"item">;
160
+ }, z.core.$strict>]>>;
161
+ place: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
162
+ left: z.ZodObject<{
163
+ amount: z.ZodNumber;
164
+ id: z.ZodString;
165
+ type: z.ZodLiteral<"item">;
166
+ }, z.core.$strict>;
167
+ right: z.ZodObject<{
168
+ amount: z.ZodNumber;
169
+ id: z.ZodString;
170
+ type: z.ZodLiteral<"item">;
171
+ }, z.core.$strict>;
172
+ type: z.ZodLiteral<"anvil">;
173
+ }, z.core.$strict>, z.ZodObject<{
174
+ id: z.ZodString;
175
+ type: z.ZodLiteral<"npc">;
176
+ }, z.core.$strict>, z.ZodObject<{
177
+ type: z.ZodLiteral<"website">;
178
+ url: z.ZodURL;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ grid: z.ZodArray<z.ZodNullable<z.ZodObject<{
181
+ amount: z.ZodNumber;
182
+ id: z.ZodString;
183
+ type: z.ZodLiteral<"item">;
184
+ }, z.core.$strict>>>;
185
+ type: z.ZodLiteral<"workbench">;
186
+ }, z.core.$strict>]>>;
187
+ }, z.core.$strict>>;
188
+ $schema: z.ZodOptional<z.ZodString>;
189
+ }, z.core.$strict>;
package/dist/schema.js CHANGED
@@ -1,56 +1,62 @@
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(['bit', 'coin', 'gem', 'north-star', 'pest', 'second', 'usd']),
16
+ type: v4_1.z.literal('currency'),
17
17
  })
18
18
  .strict();
19
- exports.actionIoSchema = zod_1.z.discriminatedUnion('type', [
19
+ exports.actionIoSchema = v4_1.z.discriminatedUnion('type', [
20
20
  exports.actionIoCurrencySchema,
21
21
  exports.actionIoItemSchema,
22
22
  ]);
23
- exports.actionPlaceSchema = zod_1.z.discriminatedUnion('type', [
24
- zod_1.z
23
+ exports.actionPlaceSchema = v4_1.z.discriminatedUnion('type', [
24
+ v4_1.z
25
25
  .object({
26
26
  left: exports.actionIoItemSchema,
27
27
  right: exports.actionIoItemSchema,
28
- type: zod_1.z.literal('anvil'),
28
+ type: v4_1.z.literal('anvil'),
29
29
  })
30
30
  .strict(),
31
- zod_1.z
31
+ v4_1.z
32
32
  .object({
33
- id: zod_1.z.string(),
34
- type: zod_1.z.literal('npc'),
33
+ id: v4_1.z.string(),
34
+ type: v4_1.z.literal('npc'),
35
35
  })
36
36
  .strict(),
37
- zod_1.z
37
+ v4_1.z
38
38
  .object({
39
- type: zod_1.z.literal('website'),
40
- url: zod_1.z.string().url(),
39
+ type: v4_1.z.literal('website'),
40
+ url: v4_1.z.url(),
41
41
  })
42
42
  .strict(),
43
- zod_1.z
43
+ v4_1.z
44
44
  .object({
45
- grid: zod_1.z.array(exports.actionIoItemSchema.nullable()).length(9),
46
- type: zod_1.z.literal('workbench'),
45
+ grid: v4_1.z.array(exports.actionIoItemSchema.nullable()).length(9),
46
+ type: v4_1.z.literal('workbench'),
47
47
  })
48
48
  .strict(),
49
49
  ]);
50
- exports.actionSchema = zod_1.z
50
+ exports.actionSchema = v4_1.z
51
51
  .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),
52
+ inputs: v4_1.z.array(exports.actionIoSchema),
53
+ outputs: v4_1.z.array(exports.actionIoSchema),
54
+ place: v4_1.z.array(exports.actionPlaceSchema),
55
+ })
56
+ .strict();
57
+ exports.actionDefinitionSchema = v4_1.z
58
+ .object({
59
+ actions: v4_1.z.array(exports.actionSchema),
60
+ $schema: v4_1.z.string().optional(),
55
61
  })
56
62
  .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>;