@e-n-v/env 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/{BooleanMap-B7MeMkJC.d.ts → BooleanMap-BPQuO3Ae.d.ts} +1 -3
  2. package/dist/{BooleanMap-D93UJnv5.d.cts → BooleanMap-CX_YrPCf.d.cts} +1 -3
  3. package/dist/EnvChannelOptions-BbKeuO-o.d.cts +366 -0
  4. package/dist/EnvChannelOptions-BbKeuO-o.d.ts +366 -0
  5. package/dist/{EnvSource-DA3ZGlES.js → EnvSource-WAGWqRVM.js} +6 -10
  6. package/dist/{EnvSource-BVnmdHku.cjs → EnvSource-s8F_M_6O.cjs} +21 -28
  7. package/dist/EnvVarSchema-CDZGmnex.cjs +15 -0
  8. package/dist/EnvVarSchema-Dr6q7jf6.js +10 -0
  9. package/dist/{ProcessEnvChannel-Do4-yiLI.d.ts → ProcessEnvChannel-CwhV7_EB.d.ts} +2 -4
  10. package/dist/{ProcessEnvChannel-D465c-dp.d.cts → ProcessEnvChannel-DWHPZePe.d.cts} +2 -4
  11. package/dist/channels.cjs +3 -4
  12. package/dist/channels.d.cts +3 -4
  13. package/dist/channels.d.ts +3 -4
  14. package/dist/channels.js +2 -4
  15. package/dist/cli.cjs +10 -23
  16. package/dist/cli.d.cts +1 -1
  17. package/dist/cli.d.ts +1 -1
  18. package/dist/cli.js +7 -13
  19. package/dist/core.cjs +13 -14
  20. package/dist/core.d.cts +147 -6
  21. package/dist/core.d.ts +147 -6
  22. package/dist/core.js +9 -11
  23. package/dist/{custom-Bt_wnxIu.js → custom-Bd-jLg80.js} +3 -12
  24. package/dist/{custom-D_Rqjm09.cjs → custom-Dyb9TnER.cjs} +48 -58
  25. package/dist/files.cjs +6 -6
  26. package/dist/files.d.cts +2 -2
  27. package/dist/files.d.ts +2 -2
  28. package/dist/files.js +2 -5
  29. package/dist/{parse-awxwtQ1N.d.ts → index-B2eNij2x.d.cts} +1 -2
  30. package/dist/{parse-5fpTbjTr.d.cts → index-BHTM8nxS.d.ts} +1 -2
  31. package/dist/{prompt-DG8haZjn.d.ts → index-BKBW9Dxs.d.cts} +3 -4
  32. package/dist/{prompt-lmZdPaBh.d.cts → index-CEyOIRdj.d.ts} +3 -4
  33. package/dist/{EnvModel-BiT0OiDZ.d.ts → index-Cb0abjLf.d.ts} +59 -7
  34. package/dist/{EnvModel-I0fWZZ_n.d.cts → index-Cz3frUwZ.d.cts} +58 -6
  35. package/dist/index.cjs +27 -30
  36. package/dist/index.d.cts +11 -13
  37. package/dist/index.d.ts +11 -13
  38. package/dist/index.js +8 -14
  39. package/dist/model.cjs +10 -11
  40. package/dist/model.d.cts +2 -35
  41. package/dist/model.d.ts +2 -35
  42. package/dist/model.js +2 -6
  43. package/dist/parse.cjs +14 -14
  44. package/dist/parse.d.cts +5 -8
  45. package/dist/parse.d.ts +5 -8
  46. package/dist/parse.js +4 -7
  47. package/dist/preprocessors-BKuIcZa1.d.ts +83 -0
  48. package/dist/preprocessors-DFVyF0c7.d.cts +83 -0
  49. package/dist/prompt.cjs +12 -15
  50. package/dist/prompt.d.cts +5 -10
  51. package/dist/prompt.d.ts +5 -10
  52. package/dist/prompt.js +3 -9
  53. package/dist/{redis-Cazgs3_J.cjs → redis-CyTF0SYT.cjs} +260 -268
  54. package/dist/{redis-DXhlNtvD.js → redis-D18f4ztf.js} +15 -22
  55. package/dist/{index-UQm0jdkG.d.cts → redis-DsW-Vkwq.d.cts} +2 -6
  56. package/dist/{index-ClKndmJv.d.ts → redis-tRD4nAy_.d.ts} +2 -6
  57. package/dist/{resolveChannel-v9BDsw-M.js → resolveChannel-D1Fzl4TL.js} +59 -63
  58. package/dist/{resolveChannel-CjAuxy3p.cjs → resolveChannel-DxZNYdDe.cjs} +84 -92
  59. package/dist/{chunk-pbleEpgJ.cjs → rolldown-runtime-C0BPl7ul.cjs} +15 -16
  60. package/dist/{chunk-Bp6m_JJh.js → rolldown-runtime-D7D4PA-g.js} +4 -4
  61. package/dist/{schema-DdDa3Qjy.d.cts → schema-B-JLVS42.d.ts} +1 -3
  62. package/dist/{schema-CHypJTDK.d.ts → schema-B1i83alz.d.cts} +1 -3
  63. package/dist/schema-CtP5lpU1.js +11 -0
  64. package/dist/schema-D9nJKipf.cjs +22 -0
  65. package/dist/schemas/zod.cjs +42 -340
  66. package/dist/schemas/zod.d.cts +112 -114
  67. package/dist/schemas/zod.d.ts +112 -114
  68. package/dist/schemas/zod.js +111 -401
  69. package/dist/schemas.cjs +152 -155
  70. package/dist/schemas.d.cts +1 -2
  71. package/dist/schemas.d.ts +1 -2
  72. package/dist/schemas.js +2 -6
  73. package/dist/{src-CdqOYilA.cjs → src-5GYFbR9n.cjs} +21 -24
  74. package/dist/{src-BrNrE0hX.js → src-8rEOvFG5.js} +11 -14
  75. package/dist/{src-DI-VW4dW.js → src-CdzAzdq-.js} +77 -110
  76. package/dist/{src-B5Qu-M-r.js → src-Cg49gGJb.js} +9 -43
  77. package/dist/{src-dO72HN6e.cjs → src-CttkcdpE.cjs} +90 -130
  78. package/dist/{src-PHSSk-t3.cjs → src-D5KzIEH_.cjs} +130 -110
  79. package/dist/{src-DVdOONrX.cjs → src-DB0Har0j.cjs} +911 -932
  80. package/dist/{src-DQaQ28lz.js → src-DWc-WWjX.js} +107 -89
  81. package/dist/{src-vBXlFkSP.js → src-DvUBRBe3.js} +115 -136
  82. package/dist/{src-DywfI0fM.cjs → src-TZx_e95f.cjs} +78 -131
  83. package/dist/{vars-DF9DoAF4.d.ts → vars-DtzGL5Nc.d.cts} +1 -4
  84. package/dist/{vars-KUgv2rti.d.cts → vars-obKYxaSu.d.ts} +1 -4
  85. package/dist/vars.cjs +175 -160
  86. package/dist/vars.d.cts +2 -6
  87. package/dist/vars.d.ts +2 -6
  88. package/dist/vars.js +21 -9
  89. package/package.json +3 -2
  90. package/dist/EnvChannelOptions-BPkWDrmr.d.cts +0 -108
  91. package/dist/EnvChannelOptions-CRwDLWjd.d.ts +0 -108
  92. package/dist/coerce-DNIuYAx4.js +0 -11028
  93. package/dist/coerce-b7UVodS9.cjs +0 -12365
  94. package/dist/model-BNDYMM9l.d.ts +0 -29
  95. package/dist/model-CJMnbGuS.d.cts +0 -29
  96. package/dist/validate-8HbVniNt.d.cts +0 -204
  97. package/dist/validate-CE8hQ5JG.d.ts +0 -204
  98. package/dist/vars-BHXXBiY1.cjs +0 -27
  99. package/dist/vars-FOuH_HuL.js +0 -22
  100. /package/dist/{EnvChannel-LMIRYvT1.d.cts → EnvChannel-CfSwa_25.d.cts} +0 -0
  101. /package/dist/{EnvChannel-w27PEm7x.d.ts → EnvChannel-CfSwa_25.d.ts} +0 -0
  102. /package/dist/{StringEnvVarSchema-BwSGgmeG.d.ts → StringEnvVarSchema-D9Jr1Aws.d.cts} +0 -0
  103. /package/dist/{StringEnvVarSchema-DnsZTIS0.d.cts → StringEnvVarSchema-D9Jr1Aws.d.ts} +0 -0
@@ -1,274 +1,12 @@
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, n as number$1, 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 descriptions$4, C as defaults$5, E as patterns$5, F as defaults, I as descriptions, L as enumOptions, M as patterns$3, O as constraints$4, P as constraints, R as messages, S as constraints$6, T as messages$6, V as toZodMessages, _ 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 messages$4, k as defaults$3, 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 descriptions$6, x as patterns$4, y as descriptions$5, z as patterns } from "../redis-DXhlNtvD.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
1
+ import { A as descriptions$2, C as defaults$2, E as patterns$3, F as defaults$1, I as descriptions$1, L as enumOptions, M as patterns$2, O as constraints$2, P as constraints$1, R as messages$1, S as constraints$3, T as messages$3, V as toZodMessages, _ as constraints$4, a as patterns$6, b as messages$4, c as defaults$5, d as patterns$5, h as messages$5, i as messages$7, j as messages$2, k as defaults$4, l as descriptions$6, m as descriptions$5, n as defaults$6, p as constraints$5, r as descriptions$7, s as constraints$6, t as constraints$7, u as messages$6, v as defaults$3, w as descriptions$3, x as patterns$4, y as descriptions$4, z as patterns$1 } from "../redis-D18f4ztf.js";
2
+ import { z } from "zod";
264
3
  //#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
-
4
+ const apiKey = (z) => z.string().describe(descriptions$1.apiKey).min(constraints$1.apiKeyMinLength, { error: messages$1.apiKeyMin });
5
+ const apiBaseUrl = (z) => z.url().describe(descriptions$1.apiBaseUrl).regex(patterns$1.httpProtocol, { error: messages$1.httpProtocolRequired });
6
+ const apiTimeout = (z) => z.number().describe(descriptions$1.apiTimeout).int({ error: messages$1.apiTimeoutInt }).min(constraints$1.apiTimeoutMin, { error: messages$1.apiTimeoutMin }).max(constraints$1.apiTimeoutMax, { error: messages$1.apiTimeoutMax }).default(defaults$1.apiTimeout);
269
7
  //#endregion
270
8
  //#region ../schemas/src/shared/applicationInsights.ts
271
- const descriptions$7 = {
9
+ const descriptions = {
272
10
  connectionString: "Azure Application Insights connection string",
273
11
  instrumentationKey: "Azure Application Insights instrumentation key (legacy)",
274
12
  roleName: "Application Insights role name for distributed tracing",
@@ -286,56 +24,51 @@ const traits = {
286
24
  samplingRateMin: "between 0 and 100",
287
25
  samplingRateMax: "between 0 and 100"
288
26
  };
289
- const constraints$7 = {
27
+ const constraints = {
290
28
  roleNameMin: 1,
291
29
  roleNameMax: 256,
292
30
  samplingRateMin: 0,
293
31
  samplingRateMax: 100
294
32
  };
295
- const defaults$6 = {
33
+ const defaults = {
296
34
  samplingRate: 100,
297
35
  autoCollectDependencies: true,
298
36
  autoCollectExceptions: true,
299
37
  autoCollectConsole: true,
300
38
  autoCollectPerformance: true
301
39
  };
302
- const patterns$6 = { 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$7 = toZodMessages(traits);
304
-
40
+ const patterns = { 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:\/\/[^;]+$/ };
41
+ const messages = toZodMessages(traits);
305
42
  //#endregion
306
43
  //#region ../schemas/src/zod/v4/applicationInsights.ts
307
- const applicationInsightsConnectionString = (z) => z.string().describe(descriptions$7.connectionString).regex(patterns$6.connectionString, { error: messages$7.connectionStringFormat });
308
- const appInsightsInstrumentationKey = (z) => z.uuid({ message: messages$7.instrumentationKeyUuid }).describe(descriptions$7.instrumentationKey);
309
- const appInsightsRoleName = (z) => z.string().describe(descriptions$7.roleName).min(constraints$7.roleNameMin, { error: messages$7.roleNameMin }).max(constraints$7.roleNameMax, { error: messages$7.roleNameMax });
310
- const appInsightsSamplingRate = (z) => z.number().describe(descriptions$7.samplingRate).min(constraints$7.samplingRateMin, { error: messages$7.samplingRateMin }).max(constraints$7.samplingRateMax, { error: messages$7.samplingRateMax }).default(defaults$6.samplingRate);
311
- const appInsightsAutocollectDependencies = (z) => z.boolean().describe(descriptions$7.autoCollectDependencies).default(defaults$6.autoCollectDependencies);
312
- const appInsightsAutocollectExceptions = (z) => z.boolean().describe(descriptions$7.autoCollectExceptions).default(defaults$6.autoCollectExceptions);
313
- const appInsightsAutocollectConsole = (z) => z.boolean().describe(descriptions$7.autoCollectConsole).default(defaults$6.autoCollectConsole);
314
- const appInsightsAutocollectPerformance = (z) => z.boolean().describe(descriptions$7.autoCollectPerformance).default(defaults$6.autoCollectPerformance);
315
-
44
+ const applicationInsightsConnectionString = (z) => z.string().describe(descriptions.connectionString).regex(patterns.connectionString, { error: messages.connectionStringFormat });
45
+ const appInsightsInstrumentationKey = (z) => z.uuid({ message: messages.instrumentationKeyUuid }).describe(descriptions.instrumentationKey);
46
+ const appInsightsRoleName = (z) => z.string().describe(descriptions.roleName).min(constraints.roleNameMin, { error: messages.roleNameMin }).max(constraints.roleNameMax, { error: messages.roleNameMax });
47
+ const appInsightsSamplingRate = (z) => z.number().describe(descriptions.samplingRate).min(constraints.samplingRateMin, { error: messages.samplingRateMin }).max(constraints.samplingRateMax, { error: messages.samplingRateMax }).default(defaults.samplingRate);
48
+ const appInsightsAutocollectDependencies = (z) => z.boolean().describe(descriptions.autoCollectDependencies).default(defaults.autoCollectDependencies);
49
+ const appInsightsAutocollectExceptions = (z) => z.boolean().describe(descriptions.autoCollectExceptions).default(defaults.autoCollectExceptions);
50
+ const appInsightsAutocollectConsole = (z) => z.boolean().describe(descriptions.autoCollectConsole).default(defaults.autoCollectConsole);
51
+ const appInsightsAutocollectPerformance = (z) => z.boolean().describe(descriptions.autoCollectPerformance).default(defaults.autoCollectPerformance);
316
52
  //#endregion
317
53
  //#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
-
54
+ const awsAccessKeyId = (z) => z.string().describe(descriptions$2.awsAccessKeyId).min(constraints$2.awsAccessKeyIdMin, { error: messages$2.awsAccessKeyIdMin }).max(constraints$2.awsAccessKeyIdMax, { error: messages$2.awsAccessKeyIdMax });
55
+ const awsSecretAccessKey = (z) => z.string().describe(descriptions$2.awsSecretAccessKey).min(1, { error: messages$2.awsSecretAccessKeyRequired });
56
+ const awsRegion = (z) => z.string().describe(descriptions$2.awsRegion).regex(patterns$2.awsRegion, { error: messages$2.awsRegionFormat });
57
+ const awsS3BucketName = (z) => z.string().describe(descriptions$2.awsS3BucketName).regex(patterns$2.awsS3BucketName, { error: messages$2.awsS3BucketNameFormat });
58
+ const awsSqsQueueUrl = (z) => z.string().describe(descriptions$2.awsSqsQueueUrl).regex(patterns$2.awsSqsQueueUrl, { error: messages$2.awsSqsQueueUrlFormat });
324
59
  //#endregion
325
60
  //#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
-
61
+ const azureStorageConnectionString = (z) => z.string().describe(descriptions$2.azureStorageConnectionString).regex(patterns$2.azureStorageConnectionString, { message: messages$2.azureStorageConnectionStringFormat });
62
+ const azureStorageAccountName = (z) => z.string().describe(descriptions$2.azureStorageAccountName).regex(patterns$2.azureStorageAccountName, { message: messages$2.azureStorageAccountNameFormat });
63
+ const azureStorageAccountKey = (z) => z.string().describe(descriptions$2.azureStorageAccountKey).min(1, { message: messages$2.azureStorageAccountKeyRequired });
64
+ const azureServiceBusConnectionString = (z) => z.string().describe(descriptions$2.azureServiceBusConnectionString).regex(patterns$2.azureServiceBusConnectionString, { message: messages$2.azureServiceBusConnectionStringFormat });
65
+ const azureEventHubConnectionString = (z) => z.string().describe(descriptions$2.azureEventHubConnectionString).regex(patterns$2.azureEventHubConnectionString, { message: messages$2.azureEventHubConnectionStringFormat });
332
66
  //#endregion
333
67
  //#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
-
68
+ const memcachedServers = (z) => z.string().describe(descriptions$2.memcachedServers).regex(patterns$2.hostPortList, { message: messages$2.hostPortListFormat });
336
69
  //#endregion
337
70
  //#region ../schemas/src/zod/v4/cors.ts
338
- const cors = (z) => z.string().describe(descriptions.corsOrigin).refine((val) => {
71
+ const cors = (z) => z.string().describe(descriptions$1.corsOrigin).refine((val) => {
339
72
  if (val === "*") return true;
340
73
  return val.split(",").map((origin) => origin.trim()).every((origin) => {
341
74
  try {
@@ -345,149 +78,117 @@ const cors = (z) => z.string().describe(descriptions.corsOrigin).refine((val) =>
345
78
  return false;
346
79
  }
347
80
  });
348
- }, { error: messages.corsOriginInvalid });
349
-
81
+ }, { error: messages$1.corsOriginInvalid });
350
82
  //#endregion
351
83
  //#region ../schemas/src/zod/v4/database.ts
352
- const databaseUrl = (z) => z.string().describe(descriptions$6.databaseUrl).regex(patterns$5.genericDatabaseUrl, { message: messages$6.genericDatabaseUrlFormat });
353
- const databaseHost = (z) => z.string().describe(descriptions$6.databaseHost).min(1, { message: messages$6.databaseHostRequired });
354
- const databasePort = (z) => z.coerce.number().describe(descriptions$6.databasePort).int({ message: messages$6.databasePortInt }).min(constraints$6.databasePortMin, { message: messages$6.databasePortMin }).max(constraints$6.databasePortMax, { message: messages$6.databasePortMax });
355
- const databaseName = (z) => z.string().describe(descriptions$6.databaseName).min(1, { message: messages$6.databaseNameRequired });
356
- const databaseUsername = (z) => z.string().describe(descriptions$6.databaseUsername).min(1, { message: messages$6.databaseUsernameRequired });
357
- const databasePassword = (z) => z.string().describe(descriptions$6.databasePassword).min(1, { message: messages$6.databasePasswordRequired });
358
- const databaseSchema = (z) => z.string().describe(descriptions$6.databaseSchema).optional();
359
- const databasePoolSize = (z) => z.coerce.number().describe(descriptions$6.databasePoolSize).int({ message: messages$6.databasePoolSizeInt }).min(constraints$6.databasePoolSizeMin, { message: messages$6.databasePoolSizeMin }).max(constraints$6.databasePoolSizeMax, { message: messages$6.databasePoolSizeMax }).default(defaults$5.databasePoolSize);
360
- const databaseTimeout = (z) => z.coerce.number().describe(descriptions$6.databaseTimeout).int({ message: messages$6.databaseTimeoutInt }).min(constraints$6.databaseTimeoutMin, { message: messages$6.databaseTimeoutMin }).max(constraints$6.databaseTimeoutMax, { message: messages$6.databaseTimeoutMax }).default(defaults$5.databaseTimeout);
361
- const databaseSsl = (z) => z.boolean().describe(descriptions$6.databaseSsl).default(defaults$5.databaseSsl);
362
-
84
+ const databaseUrl = (z) => z.string().describe(descriptions$3.databaseUrl).regex(patterns$3.genericDatabaseUrl, { message: messages$3.genericDatabaseUrlFormat });
85
+ const databaseHost = (z) => z.string().describe(descriptions$3.databaseHost).min(1, { message: messages$3.databaseHostRequired });
86
+ const databasePort = (z) => z.coerce.number().describe(descriptions$3.databasePort).int({ message: messages$3.databasePortInt }).min(constraints$3.databasePortMin, { message: messages$3.databasePortMin }).max(constraints$3.databasePortMax, { message: messages$3.databasePortMax });
87
+ const databaseName = (z) => z.string().describe(descriptions$3.databaseName).min(1, { message: messages$3.databaseNameRequired });
88
+ const databaseUsername = (z) => z.string().describe(descriptions$3.databaseUsername).min(1, { message: messages$3.databaseUsernameRequired });
89
+ const databasePassword = (z) => z.string().describe(descriptions$3.databasePassword).min(1, { message: messages$3.databasePasswordRequired });
90
+ const databaseSchema = (z) => z.string().describe(descriptions$3.databaseSchema).optional();
91
+ const databasePoolSize = (z) => z.coerce.number().describe(descriptions$3.databasePoolSize).int({ message: messages$3.databasePoolSizeInt }).min(constraints$3.databasePoolSizeMin, { message: messages$3.databasePoolSizeMin }).max(constraints$3.databasePoolSizeMax, { message: messages$3.databasePoolSizeMax }).default(defaults$2.databasePoolSize);
92
+ const databaseTimeout = (z) => z.coerce.number().describe(descriptions$3.databaseTimeout).int({ message: messages$3.databaseTimeoutInt }).min(constraints$3.databaseTimeoutMin, { message: messages$3.databaseTimeoutMin }).max(constraints$3.databaseTimeoutMax, { message: messages$3.databaseTimeoutMax }).default(defaults$2.databaseTimeout);
93
+ const databaseSsl = (z) => z.boolean().describe(descriptions$3.databaseSsl).default(defaults$2.databaseSsl);
363
94
  //#endregion
364
95
  //#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
-
96
+ const datadogApiKey = (z) => z.string().describe(descriptions$2.datadogApiKey).length(constraints$2.datadogApiKeyLength, { message: messages$2.datadogApiKeyLength }).optional();
367
97
  //#endregion
368
98
  //#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
-
99
+ const dockerRegistryUrl = (z) => z.string().url({ message: messages$2.dockerRegistryUrlFormat }).describe(descriptions$2.dockerRegistryUrl);
100
+ const dockerRegistryUsername = (z) => z.string().describe(descriptions$2.dockerRegistryUsername).optional();
101
+ const dockerRegistryPassword = (z) => z.string().describe(descriptions$2.dockerRegistryPassword).optional();
373
102
  //#endregion
374
103
  //#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
-
104
+ const elasticsearchUrl = (z) => z.url({ message: messages$2.elasticsearchUrlFormat }).describe(descriptions$2.elasticsearchUrl).regex(patterns$1.httpProtocol, { message: messages$2.elasticsearchUrlProtocol });
105
+ const elasticsearchUsername = (z) => z.string().describe(descriptions$2.elasticsearchUsername).optional();
106
+ const elasticsearchPassword = (z) => z.string().describe(descriptions$2.elasticsearchPassword).optional();
379
107
  //#endregion
380
108
  //#region ../schemas/src/zod/v4/encryptionKey.ts
381
- const encryptionKey = (z) => z.string().describe(descriptions.encryptionKey).min(constraints.encryptionKeyMinLength, { error: messages.encryptionKeyMin });
382
-
109
+ const encryptionKey = (z) => z.string().describe(descriptions$1.encryptionKey).min(constraints$1.encryptionKeyMinLength, { error: messages$1.encryptionKeyMin });
383
110
  //#endregion
384
111
  //#region ../schemas/src/zod/v4/gel.ts
385
- const gelDsn = () => string().describe(descriptions$5.gelDsn).regex(patterns$4.gelDsn, { message: messages$5.gelDsnFormat });
386
- const gelInstance = () => string().describe(descriptions$5.gelInstance).regex(patterns$4.gelInstance, { message: messages$5.gelInstanceFormat });
387
- const gelSecretKey = () => string().describe(descriptions$5.gelSecretKey).min(1, { message: messages$5.gelSecretKeyRequired });
388
- const gelHost = () => string().describe(descriptions$5.gelHost).min(1, { message: messages$5.gelHostRequired }).default("localhost");
389
- const gelPort = () => number$1().describe(descriptions$5.gelPort).int({ message: messages$5.gelPortInt }).min(constraints$5.gelPortMin, { message: messages$5.gelPortMin }).max(constraints$5.gelPortMax, { message: messages$5.gelPortMax }).default(defaults$4.gelPort);
390
- const gelUser = () => string().describe(descriptions$5.gelUser).min(1, { message: messages$5.gelUserRequired }).default(defaults$4.gelUser);
391
- const gelPassword = () => string().describe(descriptions$5.gelPassword).min(1, { message: messages$5.gelPasswordRequired });
392
- const gelBranch = () => string().describe(descriptions$5.gelBranch).regex(patterns$4.gelBranch, { message: messages$5.gelBranchFormat }).default(defaults$4.gelBranch);
393
- const gelTlsCaFile = () => string().describe(descriptions$5.gelTlsCaFile).min(1, { message: messages$5.gelTlsCaFileFormat }).optional();
394
- const gelClientTlsSecurity = () => _enum([
112
+ const gelDsn = (z) => z.string().describe(descriptions$4.gelDsn).regex(patterns$4.gelDsn, { message: messages$4.gelDsnFormat });
113
+ const gelInstance = (z) => z.string().describe(descriptions$4.gelInstance).regex(patterns$4.gelInstance, { message: messages$4.gelInstanceFormat });
114
+ const gelSecretKey = (z) => z.string().describe(descriptions$4.gelSecretKey).min(1, { message: messages$4.gelSecretKeyRequired });
115
+ const gelHost = (z) => z.string().describe(descriptions$4.gelHost).min(1, { message: messages$4.gelHostRequired }).default("localhost");
116
+ const gelPort = (z) => z.coerce.number().describe(descriptions$4.gelPort).int({ message: messages$4.gelPortInt }).min(constraints$4.gelPortMin, { message: messages$4.gelPortMin }).max(constraints$4.gelPortMax, { message: messages$4.gelPortMax }).default(defaults$3.gelPort);
117
+ const gelUser = (z) => z.string().describe(descriptions$4.gelUser).min(1, { message: messages$4.gelUserRequired }).default(defaults$3.gelUser);
118
+ const gelPassword = (z) => z.string().describe(descriptions$4.gelPassword).min(1, { message: messages$4.gelPasswordRequired });
119
+ const gelBranch = (z) => z.string().describe(descriptions$4.gelBranch).regex(patterns$4.gelBranch, { message: messages$4.gelBranchFormat }).default(defaults$3.gelBranch);
120
+ const gelTlsCaFile = (z) => z.string().describe(descriptions$4.gelTlsCaFile).min(1, { message: messages$4.gelTlsCaFileFormat }).optional();
121
+ const gelClientTlsSecurity = (z) => z.enum([
395
122
  "strict",
396
123
  "no_host_verification",
397
124
  "insecure"
398
- ]).describe(descriptions$5.gelClientTlsSecurity).default(defaults$4.gelClientTlsSecurity);
399
- const gelCredentialsFile = () => string().describe(descriptions$5.gelCredentialsFile).min(1, { message: messages$5.gelCredentialsFileFormat }).optional();
400
- const GEL_DSN = gelDsn();
401
- const GEL_INSTANCE = gelInstance();
402
- const GEL_SECRET_KEY = gelSecretKey();
403
- const GEL_HOST = gelHost();
404
- const GEL_PORT = gelPort();
405
- const GEL_USER = gelUser();
406
- const GEL_PASSWORD = gelPassword();
407
- const GEL_BRANCH = gelBranch();
408
- const GEL_TLS_CA_FILE = gelTlsCaFile();
409
- const GEL_CLIENT_TLS_SECURITY = gelClientTlsSecurity();
410
- const GEL_CREDENTIALS_FILE = gelCredentialsFile();
411
-
125
+ ]).describe(descriptions$4.gelClientTlsSecurity).default(defaults$3.gelClientTlsSecurity);
126
+ const gelCredentialsFile = (z) => z.string().describe(descriptions$4.gelCredentialsFile).min(1, { message: messages$4.gelCredentialsFileFormat }).optional();
412
127
  //#endregion
413
128
  //#region ../schemas/src/zod/v4/host.ts
414
- const hostSchema = (z) => z.string().describe(descriptions.host).default(defaults.host);
415
-
129
+ const hostSchema = (z) => z.string().describe(descriptions$1.host).default(defaults$1.host);
416
130
  //#endregion
417
131
  //#region ../schemas/src/zod/v4/jwt.ts
418
- const jwtSecret = (z) => z.string().describe(descriptions.jwtSecret).min(constraints.jwtSecretMinLength, { error: messages.jwtSecretMin });
419
- const jwtAccessTokenExpiresIn = (z) => z.string().describe(descriptions.jwtAccessTokenExpiresIn).regex(patterns.jwtTokenDuration, { error: messages.jwtDurationFormat }).default(defaults.jwtAccessTokenExpiresIn);
420
- const jwtRefreshTokenExpiresIn = (z) => z.string().describe(descriptions.jwtRefreshTokenExpiresIn).regex(patterns.jwtTokenDuration, { error: messages.jwtDurationFormat }).default(defaults.jwtRefreshTokenExpiresIn);
421
-
132
+ const jwtSecret = (z) => z.string().describe(descriptions$1.jwtSecret).min(constraints$1.jwtSecretMinLength, { error: messages$1.jwtSecretMin });
133
+ const jwtAccessTokenExpiresIn = (z) => z.string().describe(descriptions$1.jwtAccessTokenExpiresIn).regex(patterns$1.jwtTokenDuration, { error: messages$1.jwtDurationFormat }).default(defaults$1.jwtAccessTokenExpiresIn);
134
+ const jwtRefreshTokenExpiresIn = (z) => z.string().describe(descriptions$1.jwtRefreshTokenExpiresIn).regex(patterns$1.jwtTokenDuration, { error: messages$1.jwtDurationFormat }).default(defaults$1.jwtRefreshTokenExpiresIn);
422
135
  //#endregion
423
136
  //#region ../schemas/src/zod/v4/kafka.ts
424
- const kafkaBrokers = (z) => z.string().describe(descriptions$4.kafkaBrokers).regex(patterns$3.hostPortList, { message: messages$4.hostPortListFormat });
425
- const kafkaClientId = (z) => z.string().describe(descriptions$4.kafkaClientId).min(1, { message: messages$4.kafkaClientIdRequired });
426
-
137
+ const kafkaBrokers = (z) => z.string().describe(descriptions$2.kafkaBrokers).regex(patterns$2.hostPortList, { message: messages$2.hostPortListFormat });
138
+ const kafkaClientId = (z) => z.string().describe(descriptions$2.kafkaClientId).min(1, { message: messages$2.kafkaClientIdRequired });
427
139
  //#endregion
428
140
  //#region ../schemas/src/zod/v4/kubernetes.ts
429
- const kubernetesNamespace = (z) => z.string().describe(descriptions$4.kubernetesNamespace).regex(patterns$3.kubernetesName, { message: messages$4.kubernetesNameFormat }).default(defaults$3.kubernetesNamespace);
430
- const kubernetesServiceAccount = (z) => z.string().describe(descriptions$4.kubernetesServiceAccount).regex(patterns$3.kubernetesName, { message: messages$4.kubernetesServiceAccountFormat }).optional();
431
-
141
+ const kubernetesNamespace = (z) => z.string().describe(descriptions$2.kubernetesNamespace).regex(patterns$2.kubernetesName, { message: messages$2.kubernetesNameFormat }).default(defaults$4.kubernetesNamespace);
142
+ const kubernetesServiceAccount = (z) => z.string().describe(descriptions$2.kubernetesServiceAccount).regex(patterns$2.kubernetesName, { message: messages$2.kubernetesServiceAccountFormat }).optional();
432
143
  //#endregion
433
144
  //#region ../schemas/src/zod/v4/logLevel.ts
434
- const logLevelSchema = (z) => z.enum([...enumOptions.logLevel]).describe(descriptions.logLevel).default(defaults.logLevel);
435
-
145
+ const logLevelSchema = (z) => z.enum([...enumOptions.logLevel]).describe(descriptions$1.logLevel).default(defaults$1.logLevel);
436
146
  //#endregion
437
147
  //#region ../schemas/src/zod/v4/rabbitmq.ts
438
- const rabbitmqUrl = (z) => z.string().describe(descriptions$4.rabbitmqUrl).regex(patterns$3.rabbitmqUrl, { message: messages$4.rabbitmqUrlFormat });
439
-
148
+ const rabbitmqUrl = (z) => z.string().describe(descriptions$2.rabbitmqUrl).regex(patterns$2.rabbitmqUrl, { message: messages$2.rabbitmqUrlFormat });
440
149
  //#endregion
441
150
  //#region ../schemas/src/zod/v4/monitoring.ts
442
- const newRelicLicenseKey = (z) => z.string().describe(descriptions$4.newRelicLicenseKey).length(constraints$4.newRelicLicenseKeyLength, { message: messages$4.newRelicLicenseKeyLength }).optional();
443
- const sentryDsn = (z) => z.string().describe(descriptions$4.sentryDsn).regex(patterns$3.sentryDsn, { message: messages$4.sentryDsnFormat }).optional();
444
- const jaegerEndpoint = (z) => z.string().url({ message: messages$4.jaegerEndpointFormat }).describe(descriptions$4.jaegerEndpoint).optional();
445
- 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);
446
-
151
+ const newRelicLicenseKey = (z) => z.string().describe(descriptions$2.newRelicLicenseKey).length(constraints$2.newRelicLicenseKeyLength, { message: messages$2.newRelicLicenseKeyLength }).optional();
152
+ const sentryDsn = (z) => z.string().describe(descriptions$2.sentryDsn).regex(patterns$2.sentryDsn, { message: messages$2.sentryDsnFormat }).optional();
153
+ const jaegerEndpoint = (z) => z.string().url({ message: messages$2.jaegerEndpointFormat }).describe(descriptions$2.jaegerEndpoint).optional();
154
+ const prometheusPort = (z) => z.number().describe(descriptions$2.prometheusPort).int({ message: messages$2.prometheusPortInt }).min(constraints$2.prometheusPortMin, { message: messages$2.prometheusPortMin }).max(constraints$2.prometheusPortMax, { message: messages$2.prometheusPortMax }).default(defaults$4.prometheusPort);
447
155
  //#endregion
448
156
  //#region ../schemas/src/zod/v4/node.ts
449
- const nodeEnv = (z) => z.enum([...enumOptions.nodeEnv]).describe(descriptions.nodeEnv).default(defaults.nodeEnv);
450
-
157
+ const nodeEnv = (z) => z.enum([...enumOptions.nodeEnv]).describe(descriptions$1.nodeEnv).default(defaults$1.nodeEnv);
451
158
  //#endregion
452
159
  //#region ../schemas/src/zod/v4/oauth.ts
453
- const oauthClientId = (z) => z.string().describe(descriptions$3.clientId).min(constraints$3.clientIdMinLength, { error: messages$3.clientIdRequired });
454
- const oauthClientSecret = (z) => z.string().describe(descriptions$3.clientSecret).min(constraints$3.clientSecretMinLength, { error: messages$3.clientSecretMinLength });
455
- const oauthRedirectUri = (z) => z.url({ message: messages$3.redirectUriInvalid }).describe(descriptions$3.redirectUri);
456
- const oauthScope = (z) => z.string().describe(descriptions$3.scope).min(constraints$3.scopeMinLength, { error: messages$3.scopeRequired });
457
-
160
+ const oauthClientId = (z) => z.string().describe(descriptions$5.clientId).min(constraints$5.clientIdMinLength, { error: messages$5.clientIdRequired });
161
+ const oauthClientSecret = (z) => z.string().describe(descriptions$5.clientSecret).min(constraints$5.clientSecretMinLength, { error: messages$5.clientSecretMinLength });
162
+ const oauthRedirectUri = (z) => z.url({ message: messages$5.redirectUriInvalid }).describe(descriptions$5.redirectUri);
163
+ const oauthScope = (z) => z.string().describe(descriptions$5.scope).min(constraints$5.scopeMinLength, { error: messages$5.scopeRequired });
458
164
  //#endregion
459
165
  //#region ../schemas/src/zod/v4/openai.ts
460
- 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 });
461
- const openaiOrganizationId = (z) => z.string().describe(descriptions$2.organizationId).regex(patterns$2.organizationId, { message: messages$2.organizationFormat }).optional();
462
- const openaiProjectId = (z) => z.string().describe(descriptions$2.projectId).regex(patterns$2.projectId, { message: messages$2.projectFormat }).optional();
463
- const openaiBaseUrl = (z) => z.string().describe(descriptions$2.baseUrl).url({ message: messages$2.baseUrlInvalid }).refine((value) => value.startsWith("https://"), { message: messages$2.baseUrlProtocol }).optional();
464
- const openaiModel = (z) => z.string().describe(descriptions$2.model).min(1, { message: messages$2.modelRequired }).optional();
465
- 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);
466
-
166
+ const openaiApiKey = (z) => z.string().describe(descriptions$6.apiKey).min(constraints$6.apiKeyMinLength, { error: messages$6.apiKeyMinLength }).regex(patterns$5.apiKey, { message: messages$6.apiKeyFormat });
167
+ const openaiOrganizationId = (z) => z.string().describe(descriptions$6.organizationId).regex(patterns$5.organizationId, { message: messages$6.organizationFormat }).optional();
168
+ const openaiProjectId = (z) => z.string().describe(descriptions$6.projectId).regex(patterns$5.projectId, { message: messages$6.projectFormat }).optional();
169
+ const openaiBaseUrl = (z) => z.string().describe(descriptions$6.baseUrl).url({ message: messages$6.baseUrlInvalid }).refine((value) => value.startsWith("https://"), { message: messages$6.baseUrlProtocol }).optional();
170
+ const openaiModel = (z) => z.string().describe(descriptions$6.model).min(1, { message: messages$6.modelRequired }).optional();
171
+ const openaiTimeout = (z) => z.number().describe(descriptions$6.timeout).int({ message: messages$6.timeoutInteger }).min(constraints$6.timeoutMin, { message: messages$6.timeoutMin }).max(constraints$6.timeoutMax, { message: messages$6.timeoutMax }).default(defaults$5.timeout);
467
172
  //#endregion
468
173
  //#region ../schemas/src/zod/v4/redis.ts
469
- const redisUrl = (z) => z.string().describe(descriptions$1.url).regex(patterns$1.url, { message: messages$1.urlFormat });
470
- const redisHost = (z) => z.string().describe(descriptions$1.host).min(1, { message: messages$1.hostRequired }).regex(patterns$1.host, { message: messages$1.hostFormat });
471
- 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);
472
- const redisUsername = (z) => z.string().describe(descriptions$1.username).min(1, { message: messages$1.usernameRequired });
473
- const redisPassword = (z) => z.string().describe(descriptions$1.password).min(1, { message: messages$1.passwordRequired });
474
- 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);
475
- const redisTls = (z) => z.boolean().describe(descriptions$1.tls).default(defaults$1.tls);
476
- const redisTlsCaCertPath = (z) => z.string().describe(descriptions$1.tlsCaCertPath).min(1, { message: messages$1.tlsCaCertPathRequired });
477
-
174
+ const redisUrl = (z) => z.string().describe(descriptions$7.url).regex(patterns$6.url, { message: messages$7.urlFormat });
175
+ const redisHost = (z) => z.string().describe(descriptions$7.host).min(1, { message: messages$7.hostRequired }).regex(patterns$6.host, { message: messages$7.hostFormat });
176
+ const redisPort = (z) => z.number().describe(descriptions$7.port).int({ message: messages$7.portInteger }).min(constraints$7.portMin, { message: messages$7.portMin }).max(constraints$7.portMax, { message: messages$7.portMax }).default(defaults$6.port);
177
+ const redisUsername = (z) => z.string().describe(descriptions$7.username).min(1, { message: messages$7.usernameRequired });
178
+ const redisPassword = (z) => z.string().describe(descriptions$7.password).min(1, { message: messages$7.passwordRequired });
179
+ const redisDb = (z) => z.number().describe(descriptions$7.db).int({ message: messages$7.dbInteger }).min(constraints$7.dbMin, { message: messages$7.dbRange }).max(constraints$7.dbMax, { message: messages$7.dbRange }).default(defaults$6.db);
180
+ const redisTls = (z) => z.boolean().describe(descriptions$7.tls).default(defaults$6.tls);
181
+ const redisTlsCaCertPath = (z) => z.string().describe(descriptions$7.tlsCaCertPath).min(1, { message: messages$7.tlsCaCertPathRequired });
478
182
  //#endregion
479
183
  //#region ../schemas/src/zod/v4/port.ts
480
- 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);
481
-
184
+ const port = (z) => z.coerce.number().describe(descriptions$1.port).int({ error: messages$1.portInt }).min(constraints$1.portMin, { error: messages$1.portMin }).max(constraints$1.portMax, { error: messages$1.portMax }).default(defaults$1.port);
482
185
  //#endregion
483
186
  //#region ../schemas/src/zod/v4/rateLimit.ts
484
- 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);
485
- 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);
486
-
187
+ const rateLimitRpm = (z) => z.coerce.number().describe(descriptions$1.rateLimitRpm).int({ error: messages$1.rateLimitRpmInt }).min(constraints$1.rateLimitRpmMin, { error: messages$1.rateLimitRpmMin }).max(constraints$1.rateLimitRpmMax, { error: messages$1.rateLimitRpmMax }).default(defaults$1.rateLimitRpm);
188
+ const rateLimitWindow = (z) => z.coerce.number().describe(descriptions$1.rateLimitWindow).int({ error: messages$1.rateLimitWindowInt }).min(constraints$1.rateLimitWindowMin, { error: messages$1.rateLimitWindowMin }).max(constraints$1.rateLimitWindowMax, { error: messages$1.rateLimitWindowMax }).default(defaults$1.rateLimitWindow);
487
189
  //#endregion
488
190
  //#region ../schemas/src/zod/v4/webhook.ts
489
- const webhookUrl = (z) => z.url({ message: messages.mustBeValidUrl }).describe(descriptions.webhookUrl).regex(patterns.httpsProtocol, { error: messages.httpsProtocolRequired });
490
-
191
+ const webhookUrl = (z) => z.url({ message: messages$1.mustBeValidUrl }).describe(descriptions$1.webhookUrl).regex(patterns$1.httpsProtocol, { error: messages$1.httpsProtocolRequired });
491
192
  //#endregion
492
193
  //#region ../schemas/src/zod/v4/index.ts
493
194
  var v4_default = (z) => ({
@@ -532,6 +233,17 @@ var v4_default = (z) => ({
532
233
  ELASTICSEARCH_USERNAME: elasticsearchUsername(z),
533
234
  ELASTICSEARCH_PASSWORD: elasticsearchPassword(z),
534
235
  ENCRYPTION_KEY: encryptionKey(z),
236
+ GEL_DSN: gelDsn(z),
237
+ GEL_INSTANCE: gelInstance(z),
238
+ GEL_SECRET_KEY: gelSecretKey(z),
239
+ GEL_HOST: gelHost(z),
240
+ GEL_PORT: gelPort(z),
241
+ GEL_USER: gelUser(z),
242
+ GEL_PASSWORD: gelPassword(z),
243
+ GEL_BRANCH: gelBranch(z),
244
+ GEL_TLS_CA_FILE: gelTlsCaFile(z),
245
+ GEL_CLIENT_TLS_SECURITY: gelClientTlsSecurity(z),
246
+ GEL_CREDENTIALS_FILE: gelCredentialsFile(z),
535
247
  HOST: hostSchema(z),
536
248
  PORT: port(z),
537
249
  JWT_SECRET: jwtSecret(z),
@@ -570,10 +282,8 @@ var v4_default = (z) => ({
570
282
  RATE_LIMIT_WINDOW: rateLimitWindow(z),
571
283
  WEBHOOK_URL: webhookUrl(z)
572
284
  });
573
-
574
285
  //#endregion
575
286
  //#region src/schemas/zod.ts
576
- var zod_default = v4_default(external_exports);
577
-
287
+ var zod_default = v4_default(z);
578
288
  //#endregion
579
- export { 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, 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, gelBranch, gelClientTlsSecurity, gelCredentialsFile, gelDsn, gelHost, gelInstance, gelPassword, gelPort, gelSecretKey, gelTlsCaFile, gelUser, 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 };
289
+ 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, gelBranch, gelClientTlsSecurity, gelCredentialsFile, gelDsn, gelHost, gelInstance, gelPassword, gelPort, gelSecretKey, gelTlsCaFile, gelUser, 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 };