@graphoria/server 0.1.5 → 0.2.0
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/src/analyzeQuery/resolveVariables.d.ts.map +1 -1
- package/dist/src/config/helpers/operationHelper.d.ts +60 -6
- package/dist/src/config/helpers/operationHelper.d.ts.map +1 -1
- package/dist/src/config/helpers/operationHelper.test.d.ts +2 -0
- package/dist/src/config/helpers/operationHelper.test.d.ts.map +1 -0
- package/dist/src/config/index.d.ts +65 -60
- package/dist/src/config/index.d.ts.map +1 -1
- package/dist/src/config/types/ai.d.ts +9 -3
- package/dist/src/config/types/ai.d.ts.map +1 -1
- package/dist/src/config/types/auth.d.ts +55 -15
- package/dist/src/config/types/auth.d.ts.map +1 -1
- package/dist/src/config/types/cron.d.ts +96 -2
- package/dist/src/config/types/cron.d.ts.map +1 -1
- package/dist/src/config/types/db.d.ts +102 -29
- package/dist/src/config/types/db.d.ts.map +1 -1
- package/dist/src/config/types/index.d.ts +1 -1
- package/dist/src/config/types/index.d.ts.map +1 -1
- package/dist/src/config/types/operation.d.ts +49 -17
- package/dist/src/config/types/operation.d.ts.map +1 -1
- package/dist/src/config/types/queue.d.ts +59 -12
- package/dist/src/config/types/queue.d.ts.map +1 -1
- package/dist/src/config/types/remote-rest.d.ts +10 -1
- package/dist/src/config/types/remote-rest.d.ts.map +1 -1
- package/dist/src/config/types/remote-schema.d.ts +13 -3
- package/dist/src/config/types/remote-schema.d.ts.map +1 -1
- package/dist/src/config/types/virtual-columns.d.ts +1 -1
- package/dist/src/config/types/virtual-columns.d.ts.map +1 -1
- package/dist/src/configuration/getSchemas/index.d.ts +4 -4
- package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts +2 -2
- package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts.map +1 -1
- package/dist/src/configuration/getSchemas/mergeEntities/index.test.d.ts +2 -0
- package/dist/src/configuration/getSchemas/mergeEntities/index.test.d.ts.map +1 -0
- package/dist/src/configuration/getSchemas/type-definition-generator/index.d.ts.map +1 -1
- package/dist/src/configuration/index.d.ts +4 -4
- package/dist/src/configuration/rest/generateOpenAPI.d.ts.map +1 -1
- package/dist/src/configuration/rest/handleRESTRequestFactory.d.ts.map +1 -1
- package/dist/src/databases/common.d.ts +3 -1
- package/dist/src/databases/common.d.ts.map +1 -1
- package/dist/src/databases/core/query-builder.d.ts +1 -1
- package/dist/src/databases/directives.d.ts.map +1 -1
- package/dist/src/databases/engines/mssql/connection.d.ts +1 -1
- package/dist/src/databases/engines/mssql/connection.d.ts.map +1 -1
- package/dist/src/databases/engines/mssql/query/index.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/connection.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/getStructure.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/placeholders.d.ts +22 -0
- package/dist/src/databases/engines/mysql/placeholders.d.ts.map +1 -0
- package/dist/src/databases/engines/mysql/placeholders.test.d.ts +2 -0
- package/dist/src/databases/engines/mysql/placeholders.test.d.ts.map +1 -0
- package/dist/src/databases/engines/mysql/query/index.d.ts.map +1 -1
- package/dist/src/databases/engines/postgresql/query/index.d.ts.map +1 -1
- package/dist/src/databases/high-level-operations.d.ts +1 -1
- package/dist/src/databases/sqlTypeUtils.d.ts.map +1 -1
- package/dist/src/databases/transformers/data-transformers.d.ts +2 -2
- package/dist/src/singletons/env.d.ts +3 -3
- package/dist/src/types/env.d.ts +52 -52
- package/dist/src/types/resolver.d.ts +12 -2
- package/dist/src/types/resolver.d.ts.map +1 -1
- package/dist/src/types/zod/auth.d.ts +6 -6
- package/dist/src/types/zod/configuration.d.ts +46 -46
- package/dist/src/types/zod/configuration.d.ts.map +1 -1
- package/dist/src/types/zod/cron.d.ts +1 -1
- package/dist/src/types/zod/cron.d.ts.map +1 -1
- package/dist/src/types/zod/db.d.ts +12 -12
- package/dist/src/types/zod/queue.d.ts +26 -26
- package/dist/src/types/zod/strict-keys.test.d.ts +2 -0
- package/dist/src/types/zod/strict-keys.test.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/analyzeQuery/resolveVariables.ts +37 -7
- package/src/config/helpers/operationHelper.ts +146 -5
- package/src/config/index.ts +139 -62
- package/src/config/types/ai.ts +2 -2
- package/src/config/types/auth.ts +37 -6
- package/src/config/types/cron.ts +1 -1
- package/src/config/types/db.ts +10 -10
- package/src/config/types/index.ts +2 -0
- package/src/config/types/operation.ts +49 -9
- package/src/config/types/queue.ts +8 -8
- package/src/config/types/remote-rest.ts +1 -1
- package/src/config/types/remote-schema.ts +2 -2
- package/src/config/types/virtual-columns.ts +1 -1
- package/src/configuration/getSchemas/mergeEntities/index.ts +6 -0
- package/src/configuration/getSchemas/type-definition-generator/index.ts +13 -4
- package/src/configuration/rest/generateOpenAPI.ts +5 -9
- package/src/configuration/rest/handleRESTRequestFactory.ts +40 -14
- package/src/databases/common.ts +151 -65
- package/src/databases/directives.ts +26 -8
- package/src/databases/engines/mssql/connection.ts +1 -1
- package/src/databases/engines/mssql/query/index.ts +29 -11
- package/src/databases/engines/mysql/auth.ts +2 -2
- package/src/databases/engines/mysql/connection.ts +5 -4
- package/src/databases/engines/mysql/getStructure.ts +61 -30
- package/src/databases/engines/mysql/placeholders.ts +84 -0
- package/src/databases/engines/mysql/query/index.ts +49 -4
- package/src/databases/engines/postgresql/query/index.ts +40 -2
- package/src/databases/sqlTypeUtils.ts +3 -1
- package/src/subscriptions/strategies/index.ts +1 -1
- package/src/subscriptions/strategies/queue.ts +1 -1
- package/src/types/resolver.ts +17 -1
- package/src/types/zod/configuration.ts +1 -1
|
@@ -17,7 +17,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
17
17
|
user: z.ZodString;
|
|
18
18
|
password: z.ZodString;
|
|
19
19
|
database: z.ZodString;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$strict>;
|
|
21
21
|
fieldNaming: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22
22
|
repository: z.ZodOptional<z.ZodCustom<import("../../config").CustomRepositoryFactory<import("./db").DatabaseType>, import("../../config").CustomRepositoryFactory<import("./db").DatabaseType>>>;
|
|
23
23
|
onConnect: z.ZodOptional<z.ZodCustom<import("../../config").OnConnectHandler<import("./db").DatabaseType>, import("../../config").OnConnectHandler<import("./db").DatabaseType>>>;
|
|
@@ -32,14 +32,14 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
32
32
|
function: z.ZodOptional<z.ZodString>;
|
|
33
33
|
params: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
34
|
expression: z.ZodOptional<z.ZodString>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$strict>>>>;
|
|
36
36
|
relationships: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37
37
|
schema: z.ZodString;
|
|
38
38
|
name: z.ZodString;
|
|
39
39
|
columns: z.ZodArray<z.ZodObject<{
|
|
40
40
|
source: z.ZodString;
|
|
41
41
|
target: z.ZodString;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$strict>>;
|
|
43
43
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
44
|
source: z.ZodOptional<z.ZodString>;
|
|
45
45
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -55,13 +55,13 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
55
55
|
is_not_null: "is_not_null";
|
|
56
56
|
}>>>;
|
|
57
57
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
58
|
-
}, z.core.$
|
|
59
|
-
}, z.core.$
|
|
58
|
+
}, z.core.$strict>>>;
|
|
59
|
+
}, z.core.$strict>>>>;
|
|
60
60
|
description: z.ZodOptional<z.ZodString>;
|
|
61
61
|
columnDescriptions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
62
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strict>>>>>>>;
|
|
63
63
|
excludedTables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
64
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$strict>>;
|
|
65
65
|
connectionOptions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
66
66
|
max: z.ZodDefault<z.ZodNumber>;
|
|
67
67
|
idleTimeout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -70,20 +70,20 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
70
70
|
tls: z.ZodDefault<z.ZodBoolean>;
|
|
71
71
|
prepare: z.ZodDefault<z.ZodBoolean>;
|
|
72
72
|
bigint: z.ZodDefault<z.ZodBoolean>;
|
|
73
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
74
74
|
pool: z.ZodDefault<z.ZodObject<{
|
|
75
75
|
max: z.ZodDefault<z.ZodNumber>;
|
|
76
76
|
min: z.ZodDefault<z.ZodNumber>;
|
|
77
77
|
idleTimeout: z.ZodDefault<z.ZodNumber>;
|
|
78
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
79
|
connectionTimeout: z.ZodDefault<z.ZodNumber>;
|
|
80
80
|
requestTimeout: z.ZodDefault<z.ZodNumber>;
|
|
81
81
|
encrypt: z.ZodDefault<z.ZodBoolean>;
|
|
82
82
|
trustServerCertificate: z.ZodDefault<z.ZodBoolean>;
|
|
83
83
|
trustedConnection: z.ZodDefault<z.ZodBoolean>;
|
|
84
84
|
parseJSON: z.ZodDefault<z.ZodBoolean>;
|
|
85
|
-
}, z.core.$
|
|
86
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$strict>]>>;
|
|
86
|
+
}, z.core.$strict>>>;
|
|
87
87
|
queues: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject<{
|
|
88
88
|
name: z.ZodString;
|
|
89
89
|
autoSetup: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -93,13 +93,13 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
93
93
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
94
94
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
95
95
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
96
|
-
}, z.core.$
|
|
96
|
+
}, z.core.$strict>>;
|
|
97
97
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
98
98
|
topic: z.ZodString;
|
|
99
99
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
100
100
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
101
101
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
102
|
-
}, z.core.$
|
|
102
|
+
}, z.core.$strict>>>>;
|
|
103
103
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
104
104
|
topic: z.ZodString;
|
|
105
105
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -108,7 +108,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
108
108
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
109
109
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
110
110
|
handler: z.ZodOptional<z.ZodCustom<import("./queue").SubscriberHandler, import("./queue").SubscriberHandler>>;
|
|
111
|
-
}, z.core.$
|
|
111
|
+
}, z.core.$strict>>>>;
|
|
112
112
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
113
113
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
114
114
|
headers: "headers";
|
|
@@ -118,7 +118,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
118
118
|
}>>>;
|
|
119
119
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
120
120
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
121
|
-
}, z.core.$
|
|
121
|
+
}, z.core.$strict>>>>;
|
|
122
122
|
type: z.ZodLiteral<"rabbitmq">;
|
|
123
123
|
connection: z.ZodUnion<readonly [z.ZodURL, z.ZodObject<{
|
|
124
124
|
hostname: z.ZodDefault<z.ZodString>;
|
|
@@ -126,8 +126,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
126
126
|
username: z.ZodOptional<z.ZodString>;
|
|
127
127
|
password: z.ZodOptional<z.ZodString>;
|
|
128
128
|
vhost: z.ZodDefault<z.ZodString>;
|
|
129
|
-
}, z.core.$
|
|
130
|
-
}, z.core.$
|
|
129
|
+
}, z.core.$strict>]>;
|
|
130
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
131
131
|
name: string;
|
|
132
132
|
autoSetup: boolean;
|
|
133
133
|
enabled: boolean;
|
|
@@ -244,13 +244,13 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
244
244
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
245
245
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
246
246
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
247
|
-
}, z.core.$
|
|
247
|
+
}, z.core.$strict>>;
|
|
248
248
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
249
249
|
topic: z.ZodString;
|
|
250
250
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
251
251
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
252
252
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
253
|
-
}, z.core.$
|
|
253
|
+
}, z.core.$strict>>>>;
|
|
254
254
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
255
255
|
topic: z.ZodString;
|
|
256
256
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -259,7 +259,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
259
259
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
260
260
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
261
261
|
handler: z.ZodOptional<z.ZodCustom<import("./queue").SubscriberHandler, import("./queue").SubscriberHandler>>;
|
|
262
|
-
}, z.core.$
|
|
262
|
+
}, z.core.$strict>>>>;
|
|
263
263
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
264
264
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
265
265
|
headers: "headers";
|
|
@@ -269,7 +269,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
269
269
|
}>>>;
|
|
270
270
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
271
271
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
272
|
-
}, z.core.$
|
|
272
|
+
}, z.core.$strict>>>>;
|
|
273
273
|
type: z.ZodLiteral<"kafka">;
|
|
274
274
|
connection: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
275
275
|
brokers: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
@@ -283,9 +283,9 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
283
283
|
}>>>;
|
|
284
284
|
username: z.ZodString;
|
|
285
285
|
password: z.ZodString;
|
|
286
|
-
}, z.core.$
|
|
287
|
-
}, z.core.$
|
|
288
|
-
}, z.core.$
|
|
286
|
+
}, z.core.$strict>>;
|
|
287
|
+
}, z.core.$strict>]>;
|
|
288
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
289
289
|
name: string;
|
|
290
290
|
autoSetup: boolean;
|
|
291
291
|
enabled: boolean;
|
|
@@ -415,7 +415,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
415
415
|
catchErrors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
416
416
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
417
417
|
onTick: z.ZodOptional<z.ZodCustom<import("./cron").TickCallback<Record<string, unknown>>, import("./cron").TickCallback<Record<string, unknown>>>>;
|
|
418
|
-
}, z.core.$
|
|
418
|
+
}, z.core.$strict>>>>;
|
|
419
419
|
operations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
420
420
|
description: z.ZodOptional<z.ZodString>;
|
|
421
421
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -426,7 +426,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
426
426
|
init: z.ZodOptional<z.ZodCustom<import("./operation").OperationInitHook<any>, import("./operation").OperationInitHook<any>>>;
|
|
427
427
|
beforeRequest: z.ZodOptional<z.ZodCustom<import("./operation").OperationBeforeRequestHook<any, any, any>, import("./operation").OperationBeforeRequestHook<any, any, any>>>;
|
|
428
428
|
afterRequest: z.ZodOptional<z.ZodCustom<import("./operation").OperationAfterRequestHook<any>, import("./operation").OperationAfterRequestHook<any>>>;
|
|
429
|
-
}, z.core.$
|
|
429
|
+
}, z.core.$strict>>;
|
|
430
430
|
rest: z.ZodOptional<z.ZodObject<{
|
|
431
431
|
path: z.ZodString;
|
|
432
432
|
method: z.ZodDefault<z.ZodEnum<{
|
|
@@ -439,11 +439,11 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
439
439
|
pathParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
440
440
|
queryParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
441
441
|
body: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
442
|
-
}, z.core.$
|
|
442
|
+
}, z.core.$strict>>;
|
|
443
443
|
graphql: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
444
444
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
445
445
|
name: z.ZodOptional<z.ZodString>;
|
|
446
|
-
}, z.core.$
|
|
446
|
+
}, z.core.$strict>>>;
|
|
447
447
|
cache: z.ZodOptional<z.ZodObject<{
|
|
448
448
|
max: z.ZodOptional<z.ZodNumber>;
|
|
449
449
|
maxSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -452,8 +452,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
452
452
|
updateAgeOnGet: z.ZodOptional<z.ZodBoolean>;
|
|
453
453
|
updateAgeOnHas: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
454
454
|
ttlAutopurge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
455
|
-
}, z.core.$
|
|
456
|
-
}, z.core.$
|
|
455
|
+
}, z.core.$strict>>;
|
|
456
|
+
}, z.core.$strict>>>>;
|
|
457
457
|
auth: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
458
458
|
enabled: z.ZodBoolean;
|
|
459
459
|
database: z.ZodString;
|
|
@@ -462,7 +462,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
462
462
|
permissions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodObject<{
|
|
463
463
|
tables: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodLiteral<"ALL">, z.ZodObject<{
|
|
464
464
|
columns: z.ZodUnion<readonly [z.ZodLiteral<"ALL">, z.ZodArray<z.ZodString>]>;
|
|
465
|
-
filter: z.ZodOptional<z.
|
|
465
|
+
filter: z.ZodOptional<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
|
|
466
466
|
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
467
467
|
column: z.ZodString;
|
|
468
468
|
direction: z.ZodEnum<{
|
|
@@ -473,15 +473,15 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
473
473
|
DESC_NULLS_FIRST: "DESC_NULLS_FIRST";
|
|
474
474
|
DESC_NULLS_LAST: "DESC_NULLS_LAST";
|
|
475
475
|
}>;
|
|
476
|
-
}, z.core.$
|
|
477
|
-
}, z.core.$
|
|
476
|
+
}, z.core.$strict>>>;
|
|
477
|
+
}, z.core.$strict>]>>]>>>;
|
|
478
478
|
storedProcedures: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
479
479
|
queues: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
480
480
|
operations: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
481
481
|
remoteSchemas: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
482
482
|
remoteREST: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
483
|
-
}, z.core.$
|
|
484
|
-
}, z.core.$
|
|
483
|
+
}, z.core.$strict>>>>>;
|
|
484
|
+
}, z.core.$strict>>>, z.ZodTransform<{
|
|
485
485
|
permissions: {
|
|
486
486
|
[k: string]: {
|
|
487
487
|
tables: "ALL" | {
|
|
@@ -508,7 +508,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
508
508
|
permissions: Record<string, {
|
|
509
509
|
tables: string[] | "ALL" | Record<string, "ALL" | {
|
|
510
510
|
columns: string[] | "ALL";
|
|
511
|
-
filter?: Record<string,
|
|
511
|
+
filter?: Record<string, unknown> | undefined;
|
|
512
512
|
orderBy?: {
|
|
513
513
|
column: string;
|
|
514
514
|
direction: "ASC" | "DESC" | "ASC_NULLS_FIRST" | "ASC_NULLS_LAST" | "DESC_NULLS_FIRST" | "DESC_NULLS_LAST";
|
|
@@ -531,8 +531,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
531
531
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
532
532
|
introspection: z.ZodOptional<z.ZodObject<{
|
|
533
533
|
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
534
|
-
}, z.core.$
|
|
535
|
-
}, z.core.$
|
|
534
|
+
}, z.core.$strict>>;
|
|
535
|
+
}, z.core.$strict>>>>;
|
|
536
536
|
remoteREST: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
537
537
|
name: z.ZodString;
|
|
538
538
|
url: z.ZodOptional<z.ZodURL>;
|
|
@@ -543,20 +543,20 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
543
543
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
544
544
|
forwardHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
545
545
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
546
|
-
}, z.core.$
|
|
546
|
+
}, z.core.$strict>>>>;
|
|
547
547
|
ai: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
548
548
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
549
549
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
550
550
|
endpoint: z.ZodDefault<z.ZodString>;
|
|
551
551
|
mcp: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
552
552
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
553
|
-
}, z.core.$
|
|
554
|
-
}, z.core.$
|
|
555
|
-
}, z.core.$
|
|
553
|
+
}, z.core.$strict>>>;
|
|
554
|
+
}, z.core.$strict>>>;
|
|
555
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
556
556
|
enabledDatabases: {
|
|
557
557
|
name: string;
|
|
558
558
|
enabled: boolean;
|
|
559
|
-
type: "mssql" | "
|
|
559
|
+
type: "mssql" | "pg" | "mysql";
|
|
560
560
|
connection: {
|
|
561
561
|
host: string;
|
|
562
562
|
port: number;
|
|
@@ -624,7 +624,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
624
624
|
databaseEntity: {
|
|
625
625
|
name: string;
|
|
626
626
|
enabled: boolean;
|
|
627
|
-
type: "mssql" | "
|
|
627
|
+
type: "mssql" | "pg" | "mysql";
|
|
628
628
|
connection: {
|
|
629
629
|
host: string;
|
|
630
630
|
port: number;
|
|
@@ -713,7 +713,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
713
713
|
databases: {
|
|
714
714
|
name: string;
|
|
715
715
|
enabled: boolean;
|
|
716
|
-
type: "mssql" | "
|
|
716
|
+
type: "mssql" | "pg" | "mysql";
|
|
717
717
|
connection: {
|
|
718
718
|
host: string;
|
|
719
719
|
port: number;
|
|
@@ -1007,7 +1007,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
1007
1007
|
databases: {
|
|
1008
1008
|
name: string;
|
|
1009
1009
|
enabled: boolean;
|
|
1010
|
-
type: "mssql" | "
|
|
1010
|
+
type: "mssql" | "pg" | "mysql";
|
|
1011
1011
|
connection: {
|
|
1012
1012
|
host: string;
|
|
1013
1013
|
port: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/configuration.ts"],"names":[],"mappings":"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"}
|
|
@@ -28,5 +28,5 @@ export declare const TypedCronJobZod: z.ZodObject<{
|
|
|
28
28
|
catchErrors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
29
29
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
30
30
|
onTick: z.ZodOptional<z.ZodCustom<TickCallback<Record<string, unknown>>, TickCallback<Record<string, unknown>>>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$strict>;
|
|
32
32
|
//# sourceMappingURL=cron.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/cron.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAG3D,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,WAAW,GACjB,MAAM,cAAc,CAAC;AAEtB;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,UAAU,GAAG,gBAAgB,IAAI,CACxD,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,WAAW,CAAC,UAAU,CAAC,EAChC,QAAQ,CAAC,EAAE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;CAAE,KAC7C,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAE1B;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/cron.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAG3D,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,WAAW,GACjB,MAAM,cAAc,CAAC;AAEtB;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,UAAU,GAAG,gBAAgB,IAAI,CACxD,OAAO,EAAE,yBAAyB,EAClC,OAAO,EAAE,WAAW,CAAC,UAAU,CAAC,EAChC,QAAQ,CAAC,EAAE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAA;CAAE,KAC7C,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAE1B;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;kBAK1B,CAAC"}
|
|
@@ -34,7 +34,7 @@ export declare const TableRelationshipEnhancedZod: z.ZodPipe<z.ZodObject<{
|
|
|
34
34
|
columns: z.ZodArray<z.ZodObject<{
|
|
35
35
|
source: z.ZodString;
|
|
36
36
|
target: z.ZodString;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$strict>>;
|
|
38
38
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
39
|
source: z.ZodOptional<z.ZodString>;
|
|
40
40
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -50,8 +50,8 @@ export declare const TableRelationshipEnhancedZod: z.ZodPipe<z.ZodObject<{
|
|
|
50
50
|
is_not_null: "is_not_null";
|
|
51
51
|
}>>>;
|
|
52
52
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
53
|
-
}, z.core.$
|
|
54
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$strict>>>;
|
|
54
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
55
55
|
dashedName: string;
|
|
56
56
|
schema: string;
|
|
57
57
|
name: string;
|
|
@@ -113,7 +113,7 @@ export declare const TableBaseZod: z.ZodObject<{
|
|
|
113
113
|
columns: z.ZodArray<z.ZodObject<{
|
|
114
114
|
source: z.ZodString;
|
|
115
115
|
target: z.ZodString;
|
|
116
|
-
}, z.core.$
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
117
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
118
|
source: z.ZodOptional<z.ZodString>;
|
|
119
119
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -129,8 +129,8 @@ export declare const TableBaseZod: z.ZodObject<{
|
|
|
129
129
|
is_not_null: "is_not_null";
|
|
130
130
|
}>>>;
|
|
131
131
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
132
|
-
}, z.core.$
|
|
133
|
-
}, z.core.$
|
|
132
|
+
}, z.core.$strict>>>;
|
|
133
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
134
134
|
dashedName: string;
|
|
135
135
|
schema: string;
|
|
136
136
|
name: string;
|
|
@@ -229,7 +229,7 @@ export declare const TableZod: z.ZodPipe<z.ZodObject<{
|
|
|
229
229
|
columns: z.ZodArray<z.ZodObject<{
|
|
230
230
|
source: z.ZodString;
|
|
231
231
|
target: z.ZodString;
|
|
232
|
-
}, z.core.$
|
|
232
|
+
}, z.core.$strict>>;
|
|
233
233
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
234
234
|
source: z.ZodOptional<z.ZodString>;
|
|
235
235
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -245,8 +245,8 @@ export declare const TableZod: z.ZodPipe<z.ZodObject<{
|
|
|
245
245
|
is_not_null: "is_not_null";
|
|
246
246
|
}>>>;
|
|
247
247
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
248
|
-
}, z.core.$
|
|
249
|
-
}, z.core.$
|
|
248
|
+
}, z.core.$strict>>>;
|
|
249
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
250
250
|
dashedName: string;
|
|
251
251
|
schema: string;
|
|
252
252
|
name: string;
|
|
@@ -441,7 +441,7 @@ export declare const DatabaseStructureZod: z.ZodObject<{
|
|
|
441
441
|
columns: z.ZodArray<z.ZodObject<{
|
|
442
442
|
source: z.ZodString;
|
|
443
443
|
target: z.ZodString;
|
|
444
|
-
}, z.core.$
|
|
444
|
+
}, z.core.$strict>>;
|
|
445
445
|
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
446
446
|
source: z.ZodOptional<z.ZodString>;
|
|
447
447
|
target: z.ZodOptional<z.ZodString>;
|
|
@@ -457,8 +457,8 @@ export declare const DatabaseStructureZod: z.ZodObject<{
|
|
|
457
457
|
is_not_null: "is_not_null";
|
|
458
458
|
}>>>;
|
|
459
459
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
460
|
-
}, z.core.$
|
|
461
|
-
}, z.core.$
|
|
460
|
+
}, z.core.$strict>>>;
|
|
461
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
462
462
|
dashedName: string;
|
|
463
463
|
schema: string;
|
|
464
464
|
name: string;
|
|
@@ -11,13 +11,13 @@ declare const RabbitMQConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
11
11
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
12
12
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$strict>>;
|
|
15
15
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16
16
|
topic: z.ZodString;
|
|
17
17
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
18
18
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19
19
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$strict>>>>;
|
|
21
21
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
22
22
|
topic: z.ZodString;
|
|
23
23
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -26,7 +26,7 @@ declare const RabbitMQConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
26
26
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
27
27
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
28
28
|
handler: z.ZodOptional<z.ZodCustom<SubscriberHandler, SubscriberHandler>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$strict>>>>;
|
|
30
30
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
31
31
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
32
32
|
headers: "headers";
|
|
@@ -36,7 +36,7 @@ declare const RabbitMQConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
36
36
|
}>>>;
|
|
37
37
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
38
38
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
39
|
-
}, z.core.$
|
|
39
|
+
}, z.core.$strict>>>>;
|
|
40
40
|
type: z.ZodLiteral<"rabbitmq">;
|
|
41
41
|
connection: z.ZodUnion<readonly [z.ZodURL, z.ZodObject<{
|
|
42
42
|
hostname: z.ZodDefault<z.ZodString>;
|
|
@@ -44,8 +44,8 @@ declare const RabbitMQConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
44
44
|
username: z.ZodOptional<z.ZodString>;
|
|
45
45
|
password: z.ZodOptional<z.ZodString>;
|
|
46
46
|
vhost: z.ZodDefault<z.ZodString>;
|
|
47
|
-
}, z.core.$
|
|
48
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$strict>]>;
|
|
48
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
49
49
|
name: string;
|
|
50
50
|
autoSetup: boolean;
|
|
51
51
|
enabled: boolean;
|
|
@@ -163,13 +163,13 @@ declare const KafkaConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
163
163
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
164
164
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
165
165
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
166
|
-
}, z.core.$
|
|
166
|
+
}, z.core.$strict>>;
|
|
167
167
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
168
168
|
topic: z.ZodString;
|
|
169
169
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
170
170
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
171
171
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
172
|
-
}, z.core.$
|
|
172
|
+
}, z.core.$strict>>>>;
|
|
173
173
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
174
174
|
topic: z.ZodString;
|
|
175
175
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -178,7 +178,7 @@ declare const KafkaConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
178
178
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
179
179
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
180
180
|
handler: z.ZodOptional<z.ZodCustom<SubscriberHandler, SubscriberHandler>>;
|
|
181
|
-
}, z.core.$
|
|
181
|
+
}, z.core.$strict>>>>;
|
|
182
182
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
183
183
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
184
184
|
headers: "headers";
|
|
@@ -188,7 +188,7 @@ declare const KafkaConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
188
188
|
}>>>;
|
|
189
189
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
190
190
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
191
|
-
}, z.core.$
|
|
191
|
+
}, z.core.$strict>>>>;
|
|
192
192
|
type: z.ZodLiteral<"kafka">;
|
|
193
193
|
connection: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
194
194
|
brokers: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
@@ -202,9 +202,9 @@ declare const KafkaConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
202
202
|
}>>>;
|
|
203
203
|
username: z.ZodString;
|
|
204
204
|
password: z.ZodString;
|
|
205
|
-
}, z.core.$
|
|
206
|
-
}, z.core.$
|
|
207
|
-
}, z.core.$
|
|
205
|
+
}, z.core.$strict>>;
|
|
206
|
+
}, z.core.$strict>]>;
|
|
207
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
208
208
|
name: string;
|
|
209
209
|
autoSetup: boolean;
|
|
210
210
|
enabled: boolean;
|
|
@@ -328,13 +328,13 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
328
328
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
329
329
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
330
330
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
331
|
-
}, z.core.$
|
|
331
|
+
}, z.core.$strict>>;
|
|
332
332
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
333
333
|
topic: z.ZodString;
|
|
334
334
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
335
335
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
336
336
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
337
|
-
}, z.core.$
|
|
337
|
+
}, z.core.$strict>>>>;
|
|
338
338
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
339
339
|
topic: z.ZodString;
|
|
340
340
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -343,7 +343,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
343
343
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
344
344
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
345
345
|
handler: z.ZodOptional<z.ZodCustom<SubscriberHandler, SubscriberHandler>>;
|
|
346
|
-
}, z.core.$
|
|
346
|
+
}, z.core.$strict>>>>;
|
|
347
347
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
348
348
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
349
349
|
headers: "headers";
|
|
@@ -353,7 +353,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
353
353
|
}>>>;
|
|
354
354
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
355
355
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
356
|
-
}, z.core.$
|
|
356
|
+
}, z.core.$strict>>>>;
|
|
357
357
|
type: z.ZodLiteral<"rabbitmq">;
|
|
358
358
|
connection: z.ZodUnion<readonly [z.ZodURL, z.ZodObject<{
|
|
359
359
|
hostname: z.ZodDefault<z.ZodString>;
|
|
@@ -361,8 +361,8 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
361
361
|
username: z.ZodOptional<z.ZodString>;
|
|
362
362
|
password: z.ZodOptional<z.ZodString>;
|
|
363
363
|
vhost: z.ZodDefault<z.ZodString>;
|
|
364
|
-
}, z.core.$
|
|
365
|
-
}, z.core.$
|
|
364
|
+
}, z.core.$strict>]>;
|
|
365
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
366
366
|
name: string;
|
|
367
367
|
autoSetup: boolean;
|
|
368
368
|
enabled: boolean;
|
|
@@ -479,13 +479,13 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
479
479
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
480
480
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
481
481
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
482
|
-
}, z.core.$
|
|
482
|
+
}, z.core.$strict>>;
|
|
483
483
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
484
484
|
topic: z.ZodString;
|
|
485
485
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
486
486
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
487
487
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
488
|
-
}, z.core.$
|
|
488
|
+
}, z.core.$strict>>>>;
|
|
489
489
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
490
490
|
topic: z.ZodString;
|
|
491
491
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -494,7 +494,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
494
494
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
495
495
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
496
496
|
handler: z.ZodOptional<z.ZodCustom<SubscriberHandler, SubscriberHandler>>;
|
|
497
|
-
}, z.core.$
|
|
497
|
+
}, z.core.$strict>>>>;
|
|
498
498
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
499
499
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
500
500
|
headers: "headers";
|
|
@@ -504,7 +504,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
504
504
|
}>>>;
|
|
505
505
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
506
506
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
507
|
-
}, z.core.$
|
|
507
|
+
}, z.core.$strict>>>>;
|
|
508
508
|
type: z.ZodLiteral<"kafka">;
|
|
509
509
|
connection: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
510
510
|
brokers: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
@@ -518,9 +518,9 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
518
518
|
}>>>;
|
|
519
519
|
username: z.ZodString;
|
|
520
520
|
password: z.ZodString;
|
|
521
|
-
}, z.core.$
|
|
522
|
-
}, z.core.$
|
|
523
|
-
}, z.core.$
|
|
521
|
+
}, z.core.$strict>>;
|
|
522
|
+
}, z.core.$strict>]>;
|
|
523
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
524
524
|
name: string;
|
|
525
525
|
autoSetup: boolean;
|
|
526
526
|
enabled: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict-keys.test.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/strict-keys.test.ts"],"names":[],"mappings":""}
|