@graphoria/server 0.2.0 → 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/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/types/queue.d.ts +2 -2
- package/dist/src/configuration/getSchemas/index.d.ts +10 -8
- package/dist/src/configuration/getSchemas/index.d.ts.map +1 -1
- package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts +11 -4
- package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts.map +1 -1
- package/dist/src/configuration/getSchemas/type-definition-generator/index.d.ts.map +1 -1
- package/dist/src/configuration/index.d.ts +9 -8
- package/dist/src/configuration/index.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 +6 -0
- 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/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/getStructure.d.ts +1 -0
- package/dist/src/databases/engines/mysql/getStructure.d.ts.map +1 -1
- 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 +2 -1
- 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/transformers/data-transformers.d.ts +3 -2
- 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 +5 -5
- package/dist/src/types/env.d.ts +24 -24
- package/dist/src/types/zod/configuration.d.ts +14 -14
- package/dist/src/types/zod/db.d.ts +9 -0
- package/dist/src/types/zod/db.d.ts.map +1 -1
- package/dist/src/types/zod/queue.d.ts +12 -12
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/authentication/jwt.ts +3 -1
- package/src/authentication/paseto.ts +3 -1
- package/src/authentication/tokenRepository.ts +12 -4
- package/src/configuration/getSchemas/mergeEntities/index.ts +26 -1
- package/src/configuration/getSchemas/type-definition-generator/index.ts +11 -6
- package/src/configuration/rest/handleRESTRequestFactory.ts +5 -7
- package/src/configuration/rest/parseStringParams.ts +92 -0
- package/src/databases/common.ts +13 -2
- package/src/databases/engines/mssql/query/index.ts +25 -12
- package/src/databases/engines/mysql/query/index.ts +21 -8
- package/src/databases/engines/postgresql/query/index.ts +21 -7
- package/src/databases/high-level-operations.ts +2 -2
- package/src/databases/transformers/genResolverName.ts +3 -3
- package/src/databases/transformers/graphqlName.ts +28 -0
- package/src/types/zod/db.ts +4 -0
|
@@ -6,7 +6,7 @@ export declare const env: {
|
|
|
6
6
|
enabledDatabases: {
|
|
7
7
|
name: string;
|
|
8
8
|
enabled: boolean;
|
|
9
|
-
type: "mssql" | "
|
|
9
|
+
type: "mssql" | "mysql" | "pg";
|
|
10
10
|
connection: {
|
|
11
11
|
host: string;
|
|
12
12
|
port: number;
|
|
@@ -74,7 +74,7 @@ export declare const env: {
|
|
|
74
74
|
databaseEntity: {
|
|
75
75
|
name: string;
|
|
76
76
|
enabled: boolean;
|
|
77
|
-
type: "mssql" | "
|
|
77
|
+
type: "mssql" | "mysql" | "pg";
|
|
78
78
|
connection: {
|
|
79
79
|
host: string;
|
|
80
80
|
port: number;
|
|
@@ -163,7 +163,7 @@ export declare const env: {
|
|
|
163
163
|
databases: {
|
|
164
164
|
name: string;
|
|
165
165
|
enabled: boolean;
|
|
166
|
-
type: "mssql" | "
|
|
166
|
+
type: "mssql" | "mysql" | "pg";
|
|
167
167
|
connection: {
|
|
168
168
|
host: string;
|
|
169
169
|
port: number;
|
|
@@ -247,7 +247,7 @@ export declare const env: {
|
|
|
247
247
|
handler?: import("../config").SubscriberHandler | undefined;
|
|
248
248
|
}>;
|
|
249
249
|
topics: Record<string, {
|
|
250
|
-
type: "
|
|
250
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
251
251
|
durable: boolean;
|
|
252
252
|
autoDelete: boolean;
|
|
253
253
|
}>;
|
|
@@ -317,7 +317,7 @@ export declare const env: {
|
|
|
317
317
|
handler?: import("../config").SubscriberHandler | undefined;
|
|
318
318
|
}>;
|
|
319
319
|
topics: Record<string, {
|
|
320
|
-
type: "
|
|
320
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
321
321
|
durable: boolean;
|
|
322
322
|
autoDelete: boolean;
|
|
323
323
|
}>;
|
package/dist/src/types/env.d.ts
CHANGED
|
@@ -115,8 +115,8 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
115
115
|
}, z.core.$strict>>>>;
|
|
116
116
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
117
117
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
118
|
-
headers: "headers";
|
|
119
118
|
topic: "topic";
|
|
119
|
+
headers: "headers";
|
|
120
120
|
direct: "direct";
|
|
121
121
|
fanout: "fanout";
|
|
122
122
|
}>>>;
|
|
@@ -151,7 +151,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
151
151
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
152
152
|
}>;
|
|
153
153
|
topics: Record<string, {
|
|
154
|
-
type: "
|
|
154
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
155
155
|
durable: boolean;
|
|
156
156
|
autoDelete: boolean;
|
|
157
157
|
}>;
|
|
@@ -221,7 +221,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
221
221
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
222
222
|
}>;
|
|
223
223
|
topics: Record<string, {
|
|
224
|
-
type: "
|
|
224
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
225
225
|
durable: boolean;
|
|
226
226
|
autoDelete: boolean;
|
|
227
227
|
}>;
|
|
@@ -266,8 +266,8 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
266
266
|
}, z.core.$strict>>>>;
|
|
267
267
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
268
268
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
269
|
-
headers: "headers";
|
|
270
269
|
topic: "topic";
|
|
270
|
+
headers: "headers";
|
|
271
271
|
direct: "direct";
|
|
272
272
|
fanout: "fanout";
|
|
273
273
|
}>>>;
|
|
@@ -309,7 +309,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
309
309
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
310
310
|
}>;
|
|
311
311
|
topics: Record<string, {
|
|
312
|
-
type: "
|
|
312
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
313
313
|
durable: boolean;
|
|
314
314
|
autoDelete: boolean;
|
|
315
315
|
}>;
|
|
@@ -382,7 +382,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
382
382
|
handler?: import("./zod/queue").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
|
}>;
|
|
@@ -560,7 +560,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
560
560
|
enabledDatabases: {
|
|
561
561
|
name: string;
|
|
562
562
|
enabled: boolean;
|
|
563
|
-
type: "mssql" | "
|
|
563
|
+
type: "mssql" | "mysql" | "pg";
|
|
564
564
|
connection: {
|
|
565
565
|
host: string;
|
|
566
566
|
port: number;
|
|
@@ -628,7 +628,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
628
628
|
databaseEntity: {
|
|
629
629
|
name: string;
|
|
630
630
|
enabled: boolean;
|
|
631
|
-
type: "mssql" | "
|
|
631
|
+
type: "mssql" | "mysql" | "pg";
|
|
632
632
|
connection: {
|
|
633
633
|
host: string;
|
|
634
634
|
port: number;
|
|
@@ -717,7 +717,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
717
717
|
databases: {
|
|
718
718
|
name: string;
|
|
719
719
|
enabled: boolean;
|
|
720
|
-
type: "mssql" | "
|
|
720
|
+
type: "mssql" | "mysql" | "pg";
|
|
721
721
|
connection: {
|
|
722
722
|
host: string;
|
|
723
723
|
port: number;
|
|
@@ -801,7 +801,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
801
801
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
802
802
|
}>;
|
|
803
803
|
topics: Record<string, {
|
|
804
|
-
type: "
|
|
804
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
805
805
|
durable: boolean;
|
|
806
806
|
autoDelete: boolean;
|
|
807
807
|
}>;
|
|
@@ -871,7 +871,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
871
871
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
872
872
|
}>;
|
|
873
873
|
topics: Record<string, {
|
|
874
|
-
type: "
|
|
874
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
875
875
|
durable: boolean;
|
|
876
876
|
autoDelete: boolean;
|
|
877
877
|
}>;
|
|
@@ -1011,7 +1011,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1011
1011
|
databases: {
|
|
1012
1012
|
name: string;
|
|
1013
1013
|
enabled: boolean;
|
|
1014
|
-
type: "mssql" | "
|
|
1014
|
+
type: "mssql" | "mysql" | "pg";
|
|
1015
1015
|
connection: {
|
|
1016
1016
|
host: string;
|
|
1017
1017
|
port: number;
|
|
@@ -1095,7 +1095,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1095
1095
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1096
1096
|
}>;
|
|
1097
1097
|
topics: Record<string, {
|
|
1098
|
-
type: "
|
|
1098
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
1099
1099
|
durable: boolean;
|
|
1100
1100
|
autoDelete: boolean;
|
|
1101
1101
|
}>;
|
|
@@ -1165,7 +1165,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1165
1165
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1166
1166
|
}>;
|
|
1167
1167
|
topics: Record<string, {
|
|
1168
|
-
type: "
|
|
1168
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
1169
1169
|
durable: boolean;
|
|
1170
1170
|
autoDelete: boolean;
|
|
1171
1171
|
}>;
|
|
@@ -1372,7 +1372,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1372
1372
|
enabledDatabases: {
|
|
1373
1373
|
name: string;
|
|
1374
1374
|
enabled: boolean;
|
|
1375
|
-
type: "mssql" | "
|
|
1375
|
+
type: "mssql" | "mysql" | "pg";
|
|
1376
1376
|
connection: {
|
|
1377
1377
|
host: string;
|
|
1378
1378
|
port: number;
|
|
@@ -1440,7 +1440,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1440
1440
|
databaseEntity: {
|
|
1441
1441
|
name: string;
|
|
1442
1442
|
enabled: boolean;
|
|
1443
|
-
type: "mssql" | "
|
|
1443
|
+
type: "mssql" | "mysql" | "pg";
|
|
1444
1444
|
connection: {
|
|
1445
1445
|
host: string;
|
|
1446
1446
|
port: number;
|
|
@@ -1529,7 +1529,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1529
1529
|
databases: {
|
|
1530
1530
|
name: string;
|
|
1531
1531
|
enabled: boolean;
|
|
1532
|
-
type: "mssql" | "
|
|
1532
|
+
type: "mssql" | "mysql" | "pg";
|
|
1533
1533
|
connection: {
|
|
1534
1534
|
host: string;
|
|
1535
1535
|
port: number;
|
|
@@ -1613,7 +1613,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1613
1613
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1614
1614
|
}>;
|
|
1615
1615
|
topics: Record<string, {
|
|
1616
|
-
type: "
|
|
1616
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
1617
1617
|
durable: boolean;
|
|
1618
1618
|
autoDelete: boolean;
|
|
1619
1619
|
}>;
|
|
@@ -1683,7 +1683,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1683
1683
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1684
1684
|
}>;
|
|
1685
1685
|
topics: Record<string, {
|
|
1686
|
-
type: "
|
|
1686
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
1687
1687
|
durable: boolean;
|
|
1688
1688
|
autoDelete: boolean;
|
|
1689
1689
|
}>;
|
|
@@ -1914,7 +1914,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1914
1914
|
enabledDatabases: {
|
|
1915
1915
|
name: string;
|
|
1916
1916
|
enabled: boolean;
|
|
1917
|
-
type: "mssql" | "
|
|
1917
|
+
type: "mssql" | "mysql" | "pg";
|
|
1918
1918
|
connection: {
|
|
1919
1919
|
host: string;
|
|
1920
1920
|
port: number;
|
|
@@ -1982,7 +1982,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1982
1982
|
databaseEntity: {
|
|
1983
1983
|
name: string;
|
|
1984
1984
|
enabled: boolean;
|
|
1985
|
-
type: "mssql" | "
|
|
1985
|
+
type: "mssql" | "mysql" | "pg";
|
|
1986
1986
|
connection: {
|
|
1987
1987
|
host: string;
|
|
1988
1988
|
port: number;
|
|
@@ -2071,7 +2071,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2071
2071
|
databases: {
|
|
2072
2072
|
name: string;
|
|
2073
2073
|
enabled: boolean;
|
|
2074
|
-
type: "mssql" | "
|
|
2074
|
+
type: "mssql" | "mysql" | "pg";
|
|
2075
2075
|
connection: {
|
|
2076
2076
|
host: string;
|
|
2077
2077
|
port: number;
|
|
@@ -2155,7 +2155,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2155
2155
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
2156
2156
|
}>;
|
|
2157
2157
|
topics: Record<string, {
|
|
2158
|
-
type: "
|
|
2158
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
2159
2159
|
durable: boolean;
|
|
2160
2160
|
autoDelete: boolean;
|
|
2161
2161
|
}>;
|
|
@@ -2225,7 +2225,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2225
2225
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
2226
2226
|
}>;
|
|
2227
2227
|
topics: Record<string, {
|
|
2228
|
-
type: "
|
|
2228
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
2229
2229
|
durable: boolean;
|
|
2230
2230
|
autoDelete: boolean;
|
|
2231
2231
|
}>;
|
|
@@ -111,8 +111,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
111
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
|
-
headers: "headers";
|
|
115
114
|
topic: "topic";
|
|
115
|
+
headers: "headers";
|
|
116
116
|
direct: "direct";
|
|
117
117
|
fanout: "fanout";
|
|
118
118
|
}>>>;
|
|
@@ -147,7 +147,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
147
147
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
148
148
|
}>;
|
|
149
149
|
topics: Record<string, {
|
|
150
|
-
type: "
|
|
150
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
151
151
|
durable: boolean;
|
|
152
152
|
autoDelete: boolean;
|
|
153
153
|
}>;
|
|
@@ -217,7 +217,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
217
217
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
218
218
|
}>;
|
|
219
219
|
topics: Record<string, {
|
|
220
|
-
type: "
|
|
220
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
221
221
|
durable: boolean;
|
|
222
222
|
autoDelete: boolean;
|
|
223
223
|
}>;
|
|
@@ -262,8 +262,8 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
262
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
|
-
headers: "headers";
|
|
266
265
|
topic: "topic";
|
|
266
|
+
headers: "headers";
|
|
267
267
|
direct: "direct";
|
|
268
268
|
fanout: "fanout";
|
|
269
269
|
}>>>;
|
|
@@ -305,7 +305,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
305
305
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
306
306
|
}>;
|
|
307
307
|
topics: Record<string, {
|
|
308
|
-
type: "
|
|
308
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
309
309
|
durable: boolean;
|
|
310
310
|
autoDelete: boolean;
|
|
311
311
|
}>;
|
|
@@ -378,7 +378,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
378
378
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
379
379
|
}>;
|
|
380
380
|
topics: Record<string, {
|
|
381
|
-
type: "
|
|
381
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
382
382
|
durable: boolean;
|
|
383
383
|
autoDelete: boolean;
|
|
384
384
|
}>;
|
|
@@ -556,7 +556,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
556
556
|
enabledDatabases: {
|
|
557
557
|
name: string;
|
|
558
558
|
enabled: boolean;
|
|
559
|
-
type: "mssql" | "
|
|
559
|
+
type: "mssql" | "mysql" | "pg";
|
|
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" | "mysql" | "pg";
|
|
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" | "mysql" | "pg";
|
|
717
717
|
connection: {
|
|
718
718
|
host: string;
|
|
719
719
|
port: number;
|
|
@@ -797,7 +797,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
797
797
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
798
798
|
}>;
|
|
799
799
|
topics: Record<string, {
|
|
800
|
-
type: "
|
|
800
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
801
801
|
durable: boolean;
|
|
802
802
|
autoDelete: boolean;
|
|
803
803
|
}>;
|
|
@@ -867,7 +867,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
867
867
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
868
868
|
}>;
|
|
869
869
|
topics: Record<string, {
|
|
870
|
-
type: "
|
|
870
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
871
871
|
durable: boolean;
|
|
872
872
|
autoDelete: boolean;
|
|
873
873
|
}>;
|
|
@@ -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" | "mysql" | "pg";
|
|
1011
1011
|
connection: {
|
|
1012
1012
|
host: string;
|
|
1013
1013
|
port: number;
|
|
@@ -1091,7 +1091,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
1091
1091
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
1092
1092
|
}>;
|
|
1093
1093
|
topics: Record<string, {
|
|
1094
|
-
type: "
|
|
1094
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
1095
1095
|
durable: boolean;
|
|
1096
1096
|
autoDelete: boolean;
|
|
1097
1097
|
}>;
|
|
@@ -1161,7 +1161,7 @@ export declare const ConfigurationZod: z.ZodPipe<z.ZodObject<{
|
|
|
1161
1161
|
handler?: import("./queue").SubscriberHandler | undefined;
|
|
1162
1162
|
}>;
|
|
1163
1163
|
topics: Record<string, {
|
|
1164
|
-
type: "
|
|
1164
|
+
type: "topic" | "headers" | "direct" | "fanout";
|
|
1165
1165
|
durable: boolean;
|
|
1166
1166
|
autoDelete: boolean;
|
|
1167
1167
|
}>;
|
|
@@ -14,6 +14,7 @@ export declare const TableColumnZod: z.ZodPipe<z.ZodObject<{
|
|
|
14
14
|
}, z.core.$strip>, z.ZodTransform<{
|
|
15
15
|
collation?: string | undefined;
|
|
16
16
|
name: string;
|
|
17
|
+
fieldName: string;
|
|
17
18
|
dataType: string;
|
|
18
19
|
isNullable: boolean;
|
|
19
20
|
description: string | null;
|
|
@@ -97,6 +98,7 @@ export declare const TableBaseZod: z.ZodObject<{
|
|
|
97
98
|
}, z.core.$strip>, z.ZodTransform<{
|
|
98
99
|
collation?: string | undefined;
|
|
99
100
|
name: string;
|
|
101
|
+
fieldName: string;
|
|
100
102
|
dataType: string;
|
|
101
103
|
isNullable: boolean;
|
|
102
104
|
description: string | null;
|
|
@@ -174,6 +176,7 @@ export declare const enrichTable: (table: z.output<typeof TableBaseZod>) => {
|
|
|
174
176
|
columns: {
|
|
175
177
|
collation?: string | undefined;
|
|
176
178
|
name: string;
|
|
179
|
+
fieldName: string;
|
|
177
180
|
dataType: string;
|
|
178
181
|
isNullable: boolean;
|
|
179
182
|
description: string | null;
|
|
@@ -213,6 +216,7 @@ export declare const TableZod: z.ZodPipe<z.ZodObject<{
|
|
|
213
216
|
}, z.core.$strip>, z.ZodTransform<{
|
|
214
217
|
collation?: string | undefined;
|
|
215
218
|
name: string;
|
|
219
|
+
fieldName: string;
|
|
216
220
|
dataType: string;
|
|
217
221
|
isNullable: boolean;
|
|
218
222
|
description: string | null;
|
|
@@ -285,6 +289,7 @@ export declare const TableZod: z.ZodPipe<z.ZodObject<{
|
|
|
285
289
|
columns: {
|
|
286
290
|
collation?: string | undefined;
|
|
287
291
|
name: string;
|
|
292
|
+
fieldName: string;
|
|
288
293
|
dataType: string;
|
|
289
294
|
isNullable: boolean;
|
|
290
295
|
description: string | null;
|
|
@@ -312,6 +317,7 @@ export declare const TableZod: z.ZodPipe<z.ZodObject<{
|
|
|
312
317
|
columns: {
|
|
313
318
|
collation?: string | undefined;
|
|
314
319
|
name: string;
|
|
320
|
+
fieldName: string;
|
|
315
321
|
dataType: string;
|
|
316
322
|
isNullable: boolean;
|
|
317
323
|
description: string | null;
|
|
@@ -425,6 +431,7 @@ export declare const DatabaseStructureZod: z.ZodObject<{
|
|
|
425
431
|
}, z.core.$strip>, z.ZodTransform<{
|
|
426
432
|
collation?: string | undefined;
|
|
427
433
|
name: string;
|
|
434
|
+
fieldName: string;
|
|
428
435
|
dataType: string;
|
|
429
436
|
isNullable: boolean;
|
|
430
437
|
description: string | null;
|
|
@@ -497,6 +504,7 @@ export declare const DatabaseStructureZod: z.ZodObject<{
|
|
|
497
504
|
columns: {
|
|
498
505
|
collation?: string | undefined;
|
|
499
506
|
name: string;
|
|
507
|
+
fieldName: string;
|
|
500
508
|
dataType: string;
|
|
501
509
|
isNullable: boolean;
|
|
502
510
|
description: string | null;
|
|
@@ -524,6 +532,7 @@ export declare const DatabaseStructureZod: z.ZodObject<{
|
|
|
524
532
|
columns: {
|
|
525
533
|
collation?: string | undefined;
|
|
526
534
|
name: string;
|
|
535
|
+
fieldName: string;
|
|
527
536
|
dataType: string;
|
|
528
537
|
isNullable: boolean;
|
|
529
538
|
description: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../../src/types/zod/db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,YAAY,EACV,uBAAuB,EACvB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,cAAc,CAAC;AAEtB;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;GAmBtB,CAAC;AAEN;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGtC,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOvB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,CAAC,CAAC,MAAM,CAAC,OAAO,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM9D,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;iBAMtC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;iBAMjC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU7B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG/B,CAAC;AAGH,eAAO,MAAM,OAAO;;;;iBAIlB,CAAC"}
|
|
@@ -29,8 +29,8 @@ declare const RabbitMQConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
29
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
|
}>>>;
|
|
@@ -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
|
}>;
|
|
@@ -181,8 +181,8 @@ declare const KafkaConfigTransformed: z.ZodPipe<z.ZodObject<{
|
|
|
181
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
|
}>>>;
|
|
@@ -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
|
}>;
|
|
@@ -346,8 +346,8 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
346
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
|
}>>>;
|
|
@@ -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
|
}>;
|
|
@@ -497,8 +497,8 @@ export declare const QueueConfigZod: z.ZodDiscriminatedUnion<[z.ZodPipe<z.ZodObj
|
|
|
497
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
|
}>>>;
|
|
@@ -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
|
}>;
|