@e-n-v/env 0.0.5 → 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-DmFnCA-O.d.ts → BooleanMap-BPQuO3Ae.d.ts} +1 -3
- package/dist/{BooleanMap-B2eIP3tZ.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/{StringEnvVarSchema-B8MT7htU.d.ts → StringEnvVarSchema-D9Jr1Aws.d.cts} +5 -3
- package/dist/{StringEnvVarSchema-BF6C0nyT.d.cts → StringEnvVarSchema-D9Jr1Aws.d.ts} +5 -3
- 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-DwtLpVhC.d.ts → index-B2eNij2x.d.cts} +1 -2
- package/dist/{parse-BT1QSa5e.d.cts → index-BHTM8nxS.d.ts} +1 -2
- package/dist/{prompt-yKdccbtZ.d.ts → index-BKBW9Dxs.d.cts} +3 -4
- package/dist/{prompt-C5WudV9x.d.cts → index-CEyOIRdj.d.ts} +3 -4
- package/dist/{EnvModel-CrGclUpJ.d.cts → index-Cb0abjLf.d.ts} +59 -7
- package/dist/{EnvModel-D8rt0EJ6.d.ts → index-Cz3frUwZ.d.cts} +58 -6
- package/dist/index.cjs +33 -0
- package/dist/index.d.cts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +15 -0
- 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-EcC7TX3K.cjs → redis-CyTF0SYT.cjs} +321 -253
- package/dist/{redis-CJOpRPjc.js → redis-D18f4ztf.js} +76 -37
- package/dist/{index-Dq_0aeAL.d.ts → redis-DsW-Vkwq.d.cts} +26 -6
- package/dist/{index-D8pslhp4.d.cts → redis-tRD4nAy_.d.ts} +26 -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-jN4EtvEP.d.ts → schema-B-JLVS42.d.ts} +1 -3
- package/dist/{schema-DH4GiW9A.d.cts → 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 +112 -359
- package/dist/schemas/zod.d.cts +117 -87
- package/dist/schemas/zod.d.ts +117 -87
- package/dist/schemas/zod.js +116 -377
- package/dist/schemas.cjs +152 -133
- package/dist/schemas.d.cts +2 -3
- package/dist/schemas.d.ts +2 -3
- package/dist/schemas.js +2 -6
- package/dist/{src-Cjo2XA4n.cjs → src-5GYFbR9n.cjs} +21 -25
- package/dist/{src-BBwjK5SK.js → src-8rEOvFG5.js} +11 -15
- package/dist/{src-Dtv7TlJx.js → src-CdzAzdq-.js} +100 -114
- package/dist/{src-CLTURaoo.js → src-Cg49gGJb.js} +18 -44
- package/dist/{src-DWYoqPX1.cjs → src-CttkcdpE.cjs} +114 -133
- package/dist/{src-XjL5cyPG.cjs → src-D5KzIEH_.cjs} +130 -107
- package/dist/src-DB0Har0j.cjs +1632 -0
- package/dist/{src-CVdUqK3q.js → src-DWc-WWjX.js} +107 -86
- package/dist/{src-B7FG1rak.js → src-DvUBRBe3.js} +205 -116
- package/dist/{src-meUnCASg.cjs → src-TZx_e95f.cjs} +87 -132
- package/dist/{vars-BNVI6k89.d.ts → vars-DtzGL5Nc.d.cts} +1 -4
- package/dist/{vars-CptZRPX5.d.cts → vars-obKYxaSu.d.ts} +1 -4
- package/dist/vars.cjs +175 -138
- package/dist/vars.d.cts +3 -7
- package/dist/vars.d.ts +3 -7
- package/dist/vars.js +21 -9
- package/package.json +9 -8
- 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-Dic8IJsf.d.ts +0 -29
- package/dist/model-ft0WhSSS.d.cts +0 -29
- package/dist/root.cjs +0 -36
- package/dist/root.d.cts +0 -21
- package/dist/root.d.ts +0 -21
- package/dist/root.js +0 -21
- package/dist/src-DZmpNGrQ.cjs +0 -1411
- package/dist/validate-BxA3a-ns.d.cts +0 -203
- package/dist/validate-CyxrRacF.d.ts +0 -203
- package/dist/vars-CYOaskkK.cjs +0 -27
- package/dist/vars-DOW0LiiN.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
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { a as EnumEnvVarSchema, i as NumberEnvVarSchema, o as BooleanEnvVarSchema, r as StringEnvVarSchema } from "./src-Cg49gGJb.js";
|
|
2
|
+
import { t as isEnvVarSchema } from "./EnvVarSchema-Dr6q7jf6.js";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import * as z4core from "zod/v4/core";
|
|
4
5
|
//#region ../converters/src/converters/zod/ZodV3Converter.ts
|
|
5
6
|
/**
|
|
6
7
|
* Zod v3 schema converter implementation
|
|
@@ -121,8 +122,8 @@ function createV3ProcessFunction(schema, type) {
|
|
|
121
122
|
return (value) => {
|
|
122
123
|
try {
|
|
123
124
|
let processSchema = schema;
|
|
124
|
-
if (type === "number") processSchema = number();
|
|
125
|
-
else if (type === "boolean") processSchema = string().transform((val) => {
|
|
125
|
+
if (typeof value === "string" && type === "number") processSchema = z.coerce.number();
|
|
126
|
+
else if (typeof value === "string" && type === "boolean") processSchema = z.string().transform((val) => {
|
|
126
127
|
const lower = val.toLowerCase().trim();
|
|
127
128
|
if ([
|
|
128
129
|
"true",
|
|
@@ -157,29 +158,35 @@ function convertFromZodV3Schema(schema) {
|
|
|
157
158
|
const type = resolveV3EnvVarType(peeled.schema);
|
|
158
159
|
const def = getV3Def(peeled.schema);
|
|
159
160
|
switch (type) {
|
|
160
|
-
case "boolean":
|
|
161
|
-
process
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
161
|
+
case "boolean": {
|
|
162
|
+
const process = createV3ProcessFunction(peeled.schema, "boolean");
|
|
163
|
+
return new BooleanEnvVarSchema({
|
|
164
|
+
process,
|
|
165
|
+
required: peeled.required,
|
|
166
|
+
default: typeof peeled.default === "boolean" ? peeled.default : void 0,
|
|
167
|
+
description: peeled.description
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
case "number": {
|
|
171
|
+
const process = createV3ProcessFunction(peeled.schema, "number");
|
|
172
|
+
return new NumberEnvVarSchema({
|
|
173
|
+
process,
|
|
174
|
+
required: peeled.required,
|
|
175
|
+
default: typeof peeled.default === "number" ? peeled.default : void 0,
|
|
176
|
+
description: peeled.description
|
|
177
|
+
});
|
|
178
|
+
}
|
|
172
179
|
case "enum": {
|
|
173
180
|
const values = extractV3EnumValues(def) || [];
|
|
181
|
+
const process = createV3ProcessFunction(peeled.schema, "enum");
|
|
174
182
|
return new EnumEnvVarSchema({
|
|
175
|
-
process
|
|
183
|
+
process,
|
|
176
184
|
values,
|
|
177
185
|
required: peeled.required,
|
|
178
186
|
default: typeof peeled.default === "string" ? peeled.default : void 0,
|
|
179
187
|
description: peeled.description
|
|
180
188
|
});
|
|
181
189
|
}
|
|
182
|
-
case "string":
|
|
183
190
|
default: {
|
|
184
191
|
const process = createV3ProcessFunction(peeled.schema, "string");
|
|
185
192
|
const defaultValue = typeof peeled.default === "string" ? peeled.default : void 0;
|
|
@@ -192,7 +199,6 @@ function convertFromZodV3Schema(schema) {
|
|
|
192
199
|
}
|
|
193
200
|
}
|
|
194
201
|
}
|
|
195
|
-
|
|
196
202
|
//#endregion
|
|
197
203
|
//#region ../converters/src/converters/zod/ZodV4Converter.ts
|
|
198
204
|
/**
|
|
@@ -335,10 +341,10 @@ function createV4ProcessFunction(schema, type, originalSchema) {
|
|
|
335
341
|
let processSchema = schema;
|
|
336
342
|
const def = getV4Def(schema);
|
|
337
343
|
const typeName = getV4TypeName(def);
|
|
338
|
-
if (typeName === "stringbool" || typeName === "pipe" && def.in && def.out && resolveV4EnvVarType(def.in) === "string" && resolveV4EnvVarType(def.out) === "boolean") processSchema = originalSchema;
|
|
339
|
-
else if (type === "number") processSchema = number();
|
|
340
|
-
else if (type === "boolean") processSchema = stringbool();
|
|
341
|
-
const result = safeParse(processSchema, value);
|
|
344
|
+
if (typeof value === "string" && typeName === "stringbool" || typeof value === "string" && typeName === "pipe" && def.in && def.out && resolveV4EnvVarType(def.in) === "string" && resolveV4EnvVarType(def.out) === "boolean") processSchema = originalSchema;
|
|
345
|
+
else if (typeof value === "string" && type === "number") processSchema = z.coerce.number();
|
|
346
|
+
else if (typeof value === "string" && type === "boolean") processSchema = z.stringbool();
|
|
347
|
+
const result = z4core.safeParse(processSchema, value);
|
|
342
348
|
if (result.success) return result.data;
|
|
343
349
|
throw new Error(`Failed to parse value "${value}": ${result.error.issues.map((issue) => issue.message).join("; ")}`);
|
|
344
350
|
} catch (error) {
|
|
@@ -355,29 +361,35 @@ function convertFromZodV4Schema(schema) {
|
|
|
355
361
|
const type = resolveV4EnvVarType(peeled.schema);
|
|
356
362
|
const def = getV4Def(peeled.schema);
|
|
357
363
|
switch (type) {
|
|
358
|
-
case "boolean":
|
|
359
|
-
process
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
364
|
+
case "boolean": {
|
|
365
|
+
const process = createV4ProcessFunction(peeled.schema, "boolean", schema);
|
|
366
|
+
return new BooleanEnvVarSchema({
|
|
367
|
+
process,
|
|
368
|
+
required: peeled.required,
|
|
369
|
+
default: typeof peeled.default === "boolean" ? peeled.default : void 0,
|
|
370
|
+
description: peeled.description
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
case "number": {
|
|
374
|
+
const process = createV4ProcessFunction(peeled.schema, "number", schema);
|
|
375
|
+
return new NumberEnvVarSchema({
|
|
376
|
+
process,
|
|
377
|
+
required: peeled.required,
|
|
378
|
+
default: typeof peeled.default === "number" ? peeled.default : void 0,
|
|
379
|
+
description: peeled.description
|
|
380
|
+
});
|
|
381
|
+
}
|
|
370
382
|
case "enum": {
|
|
371
383
|
const values = extractV4EnumValues(def) || [];
|
|
384
|
+
const process = createV4ProcessFunction(peeled.schema, "enum", schema);
|
|
372
385
|
return new EnumEnvVarSchema({
|
|
373
|
-
process
|
|
386
|
+
process,
|
|
374
387
|
values,
|
|
375
388
|
required: peeled.required,
|
|
376
389
|
default: typeof peeled.default === "string" ? peeled.default : void 0,
|
|
377
390
|
description: peeled.description
|
|
378
391
|
});
|
|
379
392
|
}
|
|
380
|
-
case "string":
|
|
381
393
|
default: {
|
|
382
394
|
const process = createV4ProcessFunction(peeled.schema, "string", schema);
|
|
383
395
|
const defaultValue = typeof peeled.default === "string" ? peeled.default : void 0;
|
|
@@ -390,7 +402,6 @@ function convertFromZodV4Schema(schema) {
|
|
|
390
402
|
}
|
|
391
403
|
}
|
|
392
404
|
}
|
|
393
|
-
|
|
394
405
|
//#endregion
|
|
395
406
|
//#region ../converters/src/converters/joi/JoiConverter.ts
|
|
396
407
|
/**
|
|
@@ -502,11 +513,11 @@ function createJoiProcessFunction(schema, type) {
|
|
|
502
513
|
return (value) => {
|
|
503
514
|
try {
|
|
504
515
|
let processValue = value;
|
|
505
|
-
if (type === "number") {
|
|
516
|
+
if (typeof value === "string" && type === "number") {
|
|
506
517
|
const num = Number(value);
|
|
507
|
-
if (Number.
|
|
518
|
+
if (!Number.isFinite(num)) throw new Error(`Expected number, received "${value}"`);
|
|
508
519
|
processValue = num;
|
|
509
|
-
} else if (type === "boolean") {
|
|
520
|
+
} else if (typeof value === "string" && type === "boolean") {
|
|
510
521
|
const lower = value.toLowerCase().trim();
|
|
511
522
|
if ([
|
|
512
523
|
"true",
|
|
@@ -545,38 +556,46 @@ function convertFromJoiSchema(schema) {
|
|
|
545
556
|
const defaultValue = getJoiDefaultValue(schema);
|
|
546
557
|
const description = getJoiDescription(schema);
|
|
547
558
|
switch (type) {
|
|
548
|
-
case "boolean":
|
|
549
|
-
process
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
559
|
+
case "boolean": {
|
|
560
|
+
const process = createJoiProcessFunction(schema, "boolean");
|
|
561
|
+
return new BooleanEnvVarSchema({
|
|
562
|
+
process,
|
|
563
|
+
required,
|
|
564
|
+
default: typeof defaultValue === "boolean" ? defaultValue : void 0,
|
|
565
|
+
description
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
case "number": {
|
|
569
|
+
const process = createJoiProcessFunction(schema, "number");
|
|
570
|
+
return new NumberEnvVarSchema({
|
|
571
|
+
process,
|
|
572
|
+
required,
|
|
573
|
+
default: typeof defaultValue === "number" ? defaultValue : void 0,
|
|
574
|
+
description
|
|
575
|
+
});
|
|
576
|
+
}
|
|
560
577
|
case "enum": {
|
|
561
578
|
const values = getJoiValidValues(schema) || [];
|
|
579
|
+
const process = createJoiProcessFunction(schema, "enum");
|
|
562
580
|
return new EnumEnvVarSchema({
|
|
563
|
-
process
|
|
581
|
+
process,
|
|
564
582
|
values,
|
|
565
583
|
required,
|
|
566
584
|
default: typeof defaultValue === "string" ? defaultValue : void 0,
|
|
567
585
|
description
|
|
568
586
|
});
|
|
569
587
|
}
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
588
|
+
default: {
|
|
589
|
+
const process = createJoiProcessFunction(schema, "string");
|
|
590
|
+
return new StringEnvVarSchema({
|
|
591
|
+
process,
|
|
592
|
+
required,
|
|
593
|
+
default: typeof defaultValue === "string" ? defaultValue : void 0,
|
|
594
|
+
description
|
|
595
|
+
});
|
|
596
|
+
}
|
|
577
597
|
}
|
|
578
598
|
}
|
|
579
|
-
|
|
580
599
|
//#endregion
|
|
581
600
|
//#region ../converters/src/converters/superstruct/SuperstructConverter.ts
|
|
582
601
|
/**
|
|
@@ -610,31 +629,39 @@ function convertFromSuperstruct(schema) {
|
|
|
610
629
|
const values = extractEnumValues(schema);
|
|
611
630
|
if (!values || values.length === 0) return createStringEnvVarSchema(schema, required, defaultValue, description);
|
|
612
631
|
const readonlyValues = values;
|
|
632
|
+
const process = createSuperstructProcessFunction(schema, "enum");
|
|
613
633
|
return new EnumEnvVarSchema({
|
|
614
|
-
process
|
|
634
|
+
process,
|
|
615
635
|
values: readonlyValues,
|
|
616
636
|
required,
|
|
617
637
|
default: typeof defaultValue === "string" ? defaultValue : void 0,
|
|
618
638
|
description
|
|
619
639
|
});
|
|
620
640
|
}
|
|
621
|
-
if (resolvedType === "boolean")
|
|
622
|
-
process
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
641
|
+
if (resolvedType === "boolean") {
|
|
642
|
+
const process = createSuperstructProcessFunction(schema, "boolean");
|
|
643
|
+
return new BooleanEnvVarSchema({
|
|
644
|
+
process,
|
|
645
|
+
required,
|
|
646
|
+
default: typeof defaultValue === "boolean" ? defaultValue : void 0,
|
|
647
|
+
description
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
if (resolvedType === "number") {
|
|
651
|
+
const process = createSuperstructProcessFunction(schema, "number");
|
|
652
|
+
return new NumberEnvVarSchema({
|
|
653
|
+
process,
|
|
654
|
+
required,
|
|
655
|
+
default: typeof defaultValue === "number" ? defaultValue : void 0,
|
|
656
|
+
description
|
|
657
|
+
});
|
|
658
|
+
}
|
|
633
659
|
return createStringEnvVarSchema(schema, required, defaultValue, description);
|
|
634
660
|
}
|
|
635
661
|
function createStringEnvVarSchema(schema, required, defaultValue, description) {
|
|
662
|
+
const process = createSuperstructProcessFunction(schema, "string");
|
|
636
663
|
return new StringEnvVarSchema({
|
|
637
|
-
process
|
|
664
|
+
process,
|
|
638
665
|
required,
|
|
639
666
|
default: typeof defaultValue === "string" ? defaultValue : void 0,
|
|
640
667
|
description
|
|
@@ -689,9 +716,8 @@ function getStructDescription(schema) {
|
|
|
689
716
|
}
|
|
690
717
|
function createSuperstructProcessFunction(schema, type) {
|
|
691
718
|
return (value) => {
|
|
692
|
-
if (typeof value !== "string") throw new Error("Value must be a string");
|
|
693
719
|
let candidate = value;
|
|
694
|
-
if (type === "number") {
|
|
720
|
+
if (typeof value === "string" && type === "number") {
|
|
695
721
|
const trimmed = value.trim();
|
|
696
722
|
if (trimmed === "") candidate = void 0;
|
|
697
723
|
else {
|
|
@@ -699,7 +725,7 @@ function createSuperstructProcessFunction(schema, type) {
|
|
|
699
725
|
if (Number.isNaN(parsed) || !Number.isFinite(parsed)) throw new Error(`"${value}" is not a valid number`);
|
|
700
726
|
candidate = parsed;
|
|
701
727
|
}
|
|
702
|
-
} else if (type === "boolean") {
|
|
728
|
+
} else if (typeof value === "string" && type === "boolean") {
|
|
703
729
|
const trimmed = value.trim().toLowerCase();
|
|
704
730
|
if (trimmed === "") candidate = void 0;
|
|
705
731
|
else if ([
|
|
@@ -723,7 +749,6 @@ function createSuperstructProcessFunction(schema, type) {
|
|
|
723
749
|
return result;
|
|
724
750
|
};
|
|
725
751
|
}
|
|
726
|
-
|
|
727
752
|
//#endregion
|
|
728
753
|
//#region ../converters/src/converters.ts
|
|
729
754
|
/**
|
|
@@ -735,7 +760,6 @@ const converters = [
|
|
|
735
760
|
new JoiConverter(),
|
|
736
761
|
new SuperstructConverter()
|
|
737
762
|
];
|
|
738
|
-
|
|
739
763
|
//#endregion
|
|
740
764
|
//#region ../models/src/resolve.ts
|
|
741
765
|
/**
|
|
@@ -777,7 +801,6 @@ function resolveSchemas(schemas) {
|
|
|
777
801
|
}
|
|
778
802
|
return resolved;
|
|
779
803
|
}
|
|
780
|
-
|
|
781
804
|
//#endregion
|
|
782
805
|
//#region ../models/src/EnvModel.ts
|
|
783
806
|
/**
|
|
@@ -817,7 +840,6 @@ var EnvModel = class {
|
|
|
817
840
|
return { ...config };
|
|
818
841
|
}
|
|
819
842
|
};
|
|
820
|
-
|
|
821
843
|
//#endregion
|
|
822
844
|
//#region ../models/src/model.ts
|
|
823
845
|
/**
|
|
@@ -845,6 +867,5 @@ var EnvModel = class {
|
|
|
845
867
|
function define(options) {
|
|
846
868
|
return new EnvModel(options);
|
|
847
869
|
}
|
|
848
|
-
|
|
849
870
|
//#endregion
|
|
850
|
-
export { resolveSchemas as i, EnvModel as n, resolveSchema as r, define as t };
|
|
871
|
+
export { resolveSchemas as i, EnvModel as n, resolveSchema as r, define as t };
|