@e-n-v/env 0.0.11 → 0.0.13
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-BPQuO3Ae.d.ts → BooleanMap-B7iiI-eg.d.ts} +1 -7
- package/dist/{BooleanMap-CX_YrPCf.d.cts → BooleanMap-D74MMuAh.d.cts} +1 -7
- package/dist/{EnvChannel-CfSwa_25.d.cts → EnvChannel-gV-4XlM8.d.cts} +0 -2
- package/dist/{EnvChannel-CfSwa_25.d.ts → EnvChannel-gV-4XlM8.d.ts} +0 -2
- package/dist/{EnvChannelOptions-D2-3p4b_.d.cts → EnvChannelOptions-BxsZpwjq.d.cts} +4 -20
- package/dist/{EnvChannelOptions-D2-3p4b_.d.ts → EnvChannelOptions-BxsZpwjq.d.ts} +4 -20
- package/dist/{EnvSource-s8F_M_6O.cjs → EnvSource-B_7XBrZM.cjs} +4 -8
- package/dist/{EnvSource-WAGWqRVM.js → EnvSource-DL1wl3j4.js} +4 -8
- package/dist/{EnvVarSchema-CDZGmnex.cjs → EnvVarSchema-D_fQ2A89.cjs} +2 -3
- package/dist/{EnvVarSchema-Dr6q7jf6.js → EnvVarSchema-Dd3ZrR30.js} +2 -3
- package/dist/{ProcessEnvChannel-CvdASj6O.d.ts → ProcessEnvChannel-BN4U3VXU.d.cts} +2 -10
- package/dist/{ProcessEnvChannel-By7mCljr.d.cts → ProcessEnvChannel-Df1v0WyG.d.ts} +2 -10
- package/dist/{StringEnvVarSchema-D9Jr1Aws.d.cts → StringEnvVarSchema-CymYIek7.d.cts} +0 -16
- package/dist/{StringEnvVarSchema-D9Jr1Aws.d.ts → StringEnvVarSchema-CymYIek7.d.ts} +0 -16
- package/dist/channels.cjs +1 -1
- package/dist/channels.d.cts +3 -5
- package/dist/channels.d.ts +3 -5
- package/dist/channels.js +1 -1
- package/dist/cli.cjs +8 -10
- package/dist/cli.js +4 -6
- package/dist/core.cjs +7 -10
- package/dist/core.d.cts +5 -39
- package/dist/core.d.ts +5 -39
- package/dist/core.js +7 -10
- package/dist/{custom-Bd-jLg80.js → custom-BRT8y9Jj.js} +9 -18
- package/dist/{custom-Dyb9TnER.cjs → custom-_p4QyQTG.cjs} +9 -18
- package/dist/files.cjs +3 -5
- package/dist/files.d.cts +0 -10
- package/dist/files.d.ts +0 -10
- package/dist/files.js +3 -5
- package/dist/{index-B0GSc17M.d.ts → index-B-GXzdUQ.d.ts} +3 -9
- package/dist/{index-Cb0abjLf.d.ts → index-BwID8Va2.d.ts} +2 -14
- package/dist/{index-BHTM8nxS.d.ts → index-C7wTQSSV.d.cts} +1 -5
- package/dist/{index-bqDK7Ycd.d.cts → index-CgeWhoQX.d.cts} +3 -9
- package/dist/{index-B2eNij2x.d.cts → index-ClGSiwuc.d.ts} +1 -5
- package/dist/{index-Cz3frUwZ.d.cts → index-D8rUvOZ5.d.cts} +2 -14
- package/dist/index.cjs +15 -16
- package/dist/index.d.cts +7 -10
- package/dist/index.d.ts +7 -10
- package/dist/index.js +7 -8
- package/dist/model.cjs +2 -3
- package/dist/model.d.cts +1 -1
- package/dist/model.d.ts +1 -1
- package/dist/model.js +2 -3
- package/dist/parse.cjs +4 -5
- package/dist/parse.d.cts +4 -6
- package/dist/parse.d.ts +4 -6
- package/dist/parse.js +4 -5
- package/dist/{preprocessors-DFVyF0c7.d.cts → preprocessors-BRPHeq3e.d.cts} +2 -24
- package/dist/{preprocessors-BKuIcZa1.d.ts → preprocessors-BUAo8e4Q.d.ts} +2 -24
- package/dist/prompt.cjs +3 -4
- package/dist/prompt.d.cts +10 -5
- package/dist/prompt.d.ts +4 -5
- package/dist/prompt.js +3 -4
- package/dist/{redis-D18f4ztf.js → redis-B-sECHB8.js} +9 -18
- package/dist/{redis-tRD4nAy_.d.ts → redis-BSCXEwN0.d.cts} +1 -39
- package/dist/{redis-CyTF0SYT.cjs → redis-CyJB1Nt0.cjs} +9 -18
- package/dist/{redis-DsW-Vkwq.d.cts → redis-n80OfSRZ.d.ts} +1 -39
- package/dist/{resolveChannel-DB1XyYCC.js → resolveChannel-CkQhgsxw.js} +6 -11
- package/dist/{resolveChannel-Cug62jvj.cjs → resolveChannel-EJwecI0-.cjs} +6 -11
- package/dist/{rolldown-runtime-C0BPl7ul.cjs → rolldown-runtime-BW-eSwOZ.cjs} +1 -2
- package/dist/{rolldown-runtime-D7D4PA-g.js → rolldown-runtime-D8jQpDG7.js} +1 -2
- package/dist/{schema-CtP5lpU1.js → schema-BTv2xFHz.js} +2 -3
- package/dist/{schema-D9nJKipf.cjs → schema-CKx-cny7.cjs} +2 -3
- package/dist/{schema-B-JLVS42.d.ts → schema-ChcxJMuu.d.ts} +1 -3
- package/dist/{schema-B1i83alz.d.cts → schema-DBTZcufP.d.cts} +1 -3
- package/dist/schemas/zod.cjs +30 -59
- package/dist/schemas/zod.d.cts +0 -56
- package/dist/schemas/zod.d.ts +0 -56
- package/dist/schemas/zod.js +30 -59
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.cts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +1 -1
- package/dist/{src-DB0Har0j.cjs → src-B5LvPydi.cjs} +24 -44
- package/dist/{src-DgHZi7PD.js → src-BAkjmW8v.js} +10 -18
- package/dist/{src-DvUBRBe3.js → src-BLZdiWZJ.js} +24 -44
- package/dist/{src-CJ_QE-uc.cjs → src-B_wC-Ff0.cjs} +4 -6
- package/dist/{src-TZx_e95f.cjs → src-BgwAyw-w.cjs} +20 -40
- package/dist/{src-CtWcViFD.cjs → src-C57GsLLI.cjs} +11 -19
- package/dist/{src-DefPAYdi.cjs → src-CILRt8pX.cjs} +33 -56
- package/dist/{src-BK5HcxMN.js → src-CkblS8lK.js} +27 -50
- package/dist/{src-BPxfJblL.js → src-DCLHRLpS.js} +4 -6
- package/dist/{src-Cg49gGJb.js → src-DtejQU3A.js} +20 -40
- package/dist/{vars-obKYxaSu.d.ts → vars-BLXbjxcm.d.cts} +1 -3
- package/dist/{vars-DtzGL5Nc.d.cts → vars-XT7wuxpb.d.ts} +1 -3
- package/dist/vars.cjs +3 -4
- package/dist/vars.d.cts +2 -2
- package/dist/vars.d.ts +2 -2
- package/dist/vars.js +3 -4
- package/package.json +1 -1
- package/dist/prompt-Rbr8DN-r.d.cts +0 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_rolldown_runtime = require("./rolldown-runtime-
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_custom = require("./custom-
|
|
4
|
-
const require_redis = require("./redis-
|
|
5
|
-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-BW-eSwOZ.cjs");
|
|
2
|
+
const require_src = require("./src-BgwAyw-w.cjs");
|
|
3
|
+
const require_custom = require("./custom-_p4QyQTG.cjs");
|
|
4
|
+
const require_redis = require("./redis-CyJB1Nt0.cjs");
|
|
5
|
+
// ../schemas/src/plain/api.ts
|
|
6
6
|
const apiKey = (input = {}) => new require_src.StringEnvVarSchema({
|
|
7
7
|
description: require_redis.descriptions$6.apiKey,
|
|
8
8
|
process: require_src.string(require_custom.minLength(require_redis.constraints$6.apiKeyMinLength, require_redis.traits$5.apiKeyMin)),
|
|
@@ -22,8 +22,7 @@ const apiTimeout = (input = {}) => new require_src.NumberEnvVarSchema({
|
|
|
22
22
|
const API_KEY = apiKey();
|
|
23
23
|
const API_BASE_URL = apiBaseUrl();
|
|
24
24
|
const API_TIMEOUT = apiTimeout();
|
|
25
|
-
|
|
26
|
-
//#region ../schemas/src/plain/aws.ts
|
|
25
|
+
// ../schemas/src/plain/aws.ts
|
|
27
26
|
const awsAccessKeyId = (input = {}) => new require_src.StringEnvVarSchema({
|
|
28
27
|
description: require_redis.descriptions$5.awsAccessKeyId,
|
|
29
28
|
process: require_src.string(require_custom.lengthBetween(require_redis.constraints$5.awsAccessKeyIdMin, require_redis.constraints$5.awsAccessKeyIdMax)),
|
|
@@ -56,8 +55,7 @@ const AWS_SECRET_ACCESS_KEY = awsSecretAccessKey();
|
|
|
56
55
|
const AWS_REGION = awsRegion();
|
|
57
56
|
const AWS_S3_BUCKET_NAME = awsS3BucketName();
|
|
58
57
|
const AWS_SQS_QUEUE_URL = awsSqsQueueUrl();
|
|
59
|
-
|
|
60
|
-
//#region ../schemas/src/plain/azure.ts
|
|
58
|
+
// ../schemas/src/plain/azure.ts
|
|
61
59
|
const azureStorageConnectionString = (input = {}) => new require_src.StringEnvVarSchema({
|
|
62
60
|
description: require_redis.descriptions$5.azureStorageConnectionString,
|
|
63
61
|
process: require_src.string(require_custom.pattern(require_redis.patterns$4.azureStorageConnectionString, require_redis.traits$4.azureStorageConnectionStringFormat)),
|
|
@@ -92,8 +90,7 @@ const AZURE_STORAGE_ACCOUNT_NAME = azureStorageAccountName();
|
|
|
92
90
|
const AZURE_STORAGE_ACCOUNT_KEY = azureStorageAccountKey();
|
|
93
91
|
const AZURE_SERVICE_BUS_CONNECTION_STRING = azureServiceBusConnectionString();
|
|
94
92
|
const AZURE_EVENT_HUB_CONNECTION_STRING = azureEventHubConnectionString();
|
|
95
|
-
|
|
96
|
-
//#region ../schemas/src/plain/common.ts
|
|
93
|
+
// ../schemas/src/plain/common.ts
|
|
97
94
|
const port = (input = {}) => new require_src.NumberEnvVarSchema({
|
|
98
95
|
description: require_redis.descriptions$6.port,
|
|
99
96
|
default: require_redis.defaults$5.port,
|
|
@@ -108,8 +105,7 @@ const debug = (input = {}) => new require_src.BooleanEnvVarSchema({
|
|
|
108
105
|
...input
|
|
109
106
|
});
|
|
110
107
|
const DEBUG = debug();
|
|
111
|
-
|
|
112
|
-
//#region ../schemas/src/plain/cors.ts
|
|
108
|
+
// ../schemas/src/plain/cors.ts
|
|
113
109
|
const corsOrigin = (input = {}) => new require_src.StringEnvVarSchema({
|
|
114
110
|
description: require_redis.descriptions$6.corsOrigin,
|
|
115
111
|
process: require_src.string(require_custom.custom((val) => {
|
|
@@ -126,8 +122,7 @@ const corsOrigin = (input = {}) => new require_src.StringEnvVarSchema({
|
|
|
126
122
|
...input
|
|
127
123
|
});
|
|
128
124
|
const CORS_ORIGIN = corsOrigin();
|
|
129
|
-
|
|
130
|
-
//#region ../schemas/src/plain/database.ts
|
|
125
|
+
// ../schemas/src/plain/database.ts
|
|
131
126
|
const databaseUrl = (input = {}) => new require_src.StringEnvVarSchema({
|
|
132
127
|
description: require_redis.descriptions$4.databaseUrl,
|
|
133
128
|
process: require_src.string(require_custom.pattern(require_redis.patterns$3.genericDatabaseUrl, require_redis.traits$3.genericDatabaseUrlFormat)),
|
|
@@ -193,8 +188,7 @@ const DATABASE_SCHEMA = databaseSchema();
|
|
|
193
188
|
const DATABASE_POOL_SIZE = databasePoolSize();
|
|
194
189
|
const DATABASE_TIMEOUT = databaseTimeout();
|
|
195
190
|
const DATABASE_SSL = databaseSsl();
|
|
196
|
-
|
|
197
|
-
//#region ../schemas/src/plain/docker.ts
|
|
191
|
+
// ../schemas/src/plain/docker.ts
|
|
198
192
|
const dockerRegistryUrl = (input = {}) => new require_src.StringEnvVarSchema({
|
|
199
193
|
description: require_redis.descriptions$5.dockerRegistryUrl,
|
|
200
194
|
process: require_src.string(require_custom.url(require_redis.traits$4.dockerRegistryUrlFormat)),
|
|
@@ -216,8 +210,7 @@ const dockerRegistryPassword = (input = {}) => new require_src.StringEnvVarSchem
|
|
|
216
210
|
const DOCKER_REGISTRY_URL = dockerRegistryUrl();
|
|
217
211
|
const DOCKER_REGISTRY_USERNAME = dockerRegistryUsername();
|
|
218
212
|
const DOCKER_REGISTRY_PASSWORD = dockerRegistryPassword();
|
|
219
|
-
|
|
220
|
-
//#region ../schemas/src/plain/elasticsearch.ts
|
|
213
|
+
// ../schemas/src/plain/elasticsearch.ts
|
|
221
214
|
const elasticsearchUrl = (input = {}) => new require_src.StringEnvVarSchema({
|
|
222
215
|
description: require_redis.descriptions$5.elasticsearchUrl,
|
|
223
216
|
process: require_src.string(require_custom.url(require_redis.traits$4.elasticsearchUrlFormat), require_custom.pattern(require_redis.patterns$5.httpProtocol, require_redis.traits$4.elasticsearchUrlProtocol)),
|
|
@@ -239,8 +232,7 @@ const elasticsearchPassword = (input = {}) => new require_src.StringEnvVarSchema
|
|
|
239
232
|
const ELASTICSEARCH_URL = elasticsearchUrl();
|
|
240
233
|
const ELASTICSEARCH_USERNAME = elasticsearchUsername();
|
|
241
234
|
const ELASTICSEARCH_PASSWORD = elasticsearchPassword();
|
|
242
|
-
|
|
243
|
-
//#region ../schemas/src/plain/gel.ts
|
|
235
|
+
// ../schemas/src/plain/gel.ts
|
|
244
236
|
const gelDsn = (input = {}) => new require_src.StringEnvVarSchema({
|
|
245
237
|
description: require_redis.descriptions$3.gelDsn,
|
|
246
238
|
process: require_src.string(require_custom.pattern(require_redis.patterns$2.gelDsn, require_redis.messages$3.gelDsnFormat)),
|
|
@@ -326,8 +318,7 @@ const GEL_BRANCH = gelBranch();
|
|
|
326
318
|
const GEL_TLS_CA_FILE = gelTlsCaFile();
|
|
327
319
|
const GEL_CLIENT_TLS_SECURITY = gelClientTlsSecurity();
|
|
328
320
|
const GEL_CREDENTIALS_FILE = gelCredentialsFile();
|
|
329
|
-
|
|
330
|
-
//#region ../schemas/src/plain/host.ts
|
|
321
|
+
// ../schemas/src/plain/host.ts
|
|
331
322
|
const host = (input = {}) => new require_src.StringEnvVarSchema({
|
|
332
323
|
description: require_redis.descriptions$6.host,
|
|
333
324
|
default: require_redis.defaults$5.host,
|
|
@@ -335,8 +326,7 @@ const host = (input = {}) => new require_src.StringEnvVarSchema({
|
|
|
335
326
|
...input
|
|
336
327
|
});
|
|
337
328
|
const HOST = host();
|
|
338
|
-
|
|
339
|
-
//#region ../schemas/src/plain/jwt.ts
|
|
329
|
+
// ../schemas/src/plain/jwt.ts
|
|
340
330
|
const jwtSecret = (input = {}) => new require_src.StringEnvVarSchema({
|
|
341
331
|
description: require_redis.descriptions$6.jwtSecret,
|
|
342
332
|
process: require_src.string(require_custom.minLength(require_redis.constraints$6.jwtSecretMinLength, require_redis.traits$5.jwtSecretMin)),
|
|
@@ -358,8 +348,7 @@ const jwtRefreshTokenExpiresIn = (input = {}) => new require_src.StringEnvVarSch
|
|
|
358
348
|
const JWT_SECRET = jwtSecret();
|
|
359
349
|
const JWT_ACCESS_TOKEN_EXPIRES_IN = jwtAccessTokenExpiresIn();
|
|
360
350
|
const JWT_REFRESH_TOKEN_EXPIRES_IN = jwtRefreshTokenExpiresIn();
|
|
361
|
-
|
|
362
|
-
//#region ../schemas/src/plain/kafka.ts
|
|
351
|
+
// ../schemas/src/plain/kafka.ts
|
|
363
352
|
const kafkaBrokers = (input = {}) => new require_src.StringEnvVarSchema({
|
|
364
353
|
description: require_redis.descriptions$5.kafkaBrokers,
|
|
365
354
|
process: require_src.string(require_custom.pattern(require_redis.patterns$4.hostPortList, require_redis.traits$4.hostPortListFormat)),
|
|
@@ -372,8 +361,7 @@ const kafkaClientId = (input = {}) => new require_src.StringEnvVarSchema({
|
|
|
372
361
|
});
|
|
373
362
|
const KAFKA_BROKERS = kafkaBrokers();
|
|
374
363
|
const KAFKA_CLIENT_ID = kafkaClientId();
|
|
375
|
-
|
|
376
|
-
//#region ../schemas/src/plain/logLevel.ts
|
|
364
|
+
// ../schemas/src/plain/logLevel.ts
|
|
377
365
|
const logLevel = (input = {}) => new require_src.StringEnvVarSchema({
|
|
378
366
|
description: require_redis.descriptions$6.logLevel,
|
|
379
367
|
default: require_redis.defaults$5.logLevel,
|
|
@@ -381,8 +369,7 @@ const logLevel = (input = {}) => new require_src.StringEnvVarSchema({
|
|
|
381
369
|
...input
|
|
382
370
|
});
|
|
383
371
|
const LOG_LEVEL = logLevel();
|
|
384
|
-
|
|
385
|
-
//#region ../schemas/src/plain/monitoring.ts
|
|
372
|
+
// ../schemas/src/plain/monitoring.ts
|
|
386
373
|
const newRelicLicenseKey = (input = {}) => new require_src.StringEnvVarSchema({
|
|
387
374
|
description: require_redis.descriptions$5.newRelicLicenseKey,
|
|
388
375
|
process: require_src.string(require_custom.exactLength(require_redis.constraints$5.newRelicLicenseKeyLength, require_redis.traits$4.newRelicLicenseKeyLength)),
|
|
@@ -421,8 +408,7 @@ const SENTRY_DSN = sentryDsn();
|
|
|
421
408
|
const JAEGER_ENDPOINT = jaegerEndpoint();
|
|
422
409
|
const PROMETHEUS_PORT = prometheusPort();
|
|
423
410
|
const DATADOG_API_KEY = datadogApiKey();
|
|
424
|
-
|
|
425
|
-
//#region ../schemas/src/plain/node.ts
|
|
411
|
+
// ../schemas/src/plain/node.ts
|
|
426
412
|
const nodeEnv = (input = {}) => new require_src.EnumEnvVarSchema({
|
|
427
413
|
values: [...require_redis.enumOptions.nodeEnv],
|
|
428
414
|
description: require_redis.descriptions$6.nodeEnv,
|
|
@@ -431,8 +417,7 @@ const nodeEnv = (input = {}) => new require_src.EnumEnvVarSchema({
|
|
|
431
417
|
...input
|
|
432
418
|
});
|
|
433
419
|
const NODE_ENV = nodeEnv();
|
|
434
|
-
|
|
435
|
-
//#region ../schemas/src/plain/oauth.ts
|
|
420
|
+
// ../schemas/src/plain/oauth.ts
|
|
436
421
|
const oauthClientId = (input = {}) => new require_src.StringEnvVarSchema({
|
|
437
422
|
description: require_redis.descriptions$2.clientId,
|
|
438
423
|
process: require_src.string(require_custom.minLength(require_redis.constraints$2.clientIdMinLength, require_redis.traits$2.clientIdRequired)),
|
|
@@ -459,8 +444,7 @@ const OAUTH_CLIENT_ID = oauthClientId();
|
|
|
459
444
|
const OAUTH_CLIENT_SECRET = oauthClientSecret();
|
|
460
445
|
const OAUTH_REDIRECT_URI = oauthRedirectUri();
|
|
461
446
|
const OAUTH_SCOPE = oauthScope();
|
|
462
|
-
|
|
463
|
-
//#region ../schemas/src/plain/openai.ts
|
|
447
|
+
// ../schemas/src/plain/openai.ts
|
|
464
448
|
const openaiApiKey = (input = {}) => new require_src.StringEnvVarSchema({
|
|
465
449
|
description: require_redis.descriptions$1.apiKey,
|
|
466
450
|
process: require_src.string(require_custom.minLength(require_redis.constraints$1.apiKeyMinLength, require_redis.traits$1.apiKeyMinLength), require_custom.pattern(require_redis.patterns$1.apiKey, require_redis.traits$1.apiKeyFormat)),
|
|
@@ -503,8 +487,7 @@ const OPENAI_PROJECT_ID = openaiProjectId();
|
|
|
503
487
|
const OPENAI_BASE_URL = openaiBaseUrl();
|
|
504
488
|
const OPENAI_MODEL = openaiModel();
|
|
505
489
|
const OPENAI_TIMEOUT = openaiTimeout();
|
|
506
|
-
|
|
507
|
-
//#region ../schemas/src/plain/rabbitmq.ts
|
|
490
|
+
// ../schemas/src/plain/rabbitmq.ts
|
|
508
491
|
const rabbitmqUrl = (input = {}) => new require_src.StringEnvVarSchema({
|
|
509
492
|
description: require_redis.descriptions$5.rabbitmqUrl,
|
|
510
493
|
process: require_src.string(require_custom.pattern(require_redis.patterns$4.rabbitmqUrl, require_redis.traits$4.rabbitmqUrlFormat)),
|
|
@@ -512,8 +495,7 @@ const rabbitmqUrl = (input = {}) => new require_src.StringEnvVarSchema({
|
|
|
512
495
|
...input
|
|
513
496
|
});
|
|
514
497
|
const RABBITMQ_URL = rabbitmqUrl();
|
|
515
|
-
|
|
516
|
-
//#region ../schemas/src/plain/redis.ts
|
|
498
|
+
// ../schemas/src/plain/redis.ts
|
|
517
499
|
const redisUrl = (input = {}) => new require_src.StringEnvVarSchema({
|
|
518
500
|
description: require_redis.descriptions.url,
|
|
519
501
|
process: require_src.string(require_custom.pattern(require_redis.patterns.url, require_redis.traits.urlFormat)),
|
|
@@ -569,8 +551,7 @@ const REDIS_USERNAME = redisUsername();
|
|
|
569
551
|
const REDIS_DB = redisDb();
|
|
570
552
|
const REDIS_TLS = redisTls();
|
|
571
553
|
const REDIS_TLS_CA_CERT_PATH = redisTlsCaCertPath();
|
|
572
|
-
|
|
573
|
-
//#region ../schemas/src/index.ts
|
|
554
|
+
// ../schemas/src/index.ts
|
|
574
555
|
var src_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
575
556
|
API_BASE_URL: () => API_BASE_URL,
|
|
576
557
|
API_KEY: () => API_KEY,
|
|
@@ -723,7 +704,6 @@ var src_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
|
723
704
|
redisUsername: () => redisUsername,
|
|
724
705
|
sentryDsn: () => sentryDsn
|
|
725
706
|
});
|
|
726
|
-
//#endregion
|
|
727
707
|
Object.defineProperty(exports, "API_BASE_URL", {
|
|
728
708
|
enumerable: true,
|
|
729
709
|
get: function() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as EnumEnvVarSchema, i as NumberEnvVarSchema, o as BooleanEnvVarSchema, r as StringEnvVarSchema } from "./src-
|
|
2
|
-
import { t as isEnvVarSchema } from "./EnvVarSchema-
|
|
1
|
+
import { a as EnumEnvVarSchema, i as NumberEnvVarSchema, o as BooleanEnvVarSchema, r as StringEnvVarSchema } from "./src-DtejQU3A.js";
|
|
2
|
+
import { t as isEnvVarSchema } from "./EnvVarSchema-Dd3ZrR30.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as z4core from "zod/v4/core";
|
|
5
|
-
|
|
5
|
+
// ../converters/src/converters/zod/ZodV3Converter.ts
|
|
6
6
|
/**
|
|
7
7
|
* Zod v3 schema converter implementation
|
|
8
8
|
*/
|
|
@@ -199,8 +199,7 @@ function convertFromZodV3Schema(schema) {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
|
|
203
|
-
//#region ../converters/src/converters/zod/ZodV4Converter.ts
|
|
202
|
+
// ../converters/src/converters/zod/ZodV4Converter.ts
|
|
204
203
|
/**
|
|
205
204
|
* Zod v4 schema converter implementation
|
|
206
205
|
*/
|
|
@@ -404,8 +403,7 @@ function convertFromZodV4Schema(schema) {
|
|
|
404
403
|
}
|
|
405
404
|
}
|
|
406
405
|
}
|
|
407
|
-
|
|
408
|
-
//#region ../converters/src/converters/joi/JoiConverter.ts
|
|
406
|
+
// ../converters/src/converters/joi/JoiConverter.ts
|
|
409
407
|
/**
|
|
410
408
|
* Joi schema converter implementation
|
|
411
409
|
*/
|
|
@@ -598,8 +596,7 @@ function convertFromJoiSchema(schema) {
|
|
|
598
596
|
}
|
|
599
597
|
}
|
|
600
598
|
}
|
|
601
|
-
|
|
602
|
-
//#region ../converters/src/converters/superstruct/SuperstructConverter.ts
|
|
599
|
+
// ../converters/src/converters/superstruct/SuperstructConverter.ts
|
|
603
600
|
/**
|
|
604
601
|
* Superstruct schema converter implementation
|
|
605
602
|
*/
|
|
@@ -751,8 +748,7 @@ function createSuperstructProcessFunction(schema, type) {
|
|
|
751
748
|
return result;
|
|
752
749
|
};
|
|
753
750
|
}
|
|
754
|
-
|
|
755
|
-
//#region ../converters/src/converters.ts
|
|
751
|
+
// ../converters/src/converters.ts
|
|
756
752
|
/**
|
|
757
753
|
* Registry of available schema converters
|
|
758
754
|
*/
|
|
@@ -762,8 +758,7 @@ const converters = [
|
|
|
762
758
|
new JoiConverter(),
|
|
763
759
|
new SuperstructConverter()
|
|
764
760
|
];
|
|
765
|
-
|
|
766
|
-
//#region ../models/src/resolve.ts
|
|
761
|
+
// ../models/src/resolve.ts
|
|
767
762
|
/**
|
|
768
763
|
* Resolve any supported schema to a EnvVarSchema.
|
|
769
764
|
*
|
|
@@ -803,8 +798,7 @@ function resolveSchemas(schemas) {
|
|
|
803
798
|
}
|
|
804
799
|
return resolved;
|
|
805
800
|
}
|
|
806
|
-
|
|
807
|
-
//#region ../models/src/EnvModel.ts
|
|
801
|
+
// ../models/src/EnvModel.ts
|
|
808
802
|
/**
|
|
809
803
|
* Environment variable specification container
|
|
810
804
|
* Encapsulates schemas and preprocessor configuration
|
|
@@ -842,8 +836,7 @@ var EnvModel = class {
|
|
|
842
836
|
return { ...config };
|
|
843
837
|
}
|
|
844
838
|
};
|
|
845
|
-
|
|
846
|
-
//#region ../models/src/model.ts
|
|
839
|
+
// ../models/src/model.ts
|
|
847
840
|
/**
|
|
848
841
|
* Create an environment variable model
|
|
849
842
|
*
|
|
@@ -869,5 +862,4 @@ var EnvModel = class {
|
|
|
869
862
|
function define(options) {
|
|
870
863
|
return new EnvModel(options);
|
|
871
864
|
}
|
|
872
|
-
//#endregion
|
|
873
865
|
export { resolveSchemas as i, EnvModel as n, resolveSchema as r, define as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-
|
|
2
|
-
import { a as EnumEnvVarSchema, d as string, i as NumberEnvVarSchema, l as boolean, o as BooleanEnvVarSchema, r as StringEnvVarSchema, u as number } from "./src-
|
|
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-
|
|
4
|
-
import { A as descriptions$1, B as traits, C as defaults$1, D as traits$2, E as patterns$2, F as defaults, I as descriptions, L as enumOptions, M as patterns$1, N as traits$1, O as constraints$1, P as constraints, S as constraints$2, _ as constraints$3, a as patterns$5, b as messages, c as defaults$4, d as patterns$4, f as traits$4, g as traits$3, k as defaults$3, l as descriptions$5, m as descriptions$4, n as defaults$5, o as traits$5, p as constraints$4, r as descriptions$6, s as constraints$5, t as constraints$6, v as defaults$2, w as descriptions$2, x as patterns$3, y as descriptions$3, z as patterns } from "./redis-
|
|
5
|
-
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.js";
|
|
2
|
+
import { a as EnumEnvVarSchema, d as string, i as NumberEnvVarSchema, l as boolean, o as BooleanEnvVarSchema, r as StringEnvVarSchema, u as number } from "./src-DtejQU3A.js";
|
|
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-BRT8y9Jj.js";
|
|
4
|
+
import { A as descriptions$1, B as traits, C as defaults$1, D as traits$2, E as patterns$2, F as defaults, I as descriptions, L as enumOptions, M as patterns$1, N as traits$1, O as constraints$1, P as constraints, S as constraints$2, _ as constraints$3, a as patterns$5, b as messages, c as defaults$4, d as patterns$4, f as traits$4, g as traits$3, k as defaults$3, l as descriptions$5, m as descriptions$4, n as defaults$5, o as traits$5, p as constraints$4, r as descriptions$6, s as constraints$5, t as constraints$6, v as defaults$2, w as descriptions$2, x as patterns$3, y as descriptions$3, z as patterns } from "./redis-B-sECHB8.js";
|
|
5
|
+
// ../schemas/src/plain/api.ts
|
|
6
6
|
const apiKey = (input = {}) => new StringEnvVarSchema({
|
|
7
7
|
description: descriptions.apiKey,
|
|
8
8
|
process: string(minLength(constraints.apiKeyMinLength, traits.apiKeyMin)),
|
|
@@ -22,8 +22,7 @@ const apiTimeout = (input = {}) => new NumberEnvVarSchema({
|
|
|
22
22
|
const API_KEY = apiKey();
|
|
23
23
|
const API_BASE_URL = apiBaseUrl();
|
|
24
24
|
const API_TIMEOUT = apiTimeout();
|
|
25
|
-
|
|
26
|
-
//#region ../schemas/src/plain/aws.ts
|
|
25
|
+
// ../schemas/src/plain/aws.ts
|
|
27
26
|
const awsAccessKeyId = (input = {}) => new StringEnvVarSchema({
|
|
28
27
|
description: descriptions$1.awsAccessKeyId,
|
|
29
28
|
process: string(lengthBetween(constraints$1.awsAccessKeyIdMin, constraints$1.awsAccessKeyIdMax)),
|
|
@@ -56,8 +55,7 @@ const AWS_SECRET_ACCESS_KEY = awsSecretAccessKey();
|
|
|
56
55
|
const AWS_REGION = awsRegion();
|
|
57
56
|
const AWS_S3_BUCKET_NAME = awsS3BucketName();
|
|
58
57
|
const AWS_SQS_QUEUE_URL = awsSqsQueueUrl();
|
|
59
|
-
|
|
60
|
-
//#region ../schemas/src/plain/azure.ts
|
|
58
|
+
// ../schemas/src/plain/azure.ts
|
|
61
59
|
const azureStorageConnectionString = (input = {}) => new StringEnvVarSchema({
|
|
62
60
|
description: descriptions$1.azureStorageConnectionString,
|
|
63
61
|
process: string(pattern(patterns$1.azureStorageConnectionString, traits$1.azureStorageConnectionStringFormat)),
|
|
@@ -92,8 +90,7 @@ const AZURE_STORAGE_ACCOUNT_NAME = azureStorageAccountName();
|
|
|
92
90
|
const AZURE_STORAGE_ACCOUNT_KEY = azureStorageAccountKey();
|
|
93
91
|
const AZURE_SERVICE_BUS_CONNECTION_STRING = azureServiceBusConnectionString();
|
|
94
92
|
const AZURE_EVENT_HUB_CONNECTION_STRING = azureEventHubConnectionString();
|
|
95
|
-
|
|
96
|
-
//#region ../schemas/src/plain/common.ts
|
|
93
|
+
// ../schemas/src/plain/common.ts
|
|
97
94
|
const port = (input = {}) => new NumberEnvVarSchema({
|
|
98
95
|
description: descriptions.port,
|
|
99
96
|
default: defaults.port,
|
|
@@ -108,8 +105,7 @@ const debug = (input = {}) => new BooleanEnvVarSchema({
|
|
|
108
105
|
...input
|
|
109
106
|
});
|
|
110
107
|
const DEBUG = debug();
|
|
111
|
-
|
|
112
|
-
//#region ../schemas/src/plain/cors.ts
|
|
108
|
+
// ../schemas/src/plain/cors.ts
|
|
113
109
|
const corsOrigin = (input = {}) => new StringEnvVarSchema({
|
|
114
110
|
description: descriptions.corsOrigin,
|
|
115
111
|
process: string(custom((val) => {
|
|
@@ -126,8 +122,7 @@ const corsOrigin = (input = {}) => new StringEnvVarSchema({
|
|
|
126
122
|
...input
|
|
127
123
|
});
|
|
128
124
|
const CORS_ORIGIN = corsOrigin();
|
|
129
|
-
|
|
130
|
-
//#region ../schemas/src/plain/database.ts
|
|
125
|
+
// ../schemas/src/plain/database.ts
|
|
131
126
|
const databaseUrl = (input = {}) => new StringEnvVarSchema({
|
|
132
127
|
description: descriptions$2.databaseUrl,
|
|
133
128
|
process: string(pattern(patterns$2.genericDatabaseUrl, traits$2.genericDatabaseUrlFormat)),
|
|
@@ -193,8 +188,7 @@ const DATABASE_SCHEMA = databaseSchema();
|
|
|
193
188
|
const DATABASE_POOL_SIZE = databasePoolSize();
|
|
194
189
|
const DATABASE_TIMEOUT = databaseTimeout();
|
|
195
190
|
const DATABASE_SSL = databaseSsl();
|
|
196
|
-
|
|
197
|
-
//#region ../schemas/src/plain/docker.ts
|
|
191
|
+
// ../schemas/src/plain/docker.ts
|
|
198
192
|
const dockerRegistryUrl = (input = {}) => new StringEnvVarSchema({
|
|
199
193
|
description: descriptions$1.dockerRegistryUrl,
|
|
200
194
|
process: string(url(traits$1.dockerRegistryUrlFormat)),
|
|
@@ -216,8 +210,7 @@ const dockerRegistryPassword = (input = {}) => new StringEnvVarSchema({
|
|
|
216
210
|
const DOCKER_REGISTRY_URL = dockerRegistryUrl();
|
|
217
211
|
const DOCKER_REGISTRY_USERNAME = dockerRegistryUsername();
|
|
218
212
|
const DOCKER_REGISTRY_PASSWORD = dockerRegistryPassword();
|
|
219
|
-
|
|
220
|
-
//#region ../schemas/src/plain/elasticsearch.ts
|
|
213
|
+
// ../schemas/src/plain/elasticsearch.ts
|
|
221
214
|
const elasticsearchUrl = (input = {}) => new StringEnvVarSchema({
|
|
222
215
|
description: descriptions$1.elasticsearchUrl,
|
|
223
216
|
process: string(url(traits$1.elasticsearchUrlFormat), pattern(patterns.httpProtocol, traits$1.elasticsearchUrlProtocol)),
|
|
@@ -239,8 +232,7 @@ const elasticsearchPassword = (input = {}) => new StringEnvVarSchema({
|
|
|
239
232
|
const ELASTICSEARCH_URL = elasticsearchUrl();
|
|
240
233
|
const ELASTICSEARCH_USERNAME = elasticsearchUsername();
|
|
241
234
|
const ELASTICSEARCH_PASSWORD = elasticsearchPassword();
|
|
242
|
-
|
|
243
|
-
//#region ../schemas/src/plain/gel.ts
|
|
235
|
+
// ../schemas/src/plain/gel.ts
|
|
244
236
|
const gelDsn = (input = {}) => new StringEnvVarSchema({
|
|
245
237
|
description: descriptions$3.gelDsn,
|
|
246
238
|
process: string(pattern(patterns$3.gelDsn, messages.gelDsnFormat)),
|
|
@@ -326,8 +318,7 @@ const GEL_BRANCH = gelBranch();
|
|
|
326
318
|
const GEL_TLS_CA_FILE = gelTlsCaFile();
|
|
327
319
|
const GEL_CLIENT_TLS_SECURITY = gelClientTlsSecurity();
|
|
328
320
|
const GEL_CREDENTIALS_FILE = gelCredentialsFile();
|
|
329
|
-
|
|
330
|
-
//#region ../schemas/src/plain/host.ts
|
|
321
|
+
// ../schemas/src/plain/host.ts
|
|
331
322
|
const host = (input = {}) => new StringEnvVarSchema({
|
|
332
323
|
description: descriptions.host,
|
|
333
324
|
default: defaults.host,
|
|
@@ -335,8 +326,7 @@ const host = (input = {}) => new StringEnvVarSchema({
|
|
|
335
326
|
...input
|
|
336
327
|
});
|
|
337
328
|
const HOST = host();
|
|
338
|
-
|
|
339
|
-
//#region ../schemas/src/plain/jwt.ts
|
|
329
|
+
// ../schemas/src/plain/jwt.ts
|
|
340
330
|
const jwtSecret = (input = {}) => new StringEnvVarSchema({
|
|
341
331
|
description: descriptions.jwtSecret,
|
|
342
332
|
process: string(minLength(constraints.jwtSecretMinLength, traits.jwtSecretMin)),
|
|
@@ -358,8 +348,7 @@ const jwtRefreshTokenExpiresIn = (input = {}) => new StringEnvVarSchema({
|
|
|
358
348
|
const JWT_SECRET = jwtSecret();
|
|
359
349
|
const JWT_ACCESS_TOKEN_EXPIRES_IN = jwtAccessTokenExpiresIn();
|
|
360
350
|
const JWT_REFRESH_TOKEN_EXPIRES_IN = jwtRefreshTokenExpiresIn();
|
|
361
|
-
|
|
362
|
-
//#region ../schemas/src/plain/kafka.ts
|
|
351
|
+
// ../schemas/src/plain/kafka.ts
|
|
363
352
|
const kafkaBrokers = (input = {}) => new StringEnvVarSchema({
|
|
364
353
|
description: descriptions$1.kafkaBrokers,
|
|
365
354
|
process: string(pattern(patterns$1.hostPortList, traits$1.hostPortListFormat)),
|
|
@@ -372,8 +361,7 @@ const kafkaClientId = (input = {}) => new StringEnvVarSchema({
|
|
|
372
361
|
});
|
|
373
362
|
const KAFKA_BROKERS = kafkaBrokers();
|
|
374
363
|
const KAFKA_CLIENT_ID = kafkaClientId();
|
|
375
|
-
|
|
376
|
-
//#region ../schemas/src/plain/logLevel.ts
|
|
364
|
+
// ../schemas/src/plain/logLevel.ts
|
|
377
365
|
const logLevel = (input = {}) => new StringEnvVarSchema({
|
|
378
366
|
description: descriptions.logLevel,
|
|
379
367
|
default: defaults.logLevel,
|
|
@@ -381,8 +369,7 @@ const logLevel = (input = {}) => new StringEnvVarSchema({
|
|
|
381
369
|
...input
|
|
382
370
|
});
|
|
383
371
|
const LOG_LEVEL = logLevel();
|
|
384
|
-
|
|
385
|
-
//#region ../schemas/src/plain/monitoring.ts
|
|
372
|
+
// ../schemas/src/plain/monitoring.ts
|
|
386
373
|
const newRelicLicenseKey = (input = {}) => new StringEnvVarSchema({
|
|
387
374
|
description: descriptions$1.newRelicLicenseKey,
|
|
388
375
|
process: string(exactLength(constraints$1.newRelicLicenseKeyLength, traits$1.newRelicLicenseKeyLength)),
|
|
@@ -421,8 +408,7 @@ const SENTRY_DSN = sentryDsn();
|
|
|
421
408
|
const JAEGER_ENDPOINT = jaegerEndpoint();
|
|
422
409
|
const PROMETHEUS_PORT = prometheusPort();
|
|
423
410
|
const DATADOG_API_KEY = datadogApiKey();
|
|
424
|
-
|
|
425
|
-
//#region ../schemas/src/plain/node.ts
|
|
411
|
+
// ../schemas/src/plain/node.ts
|
|
426
412
|
const nodeEnv = (input = {}) => new EnumEnvVarSchema({
|
|
427
413
|
values: [...enumOptions.nodeEnv],
|
|
428
414
|
description: descriptions.nodeEnv,
|
|
@@ -431,8 +417,7 @@ const nodeEnv = (input = {}) => new EnumEnvVarSchema({
|
|
|
431
417
|
...input
|
|
432
418
|
});
|
|
433
419
|
const NODE_ENV = nodeEnv();
|
|
434
|
-
|
|
435
|
-
//#region ../schemas/src/plain/oauth.ts
|
|
420
|
+
// ../schemas/src/plain/oauth.ts
|
|
436
421
|
const oauthClientId = (input = {}) => new StringEnvVarSchema({
|
|
437
422
|
description: descriptions$4.clientId,
|
|
438
423
|
process: string(minLength(constraints$4.clientIdMinLength, traits$3.clientIdRequired)),
|
|
@@ -459,8 +444,7 @@ const OAUTH_CLIENT_ID = oauthClientId();
|
|
|
459
444
|
const OAUTH_CLIENT_SECRET = oauthClientSecret();
|
|
460
445
|
const OAUTH_REDIRECT_URI = oauthRedirectUri();
|
|
461
446
|
const OAUTH_SCOPE = oauthScope();
|
|
462
|
-
|
|
463
|
-
//#region ../schemas/src/plain/openai.ts
|
|
447
|
+
// ../schemas/src/plain/openai.ts
|
|
464
448
|
const openaiApiKey = (input = {}) => new StringEnvVarSchema({
|
|
465
449
|
description: descriptions$5.apiKey,
|
|
466
450
|
process: string(minLength(constraints$5.apiKeyMinLength, traits$4.apiKeyMinLength), pattern(patterns$4.apiKey, traits$4.apiKeyFormat)),
|
|
@@ -503,8 +487,7 @@ const OPENAI_PROJECT_ID = openaiProjectId();
|
|
|
503
487
|
const OPENAI_BASE_URL = openaiBaseUrl();
|
|
504
488
|
const OPENAI_MODEL = openaiModel();
|
|
505
489
|
const OPENAI_TIMEOUT = openaiTimeout();
|
|
506
|
-
|
|
507
|
-
//#region ../schemas/src/plain/rabbitmq.ts
|
|
490
|
+
// ../schemas/src/plain/rabbitmq.ts
|
|
508
491
|
const rabbitmqUrl = (input = {}) => new StringEnvVarSchema({
|
|
509
492
|
description: descriptions$1.rabbitmqUrl,
|
|
510
493
|
process: string(pattern(patterns$1.rabbitmqUrl, traits$1.rabbitmqUrlFormat)),
|
|
@@ -512,8 +495,7 @@ const rabbitmqUrl = (input = {}) => new StringEnvVarSchema({
|
|
|
512
495
|
...input
|
|
513
496
|
});
|
|
514
497
|
const RABBITMQ_URL = rabbitmqUrl();
|
|
515
|
-
|
|
516
|
-
//#region ../schemas/src/plain/redis.ts
|
|
498
|
+
// ../schemas/src/plain/redis.ts
|
|
517
499
|
const redisUrl = (input = {}) => new StringEnvVarSchema({
|
|
518
500
|
description: descriptions$6.url,
|
|
519
501
|
process: string(pattern(patterns$5.url, traits$5.urlFormat)),
|
|
@@ -569,8 +551,7 @@ const REDIS_USERNAME = redisUsername();
|
|
|
569
551
|
const REDIS_DB = redisDb();
|
|
570
552
|
const REDIS_TLS = redisTls();
|
|
571
553
|
const REDIS_TLS_CA_CERT_PATH = redisTlsCaCertPath();
|
|
572
|
-
|
|
573
|
-
//#region ../schemas/src/index.ts
|
|
554
|
+
// ../schemas/src/index.ts
|
|
574
555
|
var src_exports = /* @__PURE__ */ __exportAll({
|
|
575
556
|
API_BASE_URL: () => API_BASE_URL,
|
|
576
557
|
API_KEY: () => API_KEY,
|
|
@@ -723,5 +704,4 @@ var src_exports = /* @__PURE__ */ __exportAll({
|
|
|
723
704
|
redisUsername: () => redisUsername,
|
|
724
705
|
sentryDsn: () => sentryDsn
|
|
725
706
|
});
|
|
726
|
-
//#endregion
|
|
727
707
|
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,6 +1,6 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
2
|
-
const require_src$1 = require("./src-
|
|
3
|
-
|
|
1
|
+
const require_src = require("./src-BgwAyw-w.cjs");
|
|
2
|
+
const require_src$1 = require("./src-C57GsLLI.cjs");
|
|
3
|
+
// ../parse/src/errors/EnvParseError.ts
|
|
4
4
|
/**
|
|
5
5
|
* Error thrown when parsing environment variables fails.
|
|
6
6
|
* Collects all issues so callers can inspect them without relying on subclasses.
|
|
@@ -41,8 +41,7 @@ var EnvParseError = class EnvParseError extends Error {
|
|
|
41
41
|
})].join("\n");
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
-
|
|
45
|
-
//#region ../parse/src/parse.ts
|
|
44
|
+
// ../parse/src/parse.ts
|
|
46
45
|
/**
|
|
47
46
|
* Parse and validate environment variables from a source object
|
|
48
47
|
* Does NOT mutate process.env
|
|
@@ -120,7 +119,6 @@ function parse(source, modelOrOptions) {
|
|
|
120
119
|
});
|
|
121
120
|
return result;
|
|
122
121
|
}
|
|
123
|
-
//#endregion
|
|
124
122
|
Object.defineProperty(exports, "EnvParseError", {
|
|
125
123
|
enumerable: true,
|
|
126
124
|
get: function() {
|