@e-n-v/env 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BooleanMap-B7MeMkJC.d.ts → BooleanMap-BPQuO3Ae.d.ts} +1 -3
- package/dist/{BooleanMap-D93UJnv5.d.cts → BooleanMap-CX_YrPCf.d.cts} +1 -3
- package/dist/EnvChannelOptions-BbKeuO-o.d.cts +366 -0
- package/dist/EnvChannelOptions-BbKeuO-o.d.ts +366 -0
- package/dist/{EnvSource-DA3ZGlES.js → EnvSource-WAGWqRVM.js} +6 -10
- package/dist/{EnvSource-BVnmdHku.cjs → EnvSource-s8F_M_6O.cjs} +21 -28
- package/dist/EnvVarSchema-CDZGmnex.cjs +15 -0
- package/dist/EnvVarSchema-Dr6q7jf6.js +10 -0
- package/dist/{ProcessEnvChannel-Do4-yiLI.d.ts → ProcessEnvChannel-CwhV7_EB.d.ts} +2 -4
- package/dist/{ProcessEnvChannel-D465c-dp.d.cts → ProcessEnvChannel-DWHPZePe.d.cts} +2 -4
- package/dist/channels.cjs +3 -4
- package/dist/channels.d.cts +3 -4
- package/dist/channels.d.ts +3 -4
- package/dist/channels.js +2 -4
- package/dist/cli.cjs +10 -23
- package/dist/cli.d.cts +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +7 -13
- package/dist/core.cjs +13 -14
- package/dist/core.d.cts +147 -6
- package/dist/core.d.ts +147 -6
- package/dist/core.js +9 -11
- package/dist/{custom-Bt_wnxIu.js → custom-Bd-jLg80.js} +3 -12
- package/dist/{custom-D_Rqjm09.cjs → custom-Dyb9TnER.cjs} +48 -58
- package/dist/files.cjs +6 -6
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +2 -5
- package/dist/{parse-awxwtQ1N.d.ts → index-B2eNij2x.d.cts} +1 -2
- package/dist/{parse-5fpTbjTr.d.cts → index-BHTM8nxS.d.ts} +1 -2
- package/dist/{prompt-DG8haZjn.d.ts → index-BKBW9Dxs.d.cts} +3 -4
- package/dist/{prompt-lmZdPaBh.d.cts → index-CEyOIRdj.d.ts} +3 -4
- package/dist/{EnvModel-BiT0OiDZ.d.ts → index-Cb0abjLf.d.ts} +59 -7
- package/dist/{EnvModel-I0fWZZ_n.d.cts → index-Cz3frUwZ.d.cts} +58 -6
- package/dist/index.cjs +27 -30
- package/dist/index.d.cts +11 -13
- package/dist/index.d.ts +11 -13
- package/dist/index.js +8 -14
- package/dist/model.cjs +10 -11
- package/dist/model.d.cts +2 -35
- package/dist/model.d.ts +2 -35
- package/dist/model.js +2 -6
- package/dist/parse.cjs +14 -14
- package/dist/parse.d.cts +5 -8
- package/dist/parse.d.ts +5 -8
- package/dist/parse.js +4 -7
- package/dist/preprocessors-BKuIcZa1.d.ts +83 -0
- package/dist/preprocessors-DFVyF0c7.d.cts +83 -0
- package/dist/prompt.cjs +12 -15
- package/dist/prompt.d.cts +5 -10
- package/dist/prompt.d.ts +5 -10
- package/dist/prompt.js +3 -9
- package/dist/{redis-Cazgs3_J.cjs → redis-CyTF0SYT.cjs} +260 -268
- package/dist/{redis-DXhlNtvD.js → redis-D18f4ztf.js} +15 -22
- package/dist/{index-UQm0jdkG.d.cts → redis-DsW-Vkwq.d.cts} +2 -6
- package/dist/{index-ClKndmJv.d.ts → redis-tRD4nAy_.d.ts} +2 -6
- package/dist/{resolveChannel-v9BDsw-M.js → resolveChannel-D1Fzl4TL.js} +59 -63
- package/dist/{resolveChannel-CjAuxy3p.cjs → resolveChannel-DxZNYdDe.cjs} +84 -92
- package/dist/{chunk-pbleEpgJ.cjs → rolldown-runtime-C0BPl7ul.cjs} +15 -16
- package/dist/{chunk-Bp6m_JJh.js → rolldown-runtime-D7D4PA-g.js} +4 -4
- package/dist/{schema-DdDa3Qjy.d.cts → schema-B-JLVS42.d.ts} +1 -3
- package/dist/{schema-CHypJTDK.d.ts → schema-B1i83alz.d.cts} +1 -3
- package/dist/schema-CtP5lpU1.js +11 -0
- package/dist/schema-D9nJKipf.cjs +22 -0
- package/dist/schemas/zod.cjs +42 -340
- package/dist/schemas/zod.d.cts +112 -114
- package/dist/schemas/zod.d.ts +112 -114
- package/dist/schemas/zod.js +111 -401
- package/dist/schemas.cjs +152 -155
- package/dist/schemas.d.cts +1 -2
- package/dist/schemas.d.ts +1 -2
- package/dist/schemas.js +2 -6
- package/dist/{src-CdqOYilA.cjs → src-5GYFbR9n.cjs} +21 -24
- package/dist/{src-BrNrE0hX.js → src-8rEOvFG5.js} +11 -14
- package/dist/{src-DI-VW4dW.js → src-CdzAzdq-.js} +77 -110
- package/dist/{src-B5Qu-M-r.js → src-Cg49gGJb.js} +9 -43
- package/dist/{src-dO72HN6e.cjs → src-CttkcdpE.cjs} +90 -130
- package/dist/{src-PHSSk-t3.cjs → src-D5KzIEH_.cjs} +130 -110
- package/dist/{src-DVdOONrX.cjs → src-DB0Har0j.cjs} +911 -932
- package/dist/{src-DQaQ28lz.js → src-DWc-WWjX.js} +107 -89
- package/dist/{src-vBXlFkSP.js → src-DvUBRBe3.js} +115 -136
- package/dist/{src-DywfI0fM.cjs → src-TZx_e95f.cjs} +78 -131
- package/dist/{vars-DF9DoAF4.d.ts → vars-DtzGL5Nc.d.cts} +1 -4
- package/dist/{vars-KUgv2rti.d.cts → vars-obKYxaSu.d.ts} +1 -4
- package/dist/vars.cjs +175 -160
- package/dist/vars.d.cts +2 -6
- package/dist/vars.d.ts +2 -6
- package/dist/vars.js +21 -9
- package/package.json +3 -2
- package/dist/EnvChannelOptions-BPkWDrmr.d.cts +0 -108
- package/dist/EnvChannelOptions-CRwDLWjd.d.ts +0 -108
- package/dist/coerce-DNIuYAx4.js +0 -11028
- package/dist/coerce-b7UVodS9.cjs +0 -12365
- package/dist/model-BNDYMM9l.d.ts +0 -29
- package/dist/model-CJMnbGuS.d.cts +0 -29
- package/dist/validate-8HbVniNt.d.cts +0 -204
- package/dist/validate-CE8hQ5JG.d.ts +0 -204
- package/dist/vars-BHXXBiY1.cjs +0 -27
- package/dist/vars-FOuH_HuL.js +0 -22
- /package/dist/{EnvChannel-LMIRYvT1.d.cts → EnvChannel-CfSwa_25.d.cts} +0 -0
- /package/dist/{EnvChannel-w27PEm7x.d.ts → EnvChannel-CfSwa_25.d.ts} +0 -0
- /package/dist/{StringEnvVarSchema-BwSGgmeG.d.ts → StringEnvVarSchema-D9Jr1Aws.d.cts} +0 -0
- /package/dist/{StringEnvVarSchema-DnsZTIS0.d.cts → StringEnvVarSchema-D9Jr1Aws.d.ts} +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
//#region ../core/src/schemas/EnvVarSchemaBase.ts
|
|
3
2
|
var EnvVarSchemaBase = class {
|
|
4
3
|
required;
|
|
@@ -14,7 +13,6 @@ var EnvVarSchemaBase = class {
|
|
|
14
13
|
this.process = input.process;
|
|
15
14
|
}
|
|
16
15
|
};
|
|
17
|
-
|
|
18
16
|
//#endregion
|
|
19
17
|
//#region ../core/src/processing/helpers/toList.ts
|
|
20
18
|
/**
|
|
@@ -31,7 +29,6 @@ function toList(items) {
|
|
|
31
29
|
if (items.length === 2) return `${items[0]} and ${items[1]}`;
|
|
32
30
|
return `${items.slice(0, -1).join(", ")}, and ${items[items.length - 1]}`;
|
|
33
31
|
}
|
|
34
|
-
|
|
35
32
|
//#endregion
|
|
36
33
|
//#region ../core/src/processing/helpers/validate.ts
|
|
37
34
|
/**
|
|
@@ -46,7 +43,6 @@ function validate(value, checks) {
|
|
|
46
43
|
}
|
|
47
44
|
return value;
|
|
48
45
|
}
|
|
49
|
-
|
|
50
46
|
//#endregion
|
|
51
47
|
//#region ../core/src/processing/processors/typed/string.ts
|
|
52
48
|
/**
|
|
@@ -61,7 +57,6 @@ function string$1(...checks) {
|
|
|
61
57
|
return input;
|
|
62
58
|
};
|
|
63
59
|
}
|
|
64
|
-
|
|
65
60
|
//#endregion
|
|
66
61
|
//#region ../core/src/processing/processors/typed/number.ts
|
|
67
62
|
/**
|
|
@@ -71,20 +66,19 @@ function string$1(...checks) {
|
|
|
71
66
|
function number$1(...checks) {
|
|
72
67
|
return (input) => {
|
|
73
68
|
if (typeof input === "number") {
|
|
74
|
-
if (
|
|
69
|
+
if (!Number.isFinite(input)) throw new Error("Value must be a finite number");
|
|
75
70
|
if (checks.length > 0) return validate(input, checks);
|
|
76
71
|
return input;
|
|
77
72
|
}
|
|
78
73
|
if (typeof input !== "string") throw new Error("Value must be a string or number");
|
|
79
74
|
const trimmed = input.trim();
|
|
80
75
|
if (trimmed === "") return;
|
|
81
|
-
const parsed =
|
|
82
|
-
if (
|
|
76
|
+
const parsed = Number(trimmed);
|
|
77
|
+
if (!Number.isFinite(parsed)) throw new Error(`"${input}" is not a valid number`);
|
|
83
78
|
if (checks.length > 0) return validate(parsed, checks);
|
|
84
79
|
return parsed;
|
|
85
80
|
};
|
|
86
81
|
}
|
|
87
|
-
|
|
88
82
|
//#endregion
|
|
89
83
|
//#region ../core/src/processing/constants/FALSE_STRINGS.ts
|
|
90
84
|
const FALSE_STRINGS = [
|
|
@@ -93,7 +87,6 @@ const FALSE_STRINGS = [
|
|
|
93
87
|
"no",
|
|
94
88
|
"off"
|
|
95
89
|
];
|
|
96
|
-
|
|
97
90
|
//#endregion
|
|
98
91
|
//#region ../core/src/processing/constants/TRUE_STRINGS.ts
|
|
99
92
|
const TRUE_STRINGS = [
|
|
@@ -102,7 +95,6 @@ const TRUE_STRINGS = [
|
|
|
102
95
|
"yes",
|
|
103
96
|
"on"
|
|
104
97
|
];
|
|
105
|
-
|
|
106
98
|
//#endregion
|
|
107
99
|
//#region ../core/src/processing/processors/typed/boolean.ts
|
|
108
100
|
/**
|
|
@@ -124,7 +116,6 @@ function boolean$1() {
|
|
|
124
116
|
throw new Error(`"${input}" is not a valid boolean. Use: ${trueList} or ${falseList}`);
|
|
125
117
|
};
|
|
126
118
|
}
|
|
127
|
-
|
|
128
119
|
//#endregion
|
|
129
120
|
//#region ../core/src/processing/processors/typed/enumeration.ts
|
|
130
121
|
/**
|
|
@@ -141,7 +132,6 @@ function enumeration$1(allowedValues, ...checks) {
|
|
|
141
132
|
return trimmed;
|
|
142
133
|
};
|
|
143
134
|
}
|
|
144
|
-
|
|
145
135
|
//#endregion
|
|
146
136
|
//#region ../core/src/processing/processors/processors.ts
|
|
147
137
|
/**
|
|
@@ -155,7 +145,6 @@ const processors = {
|
|
|
155
145
|
number: number$1,
|
|
156
146
|
string: string$1
|
|
157
147
|
};
|
|
158
|
-
|
|
159
148
|
//#endregion
|
|
160
149
|
//#region ../core/src/schemas/typed/BooleanEnvVarSchema.ts
|
|
161
150
|
var BooleanEnvVarSchema = class extends EnvVarSchemaBase {
|
|
@@ -167,7 +156,6 @@ var BooleanEnvVarSchema = class extends EnvVarSchemaBase {
|
|
|
167
156
|
});
|
|
168
157
|
}
|
|
169
158
|
};
|
|
170
|
-
|
|
171
159
|
//#endregion
|
|
172
160
|
//#region ../core/src/schemas/typed/EnumEnvVarSchema.ts
|
|
173
161
|
var EnumEnvVarSchema = class extends EnvVarSchemaBase {
|
|
@@ -181,7 +169,6 @@ var EnumEnvVarSchema = class extends EnvVarSchemaBase {
|
|
|
181
169
|
this.values = input.values;
|
|
182
170
|
}
|
|
183
171
|
};
|
|
184
|
-
|
|
185
172
|
//#endregion
|
|
186
173
|
//#region ../core/src/schemas/typed/NumberEnvVarSchema.ts
|
|
187
174
|
var NumberEnvVarSchema = class extends EnvVarSchemaBase {
|
|
@@ -193,7 +180,6 @@ var NumberEnvVarSchema = class extends EnvVarSchemaBase {
|
|
|
193
180
|
});
|
|
194
181
|
}
|
|
195
182
|
};
|
|
196
|
-
|
|
197
183
|
//#endregion
|
|
198
184
|
//#region ../core/src/schemas/typed/StringEnvVarSchema.ts
|
|
199
185
|
var StringEnvVarSchema = class extends EnvVarSchemaBase {
|
|
@@ -207,16 +193,6 @@ var StringEnvVarSchema = class extends EnvVarSchemaBase {
|
|
|
207
193
|
this.secret = input.secret;
|
|
208
194
|
}
|
|
209
195
|
};
|
|
210
|
-
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region ../core/src/schemas/EnvVarSchema.ts
|
|
213
|
-
/**
|
|
214
|
-
* Type guard to check if a value is a EnvVarSchema instance
|
|
215
|
-
*/
|
|
216
|
-
function isEnvVarSchema(value) {
|
|
217
|
-
return value instanceof StringEnvVarSchema || value instanceof NumberEnvVarSchema || value instanceof BooleanEnvVarSchema || value instanceof EnumEnvVarSchema;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
196
|
//#endregion
|
|
221
197
|
//#region ../core/src/processing/preprocessors/typed/number.ts
|
|
222
198
|
/**
|
|
@@ -229,7 +205,6 @@ const number = () => (value) => {
|
|
|
229
205
|
} catch {}
|
|
230
206
|
return value;
|
|
231
207
|
};
|
|
232
|
-
|
|
233
208
|
//#endregion
|
|
234
209
|
//#region ../core/src/processing/preprocessors/typed/boolean.ts
|
|
235
210
|
const boolean = (options = {
|
|
@@ -249,24 +224,26 @@ const boolean = (options = {
|
|
|
249
224
|
return value;
|
|
250
225
|
};
|
|
251
226
|
};
|
|
252
|
-
|
|
253
227
|
//#endregion
|
|
254
228
|
//#region ../core/src/processing/preprocessors/typed/enumeration.ts
|
|
255
229
|
/**
|
|
256
230
|
* Create an enum preprocessor - pass through unchanged
|
|
257
231
|
*/
|
|
258
232
|
const enumeration = () => (value) => value;
|
|
259
|
-
|
|
260
233
|
//#endregion
|
|
261
234
|
//#region ../core/src/processing/preprocessors/typed/string.ts
|
|
262
235
|
/**
|
|
263
236
|
* Create a string preprocessor - pass through unchanged
|
|
264
237
|
*/
|
|
265
238
|
const string = () => (value) => value;
|
|
266
|
-
|
|
267
239
|
//#endregion
|
|
268
240
|
//#region ../core/src/processing/preprocessors/preprocessors.ts
|
|
269
241
|
/**
|
|
242
|
+
* Default preprocessors for environment variable types.
|
|
243
|
+
* Each preprocessor factory returns a function that takes a string value and returns T | string.
|
|
244
|
+
* Preprocessors may normalize but should not throw—fall back to the original value when normalization fails.
|
|
245
|
+
*/
|
|
246
|
+
/**
|
|
270
247
|
* Default preprocessors map for each environment variable type
|
|
271
248
|
*/
|
|
272
249
|
const preprocessors = {
|
|
@@ -275,7 +252,6 @@ const preprocessors = {
|
|
|
275
252
|
number,
|
|
276
253
|
string
|
|
277
254
|
};
|
|
278
|
-
|
|
279
255
|
//#endregion
|
|
280
256
|
//#region ../core/src/processing/preprocessors/resolvePreprocessor.ts
|
|
281
257
|
const defaultFactories = {
|
|
@@ -305,117 +281,88 @@ function resolvePreprocessor(envVarType, preprocessorOptions) {
|
|
|
305
281
|
if (typeof override === "function") return override;
|
|
306
282
|
return preprocessors.boolean(override);
|
|
307
283
|
}
|
|
308
|
-
|
|
309
284
|
//#endregion
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
enum: (input) => new EnumEnvVarSchema(input)
|
|
316
|
-
};
|
|
317
|
-
const s = schema;
|
|
318
|
-
|
|
319
|
-
//#endregion
|
|
320
|
-
Object.defineProperty(exports, 'BooleanEnvVarSchema', {
|
|
321
|
-
enumerable: true,
|
|
322
|
-
get: function () {
|
|
323
|
-
return BooleanEnvVarSchema;
|
|
324
|
-
}
|
|
325
|
-
});
|
|
326
|
-
Object.defineProperty(exports, 'EnumEnvVarSchema', {
|
|
327
|
-
enumerable: true,
|
|
328
|
-
get: function () {
|
|
329
|
-
return EnumEnvVarSchema;
|
|
330
|
-
}
|
|
331
|
-
});
|
|
332
|
-
Object.defineProperty(exports, 'EnvVarSchemaBase', {
|
|
333
|
-
enumerable: true,
|
|
334
|
-
get: function () {
|
|
335
|
-
return EnvVarSchemaBase;
|
|
336
|
-
}
|
|
285
|
+
Object.defineProperty(exports, "BooleanEnvVarSchema", {
|
|
286
|
+
enumerable: true,
|
|
287
|
+
get: function() {
|
|
288
|
+
return BooleanEnvVarSchema;
|
|
289
|
+
}
|
|
337
290
|
});
|
|
338
|
-
Object.defineProperty(exports,
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
291
|
+
Object.defineProperty(exports, "EnumEnvVarSchema", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function() {
|
|
294
|
+
return EnumEnvVarSchema;
|
|
295
|
+
}
|
|
343
296
|
});
|
|
344
|
-
Object.defineProperty(exports,
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
297
|
+
Object.defineProperty(exports, "EnvVarSchemaBase", {
|
|
298
|
+
enumerable: true,
|
|
299
|
+
get: function() {
|
|
300
|
+
return EnvVarSchemaBase;
|
|
301
|
+
}
|
|
349
302
|
});
|
|
350
|
-
Object.defineProperty(exports,
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
303
|
+
Object.defineProperty(exports, "NumberEnvVarSchema", {
|
|
304
|
+
enumerable: true,
|
|
305
|
+
get: function() {
|
|
306
|
+
return NumberEnvVarSchema;
|
|
307
|
+
}
|
|
355
308
|
});
|
|
356
|
-
Object.defineProperty(exports,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
309
|
+
Object.defineProperty(exports, "StringEnvVarSchema", {
|
|
310
|
+
enumerable: true,
|
|
311
|
+
get: function() {
|
|
312
|
+
return StringEnvVarSchema;
|
|
313
|
+
}
|
|
361
314
|
});
|
|
362
|
-
Object.defineProperty(exports,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
315
|
+
Object.defineProperty(exports, "boolean", {
|
|
316
|
+
enumerable: true,
|
|
317
|
+
get: function() {
|
|
318
|
+
return boolean$1;
|
|
319
|
+
}
|
|
367
320
|
});
|
|
368
|
-
Object.defineProperty(exports,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
321
|
+
Object.defineProperty(exports, "enumeration", {
|
|
322
|
+
enumerable: true,
|
|
323
|
+
get: function() {
|
|
324
|
+
return enumeration$1;
|
|
325
|
+
}
|
|
373
326
|
});
|
|
374
|
-
Object.defineProperty(exports,
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
327
|
+
Object.defineProperty(exports, "number", {
|
|
328
|
+
enumerable: true,
|
|
329
|
+
get: function() {
|
|
330
|
+
return number$1;
|
|
331
|
+
}
|
|
379
332
|
});
|
|
380
|
-
Object.defineProperty(exports,
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
333
|
+
Object.defineProperty(exports, "preprocessors", {
|
|
334
|
+
enumerable: true,
|
|
335
|
+
get: function() {
|
|
336
|
+
return preprocessors;
|
|
337
|
+
}
|
|
385
338
|
});
|
|
386
|
-
Object.defineProperty(exports,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
339
|
+
Object.defineProperty(exports, "processors", {
|
|
340
|
+
enumerable: true,
|
|
341
|
+
get: function() {
|
|
342
|
+
return processors;
|
|
343
|
+
}
|
|
391
344
|
});
|
|
392
|
-
Object.defineProperty(exports,
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
345
|
+
Object.defineProperty(exports, "resolvePreprocessor", {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function() {
|
|
348
|
+
return resolvePreprocessor;
|
|
349
|
+
}
|
|
397
350
|
});
|
|
398
|
-
Object.defineProperty(exports,
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
351
|
+
Object.defineProperty(exports, "string", {
|
|
352
|
+
enumerable: true,
|
|
353
|
+
get: function() {
|
|
354
|
+
return string$1;
|
|
355
|
+
}
|
|
403
356
|
});
|
|
404
|
-
Object.defineProperty(exports,
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
357
|
+
Object.defineProperty(exports, "toList", {
|
|
358
|
+
enumerable: true,
|
|
359
|
+
get: function() {
|
|
360
|
+
return toList;
|
|
361
|
+
}
|
|
409
362
|
});
|
|
410
|
-
Object.defineProperty(exports,
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
363
|
+
Object.defineProperty(exports, "validate", {
|
|
364
|
+
enumerable: true,
|
|
365
|
+
get: function() {
|
|
366
|
+
return validate;
|
|
367
|
+
}
|
|
415
368
|
});
|
|
416
|
-
Object.defineProperty(exports, 'validate', {
|
|
417
|
-
enumerable: true,
|
|
418
|
-
get: function () {
|
|
419
|
-
return validate;
|
|
420
|
-
}
|
|
421
|
-
});
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as define } from "./model-BNDYMM9l.js";
|
|
3
|
-
|
|
1
|
+
import { c as SupportedSchema, r as define } from "./index-Cz3frUwZ.cjs";
|
|
4
2
|
//#region src/vars.d.ts
|
|
5
|
-
|
|
6
3
|
/**
|
|
7
4
|
* Sugar helper for creating environment variable models with predefined schemas
|
|
8
5
|
*
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as define } from "./model-CJMnbGuS.cjs";
|
|
3
|
-
|
|
1
|
+
import { c as SupportedSchema, r as define } from "./index-Cb0abjLf.js";
|
|
4
2
|
//#region src/vars.d.ts
|
|
5
|
-
|
|
6
3
|
/**
|
|
7
4
|
* Sugar helper for creating environment variable models with predefined schemas
|
|
8
5
|
*
|