@graphoria/server 0.1.5 → 0.2.1
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/authentication/jwt.d.ts.map +1 -1
- package/dist/src/authentication/paseto.d.ts.map +1 -1
- package/dist/src/authentication/tokenRepository.d.ts +2 -1
- package/dist/src/authentication/tokenRepository.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 +61 -14
- 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 +6 -4
- package/dist/src/configuration/getSchemas/index.d.ts.map +1 -1
- package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts +9 -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 +5 -4
- package/dist/src/configuration/index.d.ts.map +1 -1
- 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/configuration/rest/parseStringParams.d.ts +15 -0
- package/dist/src/configuration/rest/parseStringParams.d.ts.map +1 -0
- package/dist/src/configuration/rest/parseStringParams.test.d.ts +2 -0
- package/dist/src/configuration/rest/parseStringParams.test.d.ts.map +1 -0
- package/dist/src/databases/common.d.ts +9 -1
- package/dist/src/databases/common.d.ts.map +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/getStructure.d.ts +1 -0
- package/dist/src/databases/engines/mssql/getStructure.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 +1 -0
- 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/getStructure.d.ts +1 -0
- package/dist/src/databases/engines/postgresql/getStructure.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 -0
- package/dist/src/databases/high-level-operations.d.ts.map +1 -1
- package/dist/src/databases/identifierMapping.test.d.ts +2 -0
- package/dist/src/databases/identifierMapping.test.d.ts.map +1 -0
- package/dist/src/databases/metadata/structure.d.ts +1 -0
- package/dist/src/databases/metadata/structure.d.ts.map +1 -1
- package/dist/src/databases/sqlTypeUtils.d.ts.map +1 -1
- package/dist/src/databases/transformers/data-transformers.d.ts +1 -0
- package/dist/src/databases/transformers/data-transformers.d.ts.map +1 -1
- package/dist/src/databases/transformers/genResolverName.d.ts.map +1 -1
- package/dist/src/databases/transformers/graphqlName.d.ts +23 -0
- package/dist/src/databases/transformers/graphqlName.d.ts.map +1 -0
- package/dist/src/databases/transformers/graphqlName.test.d.ts +2 -0
- package/dist/src/databases/transformers/graphqlName.test.d.ts.map +1 -0
- package/dist/src/singletons/env.d.ts +2 -2
- package/dist/src/types/env.d.ts +56 -56
- 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 +52 -52
- 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 +21 -12
- package/dist/src/types/zod/db.d.ts.map +1 -1
- package/dist/src/types/zod/queue.d.ts +38 -38
- 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 +2 -2
- package/src/analyzeQuery/resolveVariables.ts +37 -7
- package/src/authentication/jwt.ts +3 -1
- package/src/authentication/paseto.ts +3 -1
- package/src/authentication/tokenRepository.ts +12 -4
- 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 +32 -1
- package/src/configuration/getSchemas/type-definition-generator/index.ts +23 -9
- package/src/configuration/rest/generateOpenAPI.ts +5 -9
- package/src/configuration/rest/handleRESTRequestFactory.ts +38 -14
- package/src/configuration/rest/parseStringParams.ts +92 -0
- package/src/databases/common.ts +163 -66
- package/src/databases/directives.ts +26 -8
- package/src/databases/engines/mssql/connection.ts +1 -1
- package/src/databases/engines/mssql/query/index.ts +47 -16
- 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 +68 -10
- package/src/databases/engines/postgresql/query/index.ts +59 -7
- package/src/databases/high-level-operations.ts +2 -2
- package/src/databases/sqlTypeUtils.ts +3 -1
- package/src/databases/transformers/genResolverName.ts +3 -3
- package/src/databases/transformers/graphqlName.ts +28 -0
- 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
- package/src/types/zod/db.ts +4 -0
|
@@ -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,17 +26,17 @@ 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
|
-
headers: "headers";
|
|
33
32
|
topic: "topic";
|
|
33
|
+
headers: "headers";
|
|
34
34
|
direct: "direct";
|
|
35
35
|
fanout: "fanout";
|
|
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;
|
|
@@ -65,7 +65,7 @@ declare const RabbitMQConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
65
65
|
handler?: SubscriberHandler | undefined;
|
|
66
66
|
}>;
|
|
67
67
|
topics: Record<string, {
|
|
68
|
-
type: "
|
|
68
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
69
69
|
durable: boolean;
|
|
70
70
|
autoDelete: boolean;
|
|
71
71
|
}>;
|
|
@@ -135,7 +135,7 @@ declare const RabbitMQConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
135
135
|
handler?: SubscriberHandler | undefined;
|
|
136
136
|
}>;
|
|
137
137
|
topics: Record<string, {
|
|
138
|
-
type: "
|
|
138
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
139
139
|
durable: boolean;
|
|
140
140
|
autoDelete: boolean;
|
|
141
141
|
}>;
|
|
@@ -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,17 +178,17 @@ 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
|
-
headers: "headers";
|
|
185
184
|
topic: "topic";
|
|
185
|
+
headers: "headers";
|
|
186
186
|
direct: "direct";
|
|
187
187
|
fanout: "fanout";
|
|
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;
|
|
@@ -224,7 +224,7 @@ declare const KafkaConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
224
224
|
handler?: SubscriberHandler | undefined;
|
|
225
225
|
}>;
|
|
226
226
|
topics: Record<string, {
|
|
227
|
-
type: "
|
|
227
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
228
228
|
durable: boolean;
|
|
229
229
|
autoDelete: boolean;
|
|
230
230
|
}>;
|
|
@@ -297,7 +297,7 @@ declare const KafkaConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
297
297
|
handler?: SubscriberHandler | undefined;
|
|
298
298
|
}>;
|
|
299
299
|
topics: Record<string, {
|
|
300
|
-
type: "
|
|
300
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
301
301
|
durable: boolean;
|
|
302
302
|
autoDelete: boolean;
|
|
303
303
|
}>;
|
|
@@ -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,17 +343,17 @@ 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
|
-
headers: "headers";
|
|
350
349
|
topic: "topic";
|
|
350
|
+
headers: "headers";
|
|
351
351
|
direct: "direct";
|
|
352
352
|
fanout: "fanout";
|
|
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;
|
|
@@ -382,7 +382,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
382
382
|
handler?: SubscriberHandler | undefined;
|
|
383
383
|
}>;
|
|
384
384
|
topics: Record<string, {
|
|
385
|
-
type: "
|
|
385
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
386
386
|
durable: boolean;
|
|
387
387
|
autoDelete: boolean;
|
|
388
388
|
}>;
|
|
@@ -452,7 +452,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
452
452
|
handler?: SubscriberHandler | undefined;
|
|
453
453
|
}>;
|
|
454
454
|
topics: Record<string, {
|
|
455
|
-
type: "
|
|
455
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
456
456
|
durable: boolean;
|
|
457
457
|
autoDelete: boolean;
|
|
458
458
|
}>;
|
|
@@ -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,17 +494,17 @@ 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
|
-
headers: "headers";
|
|
501
500
|
topic: "topic";
|
|
501
|
+
headers: "headers";
|
|
502
502
|
direct: "direct";
|
|
503
503
|
fanout: "fanout";
|
|
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;
|
|
@@ -540,7 +540,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
540
540
|
handler?: SubscriberHandler | undefined;
|
|
541
541
|
}>;
|
|
542
542
|
topics: Record<string, {
|
|
543
|
-
type: "
|
|
543
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
544
544
|
durable: boolean;
|
|
545
545
|
autoDelete: boolean;
|
|
546
546
|
}>;
|
|
@@ -613,7 +613,7 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
613
613
|
handler?: SubscriberHandler | undefined;
|
|
614
614
|
}>;
|
|
615
615
|
topics: Record<string, {
|
|
616
|
-
type: "
|
|
616
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
617
617
|
durable: boolean;
|
|
618
618
|
autoDelete: boolean;
|
|
619
619
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strict-keys.test.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/strict-keys.test.ts"],"names":[],"mappings":""}
|