@uns-kit/database 3.0.6 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.d.ts CHANGED
@@ -1,68 +1,33 @@
1
1
  import { z } from "zod";
2
2
  export declare const postgresDatabaseSchema: z.ZodObject<{
3
3
  dialect: z.ZodLiteral<"pg">;
4
- host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
4
+ host: z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
5
5
  provider: z.ZodLiteral<"inline">;
6
6
  value: z.ZodString;
7
- }, "strict", z.ZodTypeAny, {
8
- provider?: "inline";
9
- value?: string;
10
- }, {
11
- provider?: "inline";
12
- value?: string;
13
- }>, z.ZodObject<{
7
+ }, z.core.$strict>, z.ZodObject<{
14
8
  provider: z.ZodLiteral<"external">;
15
9
  key: z.ZodString;
16
10
  optional: z.ZodOptional<z.ZodBoolean>;
17
11
  default: z.ZodOptional<z.ZodString>;
18
- }, "strict", z.ZodTypeAny, {
19
- provider?: "external";
20
- key?: string;
21
- optional?: boolean;
22
- default?: string;
23
- }, {
24
- provider?: "external";
25
- key?: string;
26
- optional?: boolean;
27
- default?: string;
28
- }>, z.ZodObject<{
12
+ }, z.core.$strict>, z.ZodObject<{
29
13
  provider: z.ZodLiteral<"system">;
30
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
14
+ family: z.ZodDefault<z.ZodEnum<{
15
+ IPv4: "IPv4";
16
+ IPv6: "IPv6";
17
+ }>>;
31
18
  interfaceName: z.ZodOptional<z.ZodString>;
32
19
  optional: z.ZodOptional<z.ZodBoolean>;
33
20
  default: z.ZodOptional<z.ZodString>;
34
- }, "strict", z.ZodTypeAny, {
35
- provider?: "system";
36
- optional?: boolean;
37
- default?: string;
38
- family?: "IPv4" | "IPv6";
39
- interfaceName?: string;
40
- }, {
41
- provider?: "system";
42
- optional?: boolean;
43
- default?: string;
44
- family?: "IPv4" | "IPv6";
45
- interfaceName?: string;
46
- }>]>]>;
21
+ }, z.core.$strict>], "provider">]>;
47
22
  port: z.ZodDefault<z.ZodNumber>;
48
23
  database: z.ZodString;
49
24
  user: z.ZodString;
50
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
25
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
51
26
  provider: z.ZodLiteral<"env">;
52
27
  key: z.ZodString;
53
28
  optional: z.ZodOptional<z.ZodBoolean>;
54
29
  default: z.ZodOptional<z.ZodString>;
55
- }, "strict", z.ZodTypeAny, {
56
- provider?: "env";
57
- key?: string;
58
- optional?: boolean;
59
- default?: string;
60
- }, {
61
- provider?: "env";
62
- key?: string;
63
- optional?: boolean;
64
- default?: string;
65
- }>, z.ZodObject<{
30
+ }, z.core.$strict>, z.ZodObject<{
66
31
  provider: z.ZodLiteral<"infisical">;
67
32
  path: z.ZodString;
68
33
  key: z.ZodString;
@@ -70,43 +35,15 @@ export declare const postgresDatabaseSchema: z.ZodObject<{
70
35
  environment: z.ZodOptional<z.ZodString>;
71
36
  projectId: z.ZodOptional<z.ZodString>;
72
37
  default: z.ZodOptional<z.ZodString>;
73
- }, "strict", z.ZodTypeAny, {
74
- provider?: "infisical";
75
- path?: string;
76
- key?: string;
77
- optional?: boolean;
78
- default?: string;
79
- environment?: string;
80
- projectId?: string;
81
- }, {
82
- provider?: "infisical";
83
- path?: string;
84
- key?: string;
85
- optional?: boolean;
86
- default?: string;
87
- environment?: string;
88
- projectId?: string;
89
- }>]>]>>;
38
+ }, z.core.$strict>], "provider">]>>;
90
39
  usePool: z.ZodDefault<z.ZodBoolean>;
91
- ssl: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
40
+ ssl: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
92
41
  rejectUnauthorized: z.ZodDefault<z.ZodBoolean>;
93
42
  ca: z.ZodOptional<z.ZodString>;
94
43
  cert: z.ZodOptional<z.ZodString>;
95
44
  key: z.ZodOptional<z.ZodString>;
96
45
  servername: z.ZodOptional<z.ZodString>;
97
- }, "strict", z.ZodTypeAny, {
98
- key?: string;
99
- rejectUnauthorized?: boolean;
100
- ca?: string;
101
- cert?: string;
102
- servername?: string;
103
- }, {
104
- key?: string;
105
- rejectUnauthorized?: boolean;
106
- ca?: string;
107
- cert?: string;
108
- servername?: string;
109
- }>]>>;
46
+ }, z.core.$strict>]>>;
110
47
  sqlDir: z.ZodOptional<z.ZodString>;
111
48
  applicationName: z.ZodOptional<z.ZodString>;
112
49
  statementTimeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -114,105 +51,7 @@ export declare const postgresDatabaseSchema: z.ZodObject<{
114
51
  idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
115
52
  maxPoolSize: z.ZodOptional<z.ZodNumber>;
116
53
  minPoolSize: z.ZodOptional<z.ZodNumber>;
117
- }, "strict", z.ZodTypeAny, {
118
- dialect?: "pg";
119
- host?: string | {
120
- provider?: "inline";
121
- value?: string;
122
- } | {
123
- provider?: "external";
124
- key?: string;
125
- optional?: boolean;
126
- default?: string;
127
- } | {
128
- provider?: "system";
129
- optional?: boolean;
130
- default?: string;
131
- family?: "IPv4" | "IPv6";
132
- interfaceName?: string;
133
- };
134
- port?: number;
135
- database?: string;
136
- user?: string;
137
- password?: string | {
138
- provider?: "env";
139
- key?: string;
140
- optional?: boolean;
141
- default?: string;
142
- } | {
143
- provider?: "infisical";
144
- path?: string;
145
- key?: string;
146
- optional?: boolean;
147
- default?: string;
148
- environment?: string;
149
- projectId?: string;
150
- };
151
- usePool?: boolean;
152
- ssl?: boolean | {
153
- key?: string;
154
- rejectUnauthorized?: boolean;
155
- ca?: string;
156
- cert?: string;
157
- servername?: string;
158
- };
159
- sqlDir?: string;
160
- applicationName?: string;
161
- statementTimeoutMs?: number;
162
- connectionTimeoutMs?: number;
163
- idleTimeoutMs?: number;
164
- maxPoolSize?: number;
165
- minPoolSize?: number;
166
- }, {
167
- dialect?: "pg";
168
- host?: string | {
169
- provider?: "inline";
170
- value?: string;
171
- } | {
172
- provider?: "external";
173
- key?: string;
174
- optional?: boolean;
175
- default?: string;
176
- } | {
177
- provider?: "system";
178
- optional?: boolean;
179
- default?: string;
180
- family?: "IPv4" | "IPv6";
181
- interfaceName?: string;
182
- };
183
- port?: number;
184
- database?: string;
185
- user?: string;
186
- password?: string | {
187
- provider?: "env";
188
- key?: string;
189
- optional?: boolean;
190
- default?: string;
191
- } | {
192
- provider?: "infisical";
193
- path?: string;
194
- key?: string;
195
- optional?: boolean;
196
- default?: string;
197
- environment?: string;
198
- projectId?: string;
199
- };
200
- usePool?: boolean;
201
- ssl?: boolean | {
202
- key?: string;
203
- rejectUnauthorized?: boolean;
204
- ca?: string;
205
- cert?: string;
206
- servername?: string;
207
- };
208
- sqlDir?: string;
209
- applicationName?: string;
210
- statementTimeoutMs?: number;
211
- connectionTimeoutMs?: number;
212
- idleTimeoutMs?: number;
213
- maxPoolSize?: number;
214
- minPoolSize?: number;
215
- }>;
54
+ }, z.core.$strict>;
216
55
  export declare const sqliteDatabaseSchema: z.ZodObject<{
217
56
  dialect: z.ZodLiteral<"sqlite">;
218
57
  filename: z.ZodString;
@@ -220,40 +59,16 @@ export declare const sqliteDatabaseSchema: z.ZodObject<{
220
59
  readonly: z.ZodOptional<z.ZodBoolean>;
221
60
  fileMustExist: z.ZodOptional<z.ZodBoolean>;
222
61
  timeoutMs: z.ZodOptional<z.ZodNumber>;
223
- }, "strict", z.ZodTypeAny, {
224
- dialect?: "sqlite";
225
- sqlDir?: string;
226
- filename?: string;
227
- readonly?: boolean;
228
- fileMustExist?: boolean;
229
- timeoutMs?: number;
230
- }, {
231
- dialect?: "sqlite";
232
- sqlDir?: string;
233
- filename?: string;
234
- readonly?: boolean;
235
- fileMustExist?: boolean;
236
- timeoutMs?: number;
237
- }>;
238
- export declare const oracleDatabaseSchema: z.ZodEffects<z.ZodObject<{
62
+ }, z.core.$strict>;
63
+ export declare const oracleDatabaseSchema: z.ZodObject<{
239
64
  dialect: z.ZodLiteral<"oracle">;
240
65
  user: z.ZodString;
241
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
66
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
242
67
  provider: z.ZodLiteral<"env">;
243
68
  key: z.ZodString;
244
69
  optional: z.ZodOptional<z.ZodBoolean>;
245
70
  default: z.ZodOptional<z.ZodString>;
246
- }, "strict", z.ZodTypeAny, {
247
- provider?: "env";
248
- key?: string;
249
- optional?: boolean;
250
- default?: string;
251
- }, {
252
- provider?: "env";
253
- key?: string;
254
- optional?: boolean;
255
- default?: string;
256
- }>, z.ZodObject<{
71
+ }, z.core.$strict>, z.ZodObject<{
257
72
  provider: z.ZodLiteral<"infisical">;
258
73
  path: z.ZodString;
259
74
  key: z.ZodString;
@@ -261,68 +76,27 @@ export declare const oracleDatabaseSchema: z.ZodEffects<z.ZodObject<{
261
76
  environment: z.ZodOptional<z.ZodString>;
262
77
  projectId: z.ZodOptional<z.ZodString>;
263
78
  default: z.ZodOptional<z.ZodString>;
264
- }, "strict", z.ZodTypeAny, {
265
- provider?: "infisical";
266
- path?: string;
267
- key?: string;
268
- optional?: boolean;
269
- default?: string;
270
- environment?: string;
271
- projectId?: string;
272
- }, {
273
- provider?: "infisical";
274
- path?: string;
275
- key?: string;
276
- optional?: boolean;
277
- default?: string;
278
- environment?: string;
279
- projectId?: string;
280
- }>]>]>>;
79
+ }, z.core.$strict>], "provider">]>>;
281
80
  usePool: z.ZodDefault<z.ZodBoolean>;
282
81
  connectString: z.ZodOptional<z.ZodString>;
283
- host: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
82
+ host: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
284
83
  provider: z.ZodLiteral<"inline">;
285
84
  value: z.ZodString;
286
- }, "strict", z.ZodTypeAny, {
287
- provider?: "inline";
288
- value?: string;
289
- }, {
290
- provider?: "inline";
291
- value?: string;
292
- }>, z.ZodObject<{
85
+ }, z.core.$strict>, z.ZodObject<{
293
86
  provider: z.ZodLiteral<"external">;
294
87
  key: z.ZodString;
295
88
  optional: z.ZodOptional<z.ZodBoolean>;
296
89
  default: z.ZodOptional<z.ZodString>;
297
- }, "strict", z.ZodTypeAny, {
298
- provider?: "external";
299
- key?: string;
300
- optional?: boolean;
301
- default?: string;
302
- }, {
303
- provider?: "external";
304
- key?: string;
305
- optional?: boolean;
306
- default?: string;
307
- }>, z.ZodObject<{
90
+ }, z.core.$strict>, z.ZodObject<{
308
91
  provider: z.ZodLiteral<"system">;
309
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
92
+ family: z.ZodDefault<z.ZodEnum<{
93
+ IPv4: "IPv4";
94
+ IPv6: "IPv6";
95
+ }>>;
310
96
  interfaceName: z.ZodOptional<z.ZodString>;
311
97
  optional: z.ZodOptional<z.ZodBoolean>;
312
98
  default: z.ZodOptional<z.ZodString>;
313
- }, "strict", z.ZodTypeAny, {
314
- provider?: "system";
315
- optional?: boolean;
316
- default?: string;
317
- family?: "IPv4" | "IPv6";
318
- interfaceName?: string;
319
- }, {
320
- provider?: "system";
321
- optional?: boolean;
322
- default?: string;
323
- family?: "IPv4" | "IPv6";
324
- interfaceName?: string;
325
- }>]>]>>;
99
+ }, z.core.$strict>], "provider">]>>;
326
100
  port: z.ZodDefault<z.ZodNumber>;
327
101
  serviceName: z.ZodOptional<z.ZodString>;
328
102
  sid: z.ZodOptional<z.ZodString>;
@@ -331,239 +105,36 @@ export declare const oracleDatabaseSchema: z.ZodEffects<z.ZodObject<{
331
105
  poolMax: z.ZodOptional<z.ZodNumber>;
332
106
  poolIncrement: z.ZodOptional<z.ZodNumber>;
333
107
  stmtCacheSize: z.ZodOptional<z.ZodNumber>;
334
- }, "strict", z.ZodTypeAny, {
335
- dialect?: "oracle";
336
- host?: string | {
337
- provider?: "inline";
338
- value?: string;
339
- } | {
340
- provider?: "external";
341
- key?: string;
342
- optional?: boolean;
343
- default?: string;
344
- } | {
345
- provider?: "system";
346
- optional?: boolean;
347
- default?: string;
348
- family?: "IPv4" | "IPv6";
349
- interfaceName?: string;
350
- };
351
- port?: number;
352
- user?: string;
353
- password?: string | {
354
- provider?: "env";
355
- key?: string;
356
- optional?: boolean;
357
- default?: string;
358
- } | {
359
- provider?: "infisical";
360
- path?: string;
361
- key?: string;
362
- optional?: boolean;
363
- default?: string;
364
- environment?: string;
365
- projectId?: string;
366
- };
367
- usePool?: boolean;
368
- sqlDir?: string;
369
- connectString?: string;
370
- serviceName?: string;
371
- sid?: string;
372
- poolMin?: number;
373
- poolMax?: number;
374
- poolIncrement?: number;
375
- stmtCacheSize?: number;
376
- }, {
377
- dialect?: "oracle";
378
- host?: string | {
379
- provider?: "inline";
380
- value?: string;
381
- } | {
382
- provider?: "external";
383
- key?: string;
384
- optional?: boolean;
385
- default?: string;
386
- } | {
387
- provider?: "system";
388
- optional?: boolean;
389
- default?: string;
390
- family?: "IPv4" | "IPv6";
391
- interfaceName?: string;
392
- };
393
- port?: number;
394
- user?: string;
395
- password?: string | {
396
- provider?: "env";
397
- key?: string;
398
- optional?: boolean;
399
- default?: string;
400
- } | {
401
- provider?: "infisical";
402
- path?: string;
403
- key?: string;
404
- optional?: boolean;
405
- default?: string;
406
- environment?: string;
407
- projectId?: string;
408
- };
409
- usePool?: boolean;
410
- sqlDir?: string;
411
- connectString?: string;
412
- serviceName?: string;
413
- sid?: string;
414
- poolMin?: number;
415
- poolMax?: number;
416
- poolIncrement?: number;
417
- stmtCacheSize?: number;
418
- }>, {
419
- dialect?: "oracle";
420
- host?: string | {
421
- provider?: "inline";
422
- value?: string;
423
- } | {
424
- provider?: "external";
425
- key?: string;
426
- optional?: boolean;
427
- default?: string;
428
- } | {
429
- provider?: "system";
430
- optional?: boolean;
431
- default?: string;
432
- family?: "IPv4" | "IPv6";
433
- interfaceName?: string;
434
- };
435
- port?: number;
436
- user?: string;
437
- password?: string | {
438
- provider?: "env";
439
- key?: string;
440
- optional?: boolean;
441
- default?: string;
442
- } | {
443
- provider?: "infisical";
444
- path?: string;
445
- key?: string;
446
- optional?: boolean;
447
- default?: string;
448
- environment?: string;
449
- projectId?: string;
450
- };
451
- usePool?: boolean;
452
- sqlDir?: string;
453
- connectString?: string;
454
- serviceName?: string;
455
- sid?: string;
456
- poolMin?: number;
457
- poolMax?: number;
458
- poolIncrement?: number;
459
- stmtCacheSize?: number;
460
- }, {
461
- dialect?: "oracle";
462
- host?: string | {
463
- provider?: "inline";
464
- value?: string;
465
- } | {
466
- provider?: "external";
467
- key?: string;
468
- optional?: boolean;
469
- default?: string;
470
- } | {
471
- provider?: "system";
472
- optional?: boolean;
473
- default?: string;
474
- family?: "IPv4" | "IPv6";
475
- interfaceName?: string;
476
- };
477
- port?: number;
478
- user?: string;
479
- password?: string | {
480
- provider?: "env";
481
- key?: string;
482
- optional?: boolean;
483
- default?: string;
484
- } | {
485
- provider?: "infisical";
486
- path?: string;
487
- key?: string;
488
- optional?: boolean;
489
- default?: string;
490
- environment?: string;
491
- projectId?: string;
492
- };
493
- usePool?: boolean;
494
- sqlDir?: string;
495
- connectString?: string;
496
- serviceName?: string;
497
- sid?: string;
498
- poolMin?: number;
499
- poolMax?: number;
500
- poolIncrement?: number;
501
- stmtCacheSize?: number;
502
- }>;
503
- export declare const databaseConnectionSchema: z.ZodUnion<[z.ZodObject<{
108
+ }, z.core.$strict>;
109
+ export declare const databaseConnectionSchema: z.ZodUnion<readonly [z.ZodObject<{
504
110
  dialect: z.ZodLiteral<"pg">;
505
- host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
111
+ host: z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
506
112
  provider: z.ZodLiteral<"inline">;
507
113
  value: z.ZodString;
508
- }, "strict", z.ZodTypeAny, {
509
- provider?: "inline";
510
- value?: string;
511
- }, {
512
- provider?: "inline";
513
- value?: string;
514
- }>, z.ZodObject<{
114
+ }, z.core.$strict>, z.ZodObject<{
515
115
  provider: z.ZodLiteral<"external">;
516
116
  key: z.ZodString;
517
117
  optional: z.ZodOptional<z.ZodBoolean>;
518
118
  default: z.ZodOptional<z.ZodString>;
519
- }, "strict", z.ZodTypeAny, {
520
- provider?: "external";
521
- key?: string;
522
- optional?: boolean;
523
- default?: string;
524
- }, {
525
- provider?: "external";
526
- key?: string;
527
- optional?: boolean;
528
- default?: string;
529
- }>, z.ZodObject<{
119
+ }, z.core.$strict>, z.ZodObject<{
530
120
  provider: z.ZodLiteral<"system">;
531
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
121
+ family: z.ZodDefault<z.ZodEnum<{
122
+ IPv4: "IPv4";
123
+ IPv6: "IPv6";
124
+ }>>;
532
125
  interfaceName: z.ZodOptional<z.ZodString>;
533
126
  optional: z.ZodOptional<z.ZodBoolean>;
534
127
  default: z.ZodOptional<z.ZodString>;
535
- }, "strict", z.ZodTypeAny, {
536
- provider?: "system";
537
- optional?: boolean;
538
- default?: string;
539
- family?: "IPv4" | "IPv6";
540
- interfaceName?: string;
541
- }, {
542
- provider?: "system";
543
- optional?: boolean;
544
- default?: string;
545
- family?: "IPv4" | "IPv6";
546
- interfaceName?: string;
547
- }>]>]>;
128
+ }, z.core.$strict>], "provider">]>;
548
129
  port: z.ZodDefault<z.ZodNumber>;
549
130
  database: z.ZodString;
550
131
  user: z.ZodString;
551
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
132
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
552
133
  provider: z.ZodLiteral<"env">;
553
134
  key: z.ZodString;
554
135
  optional: z.ZodOptional<z.ZodBoolean>;
555
136
  default: z.ZodOptional<z.ZodString>;
556
- }, "strict", z.ZodTypeAny, {
557
- provider?: "env";
558
- key?: string;
559
- optional?: boolean;
560
- default?: string;
561
- }, {
562
- provider?: "env";
563
- key?: string;
564
- optional?: boolean;
565
- default?: string;
566
- }>, z.ZodObject<{
137
+ }, z.core.$strict>, z.ZodObject<{
567
138
  provider: z.ZodLiteral<"infisical">;
568
139
  path: z.ZodString;
569
140
  key: z.ZodString;
@@ -571,43 +142,15 @@ export declare const databaseConnectionSchema: z.ZodUnion<[z.ZodObject<{
571
142
  environment: z.ZodOptional<z.ZodString>;
572
143
  projectId: z.ZodOptional<z.ZodString>;
573
144
  default: z.ZodOptional<z.ZodString>;
574
- }, "strict", z.ZodTypeAny, {
575
- provider?: "infisical";
576
- path?: string;
577
- key?: string;
578
- optional?: boolean;
579
- default?: string;
580
- environment?: string;
581
- projectId?: string;
582
- }, {
583
- provider?: "infisical";
584
- path?: string;
585
- key?: string;
586
- optional?: boolean;
587
- default?: string;
588
- environment?: string;
589
- projectId?: string;
590
- }>]>]>>;
145
+ }, z.core.$strict>], "provider">]>>;
591
146
  usePool: z.ZodDefault<z.ZodBoolean>;
592
- ssl: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
147
+ ssl: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
593
148
  rejectUnauthorized: z.ZodDefault<z.ZodBoolean>;
594
149
  ca: z.ZodOptional<z.ZodString>;
595
150
  cert: z.ZodOptional<z.ZodString>;
596
151
  key: z.ZodOptional<z.ZodString>;
597
152
  servername: z.ZodOptional<z.ZodString>;
598
- }, "strict", z.ZodTypeAny, {
599
- key?: string;
600
- rejectUnauthorized?: boolean;
601
- ca?: string;
602
- cert?: string;
603
- servername?: string;
604
- }, {
605
- key?: string;
606
- rejectUnauthorized?: boolean;
607
- ca?: string;
608
- cert?: string;
609
- servername?: string;
610
- }>]>>;
153
+ }, z.core.$strict>]>>;
611
154
  sqlDir: z.ZodOptional<z.ZodString>;
612
155
  applicationName: z.ZodOptional<z.ZodString>;
613
156
  statementTimeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -615,144 +158,22 @@ export declare const databaseConnectionSchema: z.ZodUnion<[z.ZodObject<{
615
158
  idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
616
159
  maxPoolSize: z.ZodOptional<z.ZodNumber>;
617
160
  minPoolSize: z.ZodOptional<z.ZodNumber>;
618
- }, "strict", z.ZodTypeAny, {
619
- dialect?: "pg";
620
- host?: string | {
621
- provider?: "inline";
622
- value?: string;
623
- } | {
624
- provider?: "external";
625
- key?: string;
626
- optional?: boolean;
627
- default?: string;
628
- } | {
629
- provider?: "system";
630
- optional?: boolean;
631
- default?: string;
632
- family?: "IPv4" | "IPv6";
633
- interfaceName?: string;
634
- };
635
- port?: number;
636
- database?: string;
637
- user?: string;
638
- password?: string | {
639
- provider?: "env";
640
- key?: string;
641
- optional?: boolean;
642
- default?: string;
643
- } | {
644
- provider?: "infisical";
645
- path?: string;
646
- key?: string;
647
- optional?: boolean;
648
- default?: string;
649
- environment?: string;
650
- projectId?: string;
651
- };
652
- usePool?: boolean;
653
- ssl?: boolean | {
654
- key?: string;
655
- rejectUnauthorized?: boolean;
656
- ca?: string;
657
- cert?: string;
658
- servername?: string;
659
- };
660
- sqlDir?: string;
661
- applicationName?: string;
662
- statementTimeoutMs?: number;
663
- connectionTimeoutMs?: number;
664
- idleTimeoutMs?: number;
665
- maxPoolSize?: number;
666
- minPoolSize?: number;
667
- }, {
668
- dialect?: "pg";
669
- host?: string | {
670
- provider?: "inline";
671
- value?: string;
672
- } | {
673
- provider?: "external";
674
- key?: string;
675
- optional?: boolean;
676
- default?: string;
677
- } | {
678
- provider?: "system";
679
- optional?: boolean;
680
- default?: string;
681
- family?: "IPv4" | "IPv6";
682
- interfaceName?: string;
683
- };
684
- port?: number;
685
- database?: string;
686
- user?: string;
687
- password?: string | {
688
- provider?: "env";
689
- key?: string;
690
- optional?: boolean;
691
- default?: string;
692
- } | {
693
- provider?: "infisical";
694
- path?: string;
695
- key?: string;
696
- optional?: boolean;
697
- default?: string;
698
- environment?: string;
699
- projectId?: string;
700
- };
701
- usePool?: boolean;
702
- ssl?: boolean | {
703
- key?: string;
704
- rejectUnauthorized?: boolean;
705
- ca?: string;
706
- cert?: string;
707
- servername?: string;
708
- };
709
- sqlDir?: string;
710
- applicationName?: string;
711
- statementTimeoutMs?: number;
712
- connectionTimeoutMs?: number;
713
- idleTimeoutMs?: number;
714
- maxPoolSize?: number;
715
- minPoolSize?: number;
716
- }>, z.ZodObject<{
161
+ }, z.core.$strict>, z.ZodObject<{
717
162
  dialect: z.ZodLiteral<"sqlite">;
718
163
  filename: z.ZodString;
719
164
  sqlDir: z.ZodOptional<z.ZodString>;
720
165
  readonly: z.ZodOptional<z.ZodBoolean>;
721
166
  fileMustExist: z.ZodOptional<z.ZodBoolean>;
722
167
  timeoutMs: z.ZodOptional<z.ZodNumber>;
723
- }, "strict", z.ZodTypeAny, {
724
- dialect?: "sqlite";
725
- sqlDir?: string;
726
- filename?: string;
727
- readonly?: boolean;
728
- fileMustExist?: boolean;
729
- timeoutMs?: number;
730
- }, {
731
- dialect?: "sqlite";
732
- sqlDir?: string;
733
- filename?: string;
734
- readonly?: boolean;
735
- fileMustExist?: boolean;
736
- timeoutMs?: number;
737
- }>, z.ZodEffects<z.ZodObject<{
168
+ }, z.core.$strict>, z.ZodObject<{
738
169
  dialect: z.ZodLiteral<"oracle">;
739
170
  user: z.ZodString;
740
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
171
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
741
172
  provider: z.ZodLiteral<"env">;
742
173
  key: z.ZodString;
743
174
  optional: z.ZodOptional<z.ZodBoolean>;
744
175
  default: z.ZodOptional<z.ZodString>;
745
- }, "strict", z.ZodTypeAny, {
746
- provider?: "env";
747
- key?: string;
748
- optional?: boolean;
749
- default?: string;
750
- }, {
751
- provider?: "env";
752
- key?: string;
753
- optional?: boolean;
754
- default?: string;
755
- }>, z.ZodObject<{
176
+ }, z.core.$strict>, z.ZodObject<{
756
177
  provider: z.ZodLiteral<"infisical">;
757
178
  path: z.ZodString;
758
179
  key: z.ZodString;
@@ -760,68 +181,27 @@ export declare const databaseConnectionSchema: z.ZodUnion<[z.ZodObject<{
760
181
  environment: z.ZodOptional<z.ZodString>;
761
182
  projectId: z.ZodOptional<z.ZodString>;
762
183
  default: z.ZodOptional<z.ZodString>;
763
- }, "strict", z.ZodTypeAny, {
764
- provider?: "infisical";
765
- path?: string;
766
- key?: string;
767
- optional?: boolean;
768
- default?: string;
769
- environment?: string;
770
- projectId?: string;
771
- }, {
772
- provider?: "infisical";
773
- path?: string;
774
- key?: string;
775
- optional?: boolean;
776
- default?: string;
777
- environment?: string;
778
- projectId?: string;
779
- }>]>]>>;
184
+ }, z.core.$strict>], "provider">]>>;
780
185
  usePool: z.ZodDefault<z.ZodBoolean>;
781
186
  connectString: z.ZodOptional<z.ZodString>;
782
- host: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
187
+ host: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
783
188
  provider: z.ZodLiteral<"inline">;
784
189
  value: z.ZodString;
785
- }, "strict", z.ZodTypeAny, {
786
- provider?: "inline";
787
- value?: string;
788
- }, {
789
- provider?: "inline";
790
- value?: string;
791
- }>, z.ZodObject<{
190
+ }, z.core.$strict>, z.ZodObject<{
792
191
  provider: z.ZodLiteral<"external">;
793
192
  key: z.ZodString;
794
193
  optional: z.ZodOptional<z.ZodBoolean>;
795
194
  default: z.ZodOptional<z.ZodString>;
796
- }, "strict", z.ZodTypeAny, {
797
- provider?: "external";
798
- key?: string;
799
- optional?: boolean;
800
- default?: string;
801
- }, {
802
- provider?: "external";
803
- key?: string;
804
- optional?: boolean;
805
- default?: string;
806
- }>, z.ZodObject<{
195
+ }, z.core.$strict>, z.ZodObject<{
807
196
  provider: z.ZodLiteral<"system">;
808
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
197
+ family: z.ZodDefault<z.ZodEnum<{
198
+ IPv4: "IPv4";
199
+ IPv6: "IPv6";
200
+ }>>;
809
201
  interfaceName: z.ZodOptional<z.ZodString>;
810
202
  optional: z.ZodOptional<z.ZodBoolean>;
811
203
  default: z.ZodOptional<z.ZodString>;
812
- }, "strict", z.ZodTypeAny, {
813
- provider?: "system";
814
- optional?: boolean;
815
- default?: string;
816
- family?: "IPv4" | "IPv6";
817
- interfaceName?: string;
818
- }, {
819
- provider?: "system";
820
- optional?: boolean;
821
- default?: string;
822
- family?: "IPv4" | "IPv6";
823
- interfaceName?: string;
824
- }>]>]>>;
204
+ }, z.core.$strict>], "provider">]>>;
825
205
  port: z.ZodDefault<z.ZodNumber>;
826
206
  serviceName: z.ZodOptional<z.ZodString>;
827
207
  sid: z.ZodOptional<z.ZodString>;
@@ -830,239 +210,36 @@ export declare const databaseConnectionSchema: z.ZodUnion<[z.ZodObject<{
830
210
  poolMax: z.ZodOptional<z.ZodNumber>;
831
211
  poolIncrement: z.ZodOptional<z.ZodNumber>;
832
212
  stmtCacheSize: z.ZodOptional<z.ZodNumber>;
833
- }, "strict", z.ZodTypeAny, {
834
- dialect?: "oracle";
835
- host?: string | {
836
- provider?: "inline";
837
- value?: string;
838
- } | {
839
- provider?: "external";
840
- key?: string;
841
- optional?: boolean;
842
- default?: string;
843
- } | {
844
- provider?: "system";
845
- optional?: boolean;
846
- default?: string;
847
- family?: "IPv4" | "IPv6";
848
- interfaceName?: string;
849
- };
850
- port?: number;
851
- user?: string;
852
- password?: string | {
853
- provider?: "env";
854
- key?: string;
855
- optional?: boolean;
856
- default?: string;
857
- } | {
858
- provider?: "infisical";
859
- path?: string;
860
- key?: string;
861
- optional?: boolean;
862
- default?: string;
863
- environment?: string;
864
- projectId?: string;
865
- };
866
- usePool?: boolean;
867
- sqlDir?: string;
868
- connectString?: string;
869
- serviceName?: string;
870
- sid?: string;
871
- poolMin?: number;
872
- poolMax?: number;
873
- poolIncrement?: number;
874
- stmtCacheSize?: number;
875
- }, {
876
- dialect?: "oracle";
877
- host?: string | {
878
- provider?: "inline";
879
- value?: string;
880
- } | {
881
- provider?: "external";
882
- key?: string;
883
- optional?: boolean;
884
- default?: string;
885
- } | {
886
- provider?: "system";
887
- optional?: boolean;
888
- default?: string;
889
- family?: "IPv4" | "IPv6";
890
- interfaceName?: string;
891
- };
892
- port?: number;
893
- user?: string;
894
- password?: string | {
895
- provider?: "env";
896
- key?: string;
897
- optional?: boolean;
898
- default?: string;
899
- } | {
900
- provider?: "infisical";
901
- path?: string;
902
- key?: string;
903
- optional?: boolean;
904
- default?: string;
905
- environment?: string;
906
- projectId?: string;
907
- };
908
- usePool?: boolean;
909
- sqlDir?: string;
910
- connectString?: string;
911
- serviceName?: string;
912
- sid?: string;
913
- poolMin?: number;
914
- poolMax?: number;
915
- poolIncrement?: number;
916
- stmtCacheSize?: number;
917
- }>, {
918
- dialect?: "oracle";
919
- host?: string | {
920
- provider?: "inline";
921
- value?: string;
922
- } | {
923
- provider?: "external";
924
- key?: string;
925
- optional?: boolean;
926
- default?: string;
927
- } | {
928
- provider?: "system";
929
- optional?: boolean;
930
- default?: string;
931
- family?: "IPv4" | "IPv6";
932
- interfaceName?: string;
933
- };
934
- port?: number;
935
- user?: string;
936
- password?: string | {
937
- provider?: "env";
938
- key?: string;
939
- optional?: boolean;
940
- default?: string;
941
- } | {
942
- provider?: "infisical";
943
- path?: string;
944
- key?: string;
945
- optional?: boolean;
946
- default?: string;
947
- environment?: string;
948
- projectId?: string;
949
- };
950
- usePool?: boolean;
951
- sqlDir?: string;
952
- connectString?: string;
953
- serviceName?: string;
954
- sid?: string;
955
- poolMin?: number;
956
- poolMax?: number;
957
- poolIncrement?: number;
958
- stmtCacheSize?: number;
959
- }, {
960
- dialect?: "oracle";
961
- host?: string | {
962
- provider?: "inline";
963
- value?: string;
964
- } | {
965
- provider?: "external";
966
- key?: string;
967
- optional?: boolean;
968
- default?: string;
969
- } | {
970
- provider?: "system";
971
- optional?: boolean;
972
- default?: string;
973
- family?: "IPv4" | "IPv6";
974
- interfaceName?: string;
975
- };
976
- port?: number;
977
- user?: string;
978
- password?: string | {
979
- provider?: "env";
980
- key?: string;
981
- optional?: boolean;
982
- default?: string;
983
- } | {
984
- provider?: "infisical";
985
- path?: string;
986
- key?: string;
987
- optional?: boolean;
988
- default?: string;
989
- environment?: string;
990
- projectId?: string;
991
- };
992
- usePool?: boolean;
993
- sqlDir?: string;
994
- connectString?: string;
995
- serviceName?: string;
996
- sid?: string;
997
- poolMin?: number;
998
- poolMax?: number;
999
- poolIncrement?: number;
1000
- stmtCacheSize?: number;
1001
- }>]>;
1002
- export declare const databasesConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
213
+ }, z.core.$strict>]>;
214
+ export declare const databasesConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1003
215
  dialect: z.ZodLiteral<"pg">;
1004
- host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
216
+ host: z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1005
217
  provider: z.ZodLiteral<"inline">;
1006
218
  value: z.ZodString;
1007
- }, "strict", z.ZodTypeAny, {
1008
- provider?: "inline";
1009
- value?: string;
1010
- }, {
1011
- provider?: "inline";
1012
- value?: string;
1013
- }>, z.ZodObject<{
219
+ }, z.core.$strict>, z.ZodObject<{
1014
220
  provider: z.ZodLiteral<"external">;
1015
221
  key: z.ZodString;
1016
222
  optional: z.ZodOptional<z.ZodBoolean>;
1017
223
  default: z.ZodOptional<z.ZodString>;
1018
- }, "strict", z.ZodTypeAny, {
1019
- provider?: "external";
1020
- key?: string;
1021
- optional?: boolean;
1022
- default?: string;
1023
- }, {
1024
- provider?: "external";
1025
- key?: string;
1026
- optional?: boolean;
1027
- default?: string;
1028
- }>, z.ZodObject<{
224
+ }, z.core.$strict>, z.ZodObject<{
1029
225
  provider: z.ZodLiteral<"system">;
1030
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
226
+ family: z.ZodDefault<z.ZodEnum<{
227
+ IPv4: "IPv4";
228
+ IPv6: "IPv6";
229
+ }>>;
1031
230
  interfaceName: z.ZodOptional<z.ZodString>;
1032
231
  optional: z.ZodOptional<z.ZodBoolean>;
1033
232
  default: z.ZodOptional<z.ZodString>;
1034
- }, "strict", z.ZodTypeAny, {
1035
- provider?: "system";
1036
- optional?: boolean;
1037
- default?: string;
1038
- family?: "IPv4" | "IPv6";
1039
- interfaceName?: string;
1040
- }, {
1041
- provider?: "system";
1042
- optional?: boolean;
1043
- default?: string;
1044
- family?: "IPv4" | "IPv6";
1045
- interfaceName?: string;
1046
- }>]>]>;
233
+ }, z.core.$strict>], "provider">]>;
1047
234
  port: z.ZodDefault<z.ZodNumber>;
1048
235
  database: z.ZodString;
1049
236
  user: z.ZodString;
1050
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
237
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1051
238
  provider: z.ZodLiteral<"env">;
1052
239
  key: z.ZodString;
1053
240
  optional: z.ZodOptional<z.ZodBoolean>;
1054
241
  default: z.ZodOptional<z.ZodString>;
1055
- }, "strict", z.ZodTypeAny, {
1056
- provider?: "env";
1057
- key?: string;
1058
- optional?: boolean;
1059
- default?: string;
1060
- }, {
1061
- provider?: "env";
1062
- key?: string;
1063
- optional?: boolean;
1064
- default?: string;
1065
- }>, z.ZodObject<{
242
+ }, z.core.$strict>, z.ZodObject<{
1066
243
  provider: z.ZodLiteral<"infisical">;
1067
244
  path: z.ZodString;
1068
245
  key: z.ZodString;
@@ -1070,43 +247,15 @@ export declare const databasesConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<
1070
247
  environment: z.ZodOptional<z.ZodString>;
1071
248
  projectId: z.ZodOptional<z.ZodString>;
1072
249
  default: z.ZodOptional<z.ZodString>;
1073
- }, "strict", z.ZodTypeAny, {
1074
- provider?: "infisical";
1075
- path?: string;
1076
- key?: string;
1077
- optional?: boolean;
1078
- default?: string;
1079
- environment?: string;
1080
- projectId?: string;
1081
- }, {
1082
- provider?: "infisical";
1083
- path?: string;
1084
- key?: string;
1085
- optional?: boolean;
1086
- default?: string;
1087
- environment?: string;
1088
- projectId?: string;
1089
- }>]>]>>;
250
+ }, z.core.$strict>], "provider">]>>;
1090
251
  usePool: z.ZodDefault<z.ZodBoolean>;
1091
- ssl: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
252
+ ssl: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
1092
253
  rejectUnauthorized: z.ZodDefault<z.ZodBoolean>;
1093
254
  ca: z.ZodOptional<z.ZodString>;
1094
255
  cert: z.ZodOptional<z.ZodString>;
1095
256
  key: z.ZodOptional<z.ZodString>;
1096
257
  servername: z.ZodOptional<z.ZodString>;
1097
- }, "strict", z.ZodTypeAny, {
1098
- key?: string;
1099
- rejectUnauthorized?: boolean;
1100
- ca?: string;
1101
- cert?: string;
1102
- servername?: string;
1103
- }, {
1104
- key?: string;
1105
- rejectUnauthorized?: boolean;
1106
- ca?: string;
1107
- cert?: string;
1108
- servername?: string;
1109
- }>]>>;
258
+ }, z.core.$strict>]>>;
1110
259
  sqlDir: z.ZodOptional<z.ZodString>;
1111
260
  applicationName: z.ZodOptional<z.ZodString>;
1112
261
  statementTimeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -1114,144 +263,22 @@ export declare const databasesConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<
1114
263
  idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
1115
264
  maxPoolSize: z.ZodOptional<z.ZodNumber>;
1116
265
  minPoolSize: z.ZodOptional<z.ZodNumber>;
1117
- }, "strict", z.ZodTypeAny, {
1118
- dialect?: "pg";
1119
- host?: string | {
1120
- provider?: "inline";
1121
- value?: string;
1122
- } | {
1123
- provider?: "external";
1124
- key?: string;
1125
- optional?: boolean;
1126
- default?: string;
1127
- } | {
1128
- provider?: "system";
1129
- optional?: boolean;
1130
- default?: string;
1131
- family?: "IPv4" | "IPv6";
1132
- interfaceName?: string;
1133
- };
1134
- port?: number;
1135
- database?: string;
1136
- user?: string;
1137
- password?: string | {
1138
- provider?: "env";
1139
- key?: string;
1140
- optional?: boolean;
1141
- default?: string;
1142
- } | {
1143
- provider?: "infisical";
1144
- path?: string;
1145
- key?: string;
1146
- optional?: boolean;
1147
- default?: string;
1148
- environment?: string;
1149
- projectId?: string;
1150
- };
1151
- usePool?: boolean;
1152
- ssl?: boolean | {
1153
- key?: string;
1154
- rejectUnauthorized?: boolean;
1155
- ca?: string;
1156
- cert?: string;
1157
- servername?: string;
1158
- };
1159
- sqlDir?: string;
1160
- applicationName?: string;
1161
- statementTimeoutMs?: number;
1162
- connectionTimeoutMs?: number;
1163
- idleTimeoutMs?: number;
1164
- maxPoolSize?: number;
1165
- minPoolSize?: number;
1166
- }, {
1167
- dialect?: "pg";
1168
- host?: string | {
1169
- provider?: "inline";
1170
- value?: string;
1171
- } | {
1172
- provider?: "external";
1173
- key?: string;
1174
- optional?: boolean;
1175
- default?: string;
1176
- } | {
1177
- provider?: "system";
1178
- optional?: boolean;
1179
- default?: string;
1180
- family?: "IPv4" | "IPv6";
1181
- interfaceName?: string;
1182
- };
1183
- port?: number;
1184
- database?: string;
1185
- user?: string;
1186
- password?: string | {
1187
- provider?: "env";
1188
- key?: string;
1189
- optional?: boolean;
1190
- default?: string;
1191
- } | {
1192
- provider?: "infisical";
1193
- path?: string;
1194
- key?: string;
1195
- optional?: boolean;
1196
- default?: string;
1197
- environment?: string;
1198
- projectId?: string;
1199
- };
1200
- usePool?: boolean;
1201
- ssl?: boolean | {
1202
- key?: string;
1203
- rejectUnauthorized?: boolean;
1204
- ca?: string;
1205
- cert?: string;
1206
- servername?: string;
1207
- };
1208
- sqlDir?: string;
1209
- applicationName?: string;
1210
- statementTimeoutMs?: number;
1211
- connectionTimeoutMs?: number;
1212
- idleTimeoutMs?: number;
1213
- maxPoolSize?: number;
1214
- minPoolSize?: number;
1215
- }>, z.ZodObject<{
266
+ }, z.core.$strict>, z.ZodObject<{
1216
267
  dialect: z.ZodLiteral<"sqlite">;
1217
268
  filename: z.ZodString;
1218
269
  sqlDir: z.ZodOptional<z.ZodString>;
1219
270
  readonly: z.ZodOptional<z.ZodBoolean>;
1220
271
  fileMustExist: z.ZodOptional<z.ZodBoolean>;
1221
272
  timeoutMs: z.ZodOptional<z.ZodNumber>;
1222
- }, "strict", z.ZodTypeAny, {
1223
- dialect?: "sqlite";
1224
- sqlDir?: string;
1225
- filename?: string;
1226
- readonly?: boolean;
1227
- fileMustExist?: boolean;
1228
- timeoutMs?: number;
1229
- }, {
1230
- dialect?: "sqlite";
1231
- sqlDir?: string;
1232
- filename?: string;
1233
- readonly?: boolean;
1234
- fileMustExist?: boolean;
1235
- timeoutMs?: number;
1236
- }>, z.ZodEffects<z.ZodObject<{
273
+ }, z.core.$strict>, z.ZodObject<{
1237
274
  dialect: z.ZodLiteral<"oracle">;
1238
275
  user: z.ZodString;
1239
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
276
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1240
277
  provider: z.ZodLiteral<"env">;
1241
278
  key: z.ZodString;
1242
279
  optional: z.ZodOptional<z.ZodBoolean>;
1243
280
  default: z.ZodOptional<z.ZodString>;
1244
- }, "strict", z.ZodTypeAny, {
1245
- provider?: "env";
1246
- key?: string;
1247
- optional?: boolean;
1248
- default?: string;
1249
- }, {
1250
- provider?: "env";
1251
- key?: string;
1252
- optional?: boolean;
1253
- default?: string;
1254
- }>, z.ZodObject<{
281
+ }, z.core.$strict>, z.ZodObject<{
1255
282
  provider: z.ZodLiteral<"infisical">;
1256
283
  path: z.ZodString;
1257
284
  key: z.ZodString;
@@ -1259,68 +286,27 @@ export declare const databasesConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<
1259
286
  environment: z.ZodOptional<z.ZodString>;
1260
287
  projectId: z.ZodOptional<z.ZodString>;
1261
288
  default: z.ZodOptional<z.ZodString>;
1262
- }, "strict", z.ZodTypeAny, {
1263
- provider?: "infisical";
1264
- path?: string;
1265
- key?: string;
1266
- optional?: boolean;
1267
- default?: string;
1268
- environment?: string;
1269
- projectId?: string;
1270
- }, {
1271
- provider?: "infisical";
1272
- path?: string;
1273
- key?: string;
1274
- optional?: boolean;
1275
- default?: string;
1276
- environment?: string;
1277
- projectId?: string;
1278
- }>]>]>>;
289
+ }, z.core.$strict>], "provider">]>>;
1279
290
  usePool: z.ZodDefault<z.ZodBoolean>;
1280
291
  connectString: z.ZodOptional<z.ZodString>;
1281
- host: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
292
+ host: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1282
293
  provider: z.ZodLiteral<"inline">;
1283
294
  value: z.ZodString;
1284
- }, "strict", z.ZodTypeAny, {
1285
- provider?: "inline";
1286
- value?: string;
1287
- }, {
1288
- provider?: "inline";
1289
- value?: string;
1290
- }>, z.ZodObject<{
295
+ }, z.core.$strict>, z.ZodObject<{
1291
296
  provider: z.ZodLiteral<"external">;
1292
297
  key: z.ZodString;
1293
298
  optional: z.ZodOptional<z.ZodBoolean>;
1294
299
  default: z.ZodOptional<z.ZodString>;
1295
- }, "strict", z.ZodTypeAny, {
1296
- provider?: "external";
1297
- key?: string;
1298
- optional?: boolean;
1299
- default?: string;
1300
- }, {
1301
- provider?: "external";
1302
- key?: string;
1303
- optional?: boolean;
1304
- default?: string;
1305
- }>, z.ZodObject<{
300
+ }, z.core.$strict>, z.ZodObject<{
1306
301
  provider: z.ZodLiteral<"system">;
1307
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
302
+ family: z.ZodDefault<z.ZodEnum<{
303
+ IPv4: "IPv4";
304
+ IPv6: "IPv6";
305
+ }>>;
1308
306
  interfaceName: z.ZodOptional<z.ZodString>;
1309
307
  optional: z.ZodOptional<z.ZodBoolean>;
1310
308
  default: z.ZodOptional<z.ZodString>;
1311
- }, "strict", z.ZodTypeAny, {
1312
- provider?: "system";
1313
- optional?: boolean;
1314
- default?: string;
1315
- family?: "IPv4" | "IPv6";
1316
- interfaceName?: string;
1317
- }, {
1318
- provider?: "system";
1319
- optional?: boolean;
1320
- default?: string;
1321
- family?: "IPv4" | "IPv6";
1322
- interfaceName?: string;
1323
- }>]>]>>;
309
+ }, z.core.$strict>], "provider">]>>;
1324
310
  port: z.ZodDefault<z.ZodNumber>;
1325
311
  serviceName: z.ZodOptional<z.ZodString>;
1326
312
  sid: z.ZodOptional<z.ZodString>;
@@ -1329,240 +315,37 @@ export declare const databasesConfigSchema: z.ZodRecord<z.ZodString, z.ZodUnion<
1329
315
  poolMax: z.ZodOptional<z.ZodNumber>;
1330
316
  poolIncrement: z.ZodOptional<z.ZodNumber>;
1331
317
  stmtCacheSize: z.ZodOptional<z.ZodNumber>;
1332
- }, "strict", z.ZodTypeAny, {
1333
- dialect?: "oracle";
1334
- host?: string | {
1335
- provider?: "inline";
1336
- value?: string;
1337
- } | {
1338
- provider?: "external";
1339
- key?: string;
1340
- optional?: boolean;
1341
- default?: string;
1342
- } | {
1343
- provider?: "system";
1344
- optional?: boolean;
1345
- default?: string;
1346
- family?: "IPv4" | "IPv6";
1347
- interfaceName?: string;
1348
- };
1349
- port?: number;
1350
- user?: string;
1351
- password?: string | {
1352
- provider?: "env";
1353
- key?: string;
1354
- optional?: boolean;
1355
- default?: string;
1356
- } | {
1357
- provider?: "infisical";
1358
- path?: string;
1359
- key?: string;
1360
- optional?: boolean;
1361
- default?: string;
1362
- environment?: string;
1363
- projectId?: string;
1364
- };
1365
- usePool?: boolean;
1366
- sqlDir?: string;
1367
- connectString?: string;
1368
- serviceName?: string;
1369
- sid?: string;
1370
- poolMin?: number;
1371
- poolMax?: number;
1372
- poolIncrement?: number;
1373
- stmtCacheSize?: number;
1374
- }, {
1375
- dialect?: "oracle";
1376
- host?: string | {
1377
- provider?: "inline";
1378
- value?: string;
1379
- } | {
1380
- provider?: "external";
1381
- key?: string;
1382
- optional?: boolean;
1383
- default?: string;
1384
- } | {
1385
- provider?: "system";
1386
- optional?: boolean;
1387
- default?: string;
1388
- family?: "IPv4" | "IPv6";
1389
- interfaceName?: string;
1390
- };
1391
- port?: number;
1392
- user?: string;
1393
- password?: string | {
1394
- provider?: "env";
1395
- key?: string;
1396
- optional?: boolean;
1397
- default?: string;
1398
- } | {
1399
- provider?: "infisical";
1400
- path?: string;
1401
- key?: string;
1402
- optional?: boolean;
1403
- default?: string;
1404
- environment?: string;
1405
- projectId?: string;
1406
- };
1407
- usePool?: boolean;
1408
- sqlDir?: string;
1409
- connectString?: string;
1410
- serviceName?: string;
1411
- sid?: string;
1412
- poolMin?: number;
1413
- poolMax?: number;
1414
- poolIncrement?: number;
1415
- stmtCacheSize?: number;
1416
- }>, {
1417
- dialect?: "oracle";
1418
- host?: string | {
1419
- provider?: "inline";
1420
- value?: string;
1421
- } | {
1422
- provider?: "external";
1423
- key?: string;
1424
- optional?: boolean;
1425
- default?: string;
1426
- } | {
1427
- provider?: "system";
1428
- optional?: boolean;
1429
- default?: string;
1430
- family?: "IPv4" | "IPv6";
1431
- interfaceName?: string;
1432
- };
1433
- port?: number;
1434
- user?: string;
1435
- password?: string | {
1436
- provider?: "env";
1437
- key?: string;
1438
- optional?: boolean;
1439
- default?: string;
1440
- } | {
1441
- provider?: "infisical";
1442
- path?: string;
1443
- key?: string;
1444
- optional?: boolean;
1445
- default?: string;
1446
- environment?: string;
1447
- projectId?: string;
1448
- };
1449
- usePool?: boolean;
1450
- sqlDir?: string;
1451
- connectString?: string;
1452
- serviceName?: string;
1453
- sid?: string;
1454
- poolMin?: number;
1455
- poolMax?: number;
1456
- poolIncrement?: number;
1457
- stmtCacheSize?: number;
1458
- }, {
1459
- dialect?: "oracle";
1460
- host?: string | {
1461
- provider?: "inline";
1462
- value?: string;
1463
- } | {
1464
- provider?: "external";
1465
- key?: string;
1466
- optional?: boolean;
1467
- default?: string;
1468
- } | {
1469
- provider?: "system";
1470
- optional?: boolean;
1471
- default?: string;
1472
- family?: "IPv4" | "IPv6";
1473
- interfaceName?: string;
1474
- };
1475
- port?: number;
1476
- user?: string;
1477
- password?: string | {
1478
- provider?: "env";
1479
- key?: string;
1480
- optional?: boolean;
1481
- default?: string;
1482
- } | {
1483
- provider?: "infisical";
1484
- path?: string;
1485
- key?: string;
1486
- optional?: boolean;
1487
- default?: string;
1488
- environment?: string;
1489
- projectId?: string;
1490
- };
1491
- usePool?: boolean;
1492
- sqlDir?: string;
1493
- connectString?: string;
1494
- serviceName?: string;
1495
- sid?: string;
1496
- poolMin?: number;
1497
- poolMax?: number;
1498
- poolIncrement?: number;
1499
- stmtCacheSize?: number;
1500
- }>]>>;
318
+ }, z.core.$strict>]>>;
1501
319
  export declare const databaseProjectExtrasSchema: z.ZodObject<{
1502
- databases: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
320
+ databases: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1503
321
  dialect: z.ZodLiteral<"pg">;
1504
- host: z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
322
+ host: z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1505
323
  provider: z.ZodLiteral<"inline">;
1506
324
  value: z.ZodString;
1507
- }, "strict", z.ZodTypeAny, {
1508
- provider?: "inline";
1509
- value?: string;
1510
- }, {
1511
- provider?: "inline";
1512
- value?: string;
1513
- }>, z.ZodObject<{
325
+ }, z.core.$strict>, z.ZodObject<{
1514
326
  provider: z.ZodLiteral<"external">;
1515
327
  key: z.ZodString;
1516
328
  optional: z.ZodOptional<z.ZodBoolean>;
1517
329
  default: z.ZodOptional<z.ZodString>;
1518
- }, "strict", z.ZodTypeAny, {
1519
- provider?: "external";
1520
- key?: string;
1521
- optional?: boolean;
1522
- default?: string;
1523
- }, {
1524
- provider?: "external";
1525
- key?: string;
1526
- optional?: boolean;
1527
- default?: string;
1528
- }>, z.ZodObject<{
330
+ }, z.core.$strict>, z.ZodObject<{
1529
331
  provider: z.ZodLiteral<"system">;
1530
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
332
+ family: z.ZodDefault<z.ZodEnum<{
333
+ IPv4: "IPv4";
334
+ IPv6: "IPv6";
335
+ }>>;
1531
336
  interfaceName: z.ZodOptional<z.ZodString>;
1532
337
  optional: z.ZodOptional<z.ZodBoolean>;
1533
338
  default: z.ZodOptional<z.ZodString>;
1534
- }, "strict", z.ZodTypeAny, {
1535
- provider?: "system";
1536
- optional?: boolean;
1537
- default?: string;
1538
- family?: "IPv4" | "IPv6";
1539
- interfaceName?: string;
1540
- }, {
1541
- provider?: "system";
1542
- optional?: boolean;
1543
- default?: string;
1544
- family?: "IPv4" | "IPv6";
1545
- interfaceName?: string;
1546
- }>]>]>;
339
+ }, z.core.$strict>], "provider">]>;
1547
340
  port: z.ZodDefault<z.ZodNumber>;
1548
341
  database: z.ZodString;
1549
342
  user: z.ZodString;
1550
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
343
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1551
344
  provider: z.ZodLiteral<"env">;
1552
345
  key: z.ZodString;
1553
346
  optional: z.ZodOptional<z.ZodBoolean>;
1554
347
  default: z.ZodOptional<z.ZodString>;
1555
- }, "strict", z.ZodTypeAny, {
1556
- provider?: "env";
1557
- key?: string;
1558
- optional?: boolean;
1559
- default?: string;
1560
- }, {
1561
- provider?: "env";
1562
- key?: string;
1563
- optional?: boolean;
1564
- default?: string;
1565
- }>, z.ZodObject<{
348
+ }, z.core.$strict>, z.ZodObject<{
1566
349
  provider: z.ZodLiteral<"infisical">;
1567
350
  path: z.ZodString;
1568
351
  key: z.ZodString;
@@ -1570,43 +353,15 @@ export declare const databaseProjectExtrasSchema: z.ZodObject<{
1570
353
  environment: z.ZodOptional<z.ZodString>;
1571
354
  projectId: z.ZodOptional<z.ZodString>;
1572
355
  default: z.ZodOptional<z.ZodString>;
1573
- }, "strict", z.ZodTypeAny, {
1574
- provider?: "infisical";
1575
- path?: string;
1576
- key?: string;
1577
- optional?: boolean;
1578
- default?: string;
1579
- environment?: string;
1580
- projectId?: string;
1581
- }, {
1582
- provider?: "infisical";
1583
- path?: string;
1584
- key?: string;
1585
- optional?: boolean;
1586
- default?: string;
1587
- environment?: string;
1588
- projectId?: string;
1589
- }>]>]>>;
356
+ }, z.core.$strict>], "provider">]>>;
1590
357
  usePool: z.ZodDefault<z.ZodBoolean>;
1591
- ssl: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
358
+ ssl: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
1592
359
  rejectUnauthorized: z.ZodDefault<z.ZodBoolean>;
1593
360
  ca: z.ZodOptional<z.ZodString>;
1594
361
  cert: z.ZodOptional<z.ZodString>;
1595
362
  key: z.ZodOptional<z.ZodString>;
1596
363
  servername: z.ZodOptional<z.ZodString>;
1597
- }, "strict", z.ZodTypeAny, {
1598
- key?: string;
1599
- rejectUnauthorized?: boolean;
1600
- ca?: string;
1601
- cert?: string;
1602
- servername?: string;
1603
- }, {
1604
- key?: string;
1605
- rejectUnauthorized?: boolean;
1606
- ca?: string;
1607
- cert?: string;
1608
- servername?: string;
1609
- }>]>>;
364
+ }, z.core.$strict>]>>;
1610
365
  sqlDir: z.ZodOptional<z.ZodString>;
1611
366
  applicationName: z.ZodOptional<z.ZodString>;
1612
367
  statementTimeoutMs: z.ZodOptional<z.ZodNumber>;
@@ -1614,144 +369,22 @@ export declare const databaseProjectExtrasSchema: z.ZodObject<{
1614
369
  idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
1615
370
  maxPoolSize: z.ZodOptional<z.ZodNumber>;
1616
371
  minPoolSize: z.ZodOptional<z.ZodNumber>;
1617
- }, "strict", z.ZodTypeAny, {
1618
- dialect?: "pg";
1619
- host?: string | {
1620
- provider?: "inline";
1621
- value?: string;
1622
- } | {
1623
- provider?: "external";
1624
- key?: string;
1625
- optional?: boolean;
1626
- default?: string;
1627
- } | {
1628
- provider?: "system";
1629
- optional?: boolean;
1630
- default?: string;
1631
- family?: "IPv4" | "IPv6";
1632
- interfaceName?: string;
1633
- };
1634
- port?: number;
1635
- database?: string;
1636
- user?: string;
1637
- password?: string | {
1638
- provider?: "env";
1639
- key?: string;
1640
- optional?: boolean;
1641
- default?: string;
1642
- } | {
1643
- provider?: "infisical";
1644
- path?: string;
1645
- key?: string;
1646
- optional?: boolean;
1647
- default?: string;
1648
- environment?: string;
1649
- projectId?: string;
1650
- };
1651
- usePool?: boolean;
1652
- ssl?: boolean | {
1653
- key?: string;
1654
- rejectUnauthorized?: boolean;
1655
- ca?: string;
1656
- cert?: string;
1657
- servername?: string;
1658
- };
1659
- sqlDir?: string;
1660
- applicationName?: string;
1661
- statementTimeoutMs?: number;
1662
- connectionTimeoutMs?: number;
1663
- idleTimeoutMs?: number;
1664
- maxPoolSize?: number;
1665
- minPoolSize?: number;
1666
- }, {
1667
- dialect?: "pg";
1668
- host?: string | {
1669
- provider?: "inline";
1670
- value?: string;
1671
- } | {
1672
- provider?: "external";
1673
- key?: string;
1674
- optional?: boolean;
1675
- default?: string;
1676
- } | {
1677
- provider?: "system";
1678
- optional?: boolean;
1679
- default?: string;
1680
- family?: "IPv4" | "IPv6";
1681
- interfaceName?: string;
1682
- };
1683
- port?: number;
1684
- database?: string;
1685
- user?: string;
1686
- password?: string | {
1687
- provider?: "env";
1688
- key?: string;
1689
- optional?: boolean;
1690
- default?: string;
1691
- } | {
1692
- provider?: "infisical";
1693
- path?: string;
1694
- key?: string;
1695
- optional?: boolean;
1696
- default?: string;
1697
- environment?: string;
1698
- projectId?: string;
1699
- };
1700
- usePool?: boolean;
1701
- ssl?: boolean | {
1702
- key?: string;
1703
- rejectUnauthorized?: boolean;
1704
- ca?: string;
1705
- cert?: string;
1706
- servername?: string;
1707
- };
1708
- sqlDir?: string;
1709
- applicationName?: string;
1710
- statementTimeoutMs?: number;
1711
- connectionTimeoutMs?: number;
1712
- idleTimeoutMs?: number;
1713
- maxPoolSize?: number;
1714
- minPoolSize?: number;
1715
- }>, z.ZodObject<{
372
+ }, z.core.$strict>, z.ZodObject<{
1716
373
  dialect: z.ZodLiteral<"sqlite">;
1717
374
  filename: z.ZodString;
1718
375
  sqlDir: z.ZodOptional<z.ZodString>;
1719
376
  readonly: z.ZodOptional<z.ZodBoolean>;
1720
377
  fileMustExist: z.ZodOptional<z.ZodBoolean>;
1721
378
  timeoutMs: z.ZodOptional<z.ZodNumber>;
1722
- }, "strict", z.ZodTypeAny, {
1723
- dialect?: "sqlite";
1724
- sqlDir?: string;
1725
- filename?: string;
1726
- readonly?: boolean;
1727
- fileMustExist?: boolean;
1728
- timeoutMs?: number;
1729
- }, {
1730
- dialect?: "sqlite";
1731
- sqlDir?: string;
1732
- filename?: string;
1733
- readonly?: boolean;
1734
- fileMustExist?: boolean;
1735
- timeoutMs?: number;
1736
- }>, z.ZodEffects<z.ZodObject<{
379
+ }, z.core.$strict>, z.ZodObject<{
1737
380
  dialect: z.ZodLiteral<"oracle">;
1738
381
  user: z.ZodString;
1739
- password: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
382
+ password: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1740
383
  provider: z.ZodLiteral<"env">;
1741
384
  key: z.ZodString;
1742
385
  optional: z.ZodOptional<z.ZodBoolean>;
1743
386
  default: z.ZodOptional<z.ZodString>;
1744
- }, "strict", z.ZodTypeAny, {
1745
- provider?: "env";
1746
- key?: string;
1747
- optional?: boolean;
1748
- default?: string;
1749
- }, {
1750
- provider?: "env";
1751
- key?: string;
1752
- optional?: boolean;
1753
- default?: string;
1754
- }>, z.ZodObject<{
387
+ }, z.core.$strict>, z.ZodObject<{
1755
388
  provider: z.ZodLiteral<"infisical">;
1756
389
  path: z.ZodString;
1757
390
  key: z.ZodString;
@@ -1759,68 +392,27 @@ export declare const databaseProjectExtrasSchema: z.ZodObject<{
1759
392
  environment: z.ZodOptional<z.ZodString>;
1760
393
  projectId: z.ZodOptional<z.ZodString>;
1761
394
  default: z.ZodOptional<z.ZodString>;
1762
- }, "strict", z.ZodTypeAny, {
1763
- provider?: "infisical";
1764
- path?: string;
1765
- key?: string;
1766
- optional?: boolean;
1767
- default?: string;
1768
- environment?: string;
1769
- projectId?: string;
1770
- }, {
1771
- provider?: "infisical";
1772
- path?: string;
1773
- key?: string;
1774
- optional?: boolean;
1775
- default?: string;
1776
- environment?: string;
1777
- projectId?: string;
1778
- }>]>]>>;
395
+ }, z.core.$strict>], "provider">]>>;
1779
396
  usePool: z.ZodDefault<z.ZodBoolean>;
1780
397
  connectString: z.ZodOptional<z.ZodString>;
1781
- host: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"provider", [z.ZodObject<{
398
+ host: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1782
399
  provider: z.ZodLiteral<"inline">;
1783
400
  value: z.ZodString;
1784
- }, "strict", z.ZodTypeAny, {
1785
- provider?: "inline";
1786
- value?: string;
1787
- }, {
1788
- provider?: "inline";
1789
- value?: string;
1790
- }>, z.ZodObject<{
401
+ }, z.core.$strict>, z.ZodObject<{
1791
402
  provider: z.ZodLiteral<"external">;
1792
403
  key: z.ZodString;
1793
404
  optional: z.ZodOptional<z.ZodBoolean>;
1794
405
  default: z.ZodOptional<z.ZodString>;
1795
- }, "strict", z.ZodTypeAny, {
1796
- provider?: "external";
1797
- key?: string;
1798
- optional?: boolean;
1799
- default?: string;
1800
- }, {
1801
- provider?: "external";
1802
- key?: string;
1803
- optional?: boolean;
1804
- default?: string;
1805
- }>, z.ZodObject<{
406
+ }, z.core.$strict>, z.ZodObject<{
1806
407
  provider: z.ZodLiteral<"system">;
1807
- family: z.ZodDefault<z.ZodEnum<["IPv4", "IPv6"]>>;
408
+ family: z.ZodDefault<z.ZodEnum<{
409
+ IPv4: "IPv4";
410
+ IPv6: "IPv6";
411
+ }>>;
1808
412
  interfaceName: z.ZodOptional<z.ZodString>;
1809
413
  optional: z.ZodOptional<z.ZodBoolean>;
1810
414
  default: z.ZodOptional<z.ZodString>;
1811
- }, "strict", z.ZodTypeAny, {
1812
- provider?: "system";
1813
- optional?: boolean;
1814
- default?: string;
1815
- family?: "IPv4" | "IPv6";
1816
- interfaceName?: string;
1817
- }, {
1818
- provider?: "system";
1819
- optional?: boolean;
1820
- default?: string;
1821
- family?: "IPv4" | "IPv6";
1822
- interfaceName?: string;
1823
- }>]>]>>;
415
+ }, z.core.$strict>], "provider">]>>;
1824
416
  port: z.ZodDefault<z.ZodNumber>;
1825
417
  serviceName: z.ZodOptional<z.ZodString>;
1826
418
  sid: z.ZodOptional<z.ZodString>;
@@ -1829,376 +421,8 @@ export declare const databaseProjectExtrasSchema: z.ZodObject<{
1829
421
  poolMax: z.ZodOptional<z.ZodNumber>;
1830
422
  poolIncrement: z.ZodOptional<z.ZodNumber>;
1831
423
  stmtCacheSize: z.ZodOptional<z.ZodNumber>;
1832
- }, "strict", z.ZodTypeAny, {
1833
- dialect?: "oracle";
1834
- host?: string | {
1835
- provider?: "inline";
1836
- value?: string;
1837
- } | {
1838
- provider?: "external";
1839
- key?: string;
1840
- optional?: boolean;
1841
- default?: string;
1842
- } | {
1843
- provider?: "system";
1844
- optional?: boolean;
1845
- default?: string;
1846
- family?: "IPv4" | "IPv6";
1847
- interfaceName?: string;
1848
- };
1849
- port?: number;
1850
- user?: string;
1851
- password?: string | {
1852
- provider?: "env";
1853
- key?: string;
1854
- optional?: boolean;
1855
- default?: string;
1856
- } | {
1857
- provider?: "infisical";
1858
- path?: string;
1859
- key?: string;
1860
- optional?: boolean;
1861
- default?: string;
1862
- environment?: string;
1863
- projectId?: string;
1864
- };
1865
- usePool?: boolean;
1866
- sqlDir?: string;
1867
- connectString?: string;
1868
- serviceName?: string;
1869
- sid?: string;
1870
- poolMin?: number;
1871
- poolMax?: number;
1872
- poolIncrement?: number;
1873
- stmtCacheSize?: number;
1874
- }, {
1875
- dialect?: "oracle";
1876
- host?: string | {
1877
- provider?: "inline";
1878
- value?: string;
1879
- } | {
1880
- provider?: "external";
1881
- key?: string;
1882
- optional?: boolean;
1883
- default?: string;
1884
- } | {
1885
- provider?: "system";
1886
- optional?: boolean;
1887
- default?: string;
1888
- family?: "IPv4" | "IPv6";
1889
- interfaceName?: string;
1890
- };
1891
- port?: number;
1892
- user?: string;
1893
- password?: string | {
1894
- provider?: "env";
1895
- key?: string;
1896
- optional?: boolean;
1897
- default?: string;
1898
- } | {
1899
- provider?: "infisical";
1900
- path?: string;
1901
- key?: string;
1902
- optional?: boolean;
1903
- default?: string;
1904
- environment?: string;
1905
- projectId?: string;
1906
- };
1907
- usePool?: boolean;
1908
- sqlDir?: string;
1909
- connectString?: string;
1910
- serviceName?: string;
1911
- sid?: string;
1912
- poolMin?: number;
1913
- poolMax?: number;
1914
- poolIncrement?: number;
1915
- stmtCacheSize?: number;
1916
- }>, {
1917
- dialect?: "oracle";
1918
- host?: string | {
1919
- provider?: "inline";
1920
- value?: string;
1921
- } | {
1922
- provider?: "external";
1923
- key?: string;
1924
- optional?: boolean;
1925
- default?: string;
1926
- } | {
1927
- provider?: "system";
1928
- optional?: boolean;
1929
- default?: string;
1930
- family?: "IPv4" | "IPv6";
1931
- interfaceName?: string;
1932
- };
1933
- port?: number;
1934
- user?: string;
1935
- password?: string | {
1936
- provider?: "env";
1937
- key?: string;
1938
- optional?: boolean;
1939
- default?: string;
1940
- } | {
1941
- provider?: "infisical";
1942
- path?: string;
1943
- key?: string;
1944
- optional?: boolean;
1945
- default?: string;
1946
- environment?: string;
1947
- projectId?: string;
1948
- };
1949
- usePool?: boolean;
1950
- sqlDir?: string;
1951
- connectString?: string;
1952
- serviceName?: string;
1953
- sid?: string;
1954
- poolMin?: number;
1955
- poolMax?: number;
1956
- poolIncrement?: number;
1957
- stmtCacheSize?: number;
1958
- }, {
1959
- dialect?: "oracle";
1960
- host?: string | {
1961
- provider?: "inline";
1962
- value?: string;
1963
- } | {
1964
- provider?: "external";
1965
- key?: string;
1966
- optional?: boolean;
1967
- default?: string;
1968
- } | {
1969
- provider?: "system";
1970
- optional?: boolean;
1971
- default?: string;
1972
- family?: "IPv4" | "IPv6";
1973
- interfaceName?: string;
1974
- };
1975
- port?: number;
1976
- user?: string;
1977
- password?: string | {
1978
- provider?: "env";
1979
- key?: string;
1980
- optional?: boolean;
1981
- default?: string;
1982
- } | {
1983
- provider?: "infisical";
1984
- path?: string;
1985
- key?: string;
1986
- optional?: boolean;
1987
- default?: string;
1988
- environment?: string;
1989
- projectId?: string;
1990
- };
1991
- usePool?: boolean;
1992
- sqlDir?: string;
1993
- connectString?: string;
1994
- serviceName?: string;
1995
- sid?: string;
1996
- poolMin?: number;
1997
- poolMax?: number;
1998
- poolIncrement?: number;
1999
- stmtCacheSize?: number;
2000
- }>]>>;
2001
- }, "strip", z.ZodTypeAny, {
2002
- databases?: Record<string, {
2003
- dialect?: "pg";
2004
- host?: string | {
2005
- provider?: "inline";
2006
- value?: string;
2007
- } | {
2008
- provider?: "external";
2009
- key?: string;
2010
- optional?: boolean;
2011
- default?: string;
2012
- } | {
2013
- provider?: "system";
2014
- optional?: boolean;
2015
- default?: string;
2016
- family?: "IPv4" | "IPv6";
2017
- interfaceName?: string;
2018
- };
2019
- port?: number;
2020
- database?: string;
2021
- user?: string;
2022
- password?: string | {
2023
- provider?: "env";
2024
- key?: string;
2025
- optional?: boolean;
2026
- default?: string;
2027
- } | {
2028
- provider?: "infisical";
2029
- path?: string;
2030
- key?: string;
2031
- optional?: boolean;
2032
- default?: string;
2033
- environment?: string;
2034
- projectId?: string;
2035
- };
2036
- usePool?: boolean;
2037
- ssl?: boolean | {
2038
- key?: string;
2039
- rejectUnauthorized?: boolean;
2040
- ca?: string;
2041
- cert?: string;
2042
- servername?: string;
2043
- };
2044
- sqlDir?: string;
2045
- applicationName?: string;
2046
- statementTimeoutMs?: number;
2047
- connectionTimeoutMs?: number;
2048
- idleTimeoutMs?: number;
2049
- maxPoolSize?: number;
2050
- minPoolSize?: number;
2051
- } | {
2052
- dialect?: "sqlite";
2053
- sqlDir?: string;
2054
- filename?: string;
2055
- readonly?: boolean;
2056
- fileMustExist?: boolean;
2057
- timeoutMs?: number;
2058
- } | {
2059
- dialect?: "oracle";
2060
- host?: string | {
2061
- provider?: "inline";
2062
- value?: string;
2063
- } | {
2064
- provider?: "external";
2065
- key?: string;
2066
- optional?: boolean;
2067
- default?: string;
2068
- } | {
2069
- provider?: "system";
2070
- optional?: boolean;
2071
- default?: string;
2072
- family?: "IPv4" | "IPv6";
2073
- interfaceName?: string;
2074
- };
2075
- port?: number;
2076
- user?: string;
2077
- password?: string | {
2078
- provider?: "env";
2079
- key?: string;
2080
- optional?: boolean;
2081
- default?: string;
2082
- } | {
2083
- provider?: "infisical";
2084
- path?: string;
2085
- key?: string;
2086
- optional?: boolean;
2087
- default?: string;
2088
- environment?: string;
2089
- projectId?: string;
2090
- };
2091
- usePool?: boolean;
2092
- sqlDir?: string;
2093
- connectString?: string;
2094
- serviceName?: string;
2095
- sid?: string;
2096
- poolMin?: number;
2097
- poolMax?: number;
2098
- poolIncrement?: number;
2099
- stmtCacheSize?: number;
2100
- }>;
2101
- }, {
2102
- databases?: Record<string, {
2103
- dialect?: "pg";
2104
- host?: string | {
2105
- provider?: "inline";
2106
- value?: string;
2107
- } | {
2108
- provider?: "external";
2109
- key?: string;
2110
- optional?: boolean;
2111
- default?: string;
2112
- } | {
2113
- provider?: "system";
2114
- optional?: boolean;
2115
- default?: string;
2116
- family?: "IPv4" | "IPv6";
2117
- interfaceName?: string;
2118
- };
2119
- port?: number;
2120
- database?: string;
2121
- user?: string;
2122
- password?: string | {
2123
- provider?: "env";
2124
- key?: string;
2125
- optional?: boolean;
2126
- default?: string;
2127
- } | {
2128
- provider?: "infisical";
2129
- path?: string;
2130
- key?: string;
2131
- optional?: boolean;
2132
- default?: string;
2133
- environment?: string;
2134
- projectId?: string;
2135
- };
2136
- usePool?: boolean;
2137
- ssl?: boolean | {
2138
- key?: string;
2139
- rejectUnauthorized?: boolean;
2140
- ca?: string;
2141
- cert?: string;
2142
- servername?: string;
2143
- };
2144
- sqlDir?: string;
2145
- applicationName?: string;
2146
- statementTimeoutMs?: number;
2147
- connectionTimeoutMs?: number;
2148
- idleTimeoutMs?: number;
2149
- maxPoolSize?: number;
2150
- minPoolSize?: number;
2151
- } | {
2152
- dialect?: "sqlite";
2153
- sqlDir?: string;
2154
- filename?: string;
2155
- readonly?: boolean;
2156
- fileMustExist?: boolean;
2157
- timeoutMs?: number;
2158
- } | {
2159
- dialect?: "oracle";
2160
- host?: string | {
2161
- provider?: "inline";
2162
- value?: string;
2163
- } | {
2164
- provider?: "external";
2165
- key?: string;
2166
- optional?: boolean;
2167
- default?: string;
2168
- } | {
2169
- provider?: "system";
2170
- optional?: boolean;
2171
- default?: string;
2172
- family?: "IPv4" | "IPv6";
2173
- interfaceName?: string;
2174
- };
2175
- port?: number;
2176
- user?: string;
2177
- password?: string | {
2178
- provider?: "env";
2179
- key?: string;
2180
- optional?: boolean;
2181
- default?: string;
2182
- } | {
2183
- provider?: "infisical";
2184
- path?: string;
2185
- key?: string;
2186
- optional?: boolean;
2187
- default?: string;
2188
- environment?: string;
2189
- projectId?: string;
2190
- };
2191
- usePool?: boolean;
2192
- sqlDir?: string;
2193
- connectString?: string;
2194
- serviceName?: string;
2195
- sid?: string;
2196
- poolMin?: number;
2197
- poolMax?: number;
2198
- poolIncrement?: number;
2199
- stmtCacheSize?: number;
2200
- }>;
2201
- }>;
424
+ }, z.core.$strict>]>>;
425
+ }, z.core.$strip>;
2202
426
  export type PostgresDatabaseConfig = z.infer<typeof postgresDatabaseSchema>;
2203
427
  export type SqliteDatabaseConfig = z.infer<typeof sqliteDatabaseSchema>;
2204
428
  export type OracleDatabaseConfig = z.infer<typeof oracleDatabaseSchema>;