@e-n-v/env 0.0.5 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/{BooleanMap-DmFnCA-O.d.ts → BooleanMap-BPQuO3Ae.d.ts} +1 -3
  2. package/dist/{BooleanMap-B2eIP3tZ.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/{StringEnvVarSchema-B8MT7htU.d.ts → StringEnvVarSchema-D9Jr1Aws.d.cts} +5 -3
  12. package/dist/{StringEnvVarSchema-BF6C0nyT.d.cts → StringEnvVarSchema-D9Jr1Aws.d.ts} +5 -3
  13. package/dist/channels.cjs +3 -4
  14. package/dist/channels.d.cts +3 -4
  15. package/dist/channels.d.ts +3 -4
  16. package/dist/channels.js +2 -4
  17. package/dist/cli.cjs +10 -23
  18. package/dist/cli.d.cts +1 -1
  19. package/dist/cli.d.ts +1 -1
  20. package/dist/cli.js +7 -13
  21. package/dist/core.cjs +13 -14
  22. package/dist/core.d.cts +147 -6
  23. package/dist/core.d.ts +147 -6
  24. package/dist/core.js +9 -11
  25. package/dist/{custom-Bt_wnxIu.js → custom-Bd-jLg80.js} +3 -12
  26. package/dist/{custom-D_Rqjm09.cjs → custom-Dyb9TnER.cjs} +48 -58
  27. package/dist/files.cjs +6 -6
  28. package/dist/files.d.cts +2 -2
  29. package/dist/files.d.ts +2 -2
  30. package/dist/files.js +2 -5
  31. package/dist/{parse-DwtLpVhC.d.ts → index-B2eNij2x.d.cts} +1 -2
  32. package/dist/{parse-BT1QSa5e.d.cts → index-BHTM8nxS.d.ts} +1 -2
  33. package/dist/{prompt-yKdccbtZ.d.ts → index-BKBW9Dxs.d.cts} +3 -4
  34. package/dist/{prompt-C5WudV9x.d.cts → index-CEyOIRdj.d.ts} +3 -4
  35. package/dist/{EnvModel-CrGclUpJ.d.cts → index-Cb0abjLf.d.ts} +59 -7
  36. package/dist/{EnvModel-D8rt0EJ6.d.ts → index-Cz3frUwZ.d.cts} +58 -6
  37. package/dist/index.cjs +33 -0
  38. package/dist/index.d.cts +19 -0
  39. package/dist/index.d.ts +19 -0
  40. package/dist/index.js +15 -0
  41. package/dist/model.cjs +10 -11
  42. package/dist/model.d.cts +2 -35
  43. package/dist/model.d.ts +2 -35
  44. package/dist/model.js +2 -6
  45. package/dist/parse.cjs +14 -14
  46. package/dist/parse.d.cts +5 -8
  47. package/dist/parse.d.ts +5 -8
  48. package/dist/parse.js +4 -7
  49. package/dist/preprocessors-BKuIcZa1.d.ts +83 -0
  50. package/dist/preprocessors-DFVyF0c7.d.cts +83 -0
  51. package/dist/prompt.cjs +12 -15
  52. package/dist/prompt.d.cts +5 -10
  53. package/dist/prompt.d.ts +5 -10
  54. package/dist/prompt.js +3 -9
  55. package/dist/{redis-EcC7TX3K.cjs → redis-CyTF0SYT.cjs} +321 -253
  56. package/dist/{redis-CJOpRPjc.js → redis-D18f4ztf.js} +76 -37
  57. package/dist/{index-Dq_0aeAL.d.ts → redis-DsW-Vkwq.d.cts} +26 -6
  58. package/dist/{index-D8pslhp4.d.cts → redis-tRD4nAy_.d.ts} +26 -6
  59. package/dist/{resolveChannel-v9BDsw-M.js → resolveChannel-D1Fzl4TL.js} +59 -63
  60. package/dist/{resolveChannel-CjAuxy3p.cjs → resolveChannel-DxZNYdDe.cjs} +84 -92
  61. package/dist/{chunk-pbleEpgJ.cjs → rolldown-runtime-C0BPl7ul.cjs} +15 -16
  62. package/dist/{chunk-Bp6m_JJh.js → rolldown-runtime-D7D4PA-g.js} +4 -4
  63. package/dist/{schema-jN4EtvEP.d.ts → schema-B-JLVS42.d.ts} +1 -3
  64. package/dist/{schema-DH4GiW9A.d.cts → schema-B1i83alz.d.cts} +1 -3
  65. package/dist/schema-CtP5lpU1.js +11 -0
  66. package/dist/schema-D9nJKipf.cjs +22 -0
  67. package/dist/schemas/zod.cjs +112 -359
  68. package/dist/schemas/zod.d.cts +117 -87
  69. package/dist/schemas/zod.d.ts +117 -87
  70. package/dist/schemas/zod.js +116 -377
  71. package/dist/schemas.cjs +152 -133
  72. package/dist/schemas.d.cts +2 -3
  73. package/dist/schemas.d.ts +2 -3
  74. package/dist/schemas.js +2 -6
  75. package/dist/{src-Cjo2XA4n.cjs → src-5GYFbR9n.cjs} +21 -25
  76. package/dist/{src-BBwjK5SK.js → src-8rEOvFG5.js} +11 -15
  77. package/dist/{src-Dtv7TlJx.js → src-CdzAzdq-.js} +100 -114
  78. package/dist/{src-CLTURaoo.js → src-Cg49gGJb.js} +18 -44
  79. package/dist/{src-DWYoqPX1.cjs → src-CttkcdpE.cjs} +114 -133
  80. package/dist/{src-XjL5cyPG.cjs → src-D5KzIEH_.cjs} +130 -107
  81. package/dist/src-DB0Har0j.cjs +1632 -0
  82. package/dist/{src-CVdUqK3q.js → src-DWc-WWjX.js} +107 -86
  83. package/dist/{src-B7FG1rak.js → src-DvUBRBe3.js} +205 -116
  84. package/dist/{src-meUnCASg.cjs → src-TZx_e95f.cjs} +87 -132
  85. package/dist/{vars-BNVI6k89.d.ts → vars-DtzGL5Nc.d.cts} +1 -4
  86. package/dist/{vars-CptZRPX5.d.cts → vars-obKYxaSu.d.ts} +1 -4
  87. package/dist/vars.cjs +175 -138
  88. package/dist/vars.d.cts +3 -7
  89. package/dist/vars.d.ts +3 -7
  90. package/dist/vars.js +21 -9
  91. package/package.json +9 -8
  92. package/dist/EnvChannelOptions-BPkWDrmr.d.cts +0 -108
  93. package/dist/EnvChannelOptions-CRwDLWjd.d.ts +0 -108
  94. package/dist/coerce-DNIuYAx4.js +0 -11028
  95. package/dist/coerce-b7UVodS9.cjs +0 -12365
  96. package/dist/model-Dic8IJsf.d.ts +0 -29
  97. package/dist/model-ft0WhSSS.d.cts +0 -29
  98. package/dist/root.cjs +0 -36
  99. package/dist/root.d.cts +0 -21
  100. package/dist/root.d.ts +0 -21
  101. package/dist/root.js +0 -21
  102. package/dist/src-DZmpNGrQ.cjs +0 -1411
  103. package/dist/validate-BxA3a-ns.d.cts +0 -203
  104. package/dist/validate-CyxrRacF.d.ts +0 -203
  105. package/dist/vars-CYOaskkK.cjs +0 -27
  106. package/dist/vars-DOW0LiiN.js +0 -22
  107. /package/dist/{EnvChannel-LMIRYvT1.d.cts → EnvChannel-CfSwa_25.d.cts} +0 -0
  108. /package/dist/{EnvChannel-w27PEm7x.d.ts → EnvChannel-CfSwa_25.d.ts} +0 -0
@@ -1,7 +1,5 @@
1
-
2
1
  //#region ../schemas/src/shared/messages.ts
3
2
  const COMMON_MESSAGES = { MUST_BE_VALID_URL: "Must be a valid URL" };
4
-
5
3
  //#endregion
6
4
  //#region ../schemas/src/shared/zodMessages.ts
7
5
  /**
@@ -15,34 +13,35 @@ const COMMON_MESSAGES = { MUST_BE_VALID_URL: "Must be a valid URL" };
15
13
  * @returns A complete error message (e.g., "Must be at least 8 characters long")
16
14
  */
17
15
  function toZodMessage(trait) {
18
- return `Must ${trait}`;
16
+ const normalized = trait.trim();
17
+ if (/^must\b/i.test(normalized) || /(?:\bis required|\bcannot be empty)$/i.test(normalized)) return normalized.charAt(0).toUpperCase() + normalized.slice(1);
18
+ return `Must ${normalized}`;
19
19
  }
20
20
  /**
21
21
  * Converts a trait array to a Zod error message by joining with "and" and adding "Must " prefix.
22
22
  * @param traits - Array of trait descriptions
23
23
  * @returns A complete error message joining all traits
24
24
  */
25
- function toZodMessageArray(traits$6) {
26
- if (traits$6.length === 0) return "Must satisfy requirements";
27
- if (traits$6.length === 1) return toZodMessage(traits$6[0]);
28
- const lastTrait = traits$6[traits$6.length - 1];
29
- return `Must ${traits$6.slice(0, -1).join(", ")} and ${lastTrait}`;
25
+ function toZodMessageArray(traits) {
26
+ if (traits.length === 0) return "Must satisfy requirements";
27
+ if (traits.length === 1) return toZodMessage(traits[0]);
28
+ const lastTrait = traits[traits.length - 1];
29
+ return `Must ${traits.slice(0, -1).join(", ")} and ${lastTrait}`;
30
30
  }
31
31
  /**
32
32
  * Converts multiple traits to Zod error messages.
33
33
  * @param traits - Object containing trait descriptions (strings or arrays)
34
34
  * @returns Object with the same keys but values converted to complete messages
35
35
  */
36
- function toZodMessages(traits$6) {
37
- const messages$6 = {};
38
- for (const [key, value] of Object.entries(traits$6)) if (Array.isArray(value)) messages$6[key] = toZodMessageArray(value);
39
- else messages$6[key] = toZodMessage(value);
40
- return messages$6;
36
+ function toZodMessages(traits) {
37
+ const messages = {};
38
+ for (const [key, value] of Object.entries(traits)) if (Array.isArray(value)) messages[key] = toZodMessageArray(value);
39
+ else messages[key] = toZodMessage(value);
40
+ return messages;
41
41
  }
42
-
43
42
  //#endregion
44
43
  //#region ../schemas/src/shared/apiService.ts
45
- const descriptions$5 = {
44
+ const descriptions$6 = {
46
45
  apiKey: "API key for external service",
47
46
  jwtSecret: "JWT secret key for token signing",
48
47
  jwtAccessTokenExpiresIn: "JWT access token expiration (e.g., '15m', '1h', '1d')",
@@ -88,7 +87,7 @@ const traits$5 = {
88
87
  portMin: ">= 1024 (avoid reserved ports)",
89
88
  portMax: "<= 65535"
90
89
  };
91
- const constraints$5 = {
90
+ const constraints$6 = {
92
91
  apiKeyMinLength: 8,
93
92
  jwtSecretMinLength: 32,
94
93
  encryptionKeyMinLength: 32,
@@ -104,7 +103,7 @@ const constraints$5 = {
104
103
  portMin: 1024,
105
104
  portMax: 65535
106
105
  };
107
- const defaults$4 = {
106
+ const defaults$5 = {
108
107
  jwtAccessTokenExpiresIn: "15m",
109
108
  jwtRefreshTokenExpiresIn: "7d",
110
109
  rateLimitRpm: 60,
@@ -131,16 +130,15 @@ const enumOptions = {
131
130
  "staging"
132
131
  ]
133
132
  };
134
- const patterns$4 = {
133
+ const patterns$5 = {
135
134
  jwtTokenDuration: /^\d+[smhd]$/,
136
135
  httpProtocol: /^https?:\/\//,
137
136
  httpsProtocol: /^https:\/\//
138
137
  };
139
- const messages$5 = toZodMessages(traits$5);
140
-
138
+ const messages$6 = toZodMessages(traits$5);
141
139
  //#endregion
142
140
  //#region ../schemas/src/shared/infrastructure.ts
143
- const descriptions$4 = {
141
+ const descriptions$5 = {
144
142
  azureStorageConnectionString: "Azure Storage Account connection string",
145
143
  azureStorageAccountName: "Azure Storage Account name",
146
144
  azureStorageAccountKey: "Azure Storage Account key",
@@ -197,11 +195,11 @@ const traits$4 = {
197
195
  datadogApiKeyLength: "exactly 32 characters",
198
196
  sentryDsnFormat: "a valid Sentry DSN format"
199
197
  };
200
- const defaults$3 = {
198
+ const defaults$4 = {
201
199
  kubernetesNamespace: "default",
202
200
  prometheusPort: 9090
203
201
  };
204
- const constraints$4 = {
202
+ const constraints$5 = {
205
203
  awsAccessKeyIdMin: 16,
206
204
  awsAccessKeyIdMax: 128,
207
205
  prometheusPortMin: 1024,
@@ -209,7 +207,7 @@ const constraints$4 = {
209
207
  newRelicLicenseKeyLength: 40,
210
208
  datadogApiKeyLength: 32
211
209
  };
212
- const patterns$3 = {
210
+ const patterns$4 = {
213
211
  awsRegion: /^[a-z]{2}-[a-z]+-\d{1}$/,
214
212
  awsS3BucketName: /^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/,
215
213
  awsSqsQueueUrl: /^https:\/\/sqs\.[^.]+\.amazonaws\.com\/\d+\/[^/]+$/,
@@ -222,11 +220,10 @@ const patterns$3 = {
222
220
  kubernetesName: /^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/,
223
221
  sentryDsn: /^https:\/\/[a-f0-9]+@[a-f0-9]+\.ingest\.sentry\.io\/\d+$/
224
222
  };
225
- const messages$4 = toZodMessages(traits$4);
226
-
223
+ const messages$5 = toZodMessages(traits$4);
227
224
  //#endregion
228
225
  //#region ../schemas/src/shared/database.ts
229
- const descriptions$3 = {
226
+ const descriptions$4 = {
230
227
  databaseUrl: "Database connection string",
231
228
  databaseUrlPostgresql: "PostgreSQL database connection string",
232
229
  databaseUrlMysql: "MySQL database connection string",
@@ -266,12 +263,12 @@ const traits$3 = {
266
263
  databaseTimeoutMin: "at least 1 second",
267
264
  databaseTimeoutMax: "not exceed 5 minutes"
268
265
  };
269
- const defaults$2 = {
266
+ const defaults$3 = {
270
267
  databasePoolSize: 10,
271
268
  databaseTimeout: 3e4,
272
269
  databaseSsl: true
273
270
  };
274
- const constraints$3 = {
271
+ const constraints$4 = {
275
272
  databasePortMin: 1,
276
273
  databasePortMax: 65535,
277
274
  databasePoolSizeMin: 1,
@@ -279,7 +276,7 @@ const constraints$3 = {
279
276
  databaseTimeoutMin: 1e3,
280
277
  databaseTimeoutMax: 3e5
281
278
  };
282
- const patterns$2 = {
279
+ const patterns$3 = {
283
280
  postgresUrl: /^postgresql:\/\/(?:[^:@/]+(?::[^@/]*)?@)?[^:/]+(?::\d+)?(?:\/[^?]*)?(?:\?.*)?$/,
284
281
  mysqlUrl: /^mysql:\/\/(?:[^:@/]+(?::[^@/]*)?@)?[^:/]+(?::\d+)?(?:\/[^?]*)?(?:\?.*)?$/,
285
282
  mongodbUrl: /^mongodb(?:\+srv)?:\/\/(?:[^:@/]+(?::[^@/]*)?@)?[^:/,]+(?::\d+)?(?:,[^:/,]+(?::\d+)?)*(?:\/[^?]*)?(?:\?.*)?$/,
@@ -292,8 +289,52 @@ const patterns$2 = {
292
289
  databaseName: /^[a-zA-Z0-9_-]+$/,
293
290
  databaseSchema: /^[a-zA-Z0-9_]+$/
294
291
  };
295
- const messages$3 = toZodMessages(traits$3);
296
-
292
+ const messages$4 = toZodMessages(traits$3);
293
+ //#endregion
294
+ //#region ../schemas/src/shared/gel.ts
295
+ const descriptions$3 = {
296
+ gelDsn: "Gel database connection string (DSN)",
297
+ gelInstance: "Gel Cloud instance name (format: org-name/instance-name)",
298
+ gelSecretKey: "Gel Cloud secret key for authentication",
299
+ gelHost: "Gel database host address",
300
+ gelPort: "Gel database port number",
301
+ gelUser: "Gel database username",
302
+ gelPassword: "Gel database password",
303
+ gelBranch: "Gel database branch name",
304
+ gelTlsCaFile: "Path to TLS CA certificate file",
305
+ gelClientTlsSecurity: "Gel client TLS security mode",
306
+ gelCredentialsFile: "Path to Gel credentials JSON file"
307
+ };
308
+ const messages$3 = {
309
+ gelDsnFormat: "Must be a valid Gel DSN (gel://...)",
310
+ gelInstanceFormat: "Must be in format org-name/instance-name",
311
+ gelSecretKeyRequired: "Gel secret key is required",
312
+ gelHostRequired: "Gel host is required",
313
+ gelPortInt: "Port must be an integer",
314
+ gelPortMin: "Port must be greater than 0",
315
+ gelPortMax: "Port must be less than 65536",
316
+ gelUserRequired: "Gel username is required",
317
+ gelPasswordRequired: "Gel password is required",
318
+ gelBranchFormat: "Branch name must contain only letters, numbers, underscores, and hyphens",
319
+ gelTlsCaFileFormat: "Must be a valid file path",
320
+ gelClientTlsSecurityInvalid: "TLS security must be one of: strict, no_host_verification, insecure",
321
+ gelCredentialsFileFormat: "Must be a valid file path"
322
+ };
323
+ const defaults$2 = {
324
+ gelPort: 5656,
325
+ gelUser: "admin",
326
+ gelBranch: "main",
327
+ gelClientTlsSecurity: "strict"
328
+ };
329
+ const constraints$3 = {
330
+ gelPortMin: 1,
331
+ gelPortMax: 65535
332
+ };
333
+ const patterns$2 = {
334
+ gelDsn: /^gel:\/\/(?:[^:@/]+(?::[^@/]*)?@)?[^:/]+(?::\d+)?(?:\/[^?]*)?(?:\?.*)?$/,
335
+ gelInstance: /^[a-zA-Z0-9_-]+\/[a-zA-Z0-9_-]+$/,
336
+ gelBranch: /^[a-zA-Z0-9_-]+$/
337
+ };
297
338
  //#endregion
298
339
  //#region ../schemas/src/shared/oauth.ts
299
340
  const descriptions$2 = {
@@ -314,7 +355,6 @@ const constraints$2 = {
314
355
  scopeMinLength: 1
315
356
  };
316
357
  const messages$2 = toZodMessages(traits$2);
317
-
318
358
  //#endregion
319
359
  //#region ../schemas/src/shared/openai.ts
320
360
  const descriptions$1 = {
@@ -327,7 +367,7 @@ const descriptions$1 = {
327
367
  };
328
368
  const traits$1 = {
329
369
  apiKeyMinLength: "at least 40 characters",
330
- apiKeyFormat: ["start with 'sk-'", "contain only letters and numbers"],
370
+ apiKeyFormat: ["start with 'sk-'", "contain only letters, numbers, and underscores"],
331
371
  organizationFormat: "start with 'org-'",
332
372
  projectFormat: "start with 'proj_'",
333
373
  baseUrlInvalid: "a valid URL",
@@ -344,12 +384,11 @@ const constraints$1 = {
344
384
  };
345
385
  const defaults$1 = { timeout: 30 };
346
386
  const patterns$1 = {
347
- apiKey: /^sk-[A-Za-z0-9]{20,}$/,
387
+ apiKey: /^sk-[A-Za-z0-9_]{20,}$/,
348
388
  organizationId: /^org-[A-Za-z0-9_-]{8,}$/,
349
389
  projectId: /^proj_[A-Za-z0-9_-]{8,}$/
350
390
  };
351
391
  const messages$1 = toZodMessages(traits$1);
352
-
353
392
  //#endregion
354
393
  //#region ../schemas/src/shared/redis.ts
355
394
  const descriptions = {
@@ -391,221 +430,250 @@ const patterns = {
391
430
  host: /^[a-zA-Z0-9.-]+$/
392
431
  };
393
432
  const messages = toZodMessages(traits);
394
-
395
433
  //#endregion
396
- Object.defineProperty(exports, 'constraints', {
397
- enumerable: true,
398
- get: function () {
399
- return constraints;
400
- }
401
- });
402
- Object.defineProperty(exports, 'constraints$1', {
403
- enumerable: true,
404
- get: function () {
405
- return constraints$1;
406
- }
407
- });
408
- Object.defineProperty(exports, 'constraints$2', {
409
- enumerable: true,
410
- get: function () {
411
- return constraints$2;
412
- }
413
- });
414
- Object.defineProperty(exports, 'constraints$3', {
415
- enumerable: true,
416
- get: function () {
417
- return constraints$3;
418
- }
419
- });
420
- Object.defineProperty(exports, 'constraints$4', {
421
- enumerable: true,
422
- get: function () {
423
- return constraints$4;
424
- }
425
- });
426
- Object.defineProperty(exports, 'constraints$5', {
427
- enumerable: true,
428
- get: function () {
429
- return constraints$5;
430
- }
431
- });
432
- Object.defineProperty(exports, 'defaults', {
433
- enumerable: true,
434
- get: function () {
435
- return defaults;
436
- }
437
- });
438
- Object.defineProperty(exports, 'defaults$1', {
439
- enumerable: true,
440
- get: function () {
441
- return defaults$1;
442
- }
443
- });
444
- Object.defineProperty(exports, 'defaults$2', {
445
- enumerable: true,
446
- get: function () {
447
- return defaults$2;
448
- }
449
- });
450
- Object.defineProperty(exports, 'defaults$3', {
451
- enumerable: true,
452
- get: function () {
453
- return defaults$3;
454
- }
455
- });
456
- Object.defineProperty(exports, 'defaults$4', {
457
- enumerable: true,
458
- get: function () {
459
- return defaults$4;
460
- }
461
- });
462
- Object.defineProperty(exports, 'descriptions', {
463
- enumerable: true,
464
- get: function () {
465
- return descriptions;
466
- }
467
- });
468
- Object.defineProperty(exports, 'descriptions$1', {
469
- enumerable: true,
470
- get: function () {
471
- return descriptions$1;
472
- }
473
- });
474
- Object.defineProperty(exports, 'descriptions$2', {
475
- enumerable: true,
476
- get: function () {
477
- return descriptions$2;
478
- }
479
- });
480
- Object.defineProperty(exports, 'descriptions$3', {
481
- enumerable: true,
482
- get: function () {
483
- return descriptions$3;
484
- }
485
- });
486
- Object.defineProperty(exports, 'descriptions$4', {
487
- enumerable: true,
488
- get: function () {
489
- return descriptions$4;
490
- }
491
- });
492
- Object.defineProperty(exports, 'descriptions$5', {
493
- enumerable: true,
494
- get: function () {
495
- return descriptions$5;
496
- }
497
- });
498
- Object.defineProperty(exports, 'enumOptions', {
499
- enumerable: true,
500
- get: function () {
501
- return enumOptions;
502
- }
503
- });
504
- Object.defineProperty(exports, 'messages', {
505
- enumerable: true,
506
- get: function () {
507
- return messages;
508
- }
509
- });
510
- Object.defineProperty(exports, 'messages$1', {
511
- enumerable: true,
512
- get: function () {
513
- return messages$1;
514
- }
515
- });
516
- Object.defineProperty(exports, 'messages$2', {
517
- enumerable: true,
518
- get: function () {
519
- return messages$2;
520
- }
521
- });
522
- Object.defineProperty(exports, 'messages$3', {
523
- enumerable: true,
524
- get: function () {
525
- return messages$3;
526
- }
527
- });
528
- Object.defineProperty(exports, 'messages$4', {
529
- enumerable: true,
530
- get: function () {
531
- return messages$4;
532
- }
533
- });
534
- Object.defineProperty(exports, 'messages$5', {
535
- enumerable: true,
536
- get: function () {
537
- return messages$5;
538
- }
539
- });
540
- Object.defineProperty(exports, 'patterns', {
541
- enumerable: true,
542
- get: function () {
543
- return patterns;
544
- }
545
- });
546
- Object.defineProperty(exports, 'patterns$1', {
547
- enumerable: true,
548
- get: function () {
549
- return patterns$1;
550
- }
551
- });
552
- Object.defineProperty(exports, 'patterns$2', {
553
- enumerable: true,
554
- get: function () {
555
- return patterns$2;
556
- }
557
- });
558
- Object.defineProperty(exports, 'patterns$3', {
559
- enumerable: true,
560
- get: function () {
561
- return patterns$3;
562
- }
563
- });
564
- Object.defineProperty(exports, 'patterns$4', {
565
- enumerable: true,
566
- get: function () {
567
- return patterns$4;
568
- }
569
- });
570
- Object.defineProperty(exports, 'toZodMessages', {
571
- enumerable: true,
572
- get: function () {
573
- return toZodMessages;
574
- }
575
- });
576
- Object.defineProperty(exports, 'traits', {
577
- enumerable: true,
578
- get: function () {
579
- return traits;
580
- }
581
- });
582
- Object.defineProperty(exports, 'traits$1', {
583
- enumerable: true,
584
- get: function () {
585
- return traits$1;
586
- }
587
- });
588
- Object.defineProperty(exports, 'traits$2', {
589
- enumerable: true,
590
- get: function () {
591
- return traits$2;
592
- }
593
- });
594
- Object.defineProperty(exports, 'traits$3', {
595
- enumerable: true,
596
- get: function () {
597
- return traits$3;
598
- }
599
- });
600
- Object.defineProperty(exports, 'traits$4', {
601
- enumerable: true,
602
- get: function () {
603
- return traits$4;
604
- }
605
- });
606
- Object.defineProperty(exports, 'traits$5', {
607
- enumerable: true,
608
- get: function () {
609
- return traits$5;
610
- }
611
- });
434
+ Object.defineProperty(exports, "constraints", {
435
+ enumerable: true,
436
+ get: function() {
437
+ return constraints;
438
+ }
439
+ });
440
+ Object.defineProperty(exports, "constraints$1", {
441
+ enumerable: true,
442
+ get: function() {
443
+ return constraints$1;
444
+ }
445
+ });
446
+ Object.defineProperty(exports, "constraints$2", {
447
+ enumerable: true,
448
+ get: function() {
449
+ return constraints$2;
450
+ }
451
+ });
452
+ Object.defineProperty(exports, "constraints$3", {
453
+ enumerable: true,
454
+ get: function() {
455
+ return constraints$3;
456
+ }
457
+ });
458
+ Object.defineProperty(exports, "constraints$4", {
459
+ enumerable: true,
460
+ get: function() {
461
+ return constraints$4;
462
+ }
463
+ });
464
+ Object.defineProperty(exports, "constraints$5", {
465
+ enumerable: true,
466
+ get: function() {
467
+ return constraints$5;
468
+ }
469
+ });
470
+ Object.defineProperty(exports, "constraints$6", {
471
+ enumerable: true,
472
+ get: function() {
473
+ return constraints$6;
474
+ }
475
+ });
476
+ Object.defineProperty(exports, "defaults", {
477
+ enumerable: true,
478
+ get: function() {
479
+ return defaults;
480
+ }
481
+ });
482
+ Object.defineProperty(exports, "defaults$1", {
483
+ enumerable: true,
484
+ get: function() {
485
+ return defaults$1;
486
+ }
487
+ });
488
+ Object.defineProperty(exports, "defaults$2", {
489
+ enumerable: true,
490
+ get: function() {
491
+ return defaults$2;
492
+ }
493
+ });
494
+ Object.defineProperty(exports, "defaults$3", {
495
+ enumerable: true,
496
+ get: function() {
497
+ return defaults$3;
498
+ }
499
+ });
500
+ Object.defineProperty(exports, "defaults$4", {
501
+ enumerable: true,
502
+ get: function() {
503
+ return defaults$4;
504
+ }
505
+ });
506
+ Object.defineProperty(exports, "defaults$5", {
507
+ enumerable: true,
508
+ get: function() {
509
+ return defaults$5;
510
+ }
511
+ });
512
+ Object.defineProperty(exports, "descriptions", {
513
+ enumerable: true,
514
+ get: function() {
515
+ return descriptions;
516
+ }
517
+ });
518
+ Object.defineProperty(exports, "descriptions$1", {
519
+ enumerable: true,
520
+ get: function() {
521
+ return descriptions$1;
522
+ }
523
+ });
524
+ Object.defineProperty(exports, "descriptions$2", {
525
+ enumerable: true,
526
+ get: function() {
527
+ return descriptions$2;
528
+ }
529
+ });
530
+ Object.defineProperty(exports, "descriptions$3", {
531
+ enumerable: true,
532
+ get: function() {
533
+ return descriptions$3;
534
+ }
535
+ });
536
+ Object.defineProperty(exports, "descriptions$4", {
537
+ enumerable: true,
538
+ get: function() {
539
+ return descriptions$4;
540
+ }
541
+ });
542
+ Object.defineProperty(exports, "descriptions$5", {
543
+ enumerable: true,
544
+ get: function() {
545
+ return descriptions$5;
546
+ }
547
+ });
548
+ Object.defineProperty(exports, "descriptions$6", {
549
+ enumerable: true,
550
+ get: function() {
551
+ return descriptions$6;
552
+ }
553
+ });
554
+ Object.defineProperty(exports, "enumOptions", {
555
+ enumerable: true,
556
+ get: function() {
557
+ return enumOptions;
558
+ }
559
+ });
560
+ Object.defineProperty(exports, "messages", {
561
+ enumerable: true,
562
+ get: function() {
563
+ return messages;
564
+ }
565
+ });
566
+ Object.defineProperty(exports, "messages$1", {
567
+ enumerable: true,
568
+ get: function() {
569
+ return messages$1;
570
+ }
571
+ });
572
+ Object.defineProperty(exports, "messages$2", {
573
+ enumerable: true,
574
+ get: function() {
575
+ return messages$2;
576
+ }
577
+ });
578
+ Object.defineProperty(exports, "messages$3", {
579
+ enumerable: true,
580
+ get: function() {
581
+ return messages$3;
582
+ }
583
+ });
584
+ Object.defineProperty(exports, "messages$4", {
585
+ enumerable: true,
586
+ get: function() {
587
+ return messages$4;
588
+ }
589
+ });
590
+ Object.defineProperty(exports, "messages$5", {
591
+ enumerable: true,
592
+ get: function() {
593
+ return messages$5;
594
+ }
595
+ });
596
+ Object.defineProperty(exports, "messages$6", {
597
+ enumerable: true,
598
+ get: function() {
599
+ return messages$6;
600
+ }
601
+ });
602
+ Object.defineProperty(exports, "patterns", {
603
+ enumerable: true,
604
+ get: function() {
605
+ return patterns;
606
+ }
607
+ });
608
+ Object.defineProperty(exports, "patterns$1", {
609
+ enumerable: true,
610
+ get: function() {
611
+ return patterns$1;
612
+ }
613
+ });
614
+ Object.defineProperty(exports, "patterns$2", {
615
+ enumerable: true,
616
+ get: function() {
617
+ return patterns$2;
618
+ }
619
+ });
620
+ Object.defineProperty(exports, "patterns$3", {
621
+ enumerable: true,
622
+ get: function() {
623
+ return patterns$3;
624
+ }
625
+ });
626
+ Object.defineProperty(exports, "patterns$4", {
627
+ enumerable: true,
628
+ get: function() {
629
+ return patterns$4;
630
+ }
631
+ });
632
+ Object.defineProperty(exports, "patterns$5", {
633
+ enumerable: true,
634
+ get: function() {
635
+ return patterns$5;
636
+ }
637
+ });
638
+ Object.defineProperty(exports, "toZodMessages", {
639
+ enumerable: true,
640
+ get: function() {
641
+ return toZodMessages;
642
+ }
643
+ });
644
+ Object.defineProperty(exports, "traits", {
645
+ enumerable: true,
646
+ get: function() {
647
+ return traits;
648
+ }
649
+ });
650
+ Object.defineProperty(exports, "traits$1", {
651
+ enumerable: true,
652
+ get: function() {
653
+ return traits$1;
654
+ }
655
+ });
656
+ Object.defineProperty(exports, "traits$2", {
657
+ enumerable: true,
658
+ get: function() {
659
+ return traits$2;
660
+ }
661
+ });
662
+ Object.defineProperty(exports, "traits$3", {
663
+ enumerable: true,
664
+ get: function() {
665
+ return traits$3;
666
+ }
667
+ });
668
+ Object.defineProperty(exports, "traits$4", {
669
+ enumerable: true,
670
+ get: function() {
671
+ return traits$4;
672
+ }
673
+ });
674
+ Object.defineProperty(exports, "traits$5", {
675
+ enumerable: true,
676
+ get: function() {
677
+ return traits$5;
678
+ }
679
+ });