@junobuild/config 0.2.3 → 0.3.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.
@@ -1,4 +1,4 @@
1
- import * as z from 'zod/v4';
1
+ import * as z from 'zod';
2
2
  import { type EmulatorConfig } from './configs/emulator.config';
3
3
  import { type OrbiterConfig } from './configs/orbiter.config';
4
4
  import { type SatelliteConfig } from './configs/satellite.config';
@@ -6,181 +6,1055 @@ import { type SatelliteConfig } from './configs/satellite.config';
6
6
  * @see JunoConfig
7
7
  */
8
8
  export declare const JunoConfigSchema: z.ZodObject<{
9
- satellite: z.ZodUnion<readonly [z.ZodObject<{
9
+ satellite: z.ZodUnion<[z.ZodObject<{
10
10
  storage: z.ZodOptional<z.ZodObject<{
11
11
  headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
12
12
  source: z.ZodString;
13
- headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
14
- }, z.core.$strict>>>;
13
+ headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
14
+ }, "strict", z.ZodTypeAny, {
15
+ source: string;
16
+ headers: [string, string][];
17
+ }, {
18
+ source: string;
19
+ headers: [string, string][];
20
+ }>, "many">>;
15
21
  rewrites: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
22
  source: z.ZodString;
17
23
  destination: z.ZodString;
18
- }, z.core.$strict>>>;
24
+ }, "strict", z.ZodTypeAny, {
25
+ source: string;
26
+ destination: string;
27
+ }, {
28
+ source: string;
29
+ destination: string;
30
+ }>, "many">>;
19
31
  redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
32
  source: z.ZodString;
21
33
  location: z.ZodString;
22
- code: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>]>;
23
- }, z.core.$strict>>>;
24
- iframe: z.ZodOptional<z.ZodEnum<{
25
- deny: "deny";
26
- "same-origin": "same-origin";
27
- "allow-any": "allow-any";
28
- }>>;
34
+ code: z.ZodUnion<[z.ZodLiteral<301>, z.ZodLiteral<302>]>;
35
+ }, "strict", z.ZodTypeAny, {
36
+ code: 301 | 302;
37
+ source: string;
38
+ location: string;
39
+ }, {
40
+ code: 301 | 302;
41
+ source: string;
42
+ location: string;
43
+ }>, "many">>;
44
+ iframe: z.ZodOptional<z.ZodEnum<["deny", "same-origin", "allow-any"]>>;
29
45
  rawAccess: z.ZodOptional<z.ZodBoolean>;
30
46
  maxMemorySize: z.ZodOptional<z.ZodObject<{
31
47
  heap: z.ZodOptional<z.ZodBigInt>;
32
48
  stable: z.ZodOptional<z.ZodBigInt>;
33
- }, z.core.$strict>>;
34
- }, z.core.$strip>>;
49
+ }, "strict", z.ZodTypeAny, {
50
+ heap?: bigint | undefined;
51
+ stable?: bigint | undefined;
52
+ }, {
53
+ heap?: bigint | undefined;
54
+ stable?: bigint | undefined;
55
+ }>>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ headers?: {
58
+ source: string;
59
+ headers: [string, string][];
60
+ }[] | undefined;
61
+ rewrites?: {
62
+ source: string;
63
+ destination: string;
64
+ }[] | undefined;
65
+ redirects?: {
66
+ code: 301 | 302;
67
+ source: string;
68
+ location: string;
69
+ }[] | undefined;
70
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
71
+ rawAccess?: boolean | undefined;
72
+ maxMemorySize?: {
73
+ heap?: bigint | undefined;
74
+ stable?: bigint | undefined;
75
+ } | undefined;
76
+ }, {
77
+ headers?: {
78
+ source: string;
79
+ headers: [string, string][];
80
+ }[] | undefined;
81
+ rewrites?: {
82
+ source: string;
83
+ destination: string;
84
+ }[] | undefined;
85
+ redirects?: {
86
+ code: 301 | 302;
87
+ source: string;
88
+ location: string;
89
+ }[] | undefined;
90
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
91
+ rawAccess?: boolean | undefined;
92
+ maxMemorySize?: {
93
+ heap?: bigint | undefined;
94
+ stable?: bigint | undefined;
95
+ } | undefined;
96
+ }>>;
35
97
  datastore: z.ZodOptional<z.ZodObject<{
36
98
  maxMemorySize: z.ZodOptional<z.ZodObject<{
37
99
  heap: z.ZodOptional<z.ZodBigInt>;
38
100
  stable: z.ZodOptional<z.ZodBigInt>;
39
- }, z.core.$strict>>;
40
- }, z.core.$strict>>;
101
+ }, "strict", z.ZodTypeAny, {
102
+ heap?: bigint | undefined;
103
+ stable?: bigint | undefined;
104
+ }, {
105
+ heap?: bigint | undefined;
106
+ stable?: bigint | undefined;
107
+ }>>;
108
+ }, "strict", z.ZodTypeAny, {
109
+ maxMemorySize?: {
110
+ heap?: bigint | undefined;
111
+ stable?: bigint | undefined;
112
+ } | undefined;
113
+ }, {
114
+ maxMemorySize?: {
115
+ heap?: bigint | undefined;
116
+ stable?: bigint | undefined;
117
+ } | undefined;
118
+ }>>;
41
119
  authentication: z.ZodOptional<z.ZodObject<{
42
120
  internetIdentity: z.ZodOptional<z.ZodObject<{
43
- derivationOrigin: z.ZodOptional<z.ZodURL>;
44
- externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodURL>>;
45
- }, z.core.$strict>>;
46
- }, z.core.$strict>>;
121
+ derivationOrigin: z.ZodOptional<z.ZodString>;
122
+ externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
+ }, "strict", z.ZodTypeAny, {
124
+ derivationOrigin?: string | undefined;
125
+ externalAlternativeOrigins?: string[] | undefined;
126
+ }, {
127
+ derivationOrigin?: string | undefined;
128
+ externalAlternativeOrigins?: string[] | undefined;
129
+ }>>;
130
+ }, "strict", z.ZodTypeAny, {
131
+ internetIdentity?: {
132
+ derivationOrigin?: string | undefined;
133
+ externalAlternativeOrigins?: string[] | undefined;
134
+ } | undefined;
135
+ }, {
136
+ internetIdentity?: {
137
+ derivationOrigin?: string | undefined;
138
+ externalAlternativeOrigins?: string[] | undefined;
139
+ } | undefined;
140
+ }>>;
47
141
  assertions: z.ZodOptional<z.ZodObject<{
48
- heapMemory: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean]>>;
49
- }, z.core.$strict>>;
142
+ heapMemory: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
143
+ }, "strict", z.ZodTypeAny, {
144
+ heapMemory?: number | boolean | undefined;
145
+ }, {
146
+ heapMemory?: number | boolean | undefined;
147
+ }>>;
50
148
  settings: z.ZodOptional<z.ZodObject<{
51
149
  freezingThreshold: z.ZodOptional<z.ZodBigInt>;
52
150
  reservedCyclesLimit: z.ZodOptional<z.ZodBigInt>;
53
- logVisibility: z.ZodOptional<z.ZodEnum<{
54
- controllers: "controllers";
55
- public: "public";
56
- }>>;
151
+ logVisibility: z.ZodOptional<z.ZodEnum<["controllers", "public"]>>;
57
152
  heapMemoryLimit: z.ZodOptional<z.ZodBigInt>;
58
153
  memoryAllocation: z.ZodOptional<z.ZodBigInt>;
59
154
  computeAllocation: z.ZodOptional<z.ZodBigInt>;
60
- }, z.core.$strict>>;
61
- id: z.ZodString;
62
- }, z.core.$strict>, z.ZodObject<{
155
+ }, "strict", z.ZodTypeAny, {
156
+ freezingThreshold?: bigint | undefined;
157
+ reservedCyclesLimit?: bigint | undefined;
158
+ logVisibility?: "controllers" | "public" | undefined;
159
+ heapMemoryLimit?: bigint | undefined;
160
+ memoryAllocation?: bigint | undefined;
161
+ computeAllocation?: bigint | undefined;
162
+ }, {
163
+ freezingThreshold?: bigint | undefined;
164
+ reservedCyclesLimit?: bigint | undefined;
165
+ logVisibility?: "controllers" | "public" | undefined;
166
+ heapMemoryLimit?: bigint | undefined;
167
+ memoryAllocation?: bigint | undefined;
168
+ computeAllocation?: bigint | undefined;
169
+ }>>;
170
+ id: z.ZodEffects<z.ZodString, string, string>;
171
+ }, "strict", z.ZodTypeAny, {
172
+ id: string;
173
+ storage?: {
174
+ headers?: {
175
+ source: string;
176
+ headers: [string, string][];
177
+ }[] | undefined;
178
+ rewrites?: {
179
+ source: string;
180
+ destination: string;
181
+ }[] | undefined;
182
+ redirects?: {
183
+ code: 301 | 302;
184
+ source: string;
185
+ location: string;
186
+ }[] | undefined;
187
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
188
+ rawAccess?: boolean | undefined;
189
+ maxMemorySize?: {
190
+ heap?: bigint | undefined;
191
+ stable?: bigint | undefined;
192
+ } | undefined;
193
+ } | undefined;
194
+ datastore?: {
195
+ maxMemorySize?: {
196
+ heap?: bigint | undefined;
197
+ stable?: bigint | undefined;
198
+ } | undefined;
199
+ } | undefined;
200
+ authentication?: {
201
+ internetIdentity?: {
202
+ derivationOrigin?: string | undefined;
203
+ externalAlternativeOrigins?: string[] | undefined;
204
+ } | undefined;
205
+ } | undefined;
206
+ assertions?: {
207
+ heapMemory?: number | boolean | undefined;
208
+ } | undefined;
209
+ settings?: {
210
+ freezingThreshold?: bigint | undefined;
211
+ reservedCyclesLimit?: bigint | undefined;
212
+ logVisibility?: "controllers" | "public" | undefined;
213
+ heapMemoryLimit?: bigint | undefined;
214
+ memoryAllocation?: bigint | undefined;
215
+ computeAllocation?: bigint | undefined;
216
+ } | undefined;
217
+ }, {
218
+ id: string;
219
+ storage?: {
220
+ headers?: {
221
+ source: string;
222
+ headers: [string, string][];
223
+ }[] | undefined;
224
+ rewrites?: {
225
+ source: string;
226
+ destination: string;
227
+ }[] | undefined;
228
+ redirects?: {
229
+ code: 301 | 302;
230
+ source: string;
231
+ location: string;
232
+ }[] | undefined;
233
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
234
+ rawAccess?: boolean | undefined;
235
+ maxMemorySize?: {
236
+ heap?: bigint | undefined;
237
+ stable?: bigint | undefined;
238
+ } | undefined;
239
+ } | undefined;
240
+ datastore?: {
241
+ maxMemorySize?: {
242
+ heap?: bigint | undefined;
243
+ stable?: bigint | undefined;
244
+ } | undefined;
245
+ } | undefined;
246
+ authentication?: {
247
+ internetIdentity?: {
248
+ derivationOrigin?: string | undefined;
249
+ externalAlternativeOrigins?: string[] | undefined;
250
+ } | undefined;
251
+ } | undefined;
252
+ assertions?: {
253
+ heapMemory?: number | boolean | undefined;
254
+ } | undefined;
255
+ settings?: {
256
+ freezingThreshold?: bigint | undefined;
257
+ reservedCyclesLimit?: bigint | undefined;
258
+ logVisibility?: "controllers" | "public" | undefined;
259
+ heapMemoryLimit?: bigint | undefined;
260
+ memoryAllocation?: bigint | undefined;
261
+ computeAllocation?: bigint | undefined;
262
+ } | undefined;
263
+ }>, z.ZodObject<{
63
264
  storage: z.ZodOptional<z.ZodObject<{
64
265
  headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
266
  source: z.ZodString;
66
- headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
67
- }, z.core.$strict>>>;
267
+ headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
268
+ }, "strict", z.ZodTypeAny, {
269
+ source: string;
270
+ headers: [string, string][];
271
+ }, {
272
+ source: string;
273
+ headers: [string, string][];
274
+ }>, "many">>;
68
275
  rewrites: z.ZodOptional<z.ZodArray<z.ZodObject<{
69
276
  source: z.ZodString;
70
277
  destination: z.ZodString;
71
- }, z.core.$strict>>>;
278
+ }, "strict", z.ZodTypeAny, {
279
+ source: string;
280
+ destination: string;
281
+ }, {
282
+ source: string;
283
+ destination: string;
284
+ }>, "many">>;
72
285
  redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
286
  source: z.ZodString;
74
287
  location: z.ZodString;
75
- code: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>]>;
76
- }, z.core.$strict>>>;
77
- iframe: z.ZodOptional<z.ZodEnum<{
78
- deny: "deny";
79
- "same-origin": "same-origin";
80
- "allow-any": "allow-any";
81
- }>>;
288
+ code: z.ZodUnion<[z.ZodLiteral<301>, z.ZodLiteral<302>]>;
289
+ }, "strict", z.ZodTypeAny, {
290
+ code: 301 | 302;
291
+ source: string;
292
+ location: string;
293
+ }, {
294
+ code: 301 | 302;
295
+ source: string;
296
+ location: string;
297
+ }>, "many">>;
298
+ iframe: z.ZodOptional<z.ZodEnum<["deny", "same-origin", "allow-any"]>>;
82
299
  rawAccess: z.ZodOptional<z.ZodBoolean>;
83
300
  maxMemorySize: z.ZodOptional<z.ZodObject<{
84
301
  heap: z.ZodOptional<z.ZodBigInt>;
85
302
  stable: z.ZodOptional<z.ZodBigInt>;
86
- }, z.core.$strict>>;
87
- }, z.core.$strip>>;
303
+ }, "strict", z.ZodTypeAny, {
304
+ heap?: bigint | undefined;
305
+ stable?: bigint | undefined;
306
+ }, {
307
+ heap?: bigint | undefined;
308
+ stable?: bigint | undefined;
309
+ }>>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ headers?: {
312
+ source: string;
313
+ headers: [string, string][];
314
+ }[] | undefined;
315
+ rewrites?: {
316
+ source: string;
317
+ destination: string;
318
+ }[] | undefined;
319
+ redirects?: {
320
+ code: 301 | 302;
321
+ source: string;
322
+ location: string;
323
+ }[] | undefined;
324
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
325
+ rawAccess?: boolean | undefined;
326
+ maxMemorySize?: {
327
+ heap?: bigint | undefined;
328
+ stable?: bigint | undefined;
329
+ } | undefined;
330
+ }, {
331
+ headers?: {
332
+ source: string;
333
+ headers: [string, string][];
334
+ }[] | undefined;
335
+ rewrites?: {
336
+ source: string;
337
+ destination: string;
338
+ }[] | undefined;
339
+ redirects?: {
340
+ code: 301 | 302;
341
+ source: string;
342
+ location: string;
343
+ }[] | undefined;
344
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
345
+ rawAccess?: boolean | undefined;
346
+ maxMemorySize?: {
347
+ heap?: bigint | undefined;
348
+ stable?: bigint | undefined;
349
+ } | undefined;
350
+ }>>;
88
351
  datastore: z.ZodOptional<z.ZodObject<{
89
352
  maxMemorySize: z.ZodOptional<z.ZodObject<{
90
353
  heap: z.ZodOptional<z.ZodBigInt>;
91
354
  stable: z.ZodOptional<z.ZodBigInt>;
92
- }, z.core.$strict>>;
93
- }, z.core.$strict>>;
355
+ }, "strict", z.ZodTypeAny, {
356
+ heap?: bigint | undefined;
357
+ stable?: bigint | undefined;
358
+ }, {
359
+ heap?: bigint | undefined;
360
+ stable?: bigint | undefined;
361
+ }>>;
362
+ }, "strict", z.ZodTypeAny, {
363
+ maxMemorySize?: {
364
+ heap?: bigint | undefined;
365
+ stable?: bigint | undefined;
366
+ } | undefined;
367
+ }, {
368
+ maxMemorySize?: {
369
+ heap?: bigint | undefined;
370
+ stable?: bigint | undefined;
371
+ } | undefined;
372
+ }>>;
94
373
  authentication: z.ZodOptional<z.ZodObject<{
95
374
  internetIdentity: z.ZodOptional<z.ZodObject<{
96
- derivationOrigin: z.ZodOptional<z.ZodURL>;
97
- externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodURL>>;
98
- }, z.core.$strict>>;
99
- }, z.core.$strict>>;
375
+ derivationOrigin: z.ZodOptional<z.ZodString>;
376
+ externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
377
+ }, "strict", z.ZodTypeAny, {
378
+ derivationOrigin?: string | undefined;
379
+ externalAlternativeOrigins?: string[] | undefined;
380
+ }, {
381
+ derivationOrigin?: string | undefined;
382
+ externalAlternativeOrigins?: string[] | undefined;
383
+ }>>;
384
+ }, "strict", z.ZodTypeAny, {
385
+ internetIdentity?: {
386
+ derivationOrigin?: string | undefined;
387
+ externalAlternativeOrigins?: string[] | undefined;
388
+ } | undefined;
389
+ }, {
390
+ internetIdentity?: {
391
+ derivationOrigin?: string | undefined;
392
+ externalAlternativeOrigins?: string[] | undefined;
393
+ } | undefined;
394
+ }>>;
100
395
  assertions: z.ZodOptional<z.ZodObject<{
101
- heapMemory: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean]>>;
102
- }, z.core.$strict>>;
396
+ heapMemory: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
397
+ }, "strict", z.ZodTypeAny, {
398
+ heapMemory?: number | boolean | undefined;
399
+ }, {
400
+ heapMemory?: number | boolean | undefined;
401
+ }>>;
103
402
  settings: z.ZodOptional<z.ZodObject<{
104
403
  freezingThreshold: z.ZodOptional<z.ZodBigInt>;
105
404
  reservedCyclesLimit: z.ZodOptional<z.ZodBigInt>;
106
- logVisibility: z.ZodOptional<z.ZodEnum<{
107
- controllers: "controllers";
108
- public: "public";
109
- }>>;
405
+ logVisibility: z.ZodOptional<z.ZodEnum<["controllers", "public"]>>;
110
406
  heapMemoryLimit: z.ZodOptional<z.ZodBigInt>;
111
407
  memoryAllocation: z.ZodOptional<z.ZodBigInt>;
112
408
  computeAllocation: z.ZodOptional<z.ZodBigInt>;
113
- }, z.core.$strict>>;
114
- ids: z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"production">, z.ZodString]>, z.ZodString>;
115
- }, z.core.$strict>]>;
116
- orbiter: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
117
- id: z.ZodString;
118
- }, z.core.$strict>, z.ZodObject<{
119
- ids: z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"production">, z.ZodString]>, z.ZodString>;
120
- }, z.core.$strict>]>>;
121
- emulator: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
409
+ }, "strict", z.ZodTypeAny, {
410
+ freezingThreshold?: bigint | undefined;
411
+ reservedCyclesLimit?: bigint | undefined;
412
+ logVisibility?: "controllers" | "public" | undefined;
413
+ heapMemoryLimit?: bigint | undefined;
414
+ memoryAllocation?: bigint | undefined;
415
+ computeAllocation?: bigint | undefined;
416
+ }, {
417
+ freezingThreshold?: bigint | undefined;
418
+ reservedCyclesLimit?: bigint | undefined;
419
+ logVisibility?: "controllers" | "public" | undefined;
420
+ heapMemoryLimit?: bigint | undefined;
421
+ memoryAllocation?: bigint | undefined;
422
+ computeAllocation?: bigint | undefined;
423
+ }>>;
424
+ ids: z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"production">, z.ZodString]>, z.ZodEffects<z.ZodString, string, string>>;
425
+ }, "strict", z.ZodTypeAny, {
426
+ ids: Record<string, string>;
427
+ storage?: {
428
+ headers?: {
429
+ source: string;
430
+ headers: [string, string][];
431
+ }[] | undefined;
432
+ rewrites?: {
433
+ source: string;
434
+ destination: string;
435
+ }[] | undefined;
436
+ redirects?: {
437
+ code: 301 | 302;
438
+ source: string;
439
+ location: string;
440
+ }[] | undefined;
441
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
442
+ rawAccess?: boolean | undefined;
443
+ maxMemorySize?: {
444
+ heap?: bigint | undefined;
445
+ stable?: bigint | undefined;
446
+ } | undefined;
447
+ } | undefined;
448
+ datastore?: {
449
+ maxMemorySize?: {
450
+ heap?: bigint | undefined;
451
+ stable?: bigint | undefined;
452
+ } | undefined;
453
+ } | undefined;
454
+ authentication?: {
455
+ internetIdentity?: {
456
+ derivationOrigin?: string | undefined;
457
+ externalAlternativeOrigins?: string[] | undefined;
458
+ } | undefined;
459
+ } | undefined;
460
+ assertions?: {
461
+ heapMemory?: number | boolean | undefined;
462
+ } | undefined;
463
+ settings?: {
464
+ freezingThreshold?: bigint | undefined;
465
+ reservedCyclesLimit?: bigint | undefined;
466
+ logVisibility?: "controllers" | "public" | undefined;
467
+ heapMemoryLimit?: bigint | undefined;
468
+ memoryAllocation?: bigint | undefined;
469
+ computeAllocation?: bigint | undefined;
470
+ } | undefined;
471
+ }, {
472
+ ids: Record<string, string>;
473
+ storage?: {
474
+ headers?: {
475
+ source: string;
476
+ headers: [string, string][];
477
+ }[] | undefined;
478
+ rewrites?: {
479
+ source: string;
480
+ destination: string;
481
+ }[] | undefined;
482
+ redirects?: {
483
+ code: 301 | 302;
484
+ source: string;
485
+ location: string;
486
+ }[] | undefined;
487
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
488
+ rawAccess?: boolean | undefined;
489
+ maxMemorySize?: {
490
+ heap?: bigint | undefined;
491
+ stable?: bigint | undefined;
492
+ } | undefined;
493
+ } | undefined;
494
+ datastore?: {
495
+ maxMemorySize?: {
496
+ heap?: bigint | undefined;
497
+ stable?: bigint | undefined;
498
+ } | undefined;
499
+ } | undefined;
500
+ authentication?: {
501
+ internetIdentity?: {
502
+ derivationOrigin?: string | undefined;
503
+ externalAlternativeOrigins?: string[] | undefined;
504
+ } | undefined;
505
+ } | undefined;
506
+ assertions?: {
507
+ heapMemory?: number | boolean | undefined;
508
+ } | undefined;
509
+ settings?: {
510
+ freezingThreshold?: bigint | undefined;
511
+ reservedCyclesLimit?: bigint | undefined;
512
+ logVisibility?: "controllers" | "public" | undefined;
513
+ heapMemoryLimit?: bigint | undefined;
514
+ memoryAllocation?: bigint | undefined;
515
+ computeAllocation?: bigint | undefined;
516
+ } | undefined;
517
+ }>]>;
518
+ orbiter: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
519
+ id: z.ZodEffects<z.ZodString, string, string>;
520
+ }, "strict", z.ZodTypeAny, {
521
+ id: string;
522
+ }, {
523
+ id: string;
524
+ }>, z.ZodObject<{
525
+ ids: z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"production">, z.ZodString]>, z.ZodEffects<z.ZodString, string, string>>;
526
+ }, "strict", z.ZodTypeAny, {
527
+ ids: Record<string, string>;
528
+ }, {
529
+ ids: Record<string, string>;
530
+ }>]>>;
531
+ emulator: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
122
532
  runner: z.ZodOptional<z.ZodObject<{
123
- type: z.ZodEnum<{
124
- docker: "docker";
125
- }>;
533
+ type: z.ZodEnum<["docker", "podman"]>;
126
534
  image: z.ZodOptional<z.ZodString>;
127
535
  name: z.ZodOptional<z.ZodString>;
128
536
  volume: z.ZodOptional<z.ZodString>;
129
537
  target: z.ZodOptional<z.ZodString>;
130
- platform: z.ZodOptional<z.ZodEnum<{
131
- "linux/amd64": "linux/amd64";
132
- "linux/arm64": "linux/arm64";
133
- }>>;
134
- }, z.core.$strict>>;
538
+ platform: z.ZodOptional<z.ZodEnum<["linux/amd64", "linux/arm64"]>>;
539
+ }, "strict", z.ZodTypeAny, {
540
+ type: "docker" | "podman";
541
+ name?: string | undefined;
542
+ image?: string | undefined;
543
+ volume?: string | undefined;
544
+ target?: string | undefined;
545
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
546
+ }, {
547
+ type: "docker" | "podman";
548
+ name?: string | undefined;
549
+ image?: string | undefined;
550
+ volume?: string | undefined;
551
+ target?: string | undefined;
552
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
553
+ }>>;
135
554
  skylab: z.ZodObject<{
136
555
  ports: z.ZodOptional<z.ZodObject<{
137
556
  server: z.ZodOptional<z.ZodNumber>;
138
557
  admin: z.ZodOptional<z.ZodNumber>;
558
+ } & {
139
559
  console: z.ZodOptional<z.ZodNumber>;
140
- }, z.core.$strict>>;
141
- }, z.core.$strict>;
142
- }, z.core.$strict>, z.ZodObject<{
560
+ }, "strict", z.ZodTypeAny, {
561
+ admin?: number | undefined;
562
+ server?: number | undefined;
563
+ console?: number | undefined;
564
+ }, {
565
+ admin?: number | undefined;
566
+ server?: number | undefined;
567
+ console?: number | undefined;
568
+ }>>;
569
+ }, "strict", z.ZodTypeAny, {
570
+ ports?: {
571
+ admin?: number | undefined;
572
+ server?: number | undefined;
573
+ console?: number | undefined;
574
+ } | undefined;
575
+ }, {
576
+ ports?: {
577
+ admin?: number | undefined;
578
+ server?: number | undefined;
579
+ console?: number | undefined;
580
+ } | undefined;
581
+ }>;
582
+ }, "strict", z.ZodTypeAny, {
583
+ skylab: {
584
+ ports?: {
585
+ admin?: number | undefined;
586
+ server?: number | undefined;
587
+ console?: number | undefined;
588
+ } | undefined;
589
+ };
590
+ runner?: {
591
+ type: "docker" | "podman";
592
+ name?: string | undefined;
593
+ image?: string | undefined;
594
+ volume?: string | undefined;
595
+ target?: string | undefined;
596
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
597
+ } | undefined;
598
+ }, {
599
+ skylab: {
600
+ ports?: {
601
+ admin?: number | undefined;
602
+ server?: number | undefined;
603
+ console?: number | undefined;
604
+ } | undefined;
605
+ };
606
+ runner?: {
607
+ type: "docker" | "podman";
608
+ name?: string | undefined;
609
+ image?: string | undefined;
610
+ volume?: string | undefined;
611
+ target?: string | undefined;
612
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
613
+ } | undefined;
614
+ }>, z.ZodObject<{
143
615
  runner: z.ZodOptional<z.ZodObject<{
144
- type: z.ZodEnum<{
145
- docker: "docker";
146
- }>;
616
+ type: z.ZodEnum<["docker", "podman"]>;
147
617
  image: z.ZodOptional<z.ZodString>;
148
618
  name: z.ZodOptional<z.ZodString>;
149
619
  volume: z.ZodOptional<z.ZodString>;
150
620
  target: z.ZodOptional<z.ZodString>;
151
- platform: z.ZodOptional<z.ZodEnum<{
152
- "linux/amd64": "linux/amd64";
153
- "linux/arm64": "linux/arm64";
154
- }>>;
155
- }, z.core.$strict>>;
621
+ platform: z.ZodOptional<z.ZodEnum<["linux/amd64", "linux/arm64"]>>;
622
+ }, "strict", z.ZodTypeAny, {
623
+ type: "docker" | "podman";
624
+ name?: string | undefined;
625
+ image?: string | undefined;
626
+ volume?: string | undefined;
627
+ target?: string | undefined;
628
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
629
+ }, {
630
+ type: "docker" | "podman";
631
+ name?: string | undefined;
632
+ image?: string | undefined;
633
+ volume?: string | undefined;
634
+ target?: string | undefined;
635
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
636
+ }>>;
156
637
  console: z.ZodObject<{
157
638
  ports: z.ZodOptional<z.ZodObject<{
158
639
  server: z.ZodOptional<z.ZodNumber>;
159
640
  admin: z.ZodOptional<z.ZodNumber>;
160
- }, z.core.$strict>>;
161
- }, z.core.$strict>;
162
- }, z.core.$strict>, z.ZodObject<{
641
+ }, "strict", z.ZodTypeAny, {
642
+ admin?: number | undefined;
643
+ server?: number | undefined;
644
+ }, {
645
+ admin?: number | undefined;
646
+ server?: number | undefined;
647
+ }>>;
648
+ }, "strict", z.ZodTypeAny, {
649
+ ports?: {
650
+ admin?: number | undefined;
651
+ server?: number | undefined;
652
+ } | undefined;
653
+ }, {
654
+ ports?: {
655
+ admin?: number | undefined;
656
+ server?: number | undefined;
657
+ } | undefined;
658
+ }>;
659
+ }, "strict", z.ZodTypeAny, {
660
+ console: {
661
+ ports?: {
662
+ admin?: number | undefined;
663
+ server?: number | undefined;
664
+ } | undefined;
665
+ };
666
+ runner?: {
667
+ type: "docker" | "podman";
668
+ name?: string | undefined;
669
+ image?: string | undefined;
670
+ volume?: string | undefined;
671
+ target?: string | undefined;
672
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
673
+ } | undefined;
674
+ }, {
675
+ console: {
676
+ ports?: {
677
+ admin?: number | undefined;
678
+ server?: number | undefined;
679
+ } | undefined;
680
+ };
681
+ runner?: {
682
+ type: "docker" | "podman";
683
+ name?: string | undefined;
684
+ image?: string | undefined;
685
+ volume?: string | undefined;
686
+ target?: string | undefined;
687
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
688
+ } | undefined;
689
+ }>, z.ZodObject<{
163
690
  runner: z.ZodOptional<z.ZodObject<{
164
- type: z.ZodEnum<{
165
- docker: "docker";
166
- }>;
691
+ type: z.ZodEnum<["docker", "podman"]>;
167
692
  image: z.ZodOptional<z.ZodString>;
168
693
  name: z.ZodOptional<z.ZodString>;
169
694
  volume: z.ZodOptional<z.ZodString>;
170
695
  target: z.ZodOptional<z.ZodString>;
171
- platform: z.ZodOptional<z.ZodEnum<{
172
- "linux/amd64": "linux/amd64";
173
- "linux/arm64": "linux/arm64";
174
- }>>;
175
- }, z.core.$strict>>;
696
+ platform: z.ZodOptional<z.ZodEnum<["linux/amd64", "linux/arm64"]>>;
697
+ }, "strict", z.ZodTypeAny, {
698
+ type: "docker" | "podman";
699
+ name?: string | undefined;
700
+ image?: string | undefined;
701
+ volume?: string | undefined;
702
+ target?: string | undefined;
703
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
704
+ }, {
705
+ type: "docker" | "podman";
706
+ name?: string | undefined;
707
+ image?: string | undefined;
708
+ volume?: string | undefined;
709
+ target?: string | undefined;
710
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
711
+ }>>;
176
712
  satellite: z.ZodObject<{
177
713
  ports: z.ZodOptional<z.ZodObject<{
178
714
  server: z.ZodOptional<z.ZodNumber>;
179
715
  admin: z.ZodOptional<z.ZodNumber>;
180
- }, z.core.$strict>>;
181
- }, z.core.$strict>;
182
- }, z.core.$strict>]>>;
183
- }, z.core.$strict>;
716
+ }, "strict", z.ZodTypeAny, {
717
+ admin?: number | undefined;
718
+ server?: number | undefined;
719
+ }, {
720
+ admin?: number | undefined;
721
+ server?: number | undefined;
722
+ }>>;
723
+ }, "strict", z.ZodTypeAny, {
724
+ ports?: {
725
+ admin?: number | undefined;
726
+ server?: number | undefined;
727
+ } | undefined;
728
+ }, {
729
+ ports?: {
730
+ admin?: number | undefined;
731
+ server?: number | undefined;
732
+ } | undefined;
733
+ }>;
734
+ }, "strict", z.ZodTypeAny, {
735
+ satellite: {
736
+ ports?: {
737
+ admin?: number | undefined;
738
+ server?: number | undefined;
739
+ } | undefined;
740
+ };
741
+ runner?: {
742
+ type: "docker" | "podman";
743
+ name?: string | undefined;
744
+ image?: string | undefined;
745
+ volume?: string | undefined;
746
+ target?: string | undefined;
747
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
748
+ } | undefined;
749
+ }, {
750
+ satellite: {
751
+ ports?: {
752
+ admin?: number | undefined;
753
+ server?: number | undefined;
754
+ } | undefined;
755
+ };
756
+ runner?: {
757
+ type: "docker" | "podman";
758
+ name?: string | undefined;
759
+ image?: string | undefined;
760
+ volume?: string | undefined;
761
+ target?: string | undefined;
762
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
763
+ } | undefined;
764
+ }>]>>;
765
+ }, "strict", z.ZodTypeAny, {
766
+ satellite: {
767
+ id: string;
768
+ storage?: {
769
+ headers?: {
770
+ source: string;
771
+ headers: [string, string][];
772
+ }[] | undefined;
773
+ rewrites?: {
774
+ source: string;
775
+ destination: string;
776
+ }[] | undefined;
777
+ redirects?: {
778
+ code: 301 | 302;
779
+ source: string;
780
+ location: string;
781
+ }[] | undefined;
782
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
783
+ rawAccess?: boolean | undefined;
784
+ maxMemorySize?: {
785
+ heap?: bigint | undefined;
786
+ stable?: bigint | undefined;
787
+ } | undefined;
788
+ } | undefined;
789
+ datastore?: {
790
+ maxMemorySize?: {
791
+ heap?: bigint | undefined;
792
+ stable?: bigint | undefined;
793
+ } | undefined;
794
+ } | undefined;
795
+ authentication?: {
796
+ internetIdentity?: {
797
+ derivationOrigin?: string | undefined;
798
+ externalAlternativeOrigins?: string[] | undefined;
799
+ } | undefined;
800
+ } | undefined;
801
+ assertions?: {
802
+ heapMemory?: number | boolean | undefined;
803
+ } | undefined;
804
+ settings?: {
805
+ freezingThreshold?: bigint | undefined;
806
+ reservedCyclesLimit?: bigint | undefined;
807
+ logVisibility?: "controllers" | "public" | undefined;
808
+ heapMemoryLimit?: bigint | undefined;
809
+ memoryAllocation?: bigint | undefined;
810
+ computeAllocation?: bigint | undefined;
811
+ } | undefined;
812
+ } | {
813
+ ids: Record<string, string>;
814
+ storage?: {
815
+ headers?: {
816
+ source: string;
817
+ headers: [string, string][];
818
+ }[] | undefined;
819
+ rewrites?: {
820
+ source: string;
821
+ destination: string;
822
+ }[] | undefined;
823
+ redirects?: {
824
+ code: 301 | 302;
825
+ source: string;
826
+ location: string;
827
+ }[] | undefined;
828
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
829
+ rawAccess?: boolean | undefined;
830
+ maxMemorySize?: {
831
+ heap?: bigint | undefined;
832
+ stable?: bigint | undefined;
833
+ } | undefined;
834
+ } | undefined;
835
+ datastore?: {
836
+ maxMemorySize?: {
837
+ heap?: bigint | undefined;
838
+ stable?: bigint | undefined;
839
+ } | undefined;
840
+ } | undefined;
841
+ authentication?: {
842
+ internetIdentity?: {
843
+ derivationOrigin?: string | undefined;
844
+ externalAlternativeOrigins?: string[] | undefined;
845
+ } | undefined;
846
+ } | undefined;
847
+ assertions?: {
848
+ heapMemory?: number | boolean | undefined;
849
+ } | undefined;
850
+ settings?: {
851
+ freezingThreshold?: bigint | undefined;
852
+ reservedCyclesLimit?: bigint | undefined;
853
+ logVisibility?: "controllers" | "public" | undefined;
854
+ heapMemoryLimit?: bigint | undefined;
855
+ memoryAllocation?: bigint | undefined;
856
+ computeAllocation?: bigint | undefined;
857
+ } | undefined;
858
+ };
859
+ orbiter?: {
860
+ id: string;
861
+ } | {
862
+ ids: Record<string, string>;
863
+ } | undefined;
864
+ emulator?: {
865
+ skylab: {
866
+ ports?: {
867
+ admin?: number | undefined;
868
+ server?: number | undefined;
869
+ console?: number | undefined;
870
+ } | undefined;
871
+ };
872
+ runner?: {
873
+ type: "docker" | "podman";
874
+ name?: string | undefined;
875
+ image?: string | undefined;
876
+ volume?: string | undefined;
877
+ target?: string | undefined;
878
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
879
+ } | undefined;
880
+ } | {
881
+ console: {
882
+ ports?: {
883
+ admin?: number | undefined;
884
+ server?: number | undefined;
885
+ } | undefined;
886
+ };
887
+ runner?: {
888
+ type: "docker" | "podman";
889
+ name?: string | undefined;
890
+ image?: string | undefined;
891
+ volume?: string | undefined;
892
+ target?: string | undefined;
893
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
894
+ } | undefined;
895
+ } | {
896
+ satellite: {
897
+ ports?: {
898
+ admin?: number | undefined;
899
+ server?: number | undefined;
900
+ } | undefined;
901
+ };
902
+ runner?: {
903
+ type: "docker" | "podman";
904
+ name?: string | undefined;
905
+ image?: string | undefined;
906
+ volume?: string | undefined;
907
+ target?: string | undefined;
908
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
909
+ } | undefined;
910
+ } | undefined;
911
+ }, {
912
+ satellite: {
913
+ id: string;
914
+ storage?: {
915
+ headers?: {
916
+ source: string;
917
+ headers: [string, string][];
918
+ }[] | undefined;
919
+ rewrites?: {
920
+ source: string;
921
+ destination: string;
922
+ }[] | undefined;
923
+ redirects?: {
924
+ code: 301 | 302;
925
+ source: string;
926
+ location: string;
927
+ }[] | undefined;
928
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
929
+ rawAccess?: boolean | undefined;
930
+ maxMemorySize?: {
931
+ heap?: bigint | undefined;
932
+ stable?: bigint | undefined;
933
+ } | undefined;
934
+ } | undefined;
935
+ datastore?: {
936
+ maxMemorySize?: {
937
+ heap?: bigint | undefined;
938
+ stable?: bigint | undefined;
939
+ } | undefined;
940
+ } | undefined;
941
+ authentication?: {
942
+ internetIdentity?: {
943
+ derivationOrigin?: string | undefined;
944
+ externalAlternativeOrigins?: string[] | undefined;
945
+ } | undefined;
946
+ } | undefined;
947
+ assertions?: {
948
+ heapMemory?: number | boolean | undefined;
949
+ } | undefined;
950
+ settings?: {
951
+ freezingThreshold?: bigint | undefined;
952
+ reservedCyclesLimit?: bigint | undefined;
953
+ logVisibility?: "controllers" | "public" | undefined;
954
+ heapMemoryLimit?: bigint | undefined;
955
+ memoryAllocation?: bigint | undefined;
956
+ computeAllocation?: bigint | undefined;
957
+ } | undefined;
958
+ } | {
959
+ ids: Record<string, string>;
960
+ storage?: {
961
+ headers?: {
962
+ source: string;
963
+ headers: [string, string][];
964
+ }[] | undefined;
965
+ rewrites?: {
966
+ source: string;
967
+ destination: string;
968
+ }[] | undefined;
969
+ redirects?: {
970
+ code: 301 | 302;
971
+ source: string;
972
+ location: string;
973
+ }[] | undefined;
974
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
975
+ rawAccess?: boolean | undefined;
976
+ maxMemorySize?: {
977
+ heap?: bigint | undefined;
978
+ stable?: bigint | undefined;
979
+ } | undefined;
980
+ } | undefined;
981
+ datastore?: {
982
+ maxMemorySize?: {
983
+ heap?: bigint | undefined;
984
+ stable?: bigint | undefined;
985
+ } | undefined;
986
+ } | undefined;
987
+ authentication?: {
988
+ internetIdentity?: {
989
+ derivationOrigin?: string | undefined;
990
+ externalAlternativeOrigins?: string[] | undefined;
991
+ } | undefined;
992
+ } | undefined;
993
+ assertions?: {
994
+ heapMemory?: number | boolean | undefined;
995
+ } | undefined;
996
+ settings?: {
997
+ freezingThreshold?: bigint | undefined;
998
+ reservedCyclesLimit?: bigint | undefined;
999
+ logVisibility?: "controllers" | "public" | undefined;
1000
+ heapMemoryLimit?: bigint | undefined;
1001
+ memoryAllocation?: bigint | undefined;
1002
+ computeAllocation?: bigint | undefined;
1003
+ } | undefined;
1004
+ };
1005
+ orbiter?: {
1006
+ id: string;
1007
+ } | {
1008
+ ids: Record<string, string>;
1009
+ } | undefined;
1010
+ emulator?: {
1011
+ skylab: {
1012
+ ports?: {
1013
+ admin?: number | undefined;
1014
+ server?: number | undefined;
1015
+ console?: number | undefined;
1016
+ } | undefined;
1017
+ };
1018
+ runner?: {
1019
+ type: "docker" | "podman";
1020
+ name?: string | undefined;
1021
+ image?: string | undefined;
1022
+ volume?: string | undefined;
1023
+ target?: string | undefined;
1024
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
1025
+ } | undefined;
1026
+ } | {
1027
+ console: {
1028
+ ports?: {
1029
+ admin?: number | undefined;
1030
+ server?: number | undefined;
1031
+ } | undefined;
1032
+ };
1033
+ runner?: {
1034
+ type: "docker" | "podman";
1035
+ name?: string | undefined;
1036
+ image?: string | undefined;
1037
+ volume?: string | undefined;
1038
+ target?: string | undefined;
1039
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
1040
+ } | undefined;
1041
+ } | {
1042
+ satellite: {
1043
+ ports?: {
1044
+ admin?: number | undefined;
1045
+ server?: number | undefined;
1046
+ } | undefined;
1047
+ };
1048
+ runner?: {
1049
+ type: "docker" | "podman";
1050
+ name?: string | undefined;
1051
+ image?: string | undefined;
1052
+ volume?: string | undefined;
1053
+ target?: string | undefined;
1054
+ platform?: "linux/amd64" | "linux/arm64" | undefined;
1055
+ } | undefined;
1056
+ } | undefined;
1057
+ }>;
184
1058
  /**
185
1059
  * Represents the overall configuration for Juno.
186
1060
  * @interface JunoConfig