@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.
package/README.md CHANGED
@@ -88,71 +88,71 @@ Configuration options for [Juno] CLI.
88
88
 
89
89
  | Constant | Type |
90
90
  | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
91
- | `EmulatorConfigSchema` | `ZodUnion<readonly [ZodObject<{ runner: ZodOptional<ZodObject<{ type: ZodEnum<{ docker: "docker"; }>; image: ZodOptional<ZodString>; name: ZodOptional<ZodString>; volume: ZodOptional<...>; target: ZodOptional<...>; platform: ZodOptional<...>; }, $strict>>; skylab: ZodObject<...>; }, $strict>, ZodObject<...>, ZodObjec...` |
91
+ | `EmulatorConfigSchema` | `ZodUnion<[ZodObject<{ runner: ZodOptional<ZodObject<{ type: ZodEnum<["docker"]>; image: ZodOptional<ZodString>; name: ZodOptional<ZodString>; volume: ZodOptional<ZodString>; target: ZodOptional<...>; platform: ZodOptional<...>; }, "strict", ZodTypeAny, { ...; }, { ...; }>>; skylab: ZodObject<...>; }, "strict", ZodTy...` |
92
92
 
93
93
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/emulator.config.ts#L151)
94
94
 
95
95
  #### :gear: JunoConfigModeSchema
96
96
 
97
- | Constant | Type |
98
- | ---------------------- | ---------------------------------------------------------- |
99
- | `JunoConfigModeSchema` | `ZodUnion<readonly [ZodLiteral<"production">, ZodString]>` |
97
+ | Constant | Type |
98
+ | ---------------------- | ------------------------------------------------- |
99
+ | `JunoConfigModeSchema` | `ZodUnion<[ZodLiteral<"production">, ZodString]>` |
100
100
 
101
101
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/types/juno.env.ts#L6)
102
102
 
103
103
  #### :gear: JunoConfigEnvSchema
104
104
 
105
- | Constant | Type |
106
- | --------------------- | ---------------------------------------------------------------------------------------- |
107
- | `JunoConfigEnvSchema` | `ZodObject<{ mode: ZodUnion<readonly [ZodLiteral<"production">, ZodString]>; }, $strip>` |
105
+ | Constant | Type |
106
+ | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
107
+ | `JunoConfigEnvSchema` | `ZodObject<{ mode: ZodUnion<[ZodLiteral<"production">, ZodString]>; }, "strip", ZodTypeAny, { mode: string; }, { mode: string; }>` |
108
108
 
109
109
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/types/juno.env.ts#L17)
110
110
 
111
111
  #### :gear: OrbiterIdSchema
112
112
 
113
- | Constant | Type |
114
- | ----------------- | --------------------------------------- |
115
- | `OrbiterIdSchema` | `ZodObject<{ id: ZodString; }, $strip>` |
113
+ | Constant | Type |
114
+ | ----------------- | ------------------------------------------------------------------------------------------------------------------ |
115
+ | `OrbiterIdSchema` | `ZodObject<{ id: ZodEffects<ZodString, string, string>; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>` |
116
116
 
117
117
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/orbiter.config.ts#L9)
118
118
 
119
119
  #### :gear: OrbiterIdsSchema
120
120
 
121
- | Constant | Type |
122
- | ------------------ | ------------------------------------------------------------------------------------------------------------- |
123
- | `OrbiterIdsSchema` | `ZodObject<{ ids: ZodRecord<ZodUnion<readonly [ZodLiteral<"production">, ZodString]>, ZodString>; }, $strip>` |
121
+ | Constant | Type |
122
+ | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
123
+ | `OrbiterIdsSchema` | `ZodObject<{ ids: ZodRecord<ZodUnion<[ZodLiteral<"production">, ZodString]>, ZodEffects<ZodString, string, string>>; }, "strip", ZodTypeAny, { ...; }, { ...; }>` |
124
124
 
125
125
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/orbiter.config.ts#L28)
126
126
 
127
127
  #### :gear: OrbiterConfigSchema
128
128
 
129
- | Constant | Type |
130
- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
131
- | `OrbiterConfigSchema` | `ZodUnion<readonly [ZodObject<{ id: ZodString; }, $strict>, ZodObject<{ ids: ZodRecord<ZodUnion<readonly [ZodLiteral<"production">, ZodString]>, ZodString>; }, $strict>]>` |
129
+ | Constant | Type |
130
+ | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
131
+ | `OrbiterConfigSchema` | `ZodUnion<[ZodObject<{ id: ZodEffects<ZodString, string, string>; }, "strict", ZodTypeAny, { id: string; }, { id: string; }>, ZodObject<{ ids: ZodRecord<ZodUnion<...>, ZodEffects<...>>; }, "strict", ZodTypeAny, { ...; }, { ...; }>]>` |
132
132
 
133
133
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/orbiter.config.ts#L55)
134
134
 
135
135
  #### :gear: ModuleLogVisibilitySchema
136
136
 
137
- | Constant | Type |
138
- | --------------------------- | ------------------------------------------------------------ |
139
- | `ModuleLogVisibilitySchema` | `ZodEnum<{ controllers: "controllers"; public: "public"; }>` |
137
+ | Constant | Type |
138
+ | --------------------------- | ------------------------------------ |
139
+ | `ModuleLogVisibilitySchema` | `ZodEnum<["controllers", "public"]>` |
140
140
 
141
141
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/module/module.settings.ts#L6)
142
142
 
143
143
  #### :gear: ModuleSettingsSchema
144
144
 
145
- | Constant | Type |
146
- | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
147
- | `ModuleSettingsSchema` | `ZodObject<{ freezingThreshold: ZodOptional<ZodBigInt>; reservedCyclesLimit: ZodOptional<ZodBigInt>; logVisibility: ZodOptional<ZodEnum<{ controllers: "controllers"; public: "public"; }>>; heapMemoryLimit: ZodOptional<...>; memoryAllocation: ZodOptional<...>; computeAllocation: ZodOptional<...>; }, $strict>` |
145
+ | Constant | Type |
146
+ | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
147
+ | `ModuleSettingsSchema` | `ZodObject<{ freezingThreshold: ZodOptional<ZodBigInt>; reservedCyclesLimit: ZodOptional<ZodBigInt>; logVisibility: ZodOptional<ZodEnum<["controllers", "public"]>>; heapMemoryLimit: ZodOptional<...>; memoryAllocation: ZodOptional<...>; computeAllocation: ZodOptional<...>; }, "strict", ZodTypeAny, { ...; }, { ...; }>` |
148
148
 
149
149
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/module/module.settings.ts#L21)
150
150
 
151
151
  #### :gear: MaxMemorySizeConfigSchema
152
152
 
153
- | Constant | Type |
154
- | --------------------------- | --------------------------------------------------------------------------------------- |
155
- | `MaxMemorySizeConfigSchema` | `ZodObject<{ heap: ZodOptional<ZodBigInt>; stable: ZodOptional<ZodBigInt>; }, $strict>` |
153
+ | Constant | Type |
154
+ | --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
155
+ | `MaxMemorySizeConfigSchema` | `ZodObject<{ heap: ZodOptional<ZodBigInt>; stable: ZodOptional<ZodBigInt>; }, "strict", ZodTypeAny, { heap?: bigint or undefined; stable?: bigint or undefined; }, { ...; }>` |
156
156
 
157
157
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/shared/feature.config.ts#L6)
158
158
 
@@ -166,33 +166,33 @@ Configuration options for [Juno] CLI.
166
166
 
167
167
  #### :gear: StorageConfigHeaderSchema
168
168
 
169
- | Constant | Type |
170
- | --------------------------- | ------------------------------------------------------------------------------------------------------- |
171
- | `StorageConfigHeaderSchema` | `ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>>; }, $strict>` |
169
+ | Constant | Type |
170
+ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
171
+ | `StorageConfigHeaderSchema` | `ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>, "many">; }, "strict", ZodTypeAny, { ...; }, { ...; }>` |
172
172
 
173
173
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/shared/storage.config.ts#L18)
174
174
 
175
175
  #### :gear: StorageConfigRewriteSchema
176
176
 
177
- | Constant | Type |
178
- | ---------------------------- | -------------------------------------------------------------------- |
179
- | `StorageConfigRewriteSchema` | `ZodObject<{ source: ZodString; destination: ZodString; }, $strict>` |
177
+ | Constant | Type |
178
+ | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
179
+ | `StorageConfigRewriteSchema` | `ZodObject<{ source: ZodString; destination: ZodString; }, "strict", ZodTypeAny, { source: string; destination: string; }, { source: string; destination: string; }>` |
180
180
 
181
181
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/shared/storage.config.ts#L49)
182
182
 
183
183
  #### :gear: StorageConfigRedirectSchema
184
184
 
185
- | Constant | Type |
186
- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
187
- | `StorageConfigRedirectSchema` | `ZodObject<{ source: ZodString; location: ZodString; code: ZodUnion<readonly [ZodLiteral<301>, ZodLiteral<302>]>; }, $strict>` |
185
+ | Constant | Type |
186
+ | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
187
+ | `StorageConfigRedirectSchema` | `ZodObject<{ source: ZodString; location: ZodString; code: ZodUnion<[ZodLiteral<301>, ZodLiteral<302>]>; }, "strict", ZodTypeAny, { ...; }, { ...; }>` |
188
188
 
189
189
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/shared/storage.config.ts#L79)
190
190
 
191
191
  #### :gear: StorageConfigSchema
192
192
 
193
- | Constant | Type |
194
- | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
195
- | `StorageConfigSchema` | `ZodObject<{ headers: ZodOptional<ZodArray<ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>>; }, $strict>>>; ... 4 more ...; maxMemorySize: ZodOptional<...>; }, $strip>` |
193
+ | Constant | Type |
194
+ | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
195
+ | `StorageConfigSchema` | `ZodObject<{ headers: ZodOptional<ZodArray<ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>, "many">; }, "strict", ZodTypeAny, { ...; }, { ...; }>, "many">>; ... 4 more ...; maxMemorySize: ZodOptional<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>` |
196
196
 
197
197
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/shared/storage.config.ts#L114)
198
198
 
@@ -200,65 +200,65 @@ Configuration options for [Juno] CLI.
200
200
 
201
201
  see EncodingType
202
202
 
203
- | Constant | Type |
204
- | -------------------- | ------------------------------------------------------------------------------------------------------ |
205
- | `EncodingTypeSchema` | `ZodEnum<{ identity: "identity"; gzip: "gzip"; compress: "compress"; deflate: "deflate"; br: "br"; }>` |
203
+ | Constant | Type |
204
+ | -------------------- | ------------------------------------------------------------ |
205
+ | `EncodingTypeSchema` | `ZodEnum<["identity", "gzip", "compress", "deflate", "br"]>` |
206
206
 
207
207
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/types/encoding.ts#L6)
208
208
 
209
209
  #### :gear: CliConfigSchema
210
210
 
211
- | Constant | Type |
212
- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
213
- | `CliConfigSchema` | `ZodObject<{ source: ZodOptional<ZodString>; ignore: ZodOptional<ZodArray<ZodString>>; gzip: ZodOptional<ZodUnion<readonly [ZodString, ZodLiteral<...>]>>; encoding: ZodOptional<...>; predeploy: ZodOptional<...>; postdeploy: ZodOptional<...>; }, $strict>` |
211
+ | Constant | Type |
212
+ | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
213
+ | `CliConfigSchema` | `ZodObject<{ source: ZodOptional<ZodString>; ignore: ZodOptional<ZodArray<ZodString, "many">>; gzip: ZodOptional<ZodUnion<[ZodString, ZodLiteral<...>]>>; encoding: ZodOptional<...>; predeploy: ZodOptional<...>; postdeploy: ZodOptional<...>; }, "strict", ZodTypeAny, { ...; }, { ...; }>` |
214
214
 
215
215
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/types/cli.config.ts#L7)
216
216
 
217
217
  #### :gear: SatelliteAssertionsSchema
218
218
 
219
- | Constant | Type |
220
- | --------------------------- | ---------------------------------------------------------------------------------------------- |
221
- | `SatelliteAssertionsSchema` | `ZodObject<{ heapMemory: ZodOptional<ZodUnion<readonly [ZodNumber, ZodBoolean]>>; }, $strict>` |
219
+ | Constant | Type |
220
+ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
221
+ | `SatelliteAssertionsSchema` | `ZodObject<{ heapMemory: ZodOptional<ZodUnion<[ZodNumber, ZodBoolean]>>; }, "strict", ZodTypeAny, { heapMemory?: number or boolean or undefined; }, { ...; }>` |
222
222
 
223
223
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/assertions.config.ts#L6)
224
224
 
225
225
  #### :gear: AuthenticationConfigInternetIdentitySchema
226
226
 
227
- | Constant | Type |
228
- | -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
229
- | `AuthenticationConfigInternetIdentitySchema` | `ZodObject<{ derivationOrigin: ZodOptional<ZodURL>; externalAlternativeOrigins: ZodOptional<ZodArray<ZodURL>>; }, $strict>` |
227
+ | Constant | Type |
228
+ | -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
229
+ | `AuthenticationConfigInternetIdentitySchema` | `ZodObject<{ derivationOrigin: ZodOptional<ZodString>; externalAlternativeOrigins: ZodOptional<ZodArray<ZodString, "many">>; }, "strict", ZodTypeAny, { ...; }, { ...; }>` |
230
230
 
231
231
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/authentication.config.ts#L6)
232
232
 
233
233
  #### :gear: AuthenticationConfigSchema
234
234
 
235
- | Constant | Type |
236
- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
237
- | `AuthenticationConfigSchema` | `ZodObject<{ internetIdentity: ZodOptional<ZodObject<{ derivationOrigin: ZodOptional<ZodURL>; externalAlternativeOrigins: ZodOptional<ZodArray<ZodURL>>; }, $strict>>; }, $strict>` |
235
+ | Constant | Type |
236
+ | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
237
+ | `AuthenticationConfigSchema` | `ZodObject<{ internetIdentity: ZodOptional<ZodObject<{ derivationOrigin: ZodOptional<ZodString>; externalAlternativeOrigins: ZodOptional<ZodArray<ZodString, "many">>; }, "strict", ZodTypeAny, { ...; }, { ...; }>>; }, "strict", ZodTypeAny, { ...; }, { ...; }>` |
238
238
 
239
239
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/authentication.config.ts#L35)
240
240
 
241
241
  #### :gear: DatastoreConfigSchema
242
242
 
243
- | Constant | Type |
244
- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
245
- | `DatastoreConfigSchema` | `ZodObject<{ maxMemorySize: ZodOptional<ZodObject<{ heap: ZodOptional<ZodBigInt>; stable: ZodOptional<ZodBigInt>; }, $strict>>; }, $strict>` |
243
+ | Constant | Type |
244
+ | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
245
+ | `DatastoreConfigSchema` | `ZodObject<{ maxMemorySize: ZodOptional<ZodObject<{ heap: ZodOptional<ZodBigInt>; stable: ZodOptional<ZodBigInt>; }, "strict", ZodTypeAny, { ...; }, { ...; }>>; }, "strict", ZodTypeAny, { ...; }, { ...; }>` |
246
246
 
247
247
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/datastore.config.ts#L7)
248
248
 
249
249
  #### :gear: SatelliteIdSchema
250
250
 
251
- | Constant | Type |
252
- | ------------------- | --------------------------------------- |
253
- | `SatelliteIdSchema` | `ZodObject<{ id: ZodString; }, $strip>` |
251
+ | Constant | Type |
252
+ | ------------------- | ------------------------------------------------------------------------------------------------------------------ |
253
+ | `SatelliteIdSchema` | `ZodObject<{ id: ZodEffects<ZodString, string, string>; }, "strip", ZodTypeAny, { id: string; }, { id: string; }>` |
254
254
 
255
255
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/satellite.config.ts#L15)
256
256
 
257
257
  #### :gear: SatelliteIdsSchema
258
258
 
259
- | Constant | Type |
260
- | -------------------- | ------------------------------------------------------------------------------------------------------------- |
261
- | `SatelliteIdsSchema` | `ZodObject<{ ids: ZodRecord<ZodUnion<readonly [ZodLiteral<"production">, ZodString]>, ZodString>; }, $strip>` |
259
+ | Constant | Type |
260
+ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
261
+ | `SatelliteIdsSchema` | `ZodObject<{ ids: ZodRecord<ZodUnion<[ZodLiteral<"production">, ZodString]>, ZodEffects<ZodString, string, string>>; }, "strip", ZodTypeAny, { ...; }, { ...; }>` |
262
262
 
263
263
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/satellite.config.ts#L34)
264
264
 
@@ -266,7 +266,7 @@ see EncodingType
266
266
 
267
267
  | Constant | Type |
268
268
  | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
269
- | `SatelliteConfigOptionsSchema` | `ZodUnion<readonly [ZodObject<{ storage: ZodOptional<ZodObject<{ headers: ZodOptional<ZodArray<ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>>; }, $strict>>>; ... 4 more ...; maxMemorySize: ZodOptional<...>; }, $strip>>; ... 4 more ...; id: ZodString; }, $strict>, ZodObject<.....` |
269
+ | `SatelliteConfigOptionsSchema` | `ZodUnion<[ZodObject<{ storage: ZodOptional<ZodObject<{ headers: ZodOptional<ZodArray<ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>, "many">; }, "strict", ZodTypeAny, { ...; }, { ...; }>, "many">>; ... 4 more ...; maxMemorySize: ZodOptional<...>; }, "strip", ZodTypeAny, { ......` |
270
270
 
271
271
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/configs/satellite.config.ts#L69)
272
272
 
@@ -274,47 +274,47 @@ see EncodingType
274
274
 
275
275
  | Constant | Type |
276
276
  | ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
277
- | `JunoConfigSchema` | `ZodObject<{ satellite: ZodUnion<readonly [ZodObject<{ storage: ZodOptional<ZodObject<{ headers: ZodOptional<ZodArray<ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>>; }, $strict>>>; ... 4 more ...; maxMemorySize: ZodOptional<...>; }, $strip>>; ... 4 more ...; id: ZodString; },...` |
277
+ | `JunoConfigSchema` | `ZodObject<{ satellite: ZodUnion<[ZodObject<{ storage: ZodOptional<ZodObject<{ headers: ZodOptional<ZodArray<ZodObject<{ source: ZodString; headers: ZodArray<ZodTuple<[ZodString, ZodString], null>, "many">; }, "strict", ZodTypeAny, { ...; }, { ...; }>, "many">>; ... 4 more ...; maxMemorySize: ZodOptional<...>; }, "st...` |
278
278
 
279
279
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/mainnet/juno.config.ts#L9)
280
280
 
281
281
  #### :gear: SatelliteDevDataStoreCollectionSchema
282
282
 
283
- | Constant | Type |
284
- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
285
- | `SatelliteDevDataStoreCollectionSchema` | `ZodObject<{ collection: ZodString; read: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; write: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; ... 4 more ...; maxTokens: ZodOptional<...>; }, $strict>` |
283
+ | Constant | Type |
284
+ | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
285
+ | `SatelliteDevDataStoreCollectionSchema` | `ZodObject<Omit<{ collection: ZodString; read: ZodEnum<["public", "private", "managed", "controllers"]>; write: ZodEnum<["public", "private", "managed", "controllers"]>; ... 8 more ...; maxTokens: ZodOptional<...>; }, "createdAt" or ... 2 more ... or "maxSize">, "strict", ZodTypeAny, { ...; }, { ...; }>` |
286
286
 
287
287
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/dev/juno.dev.config.ts#L8)
288
288
 
289
289
  #### :gear: SatelliteDevStorageCollectionSchema
290
290
 
291
- | Constant | Type |
292
- | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
293
- | `SatelliteDevStorageCollectionSchema` | `ZodObject<{ collection: ZodString; read: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; write: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; ... 4 more ...; maxTokens: ZodOptional<...>; }, $strict>` |
291
+ | Constant | Type |
292
+ | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
293
+ | `SatelliteDevStorageCollectionSchema` | `ZodObject<Omit<{ collection: ZodString; read: ZodEnum<["public", "private", "managed", "controllers"]>; write: ZodEnum<["public", "private", "managed", "controllers"]>; ... 8 more ...; maxTokens: ZodOptional<...>; }, "createdAt" or ... 2 more ... or "maxCapacity">, "strict", ZodTypeAny, { ...; }, { ...; }>` |
294
294
 
295
295
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/dev/juno.dev.config.ts#L27)
296
296
 
297
297
  #### :gear: SatelliteDevCollectionsSchema
298
298
 
299
- | Constant | Type |
300
- | ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
301
- | `SatelliteDevCollectionsSchema` | `ZodObject<{ datastore: ZodOptional<ZodArray<ZodObject<{ collection: ZodString; read: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; write: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; ... 4 more ...; maxTokens...` |
299
+ | Constant | Type |
300
+ | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
301
+ | `SatelliteDevCollectionsSchema` | `ZodObject<{ datastore: ZodOptional<ZodArray<ZodObject<Omit<{ collection: ZodString; read: ZodEnum<["public", "private", "managed", "controllers"]>; write: ZodEnum<["public", "private", "managed", "controllers"]>; ... 8 more ...; maxTokens: ZodOptional<...>; }, "createdAt" or ... 2 more ... or "maxSize">, "strict", Zod...` |
302
302
 
303
303
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/dev/juno.dev.config.ts#L46)
304
304
 
305
305
  #### :gear: SatelliteDevControllerSchema
306
306
 
307
- | Constant | Type |
308
- | ------------------------------ | --------------------------------------------------------------------------------------------------------------- |
309
- | `SatelliteDevControllerSchema` | `ZodObject<{ id: ZodString; scope: ZodEnum<{ admin: "admin"; write: "write"; submit: "submit"; }>; }, $strict>` |
307
+ | Constant | Type |
308
+ | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
309
+ | `SatelliteDevControllerSchema` | `ZodObject<{ id: ZodEffects<ZodString, string, string>; scope: ZodEnum<["write", "admin", "submit"]>; }, "strict", ZodTypeAny, { id: string; scope: "admin" or ... 1 more ... or "submit"; }, { ...; }>` |
310
310
 
311
311
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/dev/juno.dev.config.ts#L74)
312
312
 
313
313
  #### :gear: SatelliteDevConfigSchema
314
314
 
315
- | Constant | Type |
316
- | -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
317
- | `SatelliteDevConfigSchema` | `ZodObject<{ collections: ZodObject<{ datastore: ZodOptional<ZodArray<ZodObject<{ collection: ZodString; read: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; ... 5 more ...; maxTokens: ZodOptional<...>; }, $strict>>>; storage: ZodOptional<...>; }, $strict>; control...` |
315
+ | Constant | Type |
316
+ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
317
+ | `SatelliteDevConfigSchema` | `ZodObject<{ collections: ZodObject<{ datastore: ZodOptional<ZodArray<ZodObject<Omit<{ collection: ZodString; read: ZodEnum<["public", "private", "managed", "controllers"]>; write: ZodEnum<["public", "private", "managed", "controllers"]>; ... 8 more ...; maxTokens: ZodOptional<...>; }, "createdAt" or ... 2 more ... or ...` |
318
318
 
319
319
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/dev/juno.dev.config.ts#L100)
320
320
 
@@ -322,7 +322,7 @@ see EncodingType
322
322
 
323
323
  | Constant | Type |
324
324
  | --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
325
- | `JunoDevConfigSchema` | `ZodObject<{ satellite: ZodObject<{ collections: ZodObject<{ datastore: ZodOptional<ZodArray<ZodObject<{ collection: ZodString; read: ZodEnum<{ controllers: "controllers"; public: "public"; private: "private"; managed: "managed"; }>; ... 5 more ...; maxTokens: ZodOptional<...>; }, $strict>>>; storage: ZodOptional<......` |
325
+ | `JunoDevConfigSchema` | `ZodObject<{ satellite: ZodObject<{ collections: ZodObject<{ datastore: ZodOptional<ZodArray<ZodObject<Omit<{ collection: ZodString; read: ZodEnum<["public", "private", "managed", "controllers"]>; write: ZodEnum<["public", "private", "managed", "controllers"]>; ... 8 more ...; maxTokens: ZodOptional<...>; }, "created...` |
326
326
 
327
327
  [:link: Source](https://github.com/junobuild/juno-js/tree/main/packages/config/src/satellite/dev/juno.dev.config.ts#L127)
328
328
 
@@ -1,2 +1,2 @@
1
- function so(u){return u}import{PrincipalTextSchema as v}from"@dfinity/zod-schemas";import*as r from"zod/v4";import*as o from"zod/v4";import*as C from"zod/v4";var x=C.object({heap:C.bigint().optional(),stable:C.bigint().optional()}).strict();var d=o.string(),G=o.object({source:d,headers:o.array(o.tuple([o.string(),o.string()]))}).strict(),N=o.object({source:d,destination:o.string()}).strict(),U=o.object({source:d,location:o.string(),code:o.union([o.literal(301),o.literal(302)])}).strict(),S=o.object({headers:o.array(G).optional(),rewrites:o.array(N).optional(),redirects:o.array(U).optional(),iframe:o.enum(["deny","same-origin","allow-any"]).optional(),rawAccess:o.boolean().optional(),maxMemorySize:x.optional()});import*as t from"zod/v4";import*as h from"zod/v4";var O=h.enum(["identity","gzip","compress","deflate","br"]);var J=t.object({source:t.string().optional(),ignore:t.array(t.string()).optional(),gzip:t.union([t.string(),t.literal(!1)]).optional(),encoding:t.array(t.tuple([t.string(),O])).optional(),predeploy:t.array(t.string()).optional(),postdeploy:t.array(t.string()).optional()}).strict();import*as s from"zod/v4";var g=s.union([s.literal("production"),s.string()]),So=s.object({mode:g});var K=r.object({id:v}),V=r.object({ids:r.record(g,v)}),j=r.object({...J.shape,storage:S.optional()}),Jo=r.union([r.object({...K.shape,...j.shape}).strict(),r.object({...V.shape,...j.shape}).strict()]);import*as a from"zod/v4";var B=a.enum(["controllers","public"]),D=a.strictObject({freezingThreshold:a.bigint().optional(),reservedCyclesLimit:a.bigint().optional(),logVisibility:B.optional(),heapMemoryLimit:a.bigint().optional(),memoryAllocation:a.bigint().optional(),computeAllocation:a.bigint().optional()});import*as p from"zod/v4";var H=p.record(p.string(),p.string()),Do=p.object({name:p.string(),version:p.string(),dependencies:H.optional()});var Mo="@junobuild/satellite",Ao="@junobuild/sputnik",To="@junobuild/mission-control",Po="@junobuild/orbiter";function Fo(u){return u}import{PrincipalTextSchema as Q}from"@dfinity/zod-schemas";import*as i from"zod/v4";import*as n from"zod/v4";var E=n.enum(["public","private","managed","controllers"]),q=n.enum(["heap","stable"]),wo=n.enum(["db","storage"]),z=n.strictObject({collection:n.string(),read:E,write:E,memory:q,createdAt:n.bigint().optional(),updatedAt:n.bigint().optional(),version:n.bigint().optional(),maxSize:n.number().optional(),maxChangesPerUser:n.number().optional(),maxCapacity:n.number().optional(),mutablePermissions:n.boolean(),maxTokens:n.number().optional()});var W=z.omit({createdAt:!0,updatedAt:!0,maxSize:!0,version:!0}),X=z.omit({createdAt:!0,updatedAt:!0,maxCapacity:!0,version:!0}),Y=i.strictObject({datastore:i.array(W).optional(),storage:i.array(X).optional()}),Z=i.strictObject({id:Q,scope:i.enum(["write","admin","submit"])}),$=i.strictObject({collections:Y,controllers:i.array(Z).optional()}),Go=i.strictObject({satellite:$});function Uo(u){return u}import*as l from"zod/v4";var M=l.strictObject({heapMemory:l.union([l.number(),l.boolean()]).optional()});import*as m from"zod/v4";var oo=m.strictObject({derivationOrigin:m.url().optional(),externalAlternativeOrigins:m.array(m.url()).optional()}),A=m.strictObject({internetIdentity:oo.optional()});import*as T from"zod/v4";var P=T.strictObject({maxMemorySize:x.optional()});import*as e from"zod/v4";var y=e.strictObject({server:e.number().optional(),admin:e.number().optional()}),eo=e.strictObject({console:e.number().optional()}),to=e.strictObject({ports:y.extend(eo.shape).optional()}),no=e.strictObject({ports:y.optional()}),io=e.strictObject({ports:y.optional()}),b=e.strictObject({type:e.enum(["docker"]),image:e.string().optional(),name:e.string().optional(),volume:e.string().optional(),target:e.string().optional(),platform:e.enum(["linux/amd64","linux/arm64"]).optional()}),I=e.union([e.strictObject({runner:b.optional(),skylab:to}),e.strictObject({runner:b.optional(),console:no}),e.strictObject({runner:b.optional(),satellite:io})]);import{PrincipalTextSchema as F}from"@dfinity/zod-schemas";import*as f from"zod/v4";var ro=f.object({id:F}),ao=f.object({ids:f.record(g,F)}),R=f.union([ro.strict(),ao.strict()]);import{PrincipalTextSchema as _}from"@dfinity/zod-schemas";import*as c from"zod/v4";var co=c.object({id:_}),po=c.object({ids:c.record(g,_)}),w=c.object({storage:S.optional(),datastore:P.optional(),authentication:A.optional(),assertions:M.optional(),settings:D.optional()}),k=c.union([c.object({...co.shape,...w.shape}).strict(),c.object({...po.shape,...w.shape}).strict()]);import*as L from"zod/v4";var se=L.strictObject({satellite:k,orbiter:R.optional(),emulator:I.optional()});export{oo as AuthenticationConfigInternetIdentitySchema,A as AuthenticationConfigSchema,J as CliConfigSchema,K as ConsoleIdSchema,V as ConsoleIdsSchema,P as DatastoreConfigSchema,I as EmulatorConfigSchema,O as EncodingTypeSchema,To as JUNO_PACKAGE_MISSION_CONTROL_ID,Po as JUNO_PACKAGE_ORBITER_ID,Mo as JUNO_PACKAGE_SATELLITE_ID,Ao as JUNO_PACKAGE_SPUTNIK_ID,So as JunoConfigEnvSchema,g as JunoConfigModeSchema,se as JunoConfigSchema,Jo as JunoConsoleConfigSchema,Go as JunoDevConfigSchema,H as JunoPackageDependenciesSchema,Do as JunoPackageSchema,x as MaxMemorySizeConfigSchema,q as MemoryTextSchema,B as ModuleLogVisibilitySchema,D as ModuleSettingsSchema,R as OrbiterConfigSchema,ro as OrbiterIdSchema,ao as OrbiterIdsSchema,E as PermissionTextSchema,z as RuleSchema,wo as RulesTypeSchema,M as SatelliteAssertionsSchema,k as SatelliteConfigOptionsSchema,Y as SatelliteDevCollectionsSchema,$ as SatelliteDevConfigSchema,Z as SatelliteDevControllerSchema,W as SatelliteDevDataStoreCollectionSchema,X as SatelliteDevStorageCollectionSchema,co as SatelliteIdSchema,po as SatelliteIdsSchema,G as StorageConfigHeaderSchema,U as StorageConfigRedirectSchema,N as StorageConfigRewriteSchema,S as StorageConfigSchema,d as StorageConfigSourceGlobSchema,Uo as defineConfig,so as defineConsoleConfig,Fo as defineDevConfig};
1
+ function so(u){return u}import{PrincipalTextSchema as v}from"@dfinity/zod-schemas";import*as r from"zod";import*as o from"zod";import*as C from"zod";var x=C.object({heap:C.bigint().optional(),stable:C.bigint().optional()}).strict();var d=o.string(),G=o.object({source:d,headers:o.array(o.tuple([o.string(),o.string()]))}).strict(),N=o.object({source:d,destination:o.string()}).strict(),U=o.object({source:d,location:o.string(),code:o.union([o.literal(301),o.literal(302)])}).strict(),S=o.object({headers:o.array(G).optional(),rewrites:o.array(N).optional(),redirects:o.array(U).optional(),iframe:o.enum(["deny","same-origin","allow-any"]).optional(),rawAccess:o.boolean().optional(),maxMemorySize:x.optional()});import*as t from"zod";import*as h from"zod";var O=h.enum(["identity","gzip","compress","deflate","br"]);var J=t.object({source:t.string().optional(),ignore:t.array(t.string()).optional(),gzip:t.union([t.string(),t.literal(!1)]).optional(),encoding:t.array(t.tuple([t.string(),O])).optional(),predeploy:t.array(t.string()).optional(),postdeploy:t.array(t.string()).optional()}).strict();import*as s from"zod";var g=s.union([s.literal("production"),s.string()]),So=s.object({mode:g});var K=r.object({id:v}),V=r.object({ids:r.record(g,v)}),j=r.object({...J.shape,storage:S.optional()}),Jo=r.union([r.object({...K.shape,...j.shape}).strict(),r.object({...V.shape,...j.shape}).strict()]);import*as a from"zod";var B=a.enum(["controllers","public"]),D=a.strictObject({freezingThreshold:a.bigint().optional(),reservedCyclesLimit:a.bigint().optional(),logVisibility:B.optional(),heapMemoryLimit:a.bigint().optional(),memoryAllocation:a.bigint().optional(),computeAllocation:a.bigint().optional()});import*as p from"zod";var H=p.record(p.string(),p.string()),Do=p.object({name:p.string(),version:p.string(),dependencies:H.optional()});var Mo="@junobuild/satellite",Ao="@junobuild/sputnik",To="@junobuild/mission-control",Po="@junobuild/orbiter";function Fo(u){return u}import{PrincipalTextSchema as Q}from"@dfinity/zod-schemas";import*as i from"zod";import*as n from"zod";var E=n.enum(["public","private","managed","controllers"]),q=n.enum(["heap","stable"]),wo=n.enum(["db","storage"]),z=n.strictObject({collection:n.string(),read:E,write:E,memory:q,createdAt:n.bigint().optional(),updatedAt:n.bigint().optional(),version:n.bigint().optional(),maxSize:n.number().optional(),maxChangesPerUser:n.number().optional(),maxCapacity:n.number().optional(),mutablePermissions:n.boolean(),maxTokens:n.number().optional()});var W=z.omit({createdAt:!0,updatedAt:!0,maxSize:!0,version:!0}),X=z.omit({createdAt:!0,updatedAt:!0,maxCapacity:!0,version:!0}),Y=i.strictObject({datastore:i.array(W).optional(),storage:i.array(X).optional()}),Z=i.strictObject({id:Q,scope:i.enum(["write","admin","submit"])}),$=i.strictObject({collections:Y,controllers:i.array(Z).optional()}),Go=i.strictObject({satellite:$});function Uo(u){return u}import*as l from"zod";var M=l.strictObject({heapMemory:l.union([l.number(),l.boolean()]).optional()});import*as m from"zod";var oo=m.strictObject({derivationOrigin:m.string().url().optional(),externalAlternativeOrigins:m.array(m.string().url()).optional()}),A=m.strictObject({internetIdentity:oo.optional()});import*as T from"zod";var P=T.strictObject({maxMemorySize:x.optional()});import*as e from"zod";var y=e.strictObject({server:e.number().optional(),admin:e.number().optional()}),eo=e.strictObject({console:e.number().optional()}),to=e.strictObject({ports:y.extend(eo.shape).optional()}),no=e.strictObject({ports:y.optional()}),io=e.strictObject({ports:y.optional()}),b=e.strictObject({type:e.enum(["docker"]),image:e.string().optional(),name:e.string().optional(),volume:e.string().optional(),target:e.string().optional(),platform:e.enum(["linux/amd64","linux/arm64"]).optional()}),I=e.union([e.strictObject({runner:b.optional(),skylab:to}),e.strictObject({runner:b.optional(),console:no}),e.strictObject({runner:b.optional(),satellite:io})]);import{PrincipalTextSchema as F}from"@dfinity/zod-schemas";import*as f from"zod";var ro=f.object({id:F}),ao=f.object({ids:f.record(g,F)}),R=f.union([ro.strict(),ao.strict()]);import{PrincipalTextSchema as _}from"@dfinity/zod-schemas";import*as c from"zod";var co=c.object({id:_}),po=c.object({ids:c.record(g,_)}),w=c.object({storage:S.optional(),datastore:P.optional(),authentication:A.optional(),assertions:M.optional(),settings:D.optional()}),k=c.union([c.object({...co.shape,...w.shape}).strict(),c.object({...po.shape,...w.shape}).strict()]);import*as L from"zod";var se=L.strictObject({satellite:k,orbiter:R.optional(),emulator:I.optional()});export{oo as AuthenticationConfigInternetIdentitySchema,A as AuthenticationConfigSchema,J as CliConfigSchema,K as ConsoleIdSchema,V as ConsoleIdsSchema,P as DatastoreConfigSchema,I as EmulatorConfigSchema,O as EncodingTypeSchema,To as JUNO_PACKAGE_MISSION_CONTROL_ID,Po as JUNO_PACKAGE_ORBITER_ID,Mo as JUNO_PACKAGE_SATELLITE_ID,Ao as JUNO_PACKAGE_SPUTNIK_ID,So as JunoConfigEnvSchema,g as JunoConfigModeSchema,se as JunoConfigSchema,Jo as JunoConsoleConfigSchema,Go as JunoDevConfigSchema,H as JunoPackageDependenciesSchema,Do as JunoPackageSchema,x as MaxMemorySizeConfigSchema,q as MemoryTextSchema,B as ModuleLogVisibilitySchema,D as ModuleSettingsSchema,R as OrbiterConfigSchema,ro as OrbiterIdSchema,ao as OrbiterIdsSchema,E as PermissionTextSchema,z as RuleSchema,wo as RulesTypeSchema,M as SatelliteAssertionsSchema,k as SatelliteConfigOptionsSchema,Y as SatelliteDevCollectionsSchema,$ as SatelliteDevConfigSchema,Z as SatelliteDevControllerSchema,W as SatelliteDevDataStoreCollectionSchema,X as SatelliteDevStorageCollectionSchema,co as SatelliteIdSchema,po as SatelliteIdsSchema,G as StorageConfigHeaderSchema,U as StorageConfigRedirectSchema,N as StorageConfigRewriteSchema,S as StorageConfigSchema,d as StorageConfigSourceGlobSchema,Uo as defineConfig,so as defineConsoleConfig,Fo as defineDevConfig};
2
2
  //# sourceMappingURL=index.js.map