@junobuild/config 0.2.3 → 0.3.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.
@@ -1,5 +1,5 @@
1
1
  import { type PrincipalText } from '@dfinity/zod-schemas';
2
- import * as z from 'zod/v4';
2
+ import * as z from 'zod';
3
3
  import { type ModuleSettings } from '../../../module/module.settings';
4
4
  import { type StorageConfig } from '../../../shared/storage.config';
5
5
  import type { CliConfig } from '../../../types/cli.config';
@@ -12,8 +12,12 @@ import { type DatastoreConfig } from './datastore.config';
12
12
  * @see SatelliteId
13
13
  */
14
14
  export declare const SatelliteIdSchema: z.ZodObject<{
15
- id: z.ZodString;
16
- }, z.core.$strip>;
15
+ id: z.ZodEffects<z.ZodString, string, string>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ id: string;
18
+ }, {
19
+ id: string;
20
+ }>;
17
21
  /**
18
22
  * Represents the unique identifier for a satellite.
19
23
  * @interface SatelliteId
@@ -29,8 +33,12 @@ export interface SatelliteId {
29
33
  * @see SatelliteIds
30
34
  */
31
35
  export declare const SatelliteIdsSchema: z.ZodObject<{
32
- ids: z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"production">, z.ZodString]>, z.ZodString>;
33
- }, z.core.$strip>;
36
+ ids: z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"production">, z.ZodString]>, z.ZodEffects<z.ZodString, string, string>>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ ids: Record<string, string>;
39
+ }, {
40
+ ids: Record<string, string>;
41
+ }>;
34
42
  /**
35
43
  * Represents a mapping of satellite identifiers to different configurations based on the mode of the application.
36
44
  * @interface SatelliteIds
@@ -53,113 +61,515 @@ export interface SatelliteIds {
53
61
  /**
54
62
  * @see JunoConsoleConfig
55
63
  */
56
- export declare const SatelliteConfigOptionsSchema: z.ZodUnion<readonly [z.ZodObject<{
64
+ export declare const SatelliteConfigOptionsSchema: z.ZodUnion<[z.ZodObject<{
57
65
  storage: z.ZodOptional<z.ZodObject<{
58
66
  headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
59
67
  source: z.ZodString;
60
- headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
61
- }, z.core.$strict>>>;
68
+ headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
69
+ }, "strict", z.ZodTypeAny, {
70
+ source: string;
71
+ headers: [string, string][];
72
+ }, {
73
+ source: string;
74
+ headers: [string, string][];
75
+ }>, "many">>;
62
76
  rewrites: z.ZodOptional<z.ZodArray<z.ZodObject<{
63
77
  source: z.ZodString;
64
78
  destination: z.ZodString;
65
- }, z.core.$strict>>>;
79
+ }, "strict", z.ZodTypeAny, {
80
+ source: string;
81
+ destination: string;
82
+ }, {
83
+ source: string;
84
+ destination: string;
85
+ }>, "many">>;
66
86
  redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
67
87
  source: z.ZodString;
68
88
  location: z.ZodString;
69
- code: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>]>;
70
- }, z.core.$strict>>>;
71
- iframe: z.ZodOptional<z.ZodEnum<{
72
- deny: "deny";
73
- "same-origin": "same-origin";
74
- "allow-any": "allow-any";
75
- }>>;
89
+ code: z.ZodUnion<[z.ZodLiteral<301>, z.ZodLiteral<302>]>;
90
+ }, "strict", z.ZodTypeAny, {
91
+ code: 301 | 302;
92
+ source: string;
93
+ location: string;
94
+ }, {
95
+ code: 301 | 302;
96
+ source: string;
97
+ location: string;
98
+ }>, "many">>;
99
+ iframe: z.ZodOptional<z.ZodEnum<["deny", "same-origin", "allow-any"]>>;
76
100
  rawAccess: z.ZodOptional<z.ZodBoolean>;
77
101
  maxMemorySize: z.ZodOptional<z.ZodObject<{
78
102
  heap: z.ZodOptional<z.ZodBigInt>;
79
103
  stable: z.ZodOptional<z.ZodBigInt>;
80
- }, z.core.$strict>>;
81
- }, z.core.$strip>>;
104
+ }, "strict", z.ZodTypeAny, {
105
+ heap?: bigint | undefined;
106
+ stable?: bigint | undefined;
107
+ }, {
108
+ heap?: bigint | undefined;
109
+ stable?: bigint | undefined;
110
+ }>>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ headers?: {
113
+ source: string;
114
+ headers: [string, string][];
115
+ }[] | undefined;
116
+ rewrites?: {
117
+ source: string;
118
+ destination: string;
119
+ }[] | undefined;
120
+ redirects?: {
121
+ code: 301 | 302;
122
+ source: string;
123
+ location: string;
124
+ }[] | undefined;
125
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
126
+ rawAccess?: boolean | undefined;
127
+ maxMemorySize?: {
128
+ heap?: bigint | undefined;
129
+ stable?: bigint | undefined;
130
+ } | undefined;
131
+ }, {
132
+ headers?: {
133
+ source: string;
134
+ headers: [string, string][];
135
+ }[] | undefined;
136
+ rewrites?: {
137
+ source: string;
138
+ destination: string;
139
+ }[] | undefined;
140
+ redirects?: {
141
+ code: 301 | 302;
142
+ source: string;
143
+ location: string;
144
+ }[] | undefined;
145
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
146
+ rawAccess?: boolean | undefined;
147
+ maxMemorySize?: {
148
+ heap?: bigint | undefined;
149
+ stable?: bigint | undefined;
150
+ } | undefined;
151
+ }>>;
82
152
  datastore: z.ZodOptional<z.ZodObject<{
83
153
  maxMemorySize: z.ZodOptional<z.ZodObject<{
84
154
  heap: z.ZodOptional<z.ZodBigInt>;
85
155
  stable: z.ZodOptional<z.ZodBigInt>;
86
- }, z.core.$strict>>;
87
- }, z.core.$strict>>;
156
+ }, "strict", z.ZodTypeAny, {
157
+ heap?: bigint | undefined;
158
+ stable?: bigint | undefined;
159
+ }, {
160
+ heap?: bigint | undefined;
161
+ stable?: bigint | undefined;
162
+ }>>;
163
+ }, "strict", z.ZodTypeAny, {
164
+ maxMemorySize?: {
165
+ heap?: bigint | undefined;
166
+ stable?: bigint | undefined;
167
+ } | undefined;
168
+ }, {
169
+ maxMemorySize?: {
170
+ heap?: bigint | undefined;
171
+ stable?: bigint | undefined;
172
+ } | undefined;
173
+ }>>;
88
174
  authentication: z.ZodOptional<z.ZodObject<{
89
175
  internetIdentity: z.ZodOptional<z.ZodObject<{
90
- derivationOrigin: z.ZodOptional<z.ZodURL>;
91
- externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodURL>>;
92
- }, z.core.$strict>>;
93
- }, z.core.$strict>>;
176
+ derivationOrigin: z.ZodOptional<z.ZodString>;
177
+ externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
178
+ }, "strict", z.ZodTypeAny, {
179
+ derivationOrigin?: string | undefined;
180
+ externalAlternativeOrigins?: string[] | undefined;
181
+ }, {
182
+ derivationOrigin?: string | undefined;
183
+ externalAlternativeOrigins?: string[] | undefined;
184
+ }>>;
185
+ }, "strict", z.ZodTypeAny, {
186
+ internetIdentity?: {
187
+ derivationOrigin?: string | undefined;
188
+ externalAlternativeOrigins?: string[] | undefined;
189
+ } | undefined;
190
+ }, {
191
+ internetIdentity?: {
192
+ derivationOrigin?: string | undefined;
193
+ externalAlternativeOrigins?: string[] | undefined;
194
+ } | undefined;
195
+ }>>;
94
196
  assertions: z.ZodOptional<z.ZodObject<{
95
- heapMemory: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean]>>;
96
- }, z.core.$strict>>;
197
+ heapMemory: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
198
+ }, "strict", z.ZodTypeAny, {
199
+ heapMemory?: number | boolean | undefined;
200
+ }, {
201
+ heapMemory?: number | boolean | undefined;
202
+ }>>;
97
203
  settings: z.ZodOptional<z.ZodObject<{
98
204
  freezingThreshold: z.ZodOptional<z.ZodBigInt>;
99
205
  reservedCyclesLimit: z.ZodOptional<z.ZodBigInt>;
100
- logVisibility: z.ZodOptional<z.ZodEnum<{
101
- controllers: "controllers";
102
- public: "public";
103
- }>>;
206
+ logVisibility: z.ZodOptional<z.ZodEnum<["controllers", "public"]>>;
104
207
  heapMemoryLimit: z.ZodOptional<z.ZodBigInt>;
105
208
  memoryAllocation: z.ZodOptional<z.ZodBigInt>;
106
209
  computeAllocation: z.ZodOptional<z.ZodBigInt>;
107
- }, z.core.$strict>>;
108
- id: z.ZodString;
109
- }, z.core.$strict>, z.ZodObject<{
210
+ }, "strict", z.ZodTypeAny, {
211
+ freezingThreshold?: bigint | undefined;
212
+ reservedCyclesLimit?: bigint | undefined;
213
+ logVisibility?: "controllers" | "public" | undefined;
214
+ heapMemoryLimit?: bigint | undefined;
215
+ memoryAllocation?: bigint | undefined;
216
+ computeAllocation?: bigint | undefined;
217
+ }, {
218
+ freezingThreshold?: bigint | undefined;
219
+ reservedCyclesLimit?: bigint | undefined;
220
+ logVisibility?: "controllers" | "public" | undefined;
221
+ heapMemoryLimit?: bigint | undefined;
222
+ memoryAllocation?: bigint | undefined;
223
+ computeAllocation?: bigint | undefined;
224
+ }>>;
225
+ id: z.ZodEffects<z.ZodString, string, string>;
226
+ }, "strict", z.ZodTypeAny, {
227
+ id: string;
228
+ storage?: {
229
+ headers?: {
230
+ source: string;
231
+ headers: [string, string][];
232
+ }[] | undefined;
233
+ rewrites?: {
234
+ source: string;
235
+ destination: string;
236
+ }[] | undefined;
237
+ redirects?: {
238
+ code: 301 | 302;
239
+ source: string;
240
+ location: string;
241
+ }[] | undefined;
242
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
243
+ rawAccess?: boolean | undefined;
244
+ maxMemorySize?: {
245
+ heap?: bigint | undefined;
246
+ stable?: bigint | undefined;
247
+ } | undefined;
248
+ } | undefined;
249
+ datastore?: {
250
+ maxMemorySize?: {
251
+ heap?: bigint | undefined;
252
+ stable?: bigint | undefined;
253
+ } | undefined;
254
+ } | undefined;
255
+ authentication?: {
256
+ internetIdentity?: {
257
+ derivationOrigin?: string | undefined;
258
+ externalAlternativeOrigins?: string[] | undefined;
259
+ } | undefined;
260
+ } | undefined;
261
+ assertions?: {
262
+ heapMemory?: number | boolean | undefined;
263
+ } | undefined;
264
+ settings?: {
265
+ freezingThreshold?: bigint | undefined;
266
+ reservedCyclesLimit?: bigint | undefined;
267
+ logVisibility?: "controllers" | "public" | undefined;
268
+ heapMemoryLimit?: bigint | undefined;
269
+ memoryAllocation?: bigint | undefined;
270
+ computeAllocation?: bigint | undefined;
271
+ } | undefined;
272
+ }, {
273
+ id: string;
274
+ storage?: {
275
+ headers?: {
276
+ source: string;
277
+ headers: [string, string][];
278
+ }[] | undefined;
279
+ rewrites?: {
280
+ source: string;
281
+ destination: string;
282
+ }[] | undefined;
283
+ redirects?: {
284
+ code: 301 | 302;
285
+ source: string;
286
+ location: string;
287
+ }[] | undefined;
288
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
289
+ rawAccess?: boolean | undefined;
290
+ maxMemorySize?: {
291
+ heap?: bigint | undefined;
292
+ stable?: bigint | undefined;
293
+ } | undefined;
294
+ } | undefined;
295
+ datastore?: {
296
+ maxMemorySize?: {
297
+ heap?: bigint | undefined;
298
+ stable?: bigint | undefined;
299
+ } | undefined;
300
+ } | undefined;
301
+ authentication?: {
302
+ internetIdentity?: {
303
+ derivationOrigin?: string | undefined;
304
+ externalAlternativeOrigins?: string[] | undefined;
305
+ } | undefined;
306
+ } | undefined;
307
+ assertions?: {
308
+ heapMemory?: number | boolean | undefined;
309
+ } | undefined;
310
+ settings?: {
311
+ freezingThreshold?: bigint | undefined;
312
+ reservedCyclesLimit?: bigint | undefined;
313
+ logVisibility?: "controllers" | "public" | undefined;
314
+ heapMemoryLimit?: bigint | undefined;
315
+ memoryAllocation?: bigint | undefined;
316
+ computeAllocation?: bigint | undefined;
317
+ } | undefined;
318
+ }>, z.ZodObject<{
110
319
  storage: z.ZodOptional<z.ZodObject<{
111
320
  headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
112
321
  source: z.ZodString;
113
- headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>;
114
- }, z.core.$strict>>>;
322
+ headers: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
323
+ }, "strict", z.ZodTypeAny, {
324
+ source: string;
325
+ headers: [string, string][];
326
+ }, {
327
+ source: string;
328
+ headers: [string, string][];
329
+ }>, "many">>;
115
330
  rewrites: z.ZodOptional<z.ZodArray<z.ZodObject<{
116
331
  source: z.ZodString;
117
332
  destination: z.ZodString;
118
- }, z.core.$strict>>>;
333
+ }, "strict", z.ZodTypeAny, {
334
+ source: string;
335
+ destination: string;
336
+ }, {
337
+ source: string;
338
+ destination: string;
339
+ }>, "many">>;
119
340
  redirects: z.ZodOptional<z.ZodArray<z.ZodObject<{
120
341
  source: z.ZodString;
121
342
  location: z.ZodString;
122
- code: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>]>;
123
- }, z.core.$strict>>>;
124
- iframe: z.ZodOptional<z.ZodEnum<{
125
- deny: "deny";
126
- "same-origin": "same-origin";
127
- "allow-any": "allow-any";
128
- }>>;
343
+ code: z.ZodUnion<[z.ZodLiteral<301>, z.ZodLiteral<302>]>;
344
+ }, "strict", z.ZodTypeAny, {
345
+ code: 301 | 302;
346
+ source: string;
347
+ location: string;
348
+ }, {
349
+ code: 301 | 302;
350
+ source: string;
351
+ location: string;
352
+ }>, "many">>;
353
+ iframe: z.ZodOptional<z.ZodEnum<["deny", "same-origin", "allow-any"]>>;
129
354
  rawAccess: z.ZodOptional<z.ZodBoolean>;
130
355
  maxMemorySize: z.ZodOptional<z.ZodObject<{
131
356
  heap: z.ZodOptional<z.ZodBigInt>;
132
357
  stable: z.ZodOptional<z.ZodBigInt>;
133
- }, z.core.$strict>>;
134
- }, z.core.$strip>>;
358
+ }, "strict", z.ZodTypeAny, {
359
+ heap?: bigint | undefined;
360
+ stable?: bigint | undefined;
361
+ }, {
362
+ heap?: bigint | undefined;
363
+ stable?: bigint | undefined;
364
+ }>>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ headers?: {
367
+ source: string;
368
+ headers: [string, string][];
369
+ }[] | undefined;
370
+ rewrites?: {
371
+ source: string;
372
+ destination: string;
373
+ }[] | undefined;
374
+ redirects?: {
375
+ code: 301 | 302;
376
+ source: string;
377
+ location: string;
378
+ }[] | undefined;
379
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
380
+ rawAccess?: boolean | undefined;
381
+ maxMemorySize?: {
382
+ heap?: bigint | undefined;
383
+ stable?: bigint | undefined;
384
+ } | undefined;
385
+ }, {
386
+ headers?: {
387
+ source: string;
388
+ headers: [string, string][];
389
+ }[] | undefined;
390
+ rewrites?: {
391
+ source: string;
392
+ destination: string;
393
+ }[] | undefined;
394
+ redirects?: {
395
+ code: 301 | 302;
396
+ source: string;
397
+ location: string;
398
+ }[] | undefined;
399
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
400
+ rawAccess?: boolean | undefined;
401
+ maxMemorySize?: {
402
+ heap?: bigint | undefined;
403
+ stable?: bigint | undefined;
404
+ } | undefined;
405
+ }>>;
135
406
  datastore: z.ZodOptional<z.ZodObject<{
136
407
  maxMemorySize: z.ZodOptional<z.ZodObject<{
137
408
  heap: z.ZodOptional<z.ZodBigInt>;
138
409
  stable: z.ZodOptional<z.ZodBigInt>;
139
- }, z.core.$strict>>;
140
- }, z.core.$strict>>;
410
+ }, "strict", z.ZodTypeAny, {
411
+ heap?: bigint | undefined;
412
+ stable?: bigint | undefined;
413
+ }, {
414
+ heap?: bigint | undefined;
415
+ stable?: bigint | undefined;
416
+ }>>;
417
+ }, "strict", z.ZodTypeAny, {
418
+ maxMemorySize?: {
419
+ heap?: bigint | undefined;
420
+ stable?: bigint | undefined;
421
+ } | undefined;
422
+ }, {
423
+ maxMemorySize?: {
424
+ heap?: bigint | undefined;
425
+ stable?: bigint | undefined;
426
+ } | undefined;
427
+ }>>;
141
428
  authentication: z.ZodOptional<z.ZodObject<{
142
429
  internetIdentity: z.ZodOptional<z.ZodObject<{
143
- derivationOrigin: z.ZodOptional<z.ZodURL>;
144
- externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodURL>>;
145
- }, z.core.$strict>>;
146
- }, z.core.$strict>>;
430
+ derivationOrigin: z.ZodOptional<z.ZodString>;
431
+ externalAlternativeOrigins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
432
+ }, "strict", z.ZodTypeAny, {
433
+ derivationOrigin?: string | undefined;
434
+ externalAlternativeOrigins?: string[] | undefined;
435
+ }, {
436
+ derivationOrigin?: string | undefined;
437
+ externalAlternativeOrigins?: string[] | undefined;
438
+ }>>;
439
+ }, "strict", z.ZodTypeAny, {
440
+ internetIdentity?: {
441
+ derivationOrigin?: string | undefined;
442
+ externalAlternativeOrigins?: string[] | undefined;
443
+ } | undefined;
444
+ }, {
445
+ internetIdentity?: {
446
+ derivationOrigin?: string | undefined;
447
+ externalAlternativeOrigins?: string[] | undefined;
448
+ } | undefined;
449
+ }>>;
147
450
  assertions: z.ZodOptional<z.ZodObject<{
148
- heapMemory: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean]>>;
149
- }, z.core.$strict>>;
451
+ heapMemory: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
452
+ }, "strict", z.ZodTypeAny, {
453
+ heapMemory?: number | boolean | undefined;
454
+ }, {
455
+ heapMemory?: number | boolean | undefined;
456
+ }>>;
150
457
  settings: z.ZodOptional<z.ZodObject<{
151
458
  freezingThreshold: z.ZodOptional<z.ZodBigInt>;
152
459
  reservedCyclesLimit: z.ZodOptional<z.ZodBigInt>;
153
- logVisibility: z.ZodOptional<z.ZodEnum<{
154
- controllers: "controllers";
155
- public: "public";
156
- }>>;
460
+ logVisibility: z.ZodOptional<z.ZodEnum<["controllers", "public"]>>;
157
461
  heapMemoryLimit: z.ZodOptional<z.ZodBigInt>;
158
462
  memoryAllocation: z.ZodOptional<z.ZodBigInt>;
159
463
  computeAllocation: z.ZodOptional<z.ZodBigInt>;
160
- }, z.core.$strict>>;
161
- ids: z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"production">, z.ZodString]>, z.ZodString>;
162
- }, z.core.$strict>]>;
464
+ }, "strict", z.ZodTypeAny, {
465
+ freezingThreshold?: bigint | undefined;
466
+ reservedCyclesLimit?: bigint | undefined;
467
+ logVisibility?: "controllers" | "public" | undefined;
468
+ heapMemoryLimit?: bigint | undefined;
469
+ memoryAllocation?: bigint | undefined;
470
+ computeAllocation?: bigint | undefined;
471
+ }, {
472
+ freezingThreshold?: bigint | undefined;
473
+ reservedCyclesLimit?: bigint | undefined;
474
+ logVisibility?: "controllers" | "public" | undefined;
475
+ heapMemoryLimit?: bigint | undefined;
476
+ memoryAllocation?: bigint | undefined;
477
+ computeAllocation?: bigint | undefined;
478
+ }>>;
479
+ ids: z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"production">, z.ZodString]>, z.ZodEffects<z.ZodString, string, string>>;
480
+ }, "strict", z.ZodTypeAny, {
481
+ ids: Record<string, string>;
482
+ storage?: {
483
+ headers?: {
484
+ source: string;
485
+ headers: [string, string][];
486
+ }[] | undefined;
487
+ rewrites?: {
488
+ source: string;
489
+ destination: string;
490
+ }[] | undefined;
491
+ redirects?: {
492
+ code: 301 | 302;
493
+ source: string;
494
+ location: string;
495
+ }[] | undefined;
496
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
497
+ rawAccess?: boolean | undefined;
498
+ maxMemorySize?: {
499
+ heap?: bigint | undefined;
500
+ stable?: bigint | undefined;
501
+ } | undefined;
502
+ } | undefined;
503
+ datastore?: {
504
+ maxMemorySize?: {
505
+ heap?: bigint | undefined;
506
+ stable?: bigint | undefined;
507
+ } | undefined;
508
+ } | undefined;
509
+ authentication?: {
510
+ internetIdentity?: {
511
+ derivationOrigin?: string | undefined;
512
+ externalAlternativeOrigins?: string[] | undefined;
513
+ } | undefined;
514
+ } | undefined;
515
+ assertions?: {
516
+ heapMemory?: number | boolean | undefined;
517
+ } | undefined;
518
+ settings?: {
519
+ freezingThreshold?: bigint | undefined;
520
+ reservedCyclesLimit?: bigint | undefined;
521
+ logVisibility?: "controllers" | "public" | undefined;
522
+ heapMemoryLimit?: bigint | undefined;
523
+ memoryAllocation?: bigint | undefined;
524
+ computeAllocation?: bigint | undefined;
525
+ } | undefined;
526
+ }, {
527
+ ids: Record<string, string>;
528
+ storage?: {
529
+ headers?: {
530
+ source: string;
531
+ headers: [string, string][];
532
+ }[] | undefined;
533
+ rewrites?: {
534
+ source: string;
535
+ destination: string;
536
+ }[] | undefined;
537
+ redirects?: {
538
+ code: 301 | 302;
539
+ source: string;
540
+ location: string;
541
+ }[] | undefined;
542
+ iframe?: "deny" | "same-origin" | "allow-any" | undefined;
543
+ rawAccess?: boolean | undefined;
544
+ maxMemorySize?: {
545
+ heap?: bigint | undefined;
546
+ stable?: bigint | undefined;
547
+ } | undefined;
548
+ } | undefined;
549
+ datastore?: {
550
+ maxMemorySize?: {
551
+ heap?: bigint | undefined;
552
+ stable?: bigint | undefined;
553
+ } | undefined;
554
+ } | undefined;
555
+ authentication?: {
556
+ internetIdentity?: {
557
+ derivationOrigin?: string | undefined;
558
+ externalAlternativeOrigins?: string[] | undefined;
559
+ } | undefined;
560
+ } | undefined;
561
+ assertions?: {
562
+ heapMemory?: number | boolean | undefined;
563
+ } | undefined;
564
+ settings?: {
565
+ freezingThreshold?: bigint | undefined;
566
+ reservedCyclesLimit?: bigint | undefined;
567
+ logVisibility?: "controllers" | "public" | undefined;
568
+ heapMemoryLimit?: bigint | undefined;
569
+ memoryAllocation?: bigint | undefined;
570
+ computeAllocation?: bigint | undefined;
571
+ } | undefined;
572
+ }>]>;
163
573
  /**
164
574
  * SatelliteConfigOptions interface provides configuration settings that allow for fine-tuning
165
575
  * the operational behavior of various aspects of a Satellite, such as storage, datastore,