@e-n-v/env 0.0.5 → 0.0.7
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-B7MeMkJC.d.ts} +1 -1
- package/dist/{BooleanMap-B2eIP3tZ.d.cts → BooleanMap-D93UJnv5.d.cts} +1 -1
- package/dist/{EnvModel-D8rt0EJ6.d.ts → EnvModel-BiT0OiDZ.d.ts} +2 -2
- package/dist/{EnvModel-CrGclUpJ.d.cts → EnvModel-I0fWZZ_n.d.cts} +2 -2
- package/dist/{StringEnvVarSchema-B8MT7htU.d.ts → StringEnvVarSchema-BwSGgmeG.d.ts} +5 -3
- package/dist/{StringEnvVarSchema-BF6C0nyT.d.cts → StringEnvVarSchema-DnsZTIS0.d.cts} +5 -3
- package/dist/cli.cjs +3 -3
- package/dist/cli.js +3 -3
- package/dist/core.cjs +1 -1
- package/dist/core.d.cts +4 -4
- package/dist/core.d.ts +4 -4
- package/dist/core.js +1 -1
- package/dist/{index-D8pslhp4.d.cts → index-ClKndmJv.d.ts} +27 -3
- package/dist/{index-Dq_0aeAL.d.ts → index-UQm0jdkG.d.cts} +27 -3
- package/dist/{root.cjs → index.cjs} +10 -10
- package/dist/index.d.cts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +21 -0
- package/dist/{model-Dic8IJsf.d.ts → model-BNDYMM9l.d.ts} +1 -1
- package/dist/{model-ft0WhSSS.d.cts → model-CJMnbGuS.d.cts} +1 -1
- package/dist/model.cjs +2 -2
- package/dist/model.d.cts +4 -4
- package/dist/model.d.ts +4 -4
- package/dist/model.js +2 -2
- package/dist/{parse-BT1QSa5e.d.cts → parse-5fpTbjTr.d.cts} +1 -1
- package/dist/{parse-DwtLpVhC.d.ts → parse-awxwtQ1N.d.ts} +1 -1
- package/dist/parse.cjs +3 -3
- package/dist/parse.d.cts +6 -6
- package/dist/parse.d.ts +6 -6
- package/dist/parse.js +3 -3
- package/dist/{prompt-yKdccbtZ.d.ts → prompt-DG8haZjn.d.ts} +1 -1
- package/dist/{prompt-C5WudV9x.d.cts → prompt-lmZdPaBh.d.cts} +1 -1
- package/dist/prompt.cjs +3 -3
- package/dist/prompt.d.cts +4 -4
- package/dist/prompt.d.ts +4 -4
- package/dist/prompt.js +3 -3
- package/dist/{redis-EcC7TX3K.cjs → redis-Cazgs3_J.cjs} +96 -20
- package/dist/{redis-CJOpRPjc.js → redis-DXhlNtvD.js} +67 -21
- package/dist/{schema-jN4EtvEP.d.ts → schema-CHypJTDK.d.ts} +1 -1
- package/dist/{schema-DH4GiW9A.d.cts → schema-DdDa3Qjy.d.cts} +1 -1
- package/dist/schemas/zod.cjs +118 -67
- package/dist/schemas/zod.d.cts +112 -80
- package/dist/schemas/zod.d.ts +112 -80
- package/dist/schemas/zod.js +55 -26
- package/dist/schemas.cjs +25 -3
- package/dist/schemas.d.cts +3 -3
- package/dist/schemas.d.ts +3 -3
- package/dist/schemas.js +4 -4
- package/dist/{src-CLTURaoo.js → src-B5Qu-M-r.js} +10 -2
- package/dist/{src-BBwjK5SK.js → src-BrNrE0hX.js} +3 -4
- package/dist/{src-Cjo2XA4n.cjs → src-CdqOYilA.cjs} +3 -4
- package/dist/{src-Dtv7TlJx.js → src-DI-VW4dW.js} +29 -10
- package/dist/{src-CVdUqK3q.js → src-DQaQ28lz.js} +4 -1
- package/dist/{src-DZmpNGrQ.cjs → src-DVdOONrX.cjs} +326 -84
- package/dist/{src-meUnCASg.cjs → src-DywfI0fM.cjs} +10 -2
- package/dist/{src-XjL5cyPG.cjs → src-PHSSk-t3.cjs} +4 -1
- package/dist/{src-DWYoqPX1.cjs → src-dO72HN6e.cjs} +31 -10
- package/dist/{src-B7FG1rak.js → src-vBXlFkSP.js} +130 -20
- package/dist/{validate-CyxrRacF.d.ts → validate-8HbVniNt.d.cts} +3 -2
- package/dist/{validate-BxA3a-ns.d.cts → validate-CE8hQ5JG.d.ts} +3 -2
- package/dist/{vars-CYOaskkK.cjs → vars-BHXXBiY1.cjs} +1 -1
- package/dist/{vars-BNVI6k89.d.ts → vars-DF9DoAF4.d.ts} +2 -2
- package/dist/{vars-DOW0LiiN.js → vars-FOuH_HuL.js} +1 -1
- package/dist/{vars-CptZRPX5.d.cts → vars-KUgv2rti.d.cts} +2 -2
- package/dist/vars.cjs +27 -5
- package/dist/vars.d.cts +7 -7
- package/dist/vars.d.ts +7 -7
- package/dist/vars.js +6 -6
- package/package.json +7 -7
- package/dist/root.d.cts +0 -21
- package/dist/root.d.ts +0 -21
- package/dist/root.js +0 -21
|
@@ -4,11 +4,13 @@ var EnvVarSchemaBase = class {
|
|
|
4
4
|
required;
|
|
5
5
|
default;
|
|
6
6
|
description;
|
|
7
|
+
link;
|
|
7
8
|
process;
|
|
8
9
|
constructor(input) {
|
|
9
10
|
this.required = input?.required ?? true;
|
|
10
11
|
this.default = input?.default;
|
|
11
12
|
this.description = input?.description;
|
|
13
|
+
this.link = input?.link;
|
|
12
14
|
this.process = input.process;
|
|
13
15
|
}
|
|
14
16
|
};
|
|
@@ -68,7 +70,12 @@ function string$1(...checks) {
|
|
|
68
70
|
*/
|
|
69
71
|
function number$1(...checks) {
|
|
70
72
|
return (input) => {
|
|
71
|
-
if (typeof input
|
|
73
|
+
if (typeof input === "number") {
|
|
74
|
+
if (isNaN(input)) throw new Error("Value is NaN");
|
|
75
|
+
if (checks.length > 0) return validate(input, checks);
|
|
76
|
+
return input;
|
|
77
|
+
}
|
|
78
|
+
if (typeof input !== "string") throw new Error("Value must be a string or number");
|
|
72
79
|
const trimmed = input.trim();
|
|
73
80
|
if (trimmed === "") return;
|
|
74
81
|
const parsed = parseFloat(trimmed);
|
|
@@ -106,7 +113,8 @@ function boolean$1() {
|
|
|
106
113
|
const trueValues = new Set(TRUE_STRINGS);
|
|
107
114
|
const falseValues = new Set(FALSE_STRINGS);
|
|
108
115
|
return (input) => {
|
|
109
|
-
if (typeof input
|
|
116
|
+
if (typeof input === "boolean") return input;
|
|
117
|
+
if (typeof input !== "string") throw new Error("Value must be a string or boolean");
|
|
110
118
|
const trimmed = input.trim().toLowerCase();
|
|
111
119
|
if (trimmed === "") return;
|
|
112
120
|
if (trueValues.has(trimmed)) return true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_src = require('./src-
|
|
1
|
+
const require_src = require('./src-DywfI0fM.cjs');
|
|
2
2
|
const require_coerce = require('./coerce-b7UVodS9.cjs');
|
|
3
3
|
|
|
4
4
|
//#region ../converters/src/converters/zod/ZodV3Converter.ts
|
|
@@ -119,6 +119,7 @@ function peelV3Schema(schema) {
|
|
|
119
119
|
*/
|
|
120
120
|
function createV3ProcessFunction(schema, type) {
|
|
121
121
|
return (value) => {
|
|
122
|
+
if (typeof value !== "string") throw new Error("Value must be a string");
|
|
122
123
|
try {
|
|
123
124
|
let processSchema = schema;
|
|
124
125
|
if (type === "number") processSchema = require_coerce.number();
|
|
@@ -331,6 +332,7 @@ function peelV4Schema(schema) {
|
|
|
331
332
|
*/
|
|
332
333
|
function createV4ProcessFunction(schema, type, originalSchema) {
|
|
333
334
|
return (value) => {
|
|
335
|
+
if (typeof value !== "string") throw new Error("Value must be a string");
|
|
334
336
|
try {
|
|
335
337
|
let processSchema = schema;
|
|
336
338
|
const def = getV4Def(schema);
|
|
@@ -500,6 +502,7 @@ function resolveJoiEnvVarType(schema) {
|
|
|
500
502
|
*/
|
|
501
503
|
function createJoiProcessFunction(schema, type) {
|
|
502
504
|
return (value) => {
|
|
505
|
+
if (typeof value !== "string") throw new Error("Value must be a string");
|
|
503
506
|
try {
|
|
504
507
|
let processValue = value;
|
|
505
508
|
if (type === "number") {
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-pbleEpgJ.cjs');
|
|
2
2
|
const require_resolveChannel = require('./resolveChannel-CjAuxy3p.cjs');
|
|
3
|
-
const require_src = require('./src-
|
|
4
|
-
const require_src$1 = require('./src-
|
|
3
|
+
const require_src = require('./src-DywfI0fM.cjs');
|
|
4
|
+
const require_src$1 = require('./src-PHSSk-t3.cjs');
|
|
5
5
|
let node_path = require("node:path");
|
|
6
6
|
node_path = require_chunk.__toESM(node_path);
|
|
7
7
|
let node_url = require("node:url");
|
|
8
8
|
node_url = require_chunk.__toESM(node_url);
|
|
9
|
+
let node_os = require("node:os");
|
|
10
|
+
node_os = require_chunk.__toESM(node_os);
|
|
9
11
|
let node_process = require("node:process");
|
|
10
12
|
node_process = require_chunk.__toESM(node_process);
|
|
11
13
|
let __clack_core = require("@clack/core");
|
|
12
14
|
__clack_core = require_chunk.__toESM(__clack_core);
|
|
13
15
|
let picocolors = require("picocolors");
|
|
14
16
|
picocolors = require_chunk.__toESM(picocolors);
|
|
17
|
+
let node_child_process = require("node:child_process");
|
|
18
|
+
node_child_process = require_chunk.__toESM(node_child_process);
|
|
15
19
|
let node_readline = require("node:readline");
|
|
16
20
|
node_readline = require_chunk.__toESM(node_readline);
|
|
17
21
|
|
|
@@ -192,12 +196,14 @@ var Toolbar = class {
|
|
|
192
196
|
_isOpen = false;
|
|
193
197
|
cursor = 0;
|
|
194
198
|
previous;
|
|
199
|
+
link;
|
|
195
200
|
theme;
|
|
196
201
|
actions;
|
|
197
202
|
secret;
|
|
198
203
|
constructor(config) {
|
|
199
204
|
this.previous = config.previous;
|
|
200
205
|
this.secret = config.secret;
|
|
206
|
+
this.link = config.link;
|
|
201
207
|
this.theme = config.theme;
|
|
202
208
|
this.actions = config.actions;
|
|
203
209
|
}
|
|
@@ -294,6 +300,11 @@ var Toolbar = class {
|
|
|
294
300
|
label: this.secret === "shown" ? "Hide" : "Show",
|
|
295
301
|
action: this.actions.toggleSecret
|
|
296
302
|
});
|
|
303
|
+
if (this.link) options.push({
|
|
304
|
+
key: "openLink",
|
|
305
|
+
label: "Open link",
|
|
306
|
+
action: this.actions.openLink
|
|
307
|
+
});
|
|
297
308
|
return options;
|
|
298
309
|
}
|
|
299
310
|
};
|
|
@@ -518,14 +529,14 @@ function processValue(envKey, value, schema, preprocess) {
|
|
|
518
529
|
if (typeof preprocess === "function") return preprocess;
|
|
519
530
|
return require_src.resolvePreprocessor(schema.type);
|
|
520
531
|
})();
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
532
|
+
let processedValue = value;
|
|
533
|
+
if (activePreprocessor) try {
|
|
534
|
+
processedValue = activePreprocessor(value);
|
|
535
|
+
} catch {
|
|
536
|
+
processedValue = value;
|
|
537
|
+
}
|
|
527
538
|
return {
|
|
528
|
-
value: schema.process(
|
|
539
|
+
value: schema.process(processedValue),
|
|
529
540
|
rawValue: value,
|
|
530
541
|
isValid: true
|
|
531
542
|
};
|
|
@@ -614,11 +625,13 @@ var EnvPrompt = class extends ThemedPrompt {
|
|
|
614
625
|
this.toolbar = new Toolbar({
|
|
615
626
|
previous: this.index > 0,
|
|
616
627
|
secret: hasSecret ? this.mode.isSecretRevealed() ? "shown" : "hidden" : false,
|
|
628
|
+
link: this.schema.link,
|
|
617
629
|
theme: this.theme,
|
|
618
630
|
actions: {
|
|
619
631
|
toggleSecret: () => this.handleToggleSecret(),
|
|
620
632
|
skip: () => this.handleSkip(),
|
|
621
|
-
previous: () => this.handlePrevious()
|
|
633
|
+
previous: () => this.handlePrevious(),
|
|
634
|
+
openLink: () => this.handleOpenLink()
|
|
622
635
|
}
|
|
623
636
|
});
|
|
624
637
|
this.on("finalize", () => {
|
|
@@ -758,6 +771,14 @@ var EnvPrompt = class extends ThemedPrompt {
|
|
|
758
771
|
this.value = void 0;
|
|
759
772
|
this.state = "submit";
|
|
760
773
|
}
|
|
774
|
+
handleOpenLink() {
|
|
775
|
+
const link = this.schema.link;
|
|
776
|
+
if (!link) return;
|
|
777
|
+
this.mode.suppressValidation();
|
|
778
|
+
(0, node_child_process.exec)((0, node_os.platform)() === "win32" ? `start "" "${link}"` : (0, node_os.platform)() === "darwin" ? `open "${link}"` : `xdg-open "${link}"`, (error) => {
|
|
779
|
+
if (error) console.error(`Failed to open link: ${link}`);
|
|
780
|
+
});
|
|
781
|
+
}
|
|
761
782
|
consumeSkipValidation() {
|
|
762
783
|
if (this.mode.state.shouldSkipValidation) {
|
|
763
784
|
this.mode.restoreValidation();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __export } from "./chunk-Bp6m_JJh.js";
|
|
2
|
-
import { c as EnumEnvVarSchema, f as boolean, l as BooleanEnvVarSchema, m as string, o as StringEnvVarSchema, p as number, s as NumberEnvVarSchema } from "./src-
|
|
2
|
+
import { c as EnumEnvVarSchema, f as boolean, l as BooleanEnvVarSchema, m as string, o as StringEnvVarSchema, p as number, s as NumberEnvVarSchema } from "./src-B5Qu-M-r.js";
|
|
3
3
|
import { a as url, c as lengthBetween, i as oneOf, l as minLength, n as between, o as pattern, r as integer, s as exactLength, t as custom } from "./custom-Bt_wnxIu.js";
|
|
4
|
-
import { A as
|
|
4
|
+
import { A as descriptions$1, B as traits$4, C as defaults$5, D as traits$5, E as patterns$5, F as defaults$2, I as descriptions$4, L as enumOptions, M as patterns$1, N as traits$1, O as constraints$3, P as constraints$4, S as constraints$6, _ as constraints$5, a as patterns, b as messages, c as defaults$1, d as patterns$2, f as traits$2, g as traits$3, k as defaults$3, l as descriptions$2, m as descriptions$3, n as defaults, o as traits, p as constraints$2, r as descriptions, s as constraints$1, t as constraints, v as defaults$4, w as descriptions$6, x as patterns$4, y as descriptions$5, z as patterns$3 } from "./redis-DXhlNtvD.js";
|
|
5
5
|
|
|
6
6
|
//#region ../schemas/src/plain/api.ts
|
|
7
7
|
const apiKey = (input = {}) => new StringEnvVarSchema({
|
|
@@ -135,58 +135,58 @@ const CORS_ORIGIN = corsOrigin();
|
|
|
135
135
|
//#endregion
|
|
136
136
|
//#region ../schemas/src/plain/database.ts
|
|
137
137
|
const databaseUrl = (input = {}) => new StringEnvVarSchema({
|
|
138
|
-
description: descriptions$
|
|
139
|
-
process: string(pattern(patterns$
|
|
138
|
+
description: descriptions$6.databaseUrl,
|
|
139
|
+
process: string(pattern(patterns$5.genericDatabaseUrl, traits$5.genericDatabaseUrlFormat)),
|
|
140
140
|
secret: true,
|
|
141
141
|
...input
|
|
142
142
|
});
|
|
143
143
|
const databaseHost = (input = {}) => new StringEnvVarSchema({
|
|
144
|
-
description: descriptions$
|
|
144
|
+
description: descriptions$6.databaseHost,
|
|
145
145
|
process: string(minLength(1, traits$5.databaseHostRequired)),
|
|
146
146
|
...input
|
|
147
147
|
});
|
|
148
148
|
const databasePort = (input = {}) => new NumberEnvVarSchema({
|
|
149
|
-
description: descriptions$
|
|
150
|
-
process: number(integer(traits$5.databasePortInt), between(constraints$
|
|
149
|
+
description: descriptions$6.databasePort,
|
|
150
|
+
process: number(integer(traits$5.databasePortInt), between(constraints$6.databasePortMin, constraints$6.databasePortMax)),
|
|
151
151
|
...input
|
|
152
152
|
});
|
|
153
153
|
const databaseName = (input = {}) => new StringEnvVarSchema({
|
|
154
|
-
description: descriptions$
|
|
154
|
+
description: descriptions$6.databaseName,
|
|
155
155
|
process: string(minLength(1, traits$5.databaseNameRequired)),
|
|
156
156
|
...input
|
|
157
157
|
});
|
|
158
158
|
const databaseUsername = (input = {}) => new StringEnvVarSchema({
|
|
159
|
-
description: descriptions$
|
|
159
|
+
description: descriptions$6.databaseUsername,
|
|
160
160
|
process: string(minLength(1, traits$5.databaseUsernameRequired)),
|
|
161
161
|
...input
|
|
162
162
|
});
|
|
163
163
|
const databasePassword = (input = {}) => new StringEnvVarSchema({
|
|
164
|
-
description: descriptions$
|
|
164
|
+
description: descriptions$6.databasePassword,
|
|
165
165
|
process: string(minLength(1, traits$5.databasePasswordRequired)),
|
|
166
166
|
secret: true,
|
|
167
167
|
...input
|
|
168
168
|
});
|
|
169
169
|
const databaseSchema = (input = {}) => new StringEnvVarSchema({
|
|
170
|
-
description: descriptions$
|
|
170
|
+
description: descriptions$6.databaseSchema,
|
|
171
171
|
process: string(),
|
|
172
172
|
required: false,
|
|
173
173
|
...input
|
|
174
174
|
});
|
|
175
175
|
const databasePoolSize = (input = {}) => new NumberEnvVarSchema({
|
|
176
|
-
description: descriptions$
|
|
177
|
-
default: defaults$
|
|
178
|
-
process: number(integer(traits$5.databasePoolSizeInt), between(constraints$
|
|
176
|
+
description: descriptions$6.databasePoolSize,
|
|
177
|
+
default: defaults$5.databasePoolSize,
|
|
178
|
+
process: number(integer(traits$5.databasePoolSizeInt), between(constraints$6.databasePoolSizeMin, constraints$6.databasePoolSizeMax)),
|
|
179
179
|
...input
|
|
180
180
|
});
|
|
181
181
|
const databaseTimeout = (input = {}) => new NumberEnvVarSchema({
|
|
182
|
-
description: descriptions$
|
|
183
|
-
default: defaults$
|
|
184
|
-
process: number(integer(traits$5.databaseTimeoutInt), between(constraints$
|
|
182
|
+
description: descriptions$6.databaseTimeout,
|
|
183
|
+
default: defaults$5.databaseTimeout,
|
|
184
|
+
process: number(integer(traits$5.databaseTimeoutInt), between(constraints$6.databaseTimeoutMin, constraints$6.databaseTimeoutMax)),
|
|
185
185
|
...input
|
|
186
186
|
});
|
|
187
187
|
const databaseSsl = (input = {}) => new BooleanEnvVarSchema({
|
|
188
|
-
description: descriptions$
|
|
189
|
-
default: defaults$
|
|
188
|
+
description: descriptions$6.databaseSsl,
|
|
189
|
+
default: defaults$5.databaseSsl,
|
|
190
190
|
...input
|
|
191
191
|
});
|
|
192
192
|
const DATABASE_URL = databaseUrl();
|
|
@@ -248,6 +248,94 @@ const ELASTICSEARCH_URL = elasticsearchUrl();
|
|
|
248
248
|
const ELASTICSEARCH_USERNAME = elasticsearchUsername();
|
|
249
249
|
const ELASTICSEARCH_PASSWORD = elasticsearchPassword();
|
|
250
250
|
|
|
251
|
+
//#endregion
|
|
252
|
+
//#region ../schemas/src/plain/gel.ts
|
|
253
|
+
const gelDsn = (input = {}) => new StringEnvVarSchema({
|
|
254
|
+
description: descriptions$5.gelDsn,
|
|
255
|
+
process: string(pattern(patterns$4.gelDsn, messages.gelDsnFormat)),
|
|
256
|
+
secret: true,
|
|
257
|
+
...input
|
|
258
|
+
});
|
|
259
|
+
const gelInstance = (input = {}) => new StringEnvVarSchema({
|
|
260
|
+
description: descriptions$5.gelInstance,
|
|
261
|
+
process: string(pattern(patterns$4.gelInstance, messages.gelInstanceFormat)),
|
|
262
|
+
...input
|
|
263
|
+
});
|
|
264
|
+
const gelSecretKey = (input = {}) => new StringEnvVarSchema({
|
|
265
|
+
description: descriptions$5.gelSecretKey,
|
|
266
|
+
process: string(minLength(1, messages.gelSecretKeyRequired)),
|
|
267
|
+
secret: true,
|
|
268
|
+
...input
|
|
269
|
+
});
|
|
270
|
+
const gelHost = (input = {}) => new StringEnvVarSchema({
|
|
271
|
+
description: descriptions$5.gelHost,
|
|
272
|
+
process: string(minLength(1, messages.gelHostRequired)),
|
|
273
|
+
default: "localhost",
|
|
274
|
+
...input
|
|
275
|
+
});
|
|
276
|
+
const gelPort = (input = {}) => new NumberEnvVarSchema({
|
|
277
|
+
description: descriptions$5.gelPort,
|
|
278
|
+
default: defaults$4.gelPort,
|
|
279
|
+
process: number(integer(messages.gelPortInt), between(constraints$5.gelPortMin, constraints$5.gelPortMax)),
|
|
280
|
+
...input
|
|
281
|
+
});
|
|
282
|
+
const gelUser = (input = {}) => new StringEnvVarSchema({
|
|
283
|
+
description: descriptions$5.gelUser,
|
|
284
|
+
process: string(minLength(1, messages.gelUserRequired)),
|
|
285
|
+
default: defaults$4.gelUser,
|
|
286
|
+
...input
|
|
287
|
+
});
|
|
288
|
+
const gelPassword = (input = {}) => new StringEnvVarSchema({
|
|
289
|
+
description: descriptions$5.gelPassword,
|
|
290
|
+
process: string(minLength(1, messages.gelPasswordRequired)),
|
|
291
|
+
secret: true,
|
|
292
|
+
...input
|
|
293
|
+
});
|
|
294
|
+
const gelBranch = (input = {}) => new StringEnvVarSchema({
|
|
295
|
+
description: descriptions$5.gelBranch,
|
|
296
|
+
process: string(pattern(patterns$4.gelBranch, messages.gelBranchFormat)),
|
|
297
|
+
default: defaults$4.gelBranch,
|
|
298
|
+
...input
|
|
299
|
+
});
|
|
300
|
+
const gelTlsCaFile = (input = {}) => new StringEnvVarSchema({
|
|
301
|
+
description: descriptions$5.gelTlsCaFile,
|
|
302
|
+
process: string(minLength(1, messages.gelTlsCaFileFormat)),
|
|
303
|
+
required: false,
|
|
304
|
+
...input
|
|
305
|
+
});
|
|
306
|
+
const gelClientTlsSecurity = (input = {}) => new EnumEnvVarSchema({
|
|
307
|
+
description: descriptions$5.gelClientTlsSecurity,
|
|
308
|
+
values: [
|
|
309
|
+
"strict",
|
|
310
|
+
"no_host_verification",
|
|
311
|
+
"insecure"
|
|
312
|
+
],
|
|
313
|
+
default: defaults$4.gelClientTlsSecurity,
|
|
314
|
+
process: string(oneOf([
|
|
315
|
+
"strict",
|
|
316
|
+
"no_host_verification",
|
|
317
|
+
"insecure"
|
|
318
|
+
])),
|
|
319
|
+
...input
|
|
320
|
+
});
|
|
321
|
+
const gelCredentialsFile = (input = {}) => new StringEnvVarSchema({
|
|
322
|
+
description: descriptions$5.gelCredentialsFile,
|
|
323
|
+
process: string(minLength(1, messages.gelCredentialsFileFormat)),
|
|
324
|
+
required: false,
|
|
325
|
+
...input
|
|
326
|
+
});
|
|
327
|
+
const GEL_DSN = gelDsn();
|
|
328
|
+
const GEL_INSTANCE = gelInstance();
|
|
329
|
+
const GEL_SECRET_KEY = gelSecretKey();
|
|
330
|
+
const GEL_HOST = gelHost();
|
|
331
|
+
const GEL_PORT = gelPort();
|
|
332
|
+
const GEL_USER = gelUser();
|
|
333
|
+
const GEL_PASSWORD = gelPassword();
|
|
334
|
+
const GEL_BRANCH = gelBranch();
|
|
335
|
+
const GEL_TLS_CA_FILE = gelTlsCaFile();
|
|
336
|
+
const GEL_CLIENT_TLS_SECURITY = gelClientTlsSecurity();
|
|
337
|
+
const GEL_CREDENTIALS_FILE = gelCredentialsFile();
|
|
338
|
+
|
|
251
339
|
//#endregion
|
|
252
340
|
//#region ../schemas/src/plain/host.ts
|
|
253
341
|
const host = (input = {}) => new StringEnvVarSchema({
|
|
@@ -536,6 +624,17 @@ var src_exports = /* @__PURE__ */ __export({
|
|
|
536
624
|
ELASTICSEARCH_PASSWORD: () => ELASTICSEARCH_PASSWORD,
|
|
537
625
|
ELASTICSEARCH_URL: () => ELASTICSEARCH_URL,
|
|
538
626
|
ELASTICSEARCH_USERNAME: () => ELASTICSEARCH_USERNAME,
|
|
627
|
+
GEL_BRANCH: () => GEL_BRANCH,
|
|
628
|
+
GEL_CLIENT_TLS_SECURITY: () => GEL_CLIENT_TLS_SECURITY,
|
|
629
|
+
GEL_CREDENTIALS_FILE: () => GEL_CREDENTIALS_FILE,
|
|
630
|
+
GEL_DSN: () => GEL_DSN,
|
|
631
|
+
GEL_HOST: () => GEL_HOST,
|
|
632
|
+
GEL_INSTANCE: () => GEL_INSTANCE,
|
|
633
|
+
GEL_PASSWORD: () => GEL_PASSWORD,
|
|
634
|
+
GEL_PORT: () => GEL_PORT,
|
|
635
|
+
GEL_SECRET_KEY: () => GEL_SECRET_KEY,
|
|
636
|
+
GEL_TLS_CA_FILE: () => GEL_TLS_CA_FILE,
|
|
637
|
+
GEL_USER: () => GEL_USER,
|
|
539
638
|
HOST: () => HOST,
|
|
540
639
|
JAEGER_ENDPOINT: () => JAEGER_ENDPOINT,
|
|
541
640
|
JWT_ACCESS_TOKEN_EXPIRES_IN: () => JWT_ACCESS_TOKEN_EXPIRES_IN,
|
|
@@ -600,6 +699,17 @@ var src_exports = /* @__PURE__ */ __export({
|
|
|
600
699
|
elasticsearchPassword: () => elasticsearchPassword,
|
|
601
700
|
elasticsearchUrl: () => elasticsearchUrl,
|
|
602
701
|
elasticsearchUsername: () => elasticsearchUsername,
|
|
702
|
+
gelBranch: () => gelBranch,
|
|
703
|
+
gelClientTlsSecurity: () => gelClientTlsSecurity,
|
|
704
|
+
gelCredentialsFile: () => gelCredentialsFile,
|
|
705
|
+
gelDsn: () => gelDsn,
|
|
706
|
+
gelHost: () => gelHost,
|
|
707
|
+
gelInstance: () => gelInstance,
|
|
708
|
+
gelPassword: () => gelPassword,
|
|
709
|
+
gelPort: () => gelPort,
|
|
710
|
+
gelSecretKey: () => gelSecretKey,
|
|
711
|
+
gelTlsCaFile: () => gelTlsCaFile,
|
|
712
|
+
gelUser: () => gelUser,
|
|
603
713
|
host: () => host,
|
|
604
714
|
jaegerEndpoint: () => jaegerEndpoint,
|
|
605
715
|
jwtAccessTokenExpiresIn: () => jwtAccessTokenExpiresIn,
|
|
@@ -635,4 +745,4 @@ var src_exports = /* @__PURE__ */ __export({
|
|
|
635
745
|
});
|
|
636
746
|
|
|
637
747
|
//#endregion
|
|
638
|
-
export { logLevel as $,
|
|
748
|
+
export { logLevel as $, DATABASE_TIMEOUT as $t, openaiProjectId as A, AWS_S3_BUCKET_NAME as An, gelPort as At, NODE_ENV as B, API_TIMEOUT as Bn, DOCKER_REGISTRY_PASSWORD as Bt, OPENAI_ORGANIZATION_ID as C, azureEventHubConnectionString as Cn, gelBranch as Ct, openaiBaseUrl as D, azureStorageConnectionString as Dn, gelHost as Dt, openaiApiKey as E, azureStorageAccountName as En, gelDsn as Et, OAUTH_SCOPE as F, awsS3BucketName as Fn, ELASTICSEARCH_URL as Ft, PROMETHEUS_PORT as G, dockerRegistryUsername as Gt, DATADOG_API_KEY as H, apiKey as Hn, DOCKER_REGISTRY_USERNAME as Ht, oauthClientId as I, awsSecretAccessKey as In, ELASTICSEARCH_USERNAME as It, jaegerEndpoint as J, DATABASE_PASSWORD as Jt, SENTRY_DSN as K, DATABASE_HOST as Kt, oauthClientSecret as L, awsSqsQueueUrl as Ln, elasticsearchPassword as Lt, OAUTH_CLIENT_ID as M, AWS_SQS_QUEUE_URL as Mn, gelTlsCaFile as Mt, OAUTH_CLIENT_SECRET as N, awsAccessKeyId as Nn, gelUser as Nt, openaiModel as O, AWS_ACCESS_KEY_ID as On, gelInstance as Ot, OAUTH_REDIRECT_URI as P, awsRegion as Pn, ELASTICSEARCH_PASSWORD as Pt, LOG_LEVEL as Q, DATABASE_SSL as Qt, oauthRedirectUri as R, API_BASE_URL as Rn, elasticsearchUrl as Rt, OPENAI_MODEL as S, AZURE_STORAGE_CONNECTION_STRING as Sn, GEL_USER as St, OPENAI_TIMEOUT as T, azureStorageAccountKey as Tn, gelCredentialsFile as Tt, JAEGER_ENDPOINT as U, apiTimeout as Un, dockerRegistryPassword as Ut, nodeEnv as V, apiBaseUrl as Vn, DOCKER_REGISTRY_URL as Vt, NEW_RELIC_LICENSE_KEY as W, dockerRegistryUrl as Wt, prometheusPort as X, DATABASE_PORT as Xt, newRelicLicenseKey as Y, DATABASE_POOL_SIZE as Yt, sentryDsn as Z, DATABASE_SCHEMA as Zt, redisUsername as _, port as _n, GEL_INSTANCE as _t, REDIS_PORT as a, databasePoolSize as an, JWT_REFRESH_TOKEN_EXPIRES_IN as at, OPENAI_API_KEY as b, AZURE_STORAGE_ACCOUNT_KEY as bn, GEL_SECRET_KEY as bt, REDIS_URL as c, databaseSsl as cn, jwtRefreshTokenExpiresIn as ct, redisHost as d, databaseUsername as dn, host as dt, DATABASE_URL as en, KAFKA_BROKERS as et, redisPassword as f, CORS_ORIGIN as fn, GEL_BRANCH as ft, redisUrl as g, debug as gn, GEL_HOST as gt, redisTlsCaCertPath as h, PORT as hn, GEL_DSN as ht, REDIS_PASSWORD as i, databasePassword as in, JWT_ACCESS_TOKEN_EXPIRES_IN as it, openaiTimeout as j, AWS_SECRET_ACCESS_KEY as jn, gelSecretKey as jt, openaiOrganizationId as k, AWS_REGION as kn, gelPassword as kt, REDIS_USERNAME as l, databaseTimeout as ln, jwtSecret as lt, redisTls as m, DEBUG as mn, GEL_CREDENTIALS_FILE as mt, REDIS_DB as n, databaseHost as nn, kafkaBrokers as nt, REDIS_TLS as o, databasePort as on, JWT_SECRET as ot, redisPort as p, corsOrigin as pn, GEL_CLIENT_TLS_SECURITY as pt, datadogApiKey as q, DATABASE_NAME as qt, REDIS_HOST as r, databaseName as rn, kafkaClientId as rt, REDIS_TLS_CA_CERT_PATH as s, databaseSchema as sn, jwtAccessTokenExpiresIn as st, src_exports as t, DATABASE_USERNAME as tn, KAFKA_CLIENT_ID as tt, redisDb as u, databaseUrl as un, HOST as ut, RABBITMQ_URL as v, AZURE_EVENT_HUB_CONNECTION_STRING as vn, GEL_PASSWORD as vt, OPENAI_PROJECT_ID as w, azureServiceBusConnectionString as wn, gelClientTlsSecurity as wt, OPENAI_BASE_URL as x, AZURE_STORAGE_ACCOUNT_NAME as xn, GEL_TLS_CA_FILE as xt, rabbitmqUrl as y, AZURE_SERVICE_BUS_CONNECTION_STRING as yn, GEL_PORT as yt, oauthScope as z, API_KEY as zn, elasticsearchUsername as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as EnvVarType, f as Processor } from "./StringEnvVarSchema-
|
|
2
|
-
import { n as Preprocessor, t as BooleanMap } from "./BooleanMap-
|
|
1
|
+
import { d as EnvVarType, f as Processor } from "./StringEnvVarSchema-DnsZTIS0.cjs";
|
|
2
|
+
import { n as Preprocessor, t as BooleanMap } from "./BooleanMap-D93UJnv5.cjs";
|
|
3
3
|
|
|
4
4
|
//#region ../core/src/schemas/EnvVarSchemaDetails.d.ts
|
|
5
5
|
interface EnvVarSchemaDetails<T> {
|
|
@@ -7,6 +7,7 @@ interface EnvVarSchemaDetails<T> {
|
|
|
7
7
|
required: boolean;
|
|
8
8
|
default?: T;
|
|
9
9
|
description?: string;
|
|
10
|
+
link?: string;
|
|
10
11
|
process?: Processor<T>;
|
|
11
12
|
}
|
|
12
13
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as EnvVarType, f as Processor } from "./StringEnvVarSchema-
|
|
2
|
-
import { n as Preprocessor, t as BooleanMap } from "./BooleanMap-
|
|
1
|
+
import { d as EnvVarType, f as Processor } from "./StringEnvVarSchema-BwSGgmeG.js";
|
|
2
|
+
import { n as Preprocessor, t as BooleanMap } from "./BooleanMap-B7MeMkJC.js";
|
|
3
3
|
|
|
4
4
|
//#region ../core/src/schemas/EnvVarSchemaDetails.d.ts
|
|
5
5
|
interface EnvVarSchemaDetails<T> {
|
|
@@ -7,6 +7,7 @@ interface EnvVarSchemaDetails<T> {
|
|
|
7
7
|
required: boolean;
|
|
8
8
|
default?: T;
|
|
9
9
|
description?: string;
|
|
10
|
+
link?: string;
|
|
10
11
|
process?: Processor<T>;
|
|
11
12
|
}
|
|
12
13
|
//#endregion
|
package/dist/vars.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
require('./src-
|
|
2
|
+
require('./src-DywfI0fM.cjs');
|
|
3
3
|
require('./custom-D_Rqjm09.cjs');
|
|
4
4
|
require('./coerce-b7UVodS9.cjs');
|
|
5
|
-
require('./src-
|
|
6
|
-
require('./redis-
|
|
7
|
-
const require_src$2 = require('./src-
|
|
8
|
-
const require_vars = require('./vars-
|
|
5
|
+
require('./src-PHSSk-t3.cjs');
|
|
6
|
+
require('./redis-Cazgs3_J.cjs');
|
|
7
|
+
const require_src$2 = require('./src-DVdOONrX.cjs');
|
|
8
|
+
const require_vars = require('./vars-BHXXBiY1.cjs');
|
|
9
9
|
|
|
10
10
|
exports.API_BASE_URL = require_src$2.API_BASE_URL;
|
|
11
11
|
exports.API_KEY = require_src$2.API_KEY;
|
|
@@ -39,6 +39,17 @@ exports.DOCKER_REGISTRY_USERNAME = require_src$2.DOCKER_REGISTRY_USERNAME;
|
|
|
39
39
|
exports.ELASTICSEARCH_PASSWORD = require_src$2.ELASTICSEARCH_PASSWORD;
|
|
40
40
|
exports.ELASTICSEARCH_URL = require_src$2.ELASTICSEARCH_URL;
|
|
41
41
|
exports.ELASTICSEARCH_USERNAME = require_src$2.ELASTICSEARCH_USERNAME;
|
|
42
|
+
exports.GEL_BRANCH = require_src$2.GEL_BRANCH;
|
|
43
|
+
exports.GEL_CLIENT_TLS_SECURITY = require_src$2.GEL_CLIENT_TLS_SECURITY;
|
|
44
|
+
exports.GEL_CREDENTIALS_FILE = require_src$2.GEL_CREDENTIALS_FILE;
|
|
45
|
+
exports.GEL_DSN = require_src$2.GEL_DSN;
|
|
46
|
+
exports.GEL_HOST = require_src$2.GEL_HOST;
|
|
47
|
+
exports.GEL_INSTANCE = require_src$2.GEL_INSTANCE;
|
|
48
|
+
exports.GEL_PASSWORD = require_src$2.GEL_PASSWORD;
|
|
49
|
+
exports.GEL_PORT = require_src$2.GEL_PORT;
|
|
50
|
+
exports.GEL_SECRET_KEY = require_src$2.GEL_SECRET_KEY;
|
|
51
|
+
exports.GEL_TLS_CA_FILE = require_src$2.GEL_TLS_CA_FILE;
|
|
52
|
+
exports.GEL_USER = require_src$2.GEL_USER;
|
|
42
53
|
exports.HOST = require_src$2.HOST;
|
|
43
54
|
exports.JAEGER_ENDPOINT = require_src$2.JAEGER_ENDPOINT;
|
|
44
55
|
exports.JWT_ACCESS_TOKEN_EXPIRES_IN = require_src$2.JWT_ACCESS_TOKEN_EXPIRES_IN;
|
|
@@ -104,6 +115,17 @@ exports.dockerRegistryUsername = require_src$2.dockerRegistryUsername;
|
|
|
104
115
|
exports.elasticsearchPassword = require_src$2.elasticsearchPassword;
|
|
105
116
|
exports.elasticsearchUrl = require_src$2.elasticsearchUrl;
|
|
106
117
|
exports.elasticsearchUsername = require_src$2.elasticsearchUsername;
|
|
118
|
+
exports.gelBranch = require_src$2.gelBranch;
|
|
119
|
+
exports.gelClientTlsSecurity = require_src$2.gelClientTlsSecurity;
|
|
120
|
+
exports.gelCredentialsFile = require_src$2.gelCredentialsFile;
|
|
121
|
+
exports.gelDsn = require_src$2.gelDsn;
|
|
122
|
+
exports.gelHost = require_src$2.gelHost;
|
|
123
|
+
exports.gelInstance = require_src$2.gelInstance;
|
|
124
|
+
exports.gelPassword = require_src$2.gelPassword;
|
|
125
|
+
exports.gelPort = require_src$2.gelPort;
|
|
126
|
+
exports.gelSecretKey = require_src$2.gelSecretKey;
|
|
127
|
+
exports.gelTlsCaFile = require_src$2.gelTlsCaFile;
|
|
128
|
+
exports.gelUser = require_src$2.gelUser;
|
|
107
129
|
exports.host = require_src$2.host;
|
|
108
130
|
exports.jaegerEndpoint = require_src$2.jaegerEndpoint;
|
|
109
131
|
exports.jwtAccessTokenExpiresIn = require_src$2.jwtAccessTokenExpiresIn;
|
package/dist/vars.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StringEnvVarSchema-
|
|
2
|
-
import "./BooleanMap-
|
|
3
|
-
import "./EnvModel-
|
|
4
|
-
import "./model-
|
|
5
|
-
import { $ as logLevel, $t as
|
|
6
|
-
import { t as vars } from "./vars-
|
|
7
|
-
export { API_BASE_URL, API_KEY, API_TIMEOUT, AWS_ACCESS_KEY_ID, AWS_REGION, AWS_S3_BUCKET_NAME, AWS_SECRET_ACCESS_KEY, AWS_SQS_QUEUE_URL, AZURE_EVENT_HUB_CONNECTION_STRING, AZURE_SERVICE_BUS_CONNECTION_STRING, AZURE_STORAGE_ACCOUNT_KEY, AZURE_STORAGE_ACCOUNT_NAME, AZURE_STORAGE_CONNECTION_STRING, CORS_ORIGIN, DATABASE_HOST, DATABASE_NAME, DATABASE_PASSWORD, DATABASE_POOL_SIZE, DATABASE_PORT, DATABASE_SCHEMA, DATABASE_SSL, DATABASE_TIMEOUT, DATABASE_URL, DATABASE_USERNAME, DATADOG_API_KEY, DEBUG, DOCKER_REGISTRY_PASSWORD, DOCKER_REGISTRY_URL, DOCKER_REGISTRY_USERNAME, ELASTICSEARCH_PASSWORD, ELASTICSEARCH_URL, ELASTICSEARCH_USERNAME, HOST, JAEGER_ENDPOINT, JWT_ACCESS_TOKEN_EXPIRES_IN, JWT_REFRESH_TOKEN_EXPIRES_IN, JWT_SECRET, KAFKA_BROKERS, KAFKA_CLIENT_ID, LOG_LEVEL, NEW_RELIC_LICENSE_KEY, NODE_ENV, OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, OAUTH_REDIRECT_URI, OAUTH_SCOPE, OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL, OPENAI_ORGANIZATION_ID, OPENAI_PROJECT_ID, OPENAI_TIMEOUT, PORT, PROMETHEUS_PORT, RABBITMQ_URL, REDIS_DB, REDIS_HOST, REDIS_PASSWORD, REDIS_PORT, REDIS_TLS, REDIS_TLS_CA_CERT_PATH, REDIS_URL, REDIS_USERNAME, SENTRY_DSN, apiBaseUrl, apiKey, apiTimeout, awsAccessKeyId, awsRegion, awsS3BucketName, awsSecretAccessKey, awsSqsQueueUrl, azureEventHubConnectionString, azureServiceBusConnectionString, azureStorageAccountKey, azureStorageAccountName, azureStorageConnectionString, corsOrigin, databaseHost, databaseName, databasePassword, databasePoolSize, databasePort, databaseSchema, databaseSsl, databaseTimeout, databaseUrl, databaseUsername, datadogApiKey, debug, vars as default, dockerRegistryPassword, dockerRegistryUrl, dockerRegistryUsername, elasticsearchPassword, elasticsearchUrl, elasticsearchUsername, host, jaegerEndpoint, jwtAccessTokenExpiresIn, jwtRefreshTokenExpiresIn, jwtSecret, kafkaBrokers, kafkaClientId, logLevel, newRelicLicenseKey, nodeEnv, oauthClientId, oauthClientSecret, oauthRedirectUri, oauthScope, openaiApiKey, openaiBaseUrl, openaiModel, openaiOrganizationId, openaiProjectId, openaiTimeout, port, prometheusPort, rabbitmqUrl, redisDb, redisHost, redisPassword, redisPort, redisTls, redisTlsCaCertPath, redisUrl, redisUsername, sentryDsn };
|
|
1
|
+
import "./StringEnvVarSchema-DnsZTIS0.cjs";
|
|
2
|
+
import "./BooleanMap-D93UJnv5.cjs";
|
|
3
|
+
import "./EnvModel-I0fWZZ_n.cjs";
|
|
4
|
+
import "./model-CJMnbGuS.cjs";
|
|
5
|
+
import { $ as logLevel, $t as DATABASE_TIMEOUT, A as openaiProjectId, An as AWS_S3_BUCKET_NAME, At as gelPort, B as NODE_ENV, Bn as API_TIMEOUT, Bt as DOCKER_REGISTRY_PASSWORD, C as OPENAI_ORGANIZATION_ID, Cn as azureEventHubConnectionString, Ct as gelBranch, D as openaiBaseUrl, Dn as azureStorageConnectionString, Dt as gelHost, E as openaiApiKey, En as azureStorageAccountName, Et as gelDsn, F as OAUTH_SCOPE, Fn as awsS3BucketName, Ft as ELASTICSEARCH_URL, G as PROMETHEUS_PORT, Gt as dockerRegistryUsername, H as DATADOG_API_KEY, Hn as apiKey, Ht as DOCKER_REGISTRY_USERNAME, I as oauthClientId, In as awsSecretAccessKey, It as ELASTICSEARCH_USERNAME, J as jaegerEndpoint, Jt as DATABASE_PASSWORD, K as SENTRY_DSN, Kt as DATABASE_HOST, L as oauthClientSecret, Ln as awsSqsQueueUrl, Lt as elasticsearchPassword, M as OAUTH_CLIENT_ID, Mn as AWS_SQS_QUEUE_URL, Mt as gelTlsCaFile, N as OAUTH_CLIENT_SECRET, Nn as awsAccessKeyId, Nt as gelUser, O as openaiModel, On as AWS_ACCESS_KEY_ID, Ot as gelInstance, P as OAUTH_REDIRECT_URI, Pn as awsRegion, Pt as ELASTICSEARCH_PASSWORD, Q as LOG_LEVEL, Qt as DATABASE_SSL, R as oauthRedirectUri, Rn as API_BASE_URL, Rt as elasticsearchUrl, S as OPENAI_MODEL, Sn as AZURE_STORAGE_CONNECTION_STRING, St as GEL_USER, T as OPENAI_TIMEOUT, Tn as azureStorageAccountKey, Tt as gelCredentialsFile, U as JAEGER_ENDPOINT, Un as apiTimeout, Ut as dockerRegistryPassword, V as nodeEnv, Vn as apiBaseUrl, Vt as DOCKER_REGISTRY_URL, W as NEW_RELIC_LICENSE_KEY, Wt as dockerRegistryUrl, X as prometheusPort, Xt as DATABASE_PORT, Y as newRelicLicenseKey, Yt as DATABASE_POOL_SIZE, Z as sentryDsn, Zt as DATABASE_SCHEMA, _ as redisUsername, _n as port, _t as GEL_INSTANCE, a as REDIS_PORT, an as databasePoolSize, at as JWT_REFRESH_TOKEN_EXPIRES_IN, b as OPENAI_API_KEY, bn as AZURE_STORAGE_ACCOUNT_KEY, bt as GEL_SECRET_KEY, c as REDIS_URL, cn as databaseSsl, ct as jwtRefreshTokenExpiresIn, d as redisHost, dn as databaseUsername, dt as host, en as DATABASE_URL, et as KAFKA_BROKERS, f as redisPassword, fn as CORS_ORIGIN, ft as GEL_BRANCH, g as redisUrl, gn as debug, gt as GEL_HOST, h as redisTlsCaCertPath, hn as PORT, ht as GEL_DSN, i as REDIS_PASSWORD, in as databasePassword, it as JWT_ACCESS_TOKEN_EXPIRES_IN, j as openaiTimeout, jn as AWS_SECRET_ACCESS_KEY, jt as gelSecretKey, k as openaiOrganizationId, kn as AWS_REGION, kt as gelPassword, l as REDIS_USERNAME, ln as databaseTimeout, lt as jwtSecret, m as redisTls, mn as DEBUG, mt as GEL_CREDENTIALS_FILE, n as REDIS_DB, nn as databaseHost, nt as kafkaBrokers, o as REDIS_TLS, on as databasePort, ot as JWT_SECRET, p as redisPort, pn as corsOrigin, pt as GEL_CLIENT_TLS_SECURITY, q as datadogApiKey, qt as DATABASE_NAME, r as REDIS_HOST, rn as databaseName, rt as kafkaClientId, s as REDIS_TLS_CA_CERT_PATH, sn as databaseSchema, st as jwtAccessTokenExpiresIn, tn as DATABASE_USERNAME, tt as KAFKA_CLIENT_ID, u as redisDb, un as databaseUrl, ut as HOST, v as RABBITMQ_URL, vn as AZURE_EVENT_HUB_CONNECTION_STRING, vt as GEL_PASSWORD, w as OPENAI_PROJECT_ID, wn as azureServiceBusConnectionString, wt as gelClientTlsSecurity, x as OPENAI_BASE_URL, xn as AZURE_STORAGE_ACCOUNT_NAME, xt as GEL_TLS_CA_FILE, y as rabbitmqUrl, yn as AZURE_SERVICE_BUS_CONNECTION_STRING, yt as GEL_PORT, z as oauthScope, zn as API_KEY, zt as elasticsearchUsername } from "./index-UQm0jdkG.cjs";
|
|
6
|
+
import { t as vars } from "./vars-KUgv2rti.cjs";
|
|
7
|
+
export { API_BASE_URL, API_KEY, API_TIMEOUT, AWS_ACCESS_KEY_ID, AWS_REGION, AWS_S3_BUCKET_NAME, AWS_SECRET_ACCESS_KEY, AWS_SQS_QUEUE_URL, AZURE_EVENT_HUB_CONNECTION_STRING, AZURE_SERVICE_BUS_CONNECTION_STRING, AZURE_STORAGE_ACCOUNT_KEY, AZURE_STORAGE_ACCOUNT_NAME, AZURE_STORAGE_CONNECTION_STRING, CORS_ORIGIN, DATABASE_HOST, DATABASE_NAME, DATABASE_PASSWORD, DATABASE_POOL_SIZE, DATABASE_PORT, DATABASE_SCHEMA, DATABASE_SSL, DATABASE_TIMEOUT, DATABASE_URL, DATABASE_USERNAME, DATADOG_API_KEY, DEBUG, DOCKER_REGISTRY_PASSWORD, DOCKER_REGISTRY_URL, DOCKER_REGISTRY_USERNAME, ELASTICSEARCH_PASSWORD, ELASTICSEARCH_URL, ELASTICSEARCH_USERNAME, GEL_BRANCH, GEL_CLIENT_TLS_SECURITY, GEL_CREDENTIALS_FILE, GEL_DSN, GEL_HOST, GEL_INSTANCE, GEL_PASSWORD, GEL_PORT, GEL_SECRET_KEY, GEL_TLS_CA_FILE, GEL_USER, HOST, JAEGER_ENDPOINT, JWT_ACCESS_TOKEN_EXPIRES_IN, JWT_REFRESH_TOKEN_EXPIRES_IN, JWT_SECRET, KAFKA_BROKERS, KAFKA_CLIENT_ID, LOG_LEVEL, NEW_RELIC_LICENSE_KEY, NODE_ENV, OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, OAUTH_REDIRECT_URI, OAUTH_SCOPE, OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL, OPENAI_ORGANIZATION_ID, OPENAI_PROJECT_ID, OPENAI_TIMEOUT, PORT, PROMETHEUS_PORT, RABBITMQ_URL, REDIS_DB, REDIS_HOST, REDIS_PASSWORD, REDIS_PORT, REDIS_TLS, REDIS_TLS_CA_CERT_PATH, REDIS_URL, REDIS_USERNAME, SENTRY_DSN, apiBaseUrl, apiKey, apiTimeout, awsAccessKeyId, awsRegion, awsS3BucketName, awsSecretAccessKey, awsSqsQueueUrl, azureEventHubConnectionString, azureServiceBusConnectionString, azureStorageAccountKey, azureStorageAccountName, azureStorageConnectionString, corsOrigin, databaseHost, databaseName, databasePassword, databasePoolSize, databasePort, databaseSchema, databaseSsl, databaseTimeout, databaseUrl, databaseUsername, datadogApiKey, debug, vars as default, dockerRegistryPassword, dockerRegistryUrl, dockerRegistryUsername, elasticsearchPassword, elasticsearchUrl, elasticsearchUsername, gelBranch, gelClientTlsSecurity, gelCredentialsFile, gelDsn, gelHost, gelInstance, gelPassword, gelPort, gelSecretKey, gelTlsCaFile, gelUser, host, jaegerEndpoint, jwtAccessTokenExpiresIn, jwtRefreshTokenExpiresIn, jwtSecret, kafkaBrokers, kafkaClientId, logLevel, newRelicLicenseKey, nodeEnv, oauthClientId, oauthClientSecret, oauthRedirectUri, oauthScope, openaiApiKey, openaiBaseUrl, openaiModel, openaiOrganizationId, openaiProjectId, openaiTimeout, port, prometheusPort, rabbitmqUrl, redisDb, redisHost, redisPassword, redisPort, redisTls, redisTlsCaCertPath, redisUrl, redisUsername, sentryDsn };
|
package/dist/vars.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./StringEnvVarSchema-
|
|
2
|
-
import "./BooleanMap-
|
|
3
|
-
import "./EnvModel-
|
|
4
|
-
import "./model-
|
|
5
|
-
import { $ as logLevel, $t as
|
|
6
|
-
import { t as vars } from "./vars-
|
|
7
|
-
export { API_BASE_URL, API_KEY, API_TIMEOUT, AWS_ACCESS_KEY_ID, AWS_REGION, AWS_S3_BUCKET_NAME, AWS_SECRET_ACCESS_KEY, AWS_SQS_QUEUE_URL, AZURE_EVENT_HUB_CONNECTION_STRING, AZURE_SERVICE_BUS_CONNECTION_STRING, AZURE_STORAGE_ACCOUNT_KEY, AZURE_STORAGE_ACCOUNT_NAME, AZURE_STORAGE_CONNECTION_STRING, CORS_ORIGIN, DATABASE_HOST, DATABASE_NAME, DATABASE_PASSWORD, DATABASE_POOL_SIZE, DATABASE_PORT, DATABASE_SCHEMA, DATABASE_SSL, DATABASE_TIMEOUT, DATABASE_URL, DATABASE_USERNAME, DATADOG_API_KEY, DEBUG, DOCKER_REGISTRY_PASSWORD, DOCKER_REGISTRY_URL, DOCKER_REGISTRY_USERNAME, ELASTICSEARCH_PASSWORD, ELASTICSEARCH_URL, ELASTICSEARCH_USERNAME, HOST, JAEGER_ENDPOINT, JWT_ACCESS_TOKEN_EXPIRES_IN, JWT_REFRESH_TOKEN_EXPIRES_IN, JWT_SECRET, KAFKA_BROKERS, KAFKA_CLIENT_ID, LOG_LEVEL, NEW_RELIC_LICENSE_KEY, NODE_ENV, OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, OAUTH_REDIRECT_URI, OAUTH_SCOPE, OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL, OPENAI_ORGANIZATION_ID, OPENAI_PROJECT_ID, OPENAI_TIMEOUT, PORT, PROMETHEUS_PORT, RABBITMQ_URL, REDIS_DB, REDIS_HOST, REDIS_PASSWORD, REDIS_PORT, REDIS_TLS, REDIS_TLS_CA_CERT_PATH, REDIS_URL, REDIS_USERNAME, SENTRY_DSN, apiBaseUrl, apiKey, apiTimeout, awsAccessKeyId, awsRegion, awsS3BucketName, awsSecretAccessKey, awsSqsQueueUrl, azureEventHubConnectionString, azureServiceBusConnectionString, azureStorageAccountKey, azureStorageAccountName, azureStorageConnectionString, corsOrigin, databaseHost, databaseName, databasePassword, databasePoolSize, databasePort, databaseSchema, databaseSsl, databaseTimeout, databaseUrl, databaseUsername, datadogApiKey, debug, vars as default, dockerRegistryPassword, dockerRegistryUrl, dockerRegistryUsername, elasticsearchPassword, elasticsearchUrl, elasticsearchUsername, host, jaegerEndpoint, jwtAccessTokenExpiresIn, jwtRefreshTokenExpiresIn, jwtSecret, kafkaBrokers, kafkaClientId, logLevel, newRelicLicenseKey, nodeEnv, oauthClientId, oauthClientSecret, oauthRedirectUri, oauthScope, openaiApiKey, openaiBaseUrl, openaiModel, openaiOrganizationId, openaiProjectId, openaiTimeout, port, prometheusPort, rabbitmqUrl, redisDb, redisHost, redisPassword, redisPort, redisTls, redisTlsCaCertPath, redisUrl, redisUsername, sentryDsn };
|
|
1
|
+
import "./StringEnvVarSchema-BwSGgmeG.js";
|
|
2
|
+
import "./BooleanMap-B7MeMkJC.js";
|
|
3
|
+
import "./EnvModel-BiT0OiDZ.js";
|
|
4
|
+
import "./model-BNDYMM9l.js";
|
|
5
|
+
import { $ as logLevel, $t as DATABASE_TIMEOUT, A as openaiProjectId, An as AWS_S3_BUCKET_NAME, At as gelPort, B as NODE_ENV, Bn as API_TIMEOUT, Bt as DOCKER_REGISTRY_PASSWORD, C as OPENAI_ORGANIZATION_ID, Cn as azureEventHubConnectionString, Ct as gelBranch, D as openaiBaseUrl, Dn as azureStorageConnectionString, Dt as gelHost, E as openaiApiKey, En as azureStorageAccountName, Et as gelDsn, F as OAUTH_SCOPE, Fn as awsS3BucketName, Ft as ELASTICSEARCH_URL, G as PROMETHEUS_PORT, Gt as dockerRegistryUsername, H as DATADOG_API_KEY, Hn as apiKey, Ht as DOCKER_REGISTRY_USERNAME, I as oauthClientId, In as awsSecretAccessKey, It as ELASTICSEARCH_USERNAME, J as jaegerEndpoint, Jt as DATABASE_PASSWORD, K as SENTRY_DSN, Kt as DATABASE_HOST, L as oauthClientSecret, Ln as awsSqsQueueUrl, Lt as elasticsearchPassword, M as OAUTH_CLIENT_ID, Mn as AWS_SQS_QUEUE_URL, Mt as gelTlsCaFile, N as OAUTH_CLIENT_SECRET, Nn as awsAccessKeyId, Nt as gelUser, O as openaiModel, On as AWS_ACCESS_KEY_ID, Ot as gelInstance, P as OAUTH_REDIRECT_URI, Pn as awsRegion, Pt as ELASTICSEARCH_PASSWORD, Q as LOG_LEVEL, Qt as DATABASE_SSL, R as oauthRedirectUri, Rn as API_BASE_URL, Rt as elasticsearchUrl, S as OPENAI_MODEL, Sn as AZURE_STORAGE_CONNECTION_STRING, St as GEL_USER, T as OPENAI_TIMEOUT, Tn as azureStorageAccountKey, Tt as gelCredentialsFile, U as JAEGER_ENDPOINT, Un as apiTimeout, Ut as dockerRegistryPassword, V as nodeEnv, Vn as apiBaseUrl, Vt as DOCKER_REGISTRY_URL, W as NEW_RELIC_LICENSE_KEY, Wt as dockerRegistryUrl, X as prometheusPort, Xt as DATABASE_PORT, Y as newRelicLicenseKey, Yt as DATABASE_POOL_SIZE, Z as sentryDsn, Zt as DATABASE_SCHEMA, _ as redisUsername, _n as port, _t as GEL_INSTANCE, a as REDIS_PORT, an as databasePoolSize, at as JWT_REFRESH_TOKEN_EXPIRES_IN, b as OPENAI_API_KEY, bn as AZURE_STORAGE_ACCOUNT_KEY, bt as GEL_SECRET_KEY, c as REDIS_URL, cn as databaseSsl, ct as jwtRefreshTokenExpiresIn, d as redisHost, dn as databaseUsername, dt as host, en as DATABASE_URL, et as KAFKA_BROKERS, f as redisPassword, fn as CORS_ORIGIN, ft as GEL_BRANCH, g as redisUrl, gn as debug, gt as GEL_HOST, h as redisTlsCaCertPath, hn as PORT, ht as GEL_DSN, i as REDIS_PASSWORD, in as databasePassword, it as JWT_ACCESS_TOKEN_EXPIRES_IN, j as openaiTimeout, jn as AWS_SECRET_ACCESS_KEY, jt as gelSecretKey, k as openaiOrganizationId, kn as AWS_REGION, kt as gelPassword, l as REDIS_USERNAME, ln as databaseTimeout, lt as jwtSecret, m as redisTls, mn as DEBUG, mt as GEL_CREDENTIALS_FILE, n as REDIS_DB, nn as databaseHost, nt as kafkaBrokers, o as REDIS_TLS, on as databasePort, ot as JWT_SECRET, p as redisPort, pn as corsOrigin, pt as GEL_CLIENT_TLS_SECURITY, q as datadogApiKey, qt as DATABASE_NAME, r as REDIS_HOST, rn as databaseName, rt as kafkaClientId, s as REDIS_TLS_CA_CERT_PATH, sn as databaseSchema, st as jwtAccessTokenExpiresIn, tn as DATABASE_USERNAME, tt as KAFKA_CLIENT_ID, u as redisDb, un as databaseUrl, ut as HOST, v as RABBITMQ_URL, vn as AZURE_EVENT_HUB_CONNECTION_STRING, vt as GEL_PASSWORD, w as OPENAI_PROJECT_ID, wn as azureServiceBusConnectionString, wt as gelClientTlsSecurity, x as OPENAI_BASE_URL, xn as AZURE_STORAGE_ACCOUNT_NAME, xt as GEL_TLS_CA_FILE, y as rabbitmqUrl, yn as AZURE_SERVICE_BUS_CONNECTION_STRING, yt as GEL_PORT, z as oauthScope, zn as API_KEY, zt as elasticsearchUsername } from "./index-ClKndmJv.js";
|
|
6
|
+
import { t as vars } from "./vars-DF9DoAF4.js";
|
|
7
|
+
export { API_BASE_URL, API_KEY, API_TIMEOUT, AWS_ACCESS_KEY_ID, AWS_REGION, AWS_S3_BUCKET_NAME, AWS_SECRET_ACCESS_KEY, AWS_SQS_QUEUE_URL, AZURE_EVENT_HUB_CONNECTION_STRING, AZURE_SERVICE_BUS_CONNECTION_STRING, AZURE_STORAGE_ACCOUNT_KEY, AZURE_STORAGE_ACCOUNT_NAME, AZURE_STORAGE_CONNECTION_STRING, CORS_ORIGIN, DATABASE_HOST, DATABASE_NAME, DATABASE_PASSWORD, DATABASE_POOL_SIZE, DATABASE_PORT, DATABASE_SCHEMA, DATABASE_SSL, DATABASE_TIMEOUT, DATABASE_URL, DATABASE_USERNAME, DATADOG_API_KEY, DEBUG, DOCKER_REGISTRY_PASSWORD, DOCKER_REGISTRY_URL, DOCKER_REGISTRY_USERNAME, ELASTICSEARCH_PASSWORD, ELASTICSEARCH_URL, ELASTICSEARCH_USERNAME, GEL_BRANCH, GEL_CLIENT_TLS_SECURITY, GEL_CREDENTIALS_FILE, GEL_DSN, GEL_HOST, GEL_INSTANCE, GEL_PASSWORD, GEL_PORT, GEL_SECRET_KEY, GEL_TLS_CA_FILE, GEL_USER, HOST, JAEGER_ENDPOINT, JWT_ACCESS_TOKEN_EXPIRES_IN, JWT_REFRESH_TOKEN_EXPIRES_IN, JWT_SECRET, KAFKA_BROKERS, KAFKA_CLIENT_ID, LOG_LEVEL, NEW_RELIC_LICENSE_KEY, NODE_ENV, OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, OAUTH_REDIRECT_URI, OAUTH_SCOPE, OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL, OPENAI_ORGANIZATION_ID, OPENAI_PROJECT_ID, OPENAI_TIMEOUT, PORT, PROMETHEUS_PORT, RABBITMQ_URL, REDIS_DB, REDIS_HOST, REDIS_PASSWORD, REDIS_PORT, REDIS_TLS, REDIS_TLS_CA_CERT_PATH, REDIS_URL, REDIS_USERNAME, SENTRY_DSN, apiBaseUrl, apiKey, apiTimeout, awsAccessKeyId, awsRegion, awsS3BucketName, awsSecretAccessKey, awsSqsQueueUrl, azureEventHubConnectionString, azureServiceBusConnectionString, azureStorageAccountKey, azureStorageAccountName, azureStorageConnectionString, corsOrigin, databaseHost, databaseName, databasePassword, databasePoolSize, databasePort, databaseSchema, databaseSsl, databaseTimeout, databaseUrl, databaseUsername, datadogApiKey, debug, vars as default, dockerRegistryPassword, dockerRegistryUrl, dockerRegistryUsername, elasticsearchPassword, elasticsearchUrl, elasticsearchUsername, gelBranch, gelClientTlsSecurity, gelCredentialsFile, gelDsn, gelHost, gelInstance, gelPassword, gelPort, gelSecretKey, gelTlsCaFile, gelUser, host, jaegerEndpoint, jwtAccessTokenExpiresIn, jwtRefreshTokenExpiresIn, jwtSecret, kafkaBrokers, kafkaClientId, logLevel, newRelicLicenseKey, nodeEnv, oauthClientId, oauthClientSecret, oauthRedirectUri, oauthScope, openaiApiKey, openaiBaseUrl, openaiModel, openaiOrganizationId, openaiProjectId, openaiTimeout, port, prometheusPort, rabbitmqUrl, redisDb, redisHost, redisPassword, redisPort, redisTls, redisTlsCaCertPath, redisUrl, redisUsername, sentryDsn };
|