@e-n-v/env 0.0.2 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -24
- package/dist/BooleanMap-B2eIP3tZ.d.cts +32 -0
- package/dist/BooleanMap-DmFnCA-O.d.ts +32 -0
- package/dist/EnvChannel-LMIRYvT1.d.cts +16 -0
- package/dist/EnvChannel-w27PEm7x.d.ts +16 -0
- package/dist/EnvChannelOptions-BPkWDrmr.d.cts +108 -0
- package/dist/EnvChannelOptions-CRwDLWjd.d.ts +108 -0
- package/dist/EnvModel-CrGclUpJ.d.cts +134 -0
- package/dist/EnvModel-D8rt0EJ6.d.ts +134 -0
- package/dist/EnvSource-BVnmdHku.cjs +420 -0
- package/dist/EnvSource-DA3ZGlES.js +400 -0
- package/dist/ProcessEnvChannel-D465c-dp.d.cts +97 -0
- package/dist/ProcessEnvChannel-Do4-yiLI.d.ts +97 -0
- package/dist/StringEnvVarSchema-B8MT7htU.d.ts +64 -0
- package/dist/StringEnvVarSchema-BF6C0nyT.d.cts +64 -0
- package/dist/channels.cjs +8 -0
- package/dist/channels.d.cts +20 -0
- package/dist/channels.d.ts +20 -0
- package/dist/channels.js +4 -0
- package/dist/chunk-pbleEpgJ.cjs +44 -0
- package/dist/cli.cjs +16 -10
- package/dist/cli.js +7 -2
- package/dist/coerce-DNIuYAx4.js +11028 -0
- package/dist/coerce-b7UVodS9.cjs +12365 -0
- package/dist/core.cjs +68 -0
- package/dist/core.d.cts +6 -0
- package/dist/core.d.ts +6 -0
- package/dist/core.js +40 -0
- package/dist/custom-Bt_wnxIu.js +114 -0
- package/dist/custom-D_Rqjm09.cjs +168 -0
- package/dist/files.cjs +18 -0
- package/dist/files.d.cts +38 -0
- package/dist/files.d.ts +38 -0
- package/dist/files.js +13 -0
- package/dist/index-D8pslhp4.d.cts +170 -0
- package/dist/index-Dq_0aeAL.d.ts +170 -0
- package/dist/model-Dic8IJsf.d.ts +29 -0
- package/dist/model-ft0WhSSS.d.cts +29 -0
- package/dist/model.cjs +14 -0
- package/dist/model.d.cts +35 -0
- package/dist/model.d.ts +35 -0
- package/dist/model.js +9 -0
- package/dist/parse-BT1QSa5e.d.cts +28 -0
- package/dist/parse-DwtLpVhC.d.ts +28 -0
- package/dist/parse.cjs +17 -0
- package/dist/parse.d.cts +52 -0
- package/dist/parse.d.ts +52 -0
- package/dist/parse.js +10 -0
- package/dist/prompt-C5WudV9x.d.cts +74 -0
- package/dist/prompt-yKdccbtZ.d.ts +74 -0
- package/dist/prompt.cjs +24 -0
- package/dist/prompt.d.cts +17 -0
- package/dist/prompt.d.ts +17 -0
- package/dist/prompt.js +12 -0
- package/dist/redis-CJOpRPjc.js +395 -0
- package/dist/redis-EcC7TX3K.cjs +611 -0
- package/dist/resolveChannel-CjAuxy3p.cjs +257 -0
- package/dist/resolveChannel-v9BDsw-M.js +224 -0
- package/dist/root.cjs +36 -0
- package/dist/root.d.cts +21 -0
- package/dist/root.d.ts +21 -0
- package/dist/root.js +21 -0
- package/dist/schema-DH4GiW9A.d.cts +18 -0
- package/dist/schema-jN4EtvEP.d.ts +18 -0
- package/dist/schemas/zod.cjs +629 -0
- package/dist/schemas/zod.d.cts +239 -0
- package/dist/schemas/zod.d.ts +239 -0
- package/dist/schemas/zod.js +550 -0
- package/dist/schemas.cjs +133 -0
- package/dist/schemas.d.cts +3 -0
- package/dist/schemas.d.ts +3 -0
- package/dist/schemas.js +6 -0
- package/dist/src-B7FG1rak.js +638 -0
- package/dist/src-BBwjK5SK.js +127 -0
- package/dist/src-CLTURaoo.js +311 -0
- package/dist/src-CVdUqK3q.js +850 -0
- package/dist/src-Cjo2XA4n.cjs +138 -0
- package/dist/{src-oetJm-nZ.cjs → src-DWYoqPX1.cjs} +31 -1964
- package/dist/src-DZmpNGrQ.cjs +1411 -0
- package/dist/{src-RlCvrI0s.js → src-Dtv7TlJx.js} +14 -1726
- package/dist/src-XjL5cyPG.cjs +873 -0
- package/dist/src-meUnCASg.cjs +413 -0
- package/dist/validate-BxA3a-ns.d.cts +203 -0
- package/dist/validate-CyxrRacF.d.ts +203 -0
- package/dist/vars-BNVI6k89.d.ts +21 -0
- package/dist/vars-CYOaskkK.cjs +27 -0
- package/dist/vars-CptZRPX5.d.cts +21 -0
- package/dist/vars-DOW0LiiN.js +22 -0
- package/dist/vars.cjs +138 -0
- package/dist/vars.d.cts +7 -0
- package/dist/vars.d.ts +7 -0
- package/dist/vars.js +9 -0
- package/package.json +58 -9
- package/assets/demo.gif +0 -0
- package/assets/env-logo.png +0 -0
- package/dist/bundle.cjs +0 -1290
- package/dist/bundle.d.cts +0 -1057
- package/dist/bundle.d.ts +0 -1055
- package/dist/bundle.js +0 -1244
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
import { t as __export } from "../chunk-Bp6m_JJh.js";
|
|
2
|
+
import { $ as ZodStringFormat, $n as parse, $r as flattenError, $t as ipv4, A as ZodIntersection, An as stringFormat, Ar as _multipleOf, At as cidrv4, B as ZodNull, Bn as ulid, Br as _startsWith, Bt as emoji, C as ZodEmoji, Cn as promise, Cr as _lt, Ct as any, D as ZodGUID, Dn as set, Dr as _mime, Dt as bigint, E as ZodFunction, En as refine, Er as _maxSize, Et as base64url, F as ZodMap, Fn as templateLiteral, Fr as _overwrite, Ft as custom, G as ZodOptional, Gn as uuidv4, Gr as $input, Gt as hash, H as ZodNumber, Hn as unknown, Hr as _toUpperCase, Ht as float32, I as ZodNaN, In as transform, Ir as _positive, It as date, J as ZodPromise, Jn as xid, Jr as registry, Jt as httpUrl, K as ZodPipe, Kn as uuidv6, Kr as $output, Kt as hex, L as ZodNanoID, Ln as tuple, Lr as _property, Lt as discriminatedUnion, M as ZodKSUID, Mn as success, Mr as _nonnegative, Mt as codec, N as ZodLazy, Nn as superRefine, Nr as _nonpositive, Nt as cuid, O as ZodIPv4, On as strictObject, Or as _minLength, Ot as boolean, P as ZodLiteral, Pn as symbol, Pr as _normalize, Pt as cuid2, Q as ZodString, Qn as encodeAsync, Qt as intersection, R as ZodNever, Rn as uint32, Rr as _regex, Rt as e164, S as ZodEmail, Sn as preprocess, Sr as _lowercase, St as _void, T as ZodFile, Tn as record, Tr as _maxLength, Tt as base64, U as ZodNumberFormat, Un as url, Ur as _trim, Ut as float64, V as ZodNullable, Vn as union, Vr as _toLowerCase, Vt as file, W as ZodObject, Wn as uuid, Wr as _uppercase, Wt as guid, X as ZodRecord, Xn as decodeAsync, Xr as en_default, Xt as int32, Y as ZodReadonly, Yn as decode, Yr as locales_exports, Yt as int, Z as ZodSet, Zn as encode, Zr as regexes_exports, Zt as int64, _ as ZodCustomStringFormat, _n as object, _r as _endsWith, _t as _enum, a as ZodBase64, ai as $brand, an as lazy, ar as safeParse, at as ZodType, b as ZodDiscriminatedUnion, bn as pipe, br as _includes, bt as _null, c as ZodBigIntFormat, cn as map, cr as ZodRealError, ct as ZodUUID, d as ZodCIDRv6, dn as nativeEnum, dr as ZodISODuration, dt as ZodUnknown, ei as formatError, en as ipv6, er as parseAsync, et as ZodSuccess, f as ZodCUID, fn as never, fr as ZodISOTime, ft as ZodVoid, g as ZodCustom, gn as number, gr as TimePrecision, gt as _default, h as ZodCodec, hn as nullish, hr as toJSONSchema, ht as _catch, i as ZodArray, ii as util_exports, in as ksuid, ir as safeEncodeAsync, it as ZodTuple, j as ZodJWT, jn as stringbool, jr as _negative, jt as cidrv6, k as ZodIPv6, kn as string, kr as _minSize, kt as check, l as ZodBoolean, ln as nan, lr as ZodISODate, lt as ZodUndefined, m as ZodCatch, mn as nullable, mr as core_exports, mt as _ZodString, ni as treeifyError, nn as jwt, nr as safeDecodeAsync, nt as ZodTemplateLiteral, o as ZodBase64URL, oi as NEVER, on as literal, or as safeParseAsync, ot as ZodULID, p as ZodCUID2, pn as nonoptional, pr as iso_exports, pt as ZodXID, q as ZodPrefault, qn as uuidv7, qr as globalRegistry, qt as hostname, r as ZodAny, ri as clone, rn as keyof, rr as safeEncode, rt as ZodTransform, s as ZodBigInt, si as config, sn as looseObject, sr as ZodError, st as ZodURL, t as coerce_exports, ti as prettifyError, tn as json, tr as safeDecode, tt as ZodSymbol, u as ZodCIDRv4, un as nanoid, ur as ZodISODateTime, ut as ZodUnion, v as ZodDate, vn as optional, vr as _gt, vt as _function, w as ZodEnum, wn as readonly, wr as _lte, wt as array, x as ZodE164, xn as prefault, xr as _length, xt as _undefined, y as ZodDefault, yn as partialRecord, yr as _gte, yt as _instanceof, z as ZodNonOptional, zn as uint64, zr as _size, zt as email } from "../coerce-DNIuYAx4.js";
|
|
3
|
+
import { A as defaults, C as constraints$4, D as patterns$3, E as messages$4, I as toZodMessages, M as enumOptions, N as messages, P as patterns, T as descriptions$4, _ as constraints$5, a as patterns$1, b as messages$5, c as defaults$2, d as patterns$2, h as messages$3, i as messages$1, j as descriptions, k as constraints, l as descriptions$2, m as descriptions$3, n as defaults$1, p as constraints$3, r as descriptions$1, s as constraints$2, t as constraints$1, u as messages$2, v as defaults$4, w as defaults$3, x as patterns$4, y as descriptions$5 } from "../redis-CJOpRPjc.js";
|
|
4
|
+
|
|
5
|
+
//#region ../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/compat.js
|
|
6
|
+
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
7
|
+
const ZodIssueCode = {
|
|
8
|
+
invalid_type: "invalid_type",
|
|
9
|
+
too_big: "too_big",
|
|
10
|
+
too_small: "too_small",
|
|
11
|
+
invalid_format: "invalid_format",
|
|
12
|
+
not_multiple_of: "not_multiple_of",
|
|
13
|
+
unrecognized_keys: "unrecognized_keys",
|
|
14
|
+
invalid_union: "invalid_union",
|
|
15
|
+
invalid_key: "invalid_key",
|
|
16
|
+
invalid_element: "invalid_element",
|
|
17
|
+
invalid_value: "invalid_value",
|
|
18
|
+
custom: "custom"
|
|
19
|
+
};
|
|
20
|
+
/** @deprecated Use `z.config(params)` instead. */
|
|
21
|
+
function setErrorMap(map$1) {
|
|
22
|
+
config({ customError: map$1 });
|
|
23
|
+
}
|
|
24
|
+
/** @deprecated Use `z.config()` instead. */
|
|
25
|
+
function getErrorMap() {
|
|
26
|
+
return config().customError;
|
|
27
|
+
}
|
|
28
|
+
/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */
|
|
29
|
+
var ZodFirstPartyTypeKind;
|
|
30
|
+
(function(ZodFirstPartyTypeKind$1) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region ../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/external.js
|
|
34
|
+
var external_exports = /* @__PURE__ */ __export({
|
|
35
|
+
$brand: () => $brand,
|
|
36
|
+
$input: () => $input,
|
|
37
|
+
$output: () => $output,
|
|
38
|
+
NEVER: () => NEVER,
|
|
39
|
+
TimePrecision: () => TimePrecision,
|
|
40
|
+
ZodAny: () => ZodAny,
|
|
41
|
+
ZodArray: () => ZodArray,
|
|
42
|
+
ZodBase64: () => ZodBase64,
|
|
43
|
+
ZodBase64URL: () => ZodBase64URL,
|
|
44
|
+
ZodBigInt: () => ZodBigInt,
|
|
45
|
+
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
46
|
+
ZodBoolean: () => ZodBoolean,
|
|
47
|
+
ZodCIDRv4: () => ZodCIDRv4,
|
|
48
|
+
ZodCIDRv6: () => ZodCIDRv6,
|
|
49
|
+
ZodCUID: () => ZodCUID,
|
|
50
|
+
ZodCUID2: () => ZodCUID2,
|
|
51
|
+
ZodCatch: () => ZodCatch,
|
|
52
|
+
ZodCodec: () => ZodCodec,
|
|
53
|
+
ZodCustom: () => ZodCustom,
|
|
54
|
+
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
55
|
+
ZodDate: () => ZodDate,
|
|
56
|
+
ZodDefault: () => ZodDefault,
|
|
57
|
+
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
58
|
+
ZodE164: () => ZodE164,
|
|
59
|
+
ZodEmail: () => ZodEmail,
|
|
60
|
+
ZodEmoji: () => ZodEmoji,
|
|
61
|
+
ZodEnum: () => ZodEnum,
|
|
62
|
+
ZodError: () => ZodError,
|
|
63
|
+
ZodFile: () => ZodFile,
|
|
64
|
+
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
65
|
+
ZodFunction: () => ZodFunction,
|
|
66
|
+
ZodGUID: () => ZodGUID,
|
|
67
|
+
ZodIPv4: () => ZodIPv4,
|
|
68
|
+
ZodIPv6: () => ZodIPv6,
|
|
69
|
+
ZodISODate: () => ZodISODate,
|
|
70
|
+
ZodISODateTime: () => ZodISODateTime,
|
|
71
|
+
ZodISODuration: () => ZodISODuration,
|
|
72
|
+
ZodISOTime: () => ZodISOTime,
|
|
73
|
+
ZodIntersection: () => ZodIntersection,
|
|
74
|
+
ZodIssueCode: () => ZodIssueCode,
|
|
75
|
+
ZodJWT: () => ZodJWT,
|
|
76
|
+
ZodKSUID: () => ZodKSUID,
|
|
77
|
+
ZodLazy: () => ZodLazy,
|
|
78
|
+
ZodLiteral: () => ZodLiteral,
|
|
79
|
+
ZodMap: () => ZodMap,
|
|
80
|
+
ZodNaN: () => ZodNaN,
|
|
81
|
+
ZodNanoID: () => ZodNanoID,
|
|
82
|
+
ZodNever: () => ZodNever,
|
|
83
|
+
ZodNonOptional: () => ZodNonOptional,
|
|
84
|
+
ZodNull: () => ZodNull,
|
|
85
|
+
ZodNullable: () => ZodNullable,
|
|
86
|
+
ZodNumber: () => ZodNumber,
|
|
87
|
+
ZodNumberFormat: () => ZodNumberFormat,
|
|
88
|
+
ZodObject: () => ZodObject,
|
|
89
|
+
ZodOptional: () => ZodOptional,
|
|
90
|
+
ZodPipe: () => ZodPipe,
|
|
91
|
+
ZodPrefault: () => ZodPrefault,
|
|
92
|
+
ZodPromise: () => ZodPromise,
|
|
93
|
+
ZodReadonly: () => ZodReadonly,
|
|
94
|
+
ZodRealError: () => ZodRealError,
|
|
95
|
+
ZodRecord: () => ZodRecord,
|
|
96
|
+
ZodSet: () => ZodSet,
|
|
97
|
+
ZodString: () => ZodString,
|
|
98
|
+
ZodStringFormat: () => ZodStringFormat,
|
|
99
|
+
ZodSuccess: () => ZodSuccess,
|
|
100
|
+
ZodSymbol: () => ZodSymbol,
|
|
101
|
+
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
102
|
+
ZodTransform: () => ZodTransform,
|
|
103
|
+
ZodTuple: () => ZodTuple,
|
|
104
|
+
ZodType: () => ZodType,
|
|
105
|
+
ZodULID: () => ZodULID,
|
|
106
|
+
ZodURL: () => ZodURL,
|
|
107
|
+
ZodUUID: () => ZodUUID,
|
|
108
|
+
ZodUndefined: () => ZodUndefined,
|
|
109
|
+
ZodUnion: () => ZodUnion,
|
|
110
|
+
ZodUnknown: () => ZodUnknown,
|
|
111
|
+
ZodVoid: () => ZodVoid,
|
|
112
|
+
ZodXID: () => ZodXID,
|
|
113
|
+
_ZodString: () => _ZodString,
|
|
114
|
+
_default: () => _default,
|
|
115
|
+
_function: () => _function,
|
|
116
|
+
any: () => any,
|
|
117
|
+
array: () => array,
|
|
118
|
+
base64: () => base64,
|
|
119
|
+
base64url: () => base64url,
|
|
120
|
+
bigint: () => bigint,
|
|
121
|
+
boolean: () => boolean,
|
|
122
|
+
catch: () => _catch,
|
|
123
|
+
check: () => check,
|
|
124
|
+
cidrv4: () => cidrv4,
|
|
125
|
+
cidrv6: () => cidrv6,
|
|
126
|
+
clone: () => clone,
|
|
127
|
+
codec: () => codec,
|
|
128
|
+
coerce: () => coerce_exports,
|
|
129
|
+
config: () => config,
|
|
130
|
+
core: () => core_exports,
|
|
131
|
+
cuid: () => cuid,
|
|
132
|
+
cuid2: () => cuid2,
|
|
133
|
+
custom: () => custom,
|
|
134
|
+
date: () => date,
|
|
135
|
+
decode: () => decode,
|
|
136
|
+
decodeAsync: () => decodeAsync,
|
|
137
|
+
discriminatedUnion: () => discriminatedUnion,
|
|
138
|
+
e164: () => e164,
|
|
139
|
+
email: () => email,
|
|
140
|
+
emoji: () => emoji,
|
|
141
|
+
encode: () => encode,
|
|
142
|
+
encodeAsync: () => encodeAsync,
|
|
143
|
+
endsWith: () => _endsWith,
|
|
144
|
+
enum: () => _enum,
|
|
145
|
+
file: () => file,
|
|
146
|
+
flattenError: () => flattenError,
|
|
147
|
+
float32: () => float32,
|
|
148
|
+
float64: () => float64,
|
|
149
|
+
formatError: () => formatError,
|
|
150
|
+
function: () => _function,
|
|
151
|
+
getErrorMap: () => getErrorMap,
|
|
152
|
+
globalRegistry: () => globalRegistry,
|
|
153
|
+
gt: () => _gt,
|
|
154
|
+
gte: () => _gte,
|
|
155
|
+
guid: () => guid,
|
|
156
|
+
hash: () => hash,
|
|
157
|
+
hex: () => hex,
|
|
158
|
+
hostname: () => hostname,
|
|
159
|
+
httpUrl: () => httpUrl,
|
|
160
|
+
includes: () => _includes,
|
|
161
|
+
instanceof: () => _instanceof,
|
|
162
|
+
int: () => int,
|
|
163
|
+
int32: () => int32,
|
|
164
|
+
int64: () => int64,
|
|
165
|
+
intersection: () => intersection,
|
|
166
|
+
ipv4: () => ipv4,
|
|
167
|
+
ipv6: () => ipv6,
|
|
168
|
+
iso: () => iso_exports,
|
|
169
|
+
json: () => json,
|
|
170
|
+
jwt: () => jwt,
|
|
171
|
+
keyof: () => keyof,
|
|
172
|
+
ksuid: () => ksuid,
|
|
173
|
+
lazy: () => lazy,
|
|
174
|
+
length: () => _length,
|
|
175
|
+
literal: () => literal,
|
|
176
|
+
locales: () => locales_exports,
|
|
177
|
+
looseObject: () => looseObject,
|
|
178
|
+
lowercase: () => _lowercase,
|
|
179
|
+
lt: () => _lt,
|
|
180
|
+
lte: () => _lte,
|
|
181
|
+
map: () => map,
|
|
182
|
+
maxLength: () => _maxLength,
|
|
183
|
+
maxSize: () => _maxSize,
|
|
184
|
+
mime: () => _mime,
|
|
185
|
+
minLength: () => _minLength,
|
|
186
|
+
minSize: () => _minSize,
|
|
187
|
+
multipleOf: () => _multipleOf,
|
|
188
|
+
nan: () => nan,
|
|
189
|
+
nanoid: () => nanoid,
|
|
190
|
+
nativeEnum: () => nativeEnum,
|
|
191
|
+
negative: () => _negative,
|
|
192
|
+
never: () => never,
|
|
193
|
+
nonnegative: () => _nonnegative,
|
|
194
|
+
nonoptional: () => nonoptional,
|
|
195
|
+
nonpositive: () => _nonpositive,
|
|
196
|
+
normalize: () => _normalize,
|
|
197
|
+
null: () => _null,
|
|
198
|
+
nullable: () => nullable,
|
|
199
|
+
nullish: () => nullish,
|
|
200
|
+
number: () => number,
|
|
201
|
+
object: () => object,
|
|
202
|
+
optional: () => optional,
|
|
203
|
+
overwrite: () => _overwrite,
|
|
204
|
+
parse: () => parse,
|
|
205
|
+
parseAsync: () => parseAsync,
|
|
206
|
+
partialRecord: () => partialRecord,
|
|
207
|
+
pipe: () => pipe,
|
|
208
|
+
positive: () => _positive,
|
|
209
|
+
prefault: () => prefault,
|
|
210
|
+
preprocess: () => preprocess,
|
|
211
|
+
prettifyError: () => prettifyError,
|
|
212
|
+
promise: () => promise,
|
|
213
|
+
property: () => _property,
|
|
214
|
+
readonly: () => readonly,
|
|
215
|
+
record: () => record,
|
|
216
|
+
refine: () => refine,
|
|
217
|
+
regex: () => _regex,
|
|
218
|
+
regexes: () => regexes_exports,
|
|
219
|
+
registry: () => registry,
|
|
220
|
+
safeDecode: () => safeDecode,
|
|
221
|
+
safeDecodeAsync: () => safeDecodeAsync,
|
|
222
|
+
safeEncode: () => safeEncode,
|
|
223
|
+
safeEncodeAsync: () => safeEncodeAsync,
|
|
224
|
+
safeParse: () => safeParse,
|
|
225
|
+
safeParseAsync: () => safeParseAsync,
|
|
226
|
+
set: () => set,
|
|
227
|
+
setErrorMap: () => setErrorMap,
|
|
228
|
+
size: () => _size,
|
|
229
|
+
startsWith: () => _startsWith,
|
|
230
|
+
strictObject: () => strictObject,
|
|
231
|
+
string: () => string,
|
|
232
|
+
stringFormat: () => stringFormat,
|
|
233
|
+
stringbool: () => stringbool,
|
|
234
|
+
success: () => success,
|
|
235
|
+
superRefine: () => superRefine,
|
|
236
|
+
symbol: () => symbol,
|
|
237
|
+
templateLiteral: () => templateLiteral,
|
|
238
|
+
toJSONSchema: () => toJSONSchema,
|
|
239
|
+
toLowerCase: () => _toLowerCase,
|
|
240
|
+
toUpperCase: () => _toUpperCase,
|
|
241
|
+
transform: () => transform,
|
|
242
|
+
treeifyError: () => treeifyError,
|
|
243
|
+
trim: () => _trim,
|
|
244
|
+
tuple: () => tuple,
|
|
245
|
+
uint32: () => uint32,
|
|
246
|
+
uint64: () => uint64,
|
|
247
|
+
ulid: () => ulid,
|
|
248
|
+
undefined: () => _undefined,
|
|
249
|
+
union: () => union,
|
|
250
|
+
unknown: () => unknown,
|
|
251
|
+
uppercase: () => _uppercase,
|
|
252
|
+
url: () => url,
|
|
253
|
+
util: () => util_exports,
|
|
254
|
+
uuid: () => uuid,
|
|
255
|
+
uuidv4: () => uuidv4,
|
|
256
|
+
uuidv6: () => uuidv6,
|
|
257
|
+
uuidv7: () => uuidv7,
|
|
258
|
+
void: () => _void,
|
|
259
|
+
xid: () => xid
|
|
260
|
+
});
|
|
261
|
+
config(en_default());
|
|
262
|
+
|
|
263
|
+
//#endregion
|
|
264
|
+
//#region ../schemas/src/zod/v4/api.ts
|
|
265
|
+
const apiKey = (z) => z.string().describe(descriptions.apiKey).min(constraints.apiKeyMinLength, { error: messages.apiKeyMin });
|
|
266
|
+
const apiBaseUrl = (z) => z.url().describe(descriptions.apiBaseUrl).regex(patterns.httpProtocol, { error: messages.httpProtocolRequired });
|
|
267
|
+
const apiTimeout = (z) => z.number().describe(descriptions.apiTimeout).int({ error: messages.apiTimeoutInt }).min(constraints.apiTimeoutMin, { error: messages.apiTimeoutMin }).max(constraints.apiTimeoutMax, { error: messages.apiTimeoutMax }).default(defaults.apiTimeout);
|
|
268
|
+
|
|
269
|
+
//#endregion
|
|
270
|
+
//#region ../schemas/src/shared/applicationInsights.ts
|
|
271
|
+
const descriptions$6 = {
|
|
272
|
+
connectionString: "Azure Application Insights connection string",
|
|
273
|
+
instrumentationKey: "Azure Application Insights instrumentation key (legacy)",
|
|
274
|
+
roleName: "Application Insights role name for distributed tracing",
|
|
275
|
+
samplingRate: "Application Insights telemetry sampling rate (0-100)",
|
|
276
|
+
autoCollectDependencies: "Enable automatic dependency tracking in Application Insights",
|
|
277
|
+
autoCollectExceptions: "Enable automatic exception tracking in Application Insights",
|
|
278
|
+
autoCollectConsole: "Enable automatic console log collection in Application Insights",
|
|
279
|
+
autoCollectPerformance: "Enable automatic performance counter collection in Application Insights"
|
|
280
|
+
};
|
|
281
|
+
const traits = {
|
|
282
|
+
connectionStringFormat: "a valid Application Insights connection string format",
|
|
283
|
+
instrumentationKeyUuid: "a valid UUID format for instrumentation key",
|
|
284
|
+
roleNameMin: "role name cannot be empty",
|
|
285
|
+
roleNameMax: "less than 256 characters",
|
|
286
|
+
samplingRateMin: "between 0 and 100",
|
|
287
|
+
samplingRateMax: "between 0 and 100"
|
|
288
|
+
};
|
|
289
|
+
const constraints$6 = {
|
|
290
|
+
roleNameMin: 1,
|
|
291
|
+
roleNameMax: 256,
|
|
292
|
+
samplingRateMin: 0,
|
|
293
|
+
samplingRateMax: 100
|
|
294
|
+
};
|
|
295
|
+
const defaults$5 = {
|
|
296
|
+
samplingRate: 100,
|
|
297
|
+
autoCollectDependencies: true,
|
|
298
|
+
autoCollectExceptions: true,
|
|
299
|
+
autoCollectConsole: true,
|
|
300
|
+
autoCollectPerformance: true
|
|
301
|
+
};
|
|
302
|
+
const patterns$5 = { connectionString: /^InstrumentationKey=[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12};IngestionEndpoint=https:\/\/[^;]+;LiveEndpoint=https:\/\/[^;]+$/ };
|
|
303
|
+
const messages$6 = toZodMessages(traits);
|
|
304
|
+
|
|
305
|
+
//#endregion
|
|
306
|
+
//#region ../schemas/src/zod/v4/applicationInsights.ts
|
|
307
|
+
const applicationInsightsConnectionString = (z) => z.string().describe(descriptions$6.connectionString).regex(patterns$5.connectionString, { error: messages$6.connectionStringFormat });
|
|
308
|
+
const appInsightsInstrumentationKey = (z) => z.uuid({ message: messages$6.instrumentationKeyUuid }).describe(descriptions$6.instrumentationKey);
|
|
309
|
+
const appInsightsRoleName = (z) => z.string().describe(descriptions$6.roleName).min(constraints$6.roleNameMin, { error: messages$6.roleNameMin }).max(constraints$6.roleNameMax, { error: messages$6.roleNameMax });
|
|
310
|
+
const appInsightsSamplingRate = (z) => z.number().describe(descriptions$6.samplingRate).min(constraints$6.samplingRateMin, { error: messages$6.samplingRateMin }).max(constraints$6.samplingRateMax, { error: messages$6.samplingRateMax }).default(defaults$5.samplingRate);
|
|
311
|
+
const appInsightsAutocollectDependencies = (z) => z.boolean().describe(descriptions$6.autoCollectDependencies).default(defaults$5.autoCollectDependencies);
|
|
312
|
+
const appInsightsAutocollectExceptions = (z) => z.boolean().describe(descriptions$6.autoCollectExceptions).default(defaults$5.autoCollectExceptions);
|
|
313
|
+
const appInsightsAutocollectConsole = (z) => z.boolean().describe(descriptions$6.autoCollectConsole).default(defaults$5.autoCollectConsole);
|
|
314
|
+
const appInsightsAutocollectPerformance = (z) => z.boolean().describe(descriptions$6.autoCollectPerformance).default(defaults$5.autoCollectPerformance);
|
|
315
|
+
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region ../schemas/src/zod/v4/aws.ts
|
|
318
|
+
const awsAccessKeyId = (z) => z.string().describe(descriptions$4.awsAccessKeyId).min(constraints$4.awsAccessKeyIdMin, { error: messages$4.awsAccessKeyIdMin }).max(constraints$4.awsAccessKeyIdMax, { error: messages$4.awsAccessKeyIdMax });
|
|
319
|
+
const awsSecretAccessKey = (z) => z.string().describe(descriptions$4.awsSecretAccessKey).min(1, { error: messages$4.awsSecretAccessKeyRequired });
|
|
320
|
+
const awsRegion = (z) => z.string().describe(descriptions$4.awsRegion).regex(patterns$3.awsRegion, { error: messages$4.awsRegionFormat });
|
|
321
|
+
const awsS3BucketName = (z) => z.string().describe(descriptions$4.awsS3BucketName).regex(patterns$3.awsS3BucketName, { error: messages$4.awsS3BucketNameFormat });
|
|
322
|
+
const awsSqsQueueUrl = (z) => z.string().describe(descriptions$4.awsSqsQueueUrl).regex(patterns$3.awsSqsQueueUrl, { error: messages$4.awsSqsQueueUrlFormat });
|
|
323
|
+
|
|
324
|
+
//#endregion
|
|
325
|
+
//#region ../schemas/src/zod/v4/azure.ts
|
|
326
|
+
const azureStorageConnectionString = (z) => z.string().describe(descriptions$4.azureStorageConnectionString).regex(patterns$3.azureStorageConnectionString, { message: messages$4.azureStorageConnectionStringFormat });
|
|
327
|
+
const azureStorageAccountName = (z) => z.string().describe(descriptions$4.azureStorageAccountName).regex(patterns$3.azureStorageAccountName, { message: messages$4.azureStorageAccountNameFormat });
|
|
328
|
+
const azureStorageAccountKey = (z) => z.string().describe(descriptions$4.azureStorageAccountKey).min(1, { message: messages$4.azureStorageAccountKeyRequired });
|
|
329
|
+
const azureServiceBusConnectionString = (z) => z.string().describe(descriptions$4.azureServiceBusConnectionString).regex(patterns$3.azureServiceBusConnectionString, { message: messages$4.azureServiceBusConnectionStringFormat });
|
|
330
|
+
const azureEventHubConnectionString = (z) => z.string().describe(descriptions$4.azureEventHubConnectionString).regex(patterns$3.azureEventHubConnectionString, { message: messages$4.azureEventHubConnectionStringFormat });
|
|
331
|
+
|
|
332
|
+
//#endregion
|
|
333
|
+
//#region ../schemas/src/zod/v4/memcached.ts
|
|
334
|
+
const memcachedServers = (z) => z.string().describe(descriptions$4.memcachedServers).regex(patterns$3.hostPortList, { message: messages$4.hostPortListFormat });
|
|
335
|
+
|
|
336
|
+
//#endregion
|
|
337
|
+
//#region ../schemas/src/zod/v4/cors.ts
|
|
338
|
+
const cors = (z) => z.string().describe(descriptions.corsOrigin).refine((val) => {
|
|
339
|
+
if (val === "*") return true;
|
|
340
|
+
return val.split(",").map((origin) => origin.trim()).every((origin) => {
|
|
341
|
+
try {
|
|
342
|
+
new URL(origin);
|
|
343
|
+
return true;
|
|
344
|
+
} catch {
|
|
345
|
+
return false;
|
|
346
|
+
}
|
|
347
|
+
});
|
|
348
|
+
}, { error: messages.corsOriginInvalid });
|
|
349
|
+
|
|
350
|
+
//#endregion
|
|
351
|
+
//#region ../schemas/src/zod/v4/database.ts
|
|
352
|
+
const databaseUrl = (z) => z.string().describe(descriptions$5.databaseUrl).regex(patterns$4.genericDatabaseUrl, { message: messages$5.genericDatabaseUrlFormat });
|
|
353
|
+
const databaseHost = (z) => z.string().describe(descriptions$5.databaseHost).min(1, { message: messages$5.databaseHostRequired });
|
|
354
|
+
const databasePort = (z) => z.coerce.number().describe(descriptions$5.databasePort).int({ message: messages$5.databasePortInt }).min(constraints$5.databasePortMin, { message: messages$5.databasePortMin }).max(constraints$5.databasePortMax, { message: messages$5.databasePortMax });
|
|
355
|
+
const databaseName = (z) => z.string().describe(descriptions$5.databaseName).min(1, { message: messages$5.databaseNameRequired });
|
|
356
|
+
const databaseUsername = (z) => z.string().describe(descriptions$5.databaseUsername).min(1, { message: messages$5.databaseUsernameRequired });
|
|
357
|
+
const databasePassword = (z) => z.string().describe(descriptions$5.databasePassword).min(1, { message: messages$5.databasePasswordRequired });
|
|
358
|
+
const databaseSchema = (z) => z.string().describe(descriptions$5.databaseSchema).optional();
|
|
359
|
+
const databasePoolSize = (z) => z.coerce.number().describe(descriptions$5.databasePoolSize).int({ message: messages$5.databasePoolSizeInt }).min(constraints$5.databasePoolSizeMin, { message: messages$5.databasePoolSizeMin }).max(constraints$5.databasePoolSizeMax, { message: messages$5.databasePoolSizeMax }).default(defaults$4.databasePoolSize);
|
|
360
|
+
const databaseTimeout = (z) => z.coerce.number().describe(descriptions$5.databaseTimeout).int({ message: messages$5.databaseTimeoutInt }).min(constraints$5.databaseTimeoutMin, { message: messages$5.databaseTimeoutMin }).max(constraints$5.databaseTimeoutMax, { message: messages$5.databaseTimeoutMax }).default(defaults$4.databaseTimeout);
|
|
361
|
+
const databaseSsl = (z) => z.boolean().describe(descriptions$5.databaseSsl).default(defaults$4.databaseSsl);
|
|
362
|
+
|
|
363
|
+
//#endregion
|
|
364
|
+
//#region ../schemas/src/zod/v4/datadog.ts
|
|
365
|
+
const datadogApiKey = (z) => z.string().describe(descriptions$4.datadogApiKey).length(constraints$4.datadogApiKeyLength, { message: messages$4.datadogApiKeyLength }).optional();
|
|
366
|
+
|
|
367
|
+
//#endregion
|
|
368
|
+
//#region ../schemas/src/zod/v4/docker.ts
|
|
369
|
+
const dockerRegistryUrl = (z) => z.string().url({ message: messages$4.dockerRegistryUrlFormat }).describe(descriptions$4.dockerRegistryUrl);
|
|
370
|
+
const dockerRegistryUsername = (z) => z.string().describe(descriptions$4.dockerRegistryUsername).optional();
|
|
371
|
+
const dockerRegistryPassword = (z) => z.string().describe(descriptions$4.dockerRegistryPassword).optional();
|
|
372
|
+
|
|
373
|
+
//#endregion
|
|
374
|
+
//#region ../schemas/src/zod/v4/elasticsearch.ts
|
|
375
|
+
const elasticsearchUrl = (z) => z.url({ message: messages$4.elasticsearchUrlFormat }).describe(descriptions$4.elasticsearchUrl).regex(patterns.httpProtocol, { message: messages$4.elasticsearchUrlProtocol });
|
|
376
|
+
const elasticsearchUsername = (z) => z.string().describe(descriptions$4.elasticsearchUsername).optional();
|
|
377
|
+
const elasticsearchPassword = (z) => z.string().describe(descriptions$4.elasticsearchPassword).optional();
|
|
378
|
+
|
|
379
|
+
//#endregion
|
|
380
|
+
//#region ../schemas/src/zod/v4/encryptionKey.ts
|
|
381
|
+
const encryptionKey = (z) => z.string().describe(descriptions.encryptionKey).min(constraints.encryptionKeyMinLength, { error: messages.encryptionKeyMin });
|
|
382
|
+
|
|
383
|
+
//#endregion
|
|
384
|
+
//#region ../schemas/src/zod/v4/host.ts
|
|
385
|
+
const hostSchema = (z) => z.string().describe(descriptions.host).default(defaults.host);
|
|
386
|
+
|
|
387
|
+
//#endregion
|
|
388
|
+
//#region ../schemas/src/zod/v4/jwt.ts
|
|
389
|
+
const jwtSecret = (z) => z.string().describe(descriptions.jwtSecret).min(constraints.jwtSecretMinLength, { error: messages.jwtSecretMin });
|
|
390
|
+
const jwtAccessTokenExpiresIn = (z) => z.string().describe(descriptions.jwtAccessTokenExpiresIn).regex(patterns.jwtTokenDuration, { error: messages.jwtDurationFormat }).default(defaults.jwtAccessTokenExpiresIn);
|
|
391
|
+
const jwtRefreshTokenExpiresIn = (z) => z.string().describe(descriptions.jwtRefreshTokenExpiresIn).regex(patterns.jwtTokenDuration, { error: messages.jwtDurationFormat }).default(defaults.jwtRefreshTokenExpiresIn);
|
|
392
|
+
|
|
393
|
+
//#endregion
|
|
394
|
+
//#region ../schemas/src/zod/v4/kafka.ts
|
|
395
|
+
const kafkaBrokers = (z) => z.string().describe(descriptions$4.kafkaBrokers).regex(patterns$3.hostPortList, { message: messages$4.hostPortListFormat });
|
|
396
|
+
const kafkaClientId = (z) => z.string().describe(descriptions$4.kafkaClientId).min(1, { message: messages$4.kafkaClientIdRequired });
|
|
397
|
+
|
|
398
|
+
//#endregion
|
|
399
|
+
//#region ../schemas/src/zod/v4/kubernetes.ts
|
|
400
|
+
const kubernetesNamespace = (z) => z.string().describe(descriptions$4.kubernetesNamespace).regex(patterns$3.kubernetesName, { message: messages$4.kubernetesNameFormat }).default(defaults$3.kubernetesNamespace);
|
|
401
|
+
const kubernetesServiceAccount = (z) => z.string().describe(descriptions$4.kubernetesServiceAccount).regex(patterns$3.kubernetesName, { message: messages$4.kubernetesServiceAccountFormat }).optional();
|
|
402
|
+
|
|
403
|
+
//#endregion
|
|
404
|
+
//#region ../schemas/src/zod/v4/logLevel.ts
|
|
405
|
+
const logLevelSchema = (z) => z.enum([...enumOptions.logLevel]).describe(descriptions.logLevel).default(defaults.logLevel);
|
|
406
|
+
|
|
407
|
+
//#endregion
|
|
408
|
+
//#region ../schemas/src/zod/v4/rabbitmq.ts
|
|
409
|
+
const rabbitmqUrl = (z) => z.string().describe(descriptions$4.rabbitmqUrl).regex(patterns$3.rabbitmqUrl, { message: messages$4.rabbitmqUrlFormat });
|
|
410
|
+
|
|
411
|
+
//#endregion
|
|
412
|
+
//#region ../schemas/src/zod/v4/monitoring.ts
|
|
413
|
+
const newRelicLicenseKey = (z) => z.string().describe(descriptions$4.newRelicLicenseKey).length(constraints$4.newRelicLicenseKeyLength, { message: messages$4.newRelicLicenseKeyLength }).optional();
|
|
414
|
+
const sentryDsn = (z) => z.string().describe(descriptions$4.sentryDsn).regex(patterns$3.sentryDsn, { message: messages$4.sentryDsnFormat }).optional();
|
|
415
|
+
const jaegerEndpoint = (z) => z.string().url({ message: messages$4.jaegerEndpointFormat }).describe(descriptions$4.jaegerEndpoint).optional();
|
|
416
|
+
const prometheusPort = (z) => z.number().describe(descriptions$4.prometheusPort).int({ message: messages$4.prometheusPortInt }).min(constraints$4.prometheusPortMin, { message: messages$4.prometheusPortMin }).max(constraints$4.prometheusPortMax, { message: messages$4.prometheusPortMax }).default(defaults$3.prometheusPort);
|
|
417
|
+
|
|
418
|
+
//#endregion
|
|
419
|
+
//#region ../schemas/src/zod/v4/node.ts
|
|
420
|
+
const nodeEnv = (z) => z.enum([...enumOptions.nodeEnv]).describe(descriptions.nodeEnv).default(defaults.nodeEnv);
|
|
421
|
+
|
|
422
|
+
//#endregion
|
|
423
|
+
//#region ../schemas/src/zod/v4/oauth.ts
|
|
424
|
+
const oauthClientId = (z) => z.string().describe(descriptions$3.clientId).min(constraints$3.clientIdMinLength, { error: messages$3.clientIdRequired });
|
|
425
|
+
const oauthClientSecret = (z) => z.string().describe(descriptions$3.clientSecret).min(constraints$3.clientSecretMinLength, { error: messages$3.clientSecretMinLength });
|
|
426
|
+
const oauthRedirectUri = (z) => z.url({ message: messages$3.redirectUriInvalid }).describe(descriptions$3.redirectUri);
|
|
427
|
+
const oauthScope = (z) => z.string().describe(descriptions$3.scope).min(constraints$3.scopeMinLength, { error: messages$3.scopeRequired });
|
|
428
|
+
|
|
429
|
+
//#endregion
|
|
430
|
+
//#region ../schemas/src/zod/v4/openai.ts
|
|
431
|
+
const openaiApiKey = (z) => z.string().describe(descriptions$2.apiKey).min(constraints$2.apiKeyMinLength, { error: messages$2.apiKeyMinLength }).regex(patterns$2.apiKey, { message: messages$2.apiKeyFormat });
|
|
432
|
+
const openaiOrganizationId = (z) => z.string().describe(descriptions$2.organizationId).regex(patterns$2.organizationId, { message: messages$2.organizationFormat }).optional();
|
|
433
|
+
const openaiProjectId = (z) => z.string().describe(descriptions$2.projectId).regex(patterns$2.projectId, { message: messages$2.projectFormat }).optional();
|
|
434
|
+
const openaiBaseUrl = (z) => z.string().describe(descriptions$2.baseUrl).url({ message: messages$2.baseUrlInvalid }).refine((value) => value.startsWith("https://"), { message: messages$2.baseUrlProtocol }).optional();
|
|
435
|
+
const openaiModel = (z) => z.string().describe(descriptions$2.model).min(1, { message: messages$2.modelRequired }).optional();
|
|
436
|
+
const openaiTimeout = (z) => z.number().describe(descriptions$2.timeout).int({ message: messages$2.timeoutInteger }).min(constraints$2.timeoutMin, { message: messages$2.timeoutMin }).max(constraints$2.timeoutMax, { message: messages$2.timeoutMax }).default(defaults$2.timeout);
|
|
437
|
+
|
|
438
|
+
//#endregion
|
|
439
|
+
//#region ../schemas/src/zod/v4/redis.ts
|
|
440
|
+
const redisUrl = (z) => z.string().describe(descriptions$1.url).regex(patterns$1.url, { message: messages$1.urlFormat });
|
|
441
|
+
const redisHost = (z) => z.string().describe(descriptions$1.host).min(1, { message: messages$1.hostRequired }).regex(patterns$1.host, { message: messages$1.hostFormat });
|
|
442
|
+
const redisPort = (z) => z.number().describe(descriptions$1.port).int({ message: messages$1.portInteger }).min(constraints$1.portMin, { message: messages$1.portMin }).max(constraints$1.portMax, { message: messages$1.portMax }).default(defaults$1.port);
|
|
443
|
+
const redisUsername = (z) => z.string().describe(descriptions$1.username).min(1, { message: messages$1.usernameRequired });
|
|
444
|
+
const redisPassword = (z) => z.string().describe(descriptions$1.password).min(1, { message: messages$1.passwordRequired });
|
|
445
|
+
const redisDb = (z) => z.number().describe(descriptions$1.db).int({ message: messages$1.dbInteger }).min(constraints$1.dbMin, { message: messages$1.dbRange }).max(constraints$1.dbMax, { message: messages$1.dbRange }).default(defaults$1.db);
|
|
446
|
+
const redisTls = (z) => z.boolean().describe(descriptions$1.tls).default(defaults$1.tls);
|
|
447
|
+
const redisTlsCaCertPath = (z) => z.string().describe(descriptions$1.tlsCaCertPath).min(1, { message: messages$1.tlsCaCertPathRequired });
|
|
448
|
+
|
|
449
|
+
//#endregion
|
|
450
|
+
//#region ../schemas/src/zod/v4/port.ts
|
|
451
|
+
const port = (z) => z.coerce.number().describe(descriptions.port).int({ error: messages.portInt }).min(constraints.portMin, { error: messages.portMin }).max(constraints.portMax, { error: messages.portMax }).default(defaults.port);
|
|
452
|
+
|
|
453
|
+
//#endregion
|
|
454
|
+
//#region ../schemas/src/zod/v4/rateLimit.ts
|
|
455
|
+
const rateLimitRpm = (z) => z.coerce.number().describe(descriptions.rateLimitRpm).int({ error: messages.rateLimitRpmInt }).min(constraints.rateLimitRpmMin, { error: messages.rateLimitRpmMin }).max(constraints.rateLimitRpmMax, { error: messages.rateLimitRpmMax }).default(defaults.rateLimitRpm);
|
|
456
|
+
const rateLimitWindow = (z) => z.coerce.number().describe(descriptions.rateLimitWindow).int({ error: messages.rateLimitWindowInt }).min(constraints.rateLimitWindowMin, { error: messages.rateLimitWindowMin }).max(constraints.rateLimitWindowMax, { error: messages.rateLimitWindowMax }).default(defaults.rateLimitWindow);
|
|
457
|
+
|
|
458
|
+
//#endregion
|
|
459
|
+
//#region ../schemas/src/zod/v4/webhook.ts
|
|
460
|
+
const webhookUrl = (z) => z.url({ message: messages.mustBeValidUrl }).describe(descriptions.webhookUrl).regex(patterns.httpsProtocol, { error: messages.httpsProtocolRequired });
|
|
461
|
+
|
|
462
|
+
//#endregion
|
|
463
|
+
//#region ../schemas/src/zod/v4/index.ts
|
|
464
|
+
var v4_default = (z) => ({
|
|
465
|
+
API_KEY: apiKey(z),
|
|
466
|
+
API_BASE_URL: apiBaseUrl(z),
|
|
467
|
+
API_TIMEOUT: apiTimeout(z),
|
|
468
|
+
APPLICATIONINSIGHTS_CONNECTION_STRING: applicationInsightsConnectionString(z),
|
|
469
|
+
APPINSIGHTS_INSTRUMENTATIONKEY: appInsightsInstrumentationKey(z),
|
|
470
|
+
APPINSIGHTS_ROLE_NAME: appInsightsRoleName(z),
|
|
471
|
+
APPINSIGHTS_SAMPLING_RATE: appInsightsSamplingRate(z),
|
|
472
|
+
APPINSIGHTS_AUTOCOLLECT_DEPENDENCIES: appInsightsAutocollectDependencies(z),
|
|
473
|
+
APPINSIGHTS_AUTOCOLLECT_EXCEPTIONS: appInsightsAutocollectExceptions(z),
|
|
474
|
+
APPINSIGHTS_AUTOCOLLECT_CONSOLE: appInsightsAutocollectConsole(z),
|
|
475
|
+
APPINSIGHTS_AUTOCOLLECT_PERFORMANCE: appInsightsAutocollectPerformance(z),
|
|
476
|
+
AWS_ACCESS_KEY_ID: awsAccessKeyId(z),
|
|
477
|
+
AWS_SECRET_ACCESS_KEY: awsSecretAccessKey(z),
|
|
478
|
+
AWS_REGION: awsRegion(z),
|
|
479
|
+
AWS_S3_BUCKET_NAME: awsS3BucketName(z),
|
|
480
|
+
AWS_SQS_QUEUE_URL: awsSqsQueueUrl(z),
|
|
481
|
+
AZURE_STORAGE_CONNECTION_STRING: azureStorageConnectionString(z),
|
|
482
|
+
AZURE_STORAGE_ACCOUNT_NAME: azureStorageAccountName(z),
|
|
483
|
+
AZURE_STORAGE_ACCOUNT_KEY: azureStorageAccountKey(z),
|
|
484
|
+
AZURE_SERVICE_BUS_CONNECTION_STRING: azureServiceBusConnectionString(z),
|
|
485
|
+
AZURE_EVENT_HUB_CONNECTION_STRING: azureEventHubConnectionString(z),
|
|
486
|
+
MEMCACHED_SERVERS: memcachedServers(z),
|
|
487
|
+
CORS_ORIGIN: cors(z),
|
|
488
|
+
DATABASE_URL: databaseUrl(z),
|
|
489
|
+
DATABASE_HOST: databaseHost(z),
|
|
490
|
+
DATABASE_PORT: databasePort(z),
|
|
491
|
+
DATABASE_NAME: databaseName(z),
|
|
492
|
+
DATABASE_USERNAME: databaseUsername(z),
|
|
493
|
+
DATABASE_PASSWORD: databasePassword(z),
|
|
494
|
+
DATABASE_SCHEMA: databaseSchema(z),
|
|
495
|
+
DATABASE_POOL_SIZE: databasePoolSize(z),
|
|
496
|
+
DATABASE_TIMEOUT: databaseTimeout(z),
|
|
497
|
+
DATABASE_SSL: databaseSsl(z),
|
|
498
|
+
DATADOG_API_KEY: datadogApiKey(z),
|
|
499
|
+
DOCKER_REGISTRY_URL: dockerRegistryUrl(z),
|
|
500
|
+
DOCKER_REGISTRY_USERNAME: dockerRegistryUsername(z),
|
|
501
|
+
DOCKER_REGISTRY_PASSWORD: dockerRegistryPassword(z),
|
|
502
|
+
ELASTICSEARCH_URL: elasticsearchUrl(z),
|
|
503
|
+
ELASTICSEARCH_USERNAME: elasticsearchUsername(z),
|
|
504
|
+
ELASTICSEARCH_PASSWORD: elasticsearchPassword(z),
|
|
505
|
+
ENCRYPTION_KEY: encryptionKey(z),
|
|
506
|
+
HOST: hostSchema(z),
|
|
507
|
+
PORT: port(z),
|
|
508
|
+
JWT_SECRET: jwtSecret(z),
|
|
509
|
+
JWT_ACCESS_TOKEN_EXPIRES_IN: jwtAccessTokenExpiresIn(z),
|
|
510
|
+
JWT_REFRESH_TOKEN_EXPIRES_IN: jwtRefreshTokenExpiresIn(z),
|
|
511
|
+
KAFKA_BROKERS: kafkaBrokers(z),
|
|
512
|
+
KAFKA_CLIENT_ID: kafkaClientId(z),
|
|
513
|
+
KUBERNETES_NAMESPACE: kubernetesNamespace(z),
|
|
514
|
+
KUBERNETES_SERVICE_ACCOUNT: kubernetesServiceAccount(z),
|
|
515
|
+
LOG_LEVEL: logLevelSchema(z),
|
|
516
|
+
RABBITMQ_URL: rabbitmqUrl(z),
|
|
517
|
+
NEW_RELIC_LICENSE_KEY: newRelicLicenseKey(z),
|
|
518
|
+
SENTRY_DSN: sentryDsn(z),
|
|
519
|
+
JAEGER_ENDPOINT: jaegerEndpoint(z),
|
|
520
|
+
PROMETHEUS_PORT: prometheusPort(z),
|
|
521
|
+
NODE_ENV: nodeEnv(z),
|
|
522
|
+
OAUTH_CLIENT_ID: oauthClientId(z),
|
|
523
|
+
OAUTH_CLIENT_SECRET: oauthClientSecret(z),
|
|
524
|
+
OAUTH_REDIRECT_URI: oauthRedirectUri(z),
|
|
525
|
+
OAUTH_SCOPE: oauthScope(z),
|
|
526
|
+
OPENAI_API_KEY: openaiApiKey(z),
|
|
527
|
+
OPENAI_ORGANIZATION_ID: openaiOrganizationId(z),
|
|
528
|
+
OPENAI_PROJECT_ID: openaiProjectId(z),
|
|
529
|
+
OPENAI_BASE_URL: openaiBaseUrl(z),
|
|
530
|
+
OPENAI_MODEL: openaiModel(z),
|
|
531
|
+
OPENAI_TIMEOUT: openaiTimeout(z),
|
|
532
|
+
REDIS_URL: redisUrl(z),
|
|
533
|
+
REDIS_HOST: redisHost(z),
|
|
534
|
+
REDIS_PORT: redisPort(z),
|
|
535
|
+
REDIS_USERNAME: redisUsername(z),
|
|
536
|
+
REDIS_PASSWORD: redisPassword(z),
|
|
537
|
+
REDIS_DB: redisDb(z),
|
|
538
|
+
REDIS_TLS: redisTls(z),
|
|
539
|
+
REDIS_TLS_CA_CERT_PATH: redisTlsCaCertPath(z),
|
|
540
|
+
RATE_LIMIT_RPM: rateLimitRpm(z),
|
|
541
|
+
RATE_LIMIT_WINDOW: rateLimitWindow(z),
|
|
542
|
+
WEBHOOK_URL: webhookUrl(z)
|
|
543
|
+
});
|
|
544
|
+
|
|
545
|
+
//#endregion
|
|
546
|
+
//#region src/schemas/zod.ts
|
|
547
|
+
var zod_default = v4_default(external_exports);
|
|
548
|
+
|
|
549
|
+
//#endregion
|
|
550
|
+
export { apiBaseUrl, apiKey, apiTimeout, appInsightsAutocollectConsole, appInsightsAutocollectDependencies, appInsightsAutocollectExceptions, appInsightsAutocollectPerformance, appInsightsInstrumentationKey, appInsightsRoleName, appInsightsSamplingRate, applicationInsightsConnectionString, awsAccessKeyId, awsRegion, awsS3BucketName, awsSecretAccessKey, awsSqsQueueUrl, azureEventHubConnectionString, azureServiceBusConnectionString, azureStorageAccountKey, azureStorageAccountName, azureStorageConnectionString, cors, databaseHost, databaseName, databasePassword, databasePoolSize, databasePort, databaseSchema, databaseSsl, databaseTimeout, databaseUrl, databaseUsername, datadogApiKey, zod_default as default, dockerRegistryPassword, dockerRegistryUrl, dockerRegistryUsername, elasticsearchPassword, elasticsearchUrl, elasticsearchUsername, encryptionKey, hostSchema, jaegerEndpoint, jwtAccessTokenExpiresIn, jwtRefreshTokenExpiresIn, jwtSecret, kafkaBrokers, kafkaClientId, kubernetesNamespace, kubernetesServiceAccount, logLevelSchema, memcachedServers, newRelicLicenseKey, nodeEnv, oauthClientId, oauthClientSecret, oauthRedirectUri, oauthScope, openaiApiKey, openaiBaseUrl, openaiModel, openaiOrganizationId, openaiProjectId, openaiTimeout, port, prometheusPort, rabbitmqUrl, rateLimitRpm, rateLimitWindow, redisDb, redisHost, redisPassword, redisPort, redisTls, redisTlsCaCertPath, redisUrl, redisUsername, sentryDsn, webhookUrl };
|