@graphoria/server 0.1.4 → 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 +186 -24
- package/dist/src/config/types/db.d.ts.map +1 -1
- package/dist/src/config/types/index.d.ts +3 -3
- 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 +52 -4
- package/dist/src/configuration/getSchemas/index.d.ts.map +1 -1
- package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts +26 -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 +40 -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/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 +7 -1
- package/dist/src/databases/core/query-builder.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 +7 -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 +7 -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 +7 -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 +14 -1
- package/dist/src/databases/high-level-operations.d.ts.map +1 -1
- package/dist/src/databases/metadata/structure.d.ts +7 -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 +39 -2
- package/dist/src/databases/transformers/data-transformers.d.ts.map +1 -1
- package/dist/src/singletons/env.d.ts +21 -3
- package/dist/src/singletons/env.d.ts.map +1 -1
- package/dist/src/types/configuration.d.ts +1 -1
- package/dist/src/types/configuration.d.ts.map +1 -1
- package/dist/src/types/env.d.ts +127 -51
- package/dist/src/types/env.d.ts.map +1 -1
- 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 +85 -45
- 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 +167 -8
- package/dist/src/types/zod/db.d.ts.map +1 -1
- 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 +56 -9
- package/src/config/types/index.ts +5 -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 +279 -83
- package/src/databases/directives.ts +26 -8
- package/src/databases/engines/mssql/connection.ts +1 -1
- package/src/databases/engines/mssql/getStructure.ts +1 -0
- 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 -29
- package/src/databases/engines/mysql/placeholders.ts +84 -0
- package/src/databases/engines/mysql/query/index.ts +49 -4
- package/src/databases/engines/postgresql/getStructure.ts +1 -0
- package/src/databases/engines/postgresql/query/index.ts +40 -2
- package/src/databases/high-level-operations.ts +25 -0
- 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/configuration.ts +7 -1
- package/src/types/resolver.ts +17 -1
- package/src/types/zod/configuration.ts +1 -1
- package/src/types/zod/db.ts +4 -0
|
@@ -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,20 +32,36 @@ 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.$
|
|
43
|
-
|
|
42
|
+
}, z.core.$strict>>;
|
|
43
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
+
source: z.ZodOptional<z.ZodString>;
|
|
45
|
+
target: z.ZodOptional<z.ZodString>;
|
|
46
|
+
operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
47
|
+
eq: "eq";
|
|
48
|
+
neq: "neq";
|
|
49
|
+
gt: "gt";
|
|
50
|
+
gte: "gte";
|
|
51
|
+
lt: "lt";
|
|
52
|
+
lte: "lte";
|
|
53
|
+
like: "like";
|
|
54
|
+
is_null: "is_null";
|
|
55
|
+
is_not_null: "is_not_null";
|
|
56
|
+
}>>>;
|
|
57
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
58
|
+
}, z.core.$strict>>>;
|
|
59
|
+
}, z.core.$strict>>>>;
|
|
44
60
|
description: z.ZodOptional<z.ZodString>;
|
|
45
61
|
columnDescriptions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
46
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strict>>>>>>>;
|
|
47
63
|
excludedTables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
48
|
-
}, z.core.$
|
|
64
|
+
}, z.core.$strict>>;
|
|
49
65
|
connectionOptions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
50
66
|
max: z.ZodDefault<z.ZodNumber>;
|
|
51
67
|
idleTimeout: z.ZodDefault<z.ZodNumber>;
|
|
@@ -54,20 +70,20 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
54
70
|
tls: z.ZodDefault<z.ZodBoolean>;
|
|
55
71
|
prepare: z.ZodDefault<z.ZodBoolean>;
|
|
56
72
|
bigint: z.ZodDefault<z.ZodBoolean>;
|
|
57
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
58
74
|
pool: z.ZodDefault<z.ZodObject<{
|
|
59
75
|
max: z.ZodDefault<z.ZodNumber>;
|
|
60
76
|
min: z.ZodDefault<z.ZodNumber>;
|
|
61
77
|
idleTimeout: z.ZodDefault<z.ZodNumber>;
|
|
62
|
-
}, z.core.$
|
|
78
|
+
}, z.core.$strict>>;
|
|
63
79
|
connectionTimeout: z.ZodDefault<z.ZodNumber>;
|
|
64
80
|
requestTimeout: z.ZodDefault<z.ZodNumber>;
|
|
65
81
|
encrypt: z.ZodDefault<z.ZodBoolean>;
|
|
66
82
|
trustServerCertificate: z.ZodDefault<z.ZodBoolean>;
|
|
67
83
|
trustedConnection: z.ZodDefault<z.ZodBoolean>;
|
|
68
84
|
parseJSON: z.ZodDefault<z.ZodBoolean>;
|
|
69
|
-
}, z.core.$
|
|
70
|
-
}, z.core.$
|
|
85
|
+
}, z.core.$strict>]>>;
|
|
86
|
+
}, z.core.$strict>>>;
|
|
71
87
|
queues: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObject<{
|
|
72
88
|
name: z.ZodString;
|
|
73
89
|
autoSetup: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -77,13 +93,13 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
77
93
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
78
94
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
79
95
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
80
|
-
}, z.core.$
|
|
96
|
+
}, z.core.$strict>>;
|
|
81
97
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
82
98
|
topic: z.ZodString;
|
|
83
99
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
84
100
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
85
101
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
86
|
-
}, z.core.$
|
|
102
|
+
}, z.core.$strict>>>>;
|
|
87
103
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
88
104
|
topic: z.ZodString;
|
|
89
105
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -92,7 +108,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
92
108
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
93
109
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
94
110
|
handler: z.ZodOptional<z.ZodCustom<import("./queue").SubscriberHandler, import("./queue").SubscriberHandler>>;
|
|
95
|
-
}, z.core.$
|
|
111
|
+
}, z.core.$strict>>>>;
|
|
96
112
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
97
113
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
98
114
|
headers: "headers";
|
|
@@ -102,7 +118,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
102
118
|
}>>>;
|
|
103
119
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
104
120
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
105
|
-
}, z.core.$
|
|
121
|
+
}, z.core.$strict>>>>;
|
|
106
122
|
type: z.ZodLiteral<"rabbitmq">;
|
|
107
123
|
connection: z.ZodUnion<readonly [z.ZodURL, z.ZodObject<{
|
|
108
124
|
hostname: z.ZodDefault<z.ZodString>;
|
|
@@ -110,8 +126,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
110
126
|
username: z.ZodOptional<z.ZodString>;
|
|
111
127
|
password: z.ZodOptional<z.ZodString>;
|
|
112
128
|
vhost: z.ZodDefault<z.ZodString>;
|
|
113
|
-
}, z.core.$
|
|
114
|
-
}, z.core.$
|
|
129
|
+
}, z.core.$strict>]>;
|
|
130
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
115
131
|
name: string;
|
|
116
132
|
autoSetup: boolean;
|
|
117
133
|
enabled: boolean;
|
|
@@ -228,13 +244,13 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
228
244
|
maxDelay: z.ZodDefault<z.ZodNumber>;
|
|
229
245
|
multiplier: z.ZodDefault<z.ZodNumber>;
|
|
230
246
|
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
231
|
-
}, z.core.$
|
|
247
|
+
}, z.core.$strict>>;
|
|
232
248
|
publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
233
249
|
topic: z.ZodString;
|
|
234
250
|
routingKey: z.ZodOptional<z.ZodString>;
|
|
235
251
|
persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
236
252
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
237
|
-
}, z.core.$
|
|
253
|
+
}, z.core.$strict>>>>;
|
|
238
254
|
subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
239
255
|
topic: z.ZodString;
|
|
240
256
|
pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -243,7 +259,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
243
259
|
durable: z.ZodOptional<z.ZodBoolean>;
|
|
244
260
|
autoDelete: z.ZodOptional<z.ZodBoolean>;
|
|
245
261
|
handler: z.ZodOptional<z.ZodCustom<import("./queue").SubscriberHandler, import("./queue").SubscriberHandler>>;
|
|
246
|
-
}, z.core.$
|
|
262
|
+
}, z.core.$strict>>>>;
|
|
247
263
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
248
264
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
249
265
|
headers: "headers";
|
|
@@ -253,7 +269,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
253
269
|
}>>>;
|
|
254
270
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
255
271
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
256
|
-
}, z.core.$
|
|
272
|
+
}, z.core.$strict>>>>;
|
|
257
273
|
type: z.ZodLiteral<"kafka">;
|
|
258
274
|
connection: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
259
275
|
brokers: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
@@ -267,9 +283,9 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
267
283
|
}>>>;
|
|
268
284
|
username: z.ZodString;
|
|
269
285
|
password: z.ZodString;
|
|
270
|
-
}, z.core.$
|
|
271
|
-
}, z.core.$
|
|
272
|
-
}, z.core.$
|
|
286
|
+
}, z.core.$strict>>;
|
|
287
|
+
}, z.core.$strict>]>;
|
|
288
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
273
289
|
name: string;
|
|
274
290
|
autoSetup: boolean;
|
|
275
291
|
enabled: boolean;
|
|
@@ -399,7 +415,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
399
415
|
catchErrors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
400
416
|
context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
401
417
|
onTick: z.ZodOptional<z.ZodCustom<import("./cron").TickCallback<Record<string, unknown>>, import("./cron").TickCallback<Record<string, unknown>>>>;
|
|
402
|
-
}, z.core.$
|
|
418
|
+
}, z.core.$strict>>>>;
|
|
403
419
|
operations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
404
420
|
description: z.ZodOptional<z.ZodString>;
|
|
405
421
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -410,7 +426,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
410
426
|
init: z.ZodOptional<z.ZodCustom<import("./operation").OperationInitHook<any>, import("./operation").OperationInitHook<any>>>;
|
|
411
427
|
beforeRequest: z.ZodOptional<z.ZodCustom<import("./operation").OperationBeforeRequestHook<any, any, any>, import("./operation").OperationBeforeRequestHook<any, any, any>>>;
|
|
412
428
|
afterRequest: z.ZodOptional<z.ZodCustom<import("./operation").OperationAfterRequestHook<any>, import("./operation").OperationAfterRequestHook<any>>>;
|
|
413
|
-
}, z.core.$
|
|
429
|
+
}, z.core.$strict>>;
|
|
414
430
|
rest: z.ZodOptional<z.ZodObject<{
|
|
415
431
|
path: z.ZodString;
|
|
416
432
|
method: z.ZodDefault<z.ZodEnum<{
|
|
@@ -423,11 +439,11 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
423
439
|
pathParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
424
440
|
queryParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
425
441
|
body: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
426
|
-
}, z.core.$
|
|
442
|
+
}, z.core.$strict>>;
|
|
427
443
|
graphql: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
428
444
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
429
445
|
name: z.ZodOptional<z.ZodString>;
|
|
430
|
-
}, z.core.$
|
|
446
|
+
}, z.core.$strict>>>;
|
|
431
447
|
cache: z.ZodOptional<z.ZodObject<{
|
|
432
448
|
max: z.ZodOptional<z.ZodNumber>;
|
|
433
449
|
maxSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -436,8 +452,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
436
452
|
updateAgeOnGet: z.ZodOptional<z.ZodBoolean>;
|
|
437
453
|
updateAgeOnHas: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
438
454
|
ttlAutopurge: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
439
|
-
}, z.core.$
|
|
440
|
-
}, z.core.$
|
|
455
|
+
}, z.core.$strict>>;
|
|
456
|
+
}, z.core.$strict>>>>;
|
|
441
457
|
auth: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
442
458
|
enabled: z.ZodBoolean;
|
|
443
459
|
database: z.ZodString;
|
|
@@ -446,7 +462,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
446
462
|
permissions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodObject<{
|
|
447
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<{
|
|
448
464
|
columns: z.ZodUnion<readonly [z.ZodLiteral<"ALL">, z.ZodArray<z.ZodString>]>;
|
|
449
|
-
filter: z.ZodOptional<z.
|
|
465
|
+
filter: z.ZodOptional<z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>>;
|
|
450
466
|
orderBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
451
467
|
column: z.ZodString;
|
|
452
468
|
direction: z.ZodEnum<{
|
|
@@ -457,15 +473,15 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
457
473
|
DESC_NULLS_FIRST: "DESC_NULLS_FIRST";
|
|
458
474
|
DESC_NULLS_LAST: "DESC_NULLS_LAST";
|
|
459
475
|
}>;
|
|
460
|
-
}, z.core.$
|
|
461
|
-
}, z.core.$
|
|
476
|
+
}, z.core.$strict>>>;
|
|
477
|
+
}, z.core.$strict>]>>]>>>;
|
|
462
478
|
storedProcedures: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
463
479
|
queues: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
464
480
|
operations: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
465
481
|
remoteSchemas: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
466
482
|
remoteREST: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
467
|
-
}, z.core.$
|
|
468
|
-
}, z.core.$
|
|
483
|
+
}, z.core.$strict>>>>>;
|
|
484
|
+
}, z.core.$strict>>>, z.ZodTransform<{
|
|
469
485
|
permissions: {
|
|
470
486
|
[k: string]: {
|
|
471
487
|
tables: "ALL" | {
|
|
@@ -492,7 +508,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
492
508
|
permissions: Record<string, {
|
|
493
509
|
tables: string[] | "ALL" | Record<string, "ALL" | {
|
|
494
510
|
columns: string[] | "ALL";
|
|
495
|
-
filter?: Record<string,
|
|
511
|
+
filter?: Record<string, unknown> | undefined;
|
|
496
512
|
orderBy?: {
|
|
497
513
|
column: string;
|
|
498
514
|
direction: "ASC" | "DESC" | "ASC_NULLS_FIRST" | "ASC_NULLS_LAST" | "DESC_NULLS_FIRST" | "DESC_NULLS_LAST";
|
|
@@ -515,8 +531,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
515
531
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
516
532
|
introspection: z.ZodOptional<z.ZodObject<{
|
|
517
533
|
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
518
|
-
}, z.core.$
|
|
519
|
-
}, z.core.$
|
|
534
|
+
}, z.core.$strict>>;
|
|
535
|
+
}, z.core.$strict>>>>;
|
|
520
536
|
remoteREST: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
521
537
|
name: z.ZodString;
|
|
522
538
|
url: z.ZodOptional<z.ZodURL>;
|
|
@@ -527,20 +543,20 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
527
543
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
528
544
|
forwardHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
529
545
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
530
|
-
}, z.core.$
|
|
546
|
+
}, z.core.$strict>>>>;
|
|
531
547
|
ai: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
532
548
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
533
549
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
534
550
|
endpoint: z.ZodDefault<z.ZodString>;
|
|
535
551
|
mcp: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
536
552
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
537
|
-
}, z.core.$
|
|
538
|
-
}, z.core.$
|
|
539
|
-
}, z.core.$
|
|
553
|
+
}, z.core.$strict>>>;
|
|
554
|
+
}, z.core.$strict>>>;
|
|
555
|
+
}, z.core.$strict>, z.ZodTransform<{
|
|
540
556
|
enabledDatabases: {
|
|
541
557
|
name: string;
|
|
542
558
|
enabled: boolean;
|
|
543
|
-
type: "mssql" | "
|
|
559
|
+
type: "mssql" | "pg" | "mysql";
|
|
544
560
|
connection: {
|
|
545
561
|
host: string;
|
|
546
562
|
port: number;
|
|
@@ -570,6 +586,12 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
570
586
|
source: string;
|
|
571
587
|
target: string;
|
|
572
588
|
}[];
|
|
589
|
+
conditions?: {
|
|
590
|
+
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
591
|
+
source?: string | undefined;
|
|
592
|
+
target?: string | undefined;
|
|
593
|
+
value?: string | number | boolean | undefined;
|
|
594
|
+
}[] | undefined;
|
|
573
595
|
}[];
|
|
574
596
|
columnDescriptions: Record<string, string>;
|
|
575
597
|
description?: string | undefined;
|
|
@@ -602,7 +624,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
602
624
|
databaseEntity: {
|
|
603
625
|
name: string;
|
|
604
626
|
enabled: boolean;
|
|
605
|
-
type: "mssql" | "
|
|
627
|
+
type: "mssql" | "pg" | "mysql";
|
|
606
628
|
connection: {
|
|
607
629
|
host: string;
|
|
608
630
|
port: number;
|
|
@@ -632,6 +654,12 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
632
654
|
source: string;
|
|
633
655
|
target: string;
|
|
634
656
|
}[];
|
|
657
|
+
conditions?: {
|
|
658
|
+
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
659
|
+
source?: string | undefined;
|
|
660
|
+
target?: string | undefined;
|
|
661
|
+
value?: string | number | boolean | undefined;
|
|
662
|
+
}[] | undefined;
|
|
635
663
|
}[];
|
|
636
664
|
columnDescriptions: Record<string, string>;
|
|
637
665
|
description?: string | undefined;
|
|
@@ -685,7 +713,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
685
713
|
databases: {
|
|
686
714
|
name: string;
|
|
687
715
|
enabled: boolean;
|
|
688
|
-
type: "mssql" | "
|
|
716
|
+
type: "mssql" | "pg" | "mysql";
|
|
689
717
|
connection: {
|
|
690
718
|
host: string;
|
|
691
719
|
port: number;
|
|
@@ -715,6 +743,12 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
715
743
|
source: string;
|
|
716
744
|
target: string;
|
|
717
745
|
}[];
|
|
746
|
+
conditions?: {
|
|
747
|
+
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
748
|
+
source?: string | undefined;
|
|
749
|
+
target?: string | undefined;
|
|
750
|
+
value?: string | number | boolean | undefined;
|
|
751
|
+
}[] | undefined;
|
|
718
752
|
}[];
|
|
719
753
|
columnDescriptions: Record<string, string>;
|
|
720
754
|
description?: string | undefined;
|
|
@@ -973,7 +1007,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
973
1007
|
databases: {
|
|
974
1008
|
name: string;
|
|
975
1009
|
enabled: boolean;
|
|
976
|
-
type: "mssql" | "
|
|
1010
|
+
type: "mssql" | "pg" | "mysql";
|
|
977
1011
|
connection: {
|
|
978
1012
|
host: string;
|
|
979
1013
|
port: number;
|
|
@@ -1003,6 +1037,12 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
1003
1037
|
source: string;
|
|
1004
1038
|
target: string;
|
|
1005
1039
|
}[];
|
|
1040
|
+
conditions?: {
|
|
1041
|
+
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
1042
|
+
source?: string | undefined;
|
|
1043
|
+
target?: string | undefined;
|
|
1044
|
+
value?: string | number | boolean | undefined;
|
|
1045
|
+
}[] | undefined;
|
|
1006
1046
|
}[];
|
|
1007
1047
|
columnDescriptions: Record<string, string>;
|
|
1008
1048
|
description?: string | undefined;
|
|
@@ -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":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAkC4Y,CAAC;uBAAW,CAAC;0BAAqB,CAAC;;;;;;uBAA4H,CAAC;8BAAc,CAAC;2BAAkB,CAAC;;;;;;iBAAuF,CAAC;mBAAqB,CAAC;;;;;wBAAsF,CAAC;uBAAW,CAAC;0BAAqB,CAAC;;mBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAlc,CAAC;uBAAW,CAAC;0BAAqB,CAAC;;;;;;uBAA4H,CAAC;8BAAc,CAAC;2BAAkB,CAAC;;;;;;iBAAuF,CAAC;mBAAqB,CAAC;;;;;wBAAsF,CAAC;uBAAW,CAAC;0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;;;;;;;;;;;;;;mBAAlc,CAAC;uBAAW,CAAC;0BAAqB,CAAC;;;;;;uBAA4H,CAAC;8BAAc,CAAC;2BAAkB,CAAC;;;;;;iBAAuF,CAAC;mBAAqB,CAAC;;;;;wBAAsF,CAAC;uBAAW,CAAC;0BAAqB,CAAC;;mBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAlc,CAAC;uBAAW,CAAC;0BAAqB,CAAC;;;;;;uBAA4H,CAAC;8BAAc,CAAC;2BAAkB,CAAC;;;;;;iBAAuF,CAAC;mBAAqB,CAAC;;;;;wBAAsF,CAAC;uBAAW,CAAC;0BAAqB,CAAC;;mBAAwB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GADt2B,CAAC"}
|
|
@@ -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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