@graphoria/server 0.2.1 → 0.2.2
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/ai/agent/providers/ollama.d.ts.map +1 -1
- package/dist/src/ai/mcp/create-server.d.ts.map +1 -1
- package/dist/src/ai/mcp/index.d.ts +5 -2
- package/dist/src/ai/mcp/index.d.ts.map +1 -1
- package/dist/src/ai/tools/agent.d.ts.map +1 -1
- package/dist/src/ai/tools/core.d.ts.map +1 -1
- package/dist/src/ai/tools/query-data.d.ts +2 -2
- package/dist/src/ai/tools/query-data.d.ts.map +1 -1
- package/dist/src/analyzeQuery/analyzers/fragmentAnalyzer.d.ts.map +1 -1
- package/dist/src/analyzeQuery/analyzers/operationAnalyzer.d.ts.map +1 -1
- package/dist/src/analyzeQuery/analyzers/selectionAnalyzer.d.ts.map +1 -1
- package/dist/src/analyzeQuery/analyzers/variableAnalyzer.d.ts.map +1 -1
- package/dist/src/analyzeQuery/depthLimit.d.ts.map +1 -1
- package/dist/src/analyzeQuery/directiveUtils.d.ts.map +1 -1
- package/dist/src/analyzeQuery/resolveVariables.d.ts +17 -2
- package/dist/src/analyzeQuery/resolveVariables.d.ts.map +1 -1
- package/dist/src/analyzeQuery/typeUtils.d.ts.map +1 -1
- package/dist/src/analyzeQuery/valueExtractors.d.ts.map +1 -1
- package/dist/src/authentication/duration.d.ts.map +1 -1
- package/dist/src/authentication/index.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.map +1 -1
- package/dist/src/cli/seedAuth.d.ts.map +1 -1
- package/dist/src/cli/seedAuthArgs.d.ts.map +1 -1
- package/dist/src/config/helpers/cronHelper.d.ts.map +1 -1
- package/dist/src/config/helpers/operationHelper.d.ts +1 -1
- package/dist/src/config/helpers/operationHelper.d.ts.map +1 -1
- package/dist/src/config/helpers/queueHelper.d.ts.map +1 -1
- package/dist/src/config/index.d.ts.map +1 -1
- package/dist/src/config/types/auth.d.ts +11 -5
- package/dist/src/config/types/auth.d.ts.map +1 -1
- package/dist/src/config/types/auth.test.d.ts +2 -0
- package/dist/src/config/types/auth.test.d.ts.map +1 -0
- package/dist/src/config/types/db.d.ts +36 -20
- package/dist/src/config/types/db.d.ts.map +1 -1
- package/dist/src/config/types/operation.d.ts +6 -6
- package/dist/src/config/types/queue.d.ts +4 -4
- package/dist/src/configuration/getSchemas/index.d.ts +103 -99
- package/dist/src/configuration/getSchemas/index.d.ts.map +1 -1
- package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts +50 -48
- 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/gql/buildExecute.d.ts.map +1 -1
- package/dist/src/configuration/gql/gqlAuthOperations.d.ts.map +1 -1
- package/dist/src/configuration/gql/handleGraphQLRequestFactory.d.ts.map +1 -1
- package/dist/src/configuration/gql/handleGraphQLSubscriptionFactory.d.ts.map +1 -1
- package/dist/src/configuration/index.d.ts +95 -91
- 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/index.d.ts.map +1 -1
- package/dist/src/configuration/rest/openApiErrors.d.ts.map +1 -1
- package/dist/src/configuration/rest/parseStringParams.d.ts.map +1 -1
- package/dist/src/console/api.d.ts.map +1 -1
- package/dist/src/cron/index.d.ts.map +1 -1
- package/dist/src/databases/auth/auth-operations.d.ts.map +1 -1
- package/dist/src/databases/auth/password.d.ts.map +1 -1
- package/dist/src/databases/common.d.ts +1 -3
- package/dist/src/databases/common.d.ts.map +1 -1
- package/dist/src/databases/core/executor.d.ts.map +1 -1
- package/dist/src/databases/core/identifier.d.ts.map +1 -1
- package/dist/src/databases/core/query-builder.d.ts +3 -2
- 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/auth.d.ts.map +1 -1
- package/dist/src/databases/engines/mssql/connection.d.ts.map +1 -1
- package/dist/src/databases/engines/mssql/format.d.ts.map +1 -1
- package/dist/src/databases/engines/mssql/getStructure.d.ts +12 -12
- package/dist/src/databases/engines/mssql/getStructure.d.ts.map +1 -1
- package/dist/src/databases/engines/mssql/getViews.d.ts.map +1 -1
- package/dist/src/databases/engines/mssql/query/index.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/auth.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/connection.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/format.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/getStructure.d.ts +12 -12
- package/dist/src/databases/engines/mysql/getStructure.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/getViews.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/placeholders.d.ts.map +1 -1
- package/dist/src/databases/engines/mysql/query/index.d.ts.map +1 -1
- package/dist/src/databases/engines/postgresql/auth.d.ts.map +1 -1
- package/dist/src/databases/engines/postgresql/connection.d.ts.map +1 -1
- package/dist/src/databases/engines/postgresql/format.d.ts.map +1 -1
- package/dist/src/databases/engines/postgresql/getStructure.d.ts +12 -12
- package/dist/src/databases/engines/postgresql/getStructure.d.ts.map +1 -1
- package/dist/src/databases/engines/postgresql/getViews.d.ts.map +1 -1
- package/dist/src/databases/engines/postgresql/query/index.d.ts.map +1 -1
- package/dist/src/databases/engines/shared/claims.d.ts.map +1 -1
- package/dist/src/databases/high-level-operations.d.ts +10 -59
- package/dist/src/databases/high-level-operations.d.ts.map +1 -1
- package/dist/src/databases/metadata/structure.d.ts +12 -12
- package/dist/src/databases/metadata/structure.d.ts.map +1 -1
- package/dist/src/databases/schemaBuilder/generateCreateTable/index.d.ts.map +1 -1
- package/dist/src/databases/schemaBuilder/generateCreateView/index.d.ts.map +1 -1
- package/dist/src/databases/schemaBuilder/generateInsert/index.d.ts.map +1 -1
- package/dist/src/databases/schemaBuilder/generateSchemaCreation/index.d.ts.map +1 -1
- package/dist/src/databases/schemaBuilder/mssqlToPostgres/convertView.d.ts.map +1 -1
- package/dist/src/databases/schemaBuilder/utils.d.ts +2 -2
- package/dist/src/databases/schemaBuilder/utils.d.ts.map +1 -1
- package/dist/src/databases/sqlTypeUtils.d.ts.map +1 -1
- package/dist/src/databases/transformers/data-transformers.d.ts +34 -32
- 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.map +1 -1
- package/dist/src/index.d.ts +6 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/logging/index.d.ts.map +1 -1
- package/dist/src/queues/kafka.d.ts.map +1 -1
- package/dist/src/queues/rabbitmq.d.ts.map +1 -1
- package/dist/src/remoteREST/index.d.ts.map +1 -1
- package/dist/src/remoteREST/parse.d.ts.map +1 -1
- package/dist/src/remoteREST/proxy.d.ts.map +1 -1
- package/dist/src/remoteREST/transform.d.ts.map +1 -1
- package/dist/src/remoteSchemas/index.d.ts.map +1 -1
- package/dist/src/remoteSchemas/introspect.d.ts.map +1 -1
- package/dist/src/remoteSchemas/proxy.d.ts.map +1 -1
- package/dist/src/remoteSchemas/transform.d.ts.map +1 -1
- package/dist/src/singletons/ai.d.ts.map +1 -1
- package/dist/src/singletons/authentication.d.ts.map +1 -1
- package/dist/src/singletons/cache/lruCacheStore.d.ts.map +1 -1
- package/dist/src/singletons/cache/redisCacheStore.d.ts.map +1 -1
- package/dist/src/singletons/cache/registry.d.ts.map +1 -1
- package/dist/src/singletons/cron.d.ts.map +1 -1
- package/dist/src/singletons/databases.d.ts.map +1 -1
- package/dist/src/singletons/env.d.ts +190 -187
- package/dist/src/singletons/env.d.ts.map +1 -1
- package/dist/src/singletons/queues.d.ts.map +1 -1
- package/dist/src/subscriptions/strategies/index.d.ts.map +1 -1
- package/dist/src/subscriptions/utils/polling.d.ts.map +1 -1
- package/dist/src/types/db.d.ts.map +1 -1
- package/dist/src/types/env.d.ts +641 -630
- package/dist/src/types/env.d.ts.map +1 -1
- package/dist/src/types/resolver.d.ts.map +1 -1
- package/dist/src/types/zod/auth.d.ts +18 -18
- package/dist/src/types/zod/configuration.d.ts +298 -293
- package/dist/src/types/zod/configuration.d.ts.map +1 -1
- package/dist/src/types/zod/db.d.ts +80 -80
- package/dist/src/types/zod/db.d.ts.map +1 -1
- package/dist/src/types/zod/queue.d.ts +80 -80
- package/dist/src/types/zod/queue.d.ts.map +1 -1
- package/dist/src/utils/benchmark.d.ts.map +1 -1
- package/dist/src/utils/responses.d.ts.map +1 -1
- package/dist/src/utils/safeJSONParse.d.ts.map +1 -1
- package/dist/src/utils/selection.d.ts.map +1 -1
- package/dist/src/utils/sessionVariables.d.ts +5 -1
- package/dist/src/utils/sessionVariables.d.ts.map +1 -1
- package/dist/src/utils/writeSchema.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/playgrounds/console/index.html +18 -15
- package/playgrounds/graphiql/index.html +854 -622
- package/playgrounds/scalar/index.html +5 -5
- package/src/ai/README.md +257 -0
- package/src/analyzeQuery/analyzers/selectionAnalyzer.ts +7 -1
- package/src/analyzeQuery/resolveVariables.ts +130 -16
- package/src/config/types/auth.ts +7 -1
- package/src/config/types/db.ts +8 -0
- package/src/databases/engines/mysql/connection.ts +1 -0
- package/src/logging/index.ts +3 -1
- package/src/types/db.ts +0 -1
- package/src/types/zod/db.ts +1 -7
- package/src/types/zod/queue.ts +2 -10
- package/src/utils/sessionVariables.ts +7 -1
package/dist/src/types/env.d.ts
CHANGED
|
@@ -49,14 +49,14 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
49
49
|
target: z.ZodOptional<z.ZodString>;
|
|
50
50
|
operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
51
51
|
eq: "eq";
|
|
52
|
-
neq: "neq";
|
|
53
52
|
gt: "gt";
|
|
54
53
|
gte: "gte";
|
|
54
|
+
is_not_null: "is_not_null";
|
|
55
|
+
is_null: "is_null";
|
|
56
|
+
like: "like";
|
|
55
57
|
lt: "lt";
|
|
56
58
|
lte: "lte";
|
|
57
|
-
|
|
58
|
-
is_null: "is_null";
|
|
59
|
-
is_not_null: "is_not_null";
|
|
59
|
+
neq: "neq";
|
|
60
60
|
}>>>;
|
|
61
61
|
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
62
62
|
}, z.core.$strict>>>;
|
|
@@ -72,6 +72,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
72
72
|
connectionTimeout: z.ZodDefault<z.ZodNumber>;
|
|
73
73
|
maxLifetime: z.ZodDefault<z.ZodNumber>;
|
|
74
74
|
tls: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
+
allowPublicKeyRetrieval: z.ZodDefault<z.ZodBoolean>;
|
|
75
76
|
prepare: z.ZodDefault<z.ZodBoolean>;
|
|
76
77
|
bigint: z.ZodDefault<z.ZodBoolean>;
|
|
77
78
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -115,10 +116,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
115
116
|
}, z.core.$strict>>>>;
|
|
116
117
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
117
118
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
118
|
-
topic: "topic";
|
|
119
|
-
headers: "headers";
|
|
120
119
|
direct: "direct";
|
|
121
120
|
fanout: "fanout";
|
|
121
|
+
headers: "headers";
|
|
122
|
+
topic: "topic";
|
|
122
123
|
}>>>;
|
|
123
124
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
124
125
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -135,10 +136,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
135
136
|
name: string;
|
|
136
137
|
autoSetup: boolean;
|
|
137
138
|
enabled: boolean;
|
|
139
|
+
reconnect?: {
|
|
140
|
+
initialDelay: number;
|
|
141
|
+
maxDelay: number;
|
|
142
|
+
multiplier: number;
|
|
143
|
+
maxAttempts: number;
|
|
144
|
+
} | undefined;
|
|
138
145
|
publishers: Record<string, {
|
|
139
146
|
topic: string;
|
|
140
|
-
persistent: boolean;
|
|
141
147
|
routingKey?: string | undefined;
|
|
148
|
+
persistent: boolean;
|
|
142
149
|
headers?: Record<string, string> | undefined;
|
|
143
150
|
}>;
|
|
144
151
|
subscribers: Record<string, {
|
|
@@ -151,7 +158,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
151
158
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
152
159
|
}>;
|
|
153
160
|
topics: Record<string, {
|
|
154
|
-
type: "
|
|
161
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
155
162
|
durable: boolean;
|
|
156
163
|
autoDelete: boolean;
|
|
157
164
|
}>;
|
|
@@ -159,16 +166,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
159
166
|
connection: string | {
|
|
160
167
|
hostname: string;
|
|
161
168
|
port: number;
|
|
162
|
-
vhost: string;
|
|
163
169
|
username?: string | undefined;
|
|
164
170
|
password?: string | undefined;
|
|
171
|
+
vhost: string;
|
|
165
172
|
};
|
|
166
|
-
reconnect?: {
|
|
167
|
-
initialDelay: number;
|
|
168
|
-
maxDelay: number;
|
|
169
|
-
multiplier: number;
|
|
170
|
-
maxAttempts: number;
|
|
171
|
-
} | undefined;
|
|
172
173
|
} & {
|
|
173
174
|
exchanges: Array<{
|
|
174
175
|
name: string;
|
|
@@ -205,10 +206,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
205
206
|
name: string;
|
|
206
207
|
autoSetup: boolean;
|
|
207
208
|
enabled: boolean;
|
|
209
|
+
reconnect?: {
|
|
210
|
+
initialDelay: number;
|
|
211
|
+
maxDelay: number;
|
|
212
|
+
multiplier: number;
|
|
213
|
+
maxAttempts: number;
|
|
214
|
+
} | undefined;
|
|
208
215
|
publishers: Record<string, {
|
|
209
216
|
topic: string;
|
|
210
|
-
persistent: boolean;
|
|
211
217
|
routingKey?: string | undefined;
|
|
218
|
+
persistent: boolean;
|
|
212
219
|
headers?: Record<string, string> | undefined;
|
|
213
220
|
}>;
|
|
214
221
|
subscribers: Record<string, {
|
|
@@ -221,7 +228,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
221
228
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
222
229
|
}>;
|
|
223
230
|
topics: Record<string, {
|
|
224
|
-
type: "
|
|
231
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
225
232
|
durable: boolean;
|
|
226
233
|
autoDelete: boolean;
|
|
227
234
|
}>;
|
|
@@ -229,16 +236,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
229
236
|
connection: string | {
|
|
230
237
|
hostname: string;
|
|
231
238
|
port: number;
|
|
232
|
-
vhost: string;
|
|
233
239
|
username?: string | undefined;
|
|
234
240
|
password?: string | undefined;
|
|
241
|
+
vhost: string;
|
|
235
242
|
};
|
|
236
|
-
reconnect?: {
|
|
237
|
-
initialDelay: number;
|
|
238
|
-
maxDelay: number;
|
|
239
|
-
multiplier: number;
|
|
240
|
-
maxAttempts: number;
|
|
241
|
-
} | undefined;
|
|
242
243
|
}>>, z.ZodPipe<z.ZodObject<{
|
|
243
244
|
name: z.ZodString;
|
|
244
245
|
autoSetup: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -266,10 +267,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
266
267
|
}, z.core.$strict>>>>;
|
|
267
268
|
topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
268
269
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
269
|
-
topic: "topic";
|
|
270
|
-
headers: "headers";
|
|
271
270
|
direct: "direct";
|
|
272
271
|
fanout: "fanout";
|
|
272
|
+
headers: "headers";
|
|
273
|
+
topic: "topic";
|
|
273
274
|
}>>>;
|
|
274
275
|
durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
275
276
|
autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -293,10 +294,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
293
294
|
name: string;
|
|
294
295
|
autoSetup: boolean;
|
|
295
296
|
enabled: boolean;
|
|
297
|
+
reconnect?: {
|
|
298
|
+
initialDelay: number;
|
|
299
|
+
maxDelay: number;
|
|
300
|
+
multiplier: number;
|
|
301
|
+
maxAttempts: number;
|
|
302
|
+
} | undefined;
|
|
296
303
|
publishers: Record<string, {
|
|
297
304
|
topic: string;
|
|
298
|
-
persistent: boolean;
|
|
299
305
|
routingKey?: string | undefined;
|
|
306
|
+
persistent: boolean;
|
|
300
307
|
headers?: Record<string, string> | undefined;
|
|
301
308
|
}>;
|
|
302
309
|
subscribers: Record<string, {
|
|
@@ -309,27 +316,21 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
309
316
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
310
317
|
}>;
|
|
311
318
|
topics: Record<string, {
|
|
312
|
-
type: "
|
|
319
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
313
320
|
durable: boolean;
|
|
314
321
|
autoDelete: boolean;
|
|
315
322
|
}>;
|
|
316
323
|
type: "kafka";
|
|
317
324
|
connection: string | {
|
|
318
325
|
brokers: string | string[];
|
|
319
|
-
ssl: boolean;
|
|
320
326
|
clientId?: string | undefined;
|
|
327
|
+
ssl: boolean;
|
|
321
328
|
sasl?: {
|
|
322
329
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
323
330
|
username: string;
|
|
324
331
|
password: string;
|
|
325
332
|
} | undefined;
|
|
326
333
|
};
|
|
327
|
-
reconnect?: {
|
|
328
|
-
initialDelay: number;
|
|
329
|
-
maxDelay: number;
|
|
330
|
-
multiplier: number;
|
|
331
|
-
maxAttempts: number;
|
|
332
|
-
} | undefined;
|
|
333
334
|
} & {
|
|
334
335
|
exchanges: Array<{
|
|
335
336
|
name: string;
|
|
@@ -366,10 +367,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
366
367
|
name: string;
|
|
367
368
|
autoSetup: boolean;
|
|
368
369
|
enabled: boolean;
|
|
370
|
+
reconnect?: {
|
|
371
|
+
initialDelay: number;
|
|
372
|
+
maxDelay: number;
|
|
373
|
+
multiplier: number;
|
|
374
|
+
maxAttempts: number;
|
|
375
|
+
} | undefined;
|
|
369
376
|
publishers: Record<string, {
|
|
370
377
|
topic: string;
|
|
371
|
-
persistent: boolean;
|
|
372
378
|
routingKey?: string | undefined;
|
|
379
|
+
persistent: boolean;
|
|
373
380
|
headers?: Record<string, string> | undefined;
|
|
374
381
|
}>;
|
|
375
382
|
subscribers: Record<string, {
|
|
@@ -382,27 +389,21 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
382
389
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
383
390
|
}>;
|
|
384
391
|
topics: Record<string, {
|
|
385
|
-
type: "
|
|
392
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
386
393
|
durable: boolean;
|
|
387
394
|
autoDelete: boolean;
|
|
388
395
|
}>;
|
|
389
396
|
type: "kafka";
|
|
390
397
|
connection: string | {
|
|
391
398
|
brokers: string | string[];
|
|
392
|
-
ssl: boolean;
|
|
393
399
|
clientId?: string | undefined;
|
|
400
|
+
ssl: boolean;
|
|
394
401
|
sasl?: {
|
|
395
402
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
396
403
|
username: string;
|
|
397
404
|
password: string;
|
|
398
405
|
} | undefined;
|
|
399
406
|
};
|
|
400
|
-
reconnect?: {
|
|
401
|
-
initialDelay: number;
|
|
402
|
-
maxDelay: number;
|
|
403
|
-
multiplier: number;
|
|
404
|
-
maxAttempts: number;
|
|
405
|
-
} | undefined;
|
|
406
407
|
}>>], "type">>>>;
|
|
407
408
|
cron: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
408
409
|
name: z.ZodString;
|
|
@@ -434,11 +435,11 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
434
435
|
rest: z.ZodOptional<z.ZodObject<{
|
|
435
436
|
path: z.ZodString;
|
|
436
437
|
method: z.ZodDefault<z.ZodEnum<{
|
|
438
|
+
DELETE: "DELETE";
|
|
437
439
|
GET: "GET";
|
|
440
|
+
PATCH: "PATCH";
|
|
438
441
|
POST: "POST";
|
|
439
442
|
PUT: "PUT";
|
|
440
|
-
PATCH: "PATCH";
|
|
441
|
-
DELETE: "DELETE";
|
|
442
443
|
}>>;
|
|
443
444
|
pathParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
444
445
|
queryParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
@@ -471,9 +472,9 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
471
472
|
column: z.ZodString;
|
|
472
473
|
direction: z.ZodEnum<{
|
|
473
474
|
ASC: "ASC";
|
|
474
|
-
DESC: "DESC";
|
|
475
475
|
ASC_NULLS_FIRST: "ASC_NULLS_FIRST";
|
|
476
476
|
ASC_NULLS_LAST: "ASC_NULLS_LAST";
|
|
477
|
+
DESC: "DESC";
|
|
477
478
|
DESC_NULLS_FIRST: "DESC_NULLS_FIRST";
|
|
478
479
|
DESC_NULLS_LAST: "DESC_NULLS_LAST";
|
|
479
480
|
}>;
|
|
@@ -486,43 +487,43 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
486
487
|
remoteREST: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"ALL">]>>>;
|
|
487
488
|
}, z.core.$strict>>>>>;
|
|
488
489
|
}, z.core.$strict>>>, z.ZodTransform<{
|
|
490
|
+
enabled: boolean;
|
|
491
|
+
database: string;
|
|
492
|
+
schema: string;
|
|
493
|
+
autoCreateTables: boolean;
|
|
489
494
|
permissions: {
|
|
490
495
|
[k: string]: {
|
|
496
|
+
storedProcedures: "ALL" | string[];
|
|
497
|
+
queues: "ALL" | string[];
|
|
498
|
+
operations: "ALL" | string[];
|
|
499
|
+
remoteSchemas: "ALL" | string[];
|
|
500
|
+
remoteREST: "ALL" | string[];
|
|
491
501
|
tables: "ALL" | {
|
|
492
502
|
[x: string]: {
|
|
493
503
|
columns: "ALL" | string[];
|
|
494
504
|
} & import("./configuration").TableFilter;
|
|
495
505
|
};
|
|
496
|
-
storedProcedures: string[] | "ALL";
|
|
497
|
-
queues: string[] | "ALL";
|
|
498
|
-
operations: string[] | "ALL";
|
|
499
|
-
remoteSchemas: string[] | "ALL";
|
|
500
|
-
remoteREST: string[] | "ALL";
|
|
501
506
|
};
|
|
502
507
|
};
|
|
503
|
-
enabled: boolean;
|
|
504
|
-
database: string;
|
|
505
|
-
schema: string;
|
|
506
|
-
autoCreateTables: boolean;
|
|
507
508
|
} | undefined, {
|
|
508
509
|
enabled: boolean;
|
|
509
510
|
database: string;
|
|
510
511
|
schema: string;
|
|
511
512
|
autoCreateTables: boolean;
|
|
512
513
|
permissions: Record<string, {
|
|
513
|
-
tables: string[] |
|
|
514
|
-
columns: string[]
|
|
514
|
+
tables: "ALL" | string[] | Record<string, "ALL" | {
|
|
515
|
+
columns: "ALL" | string[];
|
|
515
516
|
filter?: Record<string, unknown> | undefined;
|
|
516
517
|
orderBy?: {
|
|
517
518
|
column: string;
|
|
518
|
-
direction: "ASC" | "
|
|
519
|
+
direction: "ASC" | "ASC_NULLS_FIRST" | "ASC_NULLS_LAST" | "DESC" | "DESC_NULLS_FIRST" | "DESC_NULLS_LAST";
|
|
519
520
|
}[] | undefined;
|
|
520
521
|
}>;
|
|
521
|
-
storedProcedures: string[]
|
|
522
|
-
queues: string[]
|
|
523
|
-
operations: string[]
|
|
524
|
-
remoteSchemas: string[]
|
|
525
|
-
remoteREST: string[]
|
|
522
|
+
storedProcedures: "ALL" | string[];
|
|
523
|
+
queues: "ALL" | string[];
|
|
524
|
+
operations: "ALL" | string[];
|
|
525
|
+
remoteSchemas: "ALL" | string[];
|
|
526
|
+
remoteREST: "ALL" | string[];
|
|
526
527
|
}>;
|
|
527
528
|
}>>;
|
|
528
529
|
remoteSchemas: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -557,160 +558,6 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
557
558
|
}, z.core.$strict>>>;
|
|
558
559
|
}, z.core.$strict>>>;
|
|
559
560
|
}, z.core.$strict>, z.ZodTransform<{
|
|
560
|
-
enabledDatabases: {
|
|
561
|
-
name: string;
|
|
562
|
-
enabled: boolean;
|
|
563
|
-
type: "mssql" | "mysql" | "pg";
|
|
564
|
-
connection: {
|
|
565
|
-
host: string;
|
|
566
|
-
port: number;
|
|
567
|
-
user: string;
|
|
568
|
-
password: string;
|
|
569
|
-
database: string;
|
|
570
|
-
};
|
|
571
|
-
fieldNaming: string;
|
|
572
|
-
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
573
|
-
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
574
|
-
schema?: {
|
|
575
|
-
database: Record<string, {
|
|
576
|
-
columns: {
|
|
577
|
-
name: string;
|
|
578
|
-
dataType: string;
|
|
579
|
-
isNullable: boolean;
|
|
580
|
-
description: string | null;
|
|
581
|
-
virtual?: boolean | undefined;
|
|
582
|
-
function?: string | undefined;
|
|
583
|
-
params?: string[] | undefined;
|
|
584
|
-
expression?: string | undefined;
|
|
585
|
-
}[];
|
|
586
|
-
relationships: {
|
|
587
|
-
schema: string;
|
|
588
|
-
name: string;
|
|
589
|
-
columns: {
|
|
590
|
-
source: string;
|
|
591
|
-
target: string;
|
|
592
|
-
}[];
|
|
593
|
-
conditions?: {
|
|
594
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
595
|
-
source?: string | undefined;
|
|
596
|
-
target?: string | undefined;
|
|
597
|
-
value?: string | number | boolean | undefined;
|
|
598
|
-
}[] | undefined;
|
|
599
|
-
}[];
|
|
600
|
-
columnDescriptions: Record<string, string>;
|
|
601
|
-
description?: string | undefined;
|
|
602
|
-
}>;
|
|
603
|
-
excludedTables: string[];
|
|
604
|
-
} | undefined;
|
|
605
|
-
connectionOptions?: {
|
|
606
|
-
max: number;
|
|
607
|
-
idleTimeout: number;
|
|
608
|
-
connectionTimeout: number;
|
|
609
|
-
maxLifetime: number;
|
|
610
|
-
tls: boolean;
|
|
611
|
-
prepare: boolean;
|
|
612
|
-
bigint: boolean;
|
|
613
|
-
} | {
|
|
614
|
-
pool: {
|
|
615
|
-
max: number;
|
|
616
|
-
min: number;
|
|
617
|
-
idleTimeout: number;
|
|
618
|
-
};
|
|
619
|
-
connectionTimeout: number;
|
|
620
|
-
requestTimeout: number;
|
|
621
|
-
encrypt: boolean;
|
|
622
|
-
trustServerCertificate: boolean;
|
|
623
|
-
trustedConnection: boolean;
|
|
624
|
-
parseJSON: boolean;
|
|
625
|
-
} | undefined;
|
|
626
|
-
}[];
|
|
627
|
-
auth: {
|
|
628
|
-
databaseEntity: {
|
|
629
|
-
name: string;
|
|
630
|
-
enabled: boolean;
|
|
631
|
-
type: "mssql" | "mysql" | "pg";
|
|
632
|
-
connection: {
|
|
633
|
-
host: string;
|
|
634
|
-
port: number;
|
|
635
|
-
user: string;
|
|
636
|
-
password: string;
|
|
637
|
-
database: string;
|
|
638
|
-
};
|
|
639
|
-
fieldNaming: string;
|
|
640
|
-
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
641
|
-
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
642
|
-
schema?: {
|
|
643
|
-
database: Record<string, {
|
|
644
|
-
columns: {
|
|
645
|
-
name: string;
|
|
646
|
-
dataType: string;
|
|
647
|
-
isNullable: boolean;
|
|
648
|
-
description: string | null;
|
|
649
|
-
virtual?: boolean | undefined;
|
|
650
|
-
function?: string | undefined;
|
|
651
|
-
params?: string[] | undefined;
|
|
652
|
-
expression?: string | undefined;
|
|
653
|
-
}[];
|
|
654
|
-
relationships: {
|
|
655
|
-
schema: string;
|
|
656
|
-
name: string;
|
|
657
|
-
columns: {
|
|
658
|
-
source: string;
|
|
659
|
-
target: string;
|
|
660
|
-
}[];
|
|
661
|
-
conditions?: {
|
|
662
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
663
|
-
source?: string | undefined;
|
|
664
|
-
target?: string | undefined;
|
|
665
|
-
value?: string | number | boolean | undefined;
|
|
666
|
-
}[] | undefined;
|
|
667
|
-
}[];
|
|
668
|
-
columnDescriptions: Record<string, string>;
|
|
669
|
-
description?: string | undefined;
|
|
670
|
-
}>;
|
|
671
|
-
excludedTables: string[];
|
|
672
|
-
} | undefined;
|
|
673
|
-
connectionOptions?: {
|
|
674
|
-
max: number;
|
|
675
|
-
idleTimeout: number;
|
|
676
|
-
connectionTimeout: number;
|
|
677
|
-
maxLifetime: number;
|
|
678
|
-
tls: boolean;
|
|
679
|
-
prepare: boolean;
|
|
680
|
-
bigint: boolean;
|
|
681
|
-
} | {
|
|
682
|
-
pool: {
|
|
683
|
-
max: number;
|
|
684
|
-
min: number;
|
|
685
|
-
idleTimeout: number;
|
|
686
|
-
};
|
|
687
|
-
connectionTimeout: number;
|
|
688
|
-
requestTimeout: number;
|
|
689
|
-
encrypt: boolean;
|
|
690
|
-
trustServerCertificate: boolean;
|
|
691
|
-
trustedConnection: boolean;
|
|
692
|
-
parseJSON: boolean;
|
|
693
|
-
} | undefined;
|
|
694
|
-
};
|
|
695
|
-
permissions: {
|
|
696
|
-
[k: string]: {
|
|
697
|
-
tables: "ALL" | {
|
|
698
|
-
[x: string]: {
|
|
699
|
-
columns: "ALL" | string[];
|
|
700
|
-
} & import("./configuration").TableFilter;
|
|
701
|
-
};
|
|
702
|
-
storedProcedures: string[] | "ALL";
|
|
703
|
-
queues: string[] | "ALL";
|
|
704
|
-
operations: string[] | "ALL";
|
|
705
|
-
remoteSchemas: string[] | "ALL";
|
|
706
|
-
remoteREST: string[] | "ALL";
|
|
707
|
-
};
|
|
708
|
-
};
|
|
709
|
-
enabled: boolean;
|
|
710
|
-
database: string;
|
|
711
|
-
schema: string;
|
|
712
|
-
autoCreateTables: boolean;
|
|
713
|
-
};
|
|
714
561
|
name: string;
|
|
715
562
|
version: string;
|
|
716
563
|
tokenStrategy: "jwt" | "paseto_local" | "paseto_public";
|
|
@@ -748,14 +595,14 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
748
595
|
target: string;
|
|
749
596
|
}[];
|
|
750
597
|
conditions?: {
|
|
751
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
752
598
|
source?: string | undefined;
|
|
753
599
|
target?: string | undefined;
|
|
600
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
754
601
|
value?: string | number | boolean | undefined;
|
|
755
602
|
}[] | undefined;
|
|
756
603
|
}[];
|
|
757
|
-
columnDescriptions: Record<string, string>;
|
|
758
604
|
description?: string | undefined;
|
|
605
|
+
columnDescriptions: Record<string, string>;
|
|
759
606
|
}>;
|
|
760
607
|
excludedTables: string[];
|
|
761
608
|
} | undefined;
|
|
@@ -765,6 +612,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
765
612
|
connectionTimeout: number;
|
|
766
613
|
maxLifetime: number;
|
|
767
614
|
tls: boolean;
|
|
615
|
+
allowPublicKeyRetrieval: boolean;
|
|
768
616
|
prepare: boolean;
|
|
769
617
|
bigint: boolean;
|
|
770
618
|
} | {
|
|
@@ -785,10 +633,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
785
633
|
name: string;
|
|
786
634
|
autoSetup: boolean;
|
|
787
635
|
enabled: boolean;
|
|
636
|
+
reconnect?: {
|
|
637
|
+
initialDelay: number;
|
|
638
|
+
maxDelay: number;
|
|
639
|
+
multiplier: number;
|
|
640
|
+
maxAttempts: number;
|
|
641
|
+
} | undefined;
|
|
788
642
|
publishers: Record<string, {
|
|
789
643
|
topic: string;
|
|
790
|
-
persistent: boolean;
|
|
791
644
|
routingKey?: string | undefined;
|
|
645
|
+
persistent: boolean;
|
|
792
646
|
headers?: Record<string, string> | undefined;
|
|
793
647
|
}>;
|
|
794
648
|
subscribers: Record<string, {
|
|
@@ -801,7 +655,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
801
655
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
802
656
|
}>;
|
|
803
657
|
topics: Record<string, {
|
|
804
|
-
type: "
|
|
658
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
805
659
|
durable: boolean;
|
|
806
660
|
autoDelete: boolean;
|
|
807
661
|
}>;
|
|
@@ -809,16 +663,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
809
663
|
connection: string | {
|
|
810
664
|
hostname: string;
|
|
811
665
|
port: number;
|
|
812
|
-
vhost: string;
|
|
813
666
|
username?: string | undefined;
|
|
814
667
|
password?: string | undefined;
|
|
668
|
+
vhost: string;
|
|
815
669
|
};
|
|
816
|
-
reconnect?: {
|
|
817
|
-
initialDelay: number;
|
|
818
|
-
maxDelay: number;
|
|
819
|
-
multiplier: number;
|
|
820
|
-
maxAttempts: number;
|
|
821
|
-
} | undefined;
|
|
822
670
|
} & {
|
|
823
671
|
exchanges: Array<{
|
|
824
672
|
name: string;
|
|
@@ -855,10 +703,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
855
703
|
name: string;
|
|
856
704
|
autoSetup: boolean;
|
|
857
705
|
enabled: boolean;
|
|
706
|
+
reconnect?: {
|
|
707
|
+
initialDelay: number;
|
|
708
|
+
maxDelay: number;
|
|
709
|
+
multiplier: number;
|
|
710
|
+
maxAttempts: number;
|
|
711
|
+
} | undefined;
|
|
858
712
|
publishers: Record<string, {
|
|
859
713
|
topic: string;
|
|
860
|
-
persistent: boolean;
|
|
861
714
|
routingKey?: string | undefined;
|
|
715
|
+
persistent: boolean;
|
|
862
716
|
headers?: Record<string, string> | undefined;
|
|
863
717
|
}>;
|
|
864
718
|
subscribers: Record<string, {
|
|
@@ -871,27 +725,21 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
871
725
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
872
726
|
}>;
|
|
873
727
|
topics: Record<string, {
|
|
874
|
-
type: "
|
|
728
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
875
729
|
durable: boolean;
|
|
876
730
|
autoDelete: boolean;
|
|
877
731
|
}>;
|
|
878
732
|
type: "kafka";
|
|
879
733
|
connection: string | {
|
|
880
734
|
brokers: string | string[];
|
|
881
|
-
ssl: boolean;
|
|
882
735
|
clientId?: string | undefined;
|
|
736
|
+
ssl: boolean;
|
|
883
737
|
sasl?: {
|
|
884
738
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
885
739
|
username: string;
|
|
886
740
|
password: string;
|
|
887
741
|
} | undefined;
|
|
888
742
|
};
|
|
889
|
-
reconnect?: {
|
|
890
|
-
initialDelay: number;
|
|
891
|
-
maxDelay: number;
|
|
892
|
-
multiplier: number;
|
|
893
|
-
maxAttempts: number;
|
|
894
|
-
} | undefined;
|
|
895
743
|
} & {
|
|
896
744
|
exchanges: Array<{
|
|
897
745
|
name: string;
|
|
@@ -928,24 +776,20 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
928
776
|
cron: {
|
|
929
777
|
name: string;
|
|
930
778
|
pattern: string;
|
|
931
|
-
paused: boolean;
|
|
932
|
-
catchErrors: boolean;
|
|
933
779
|
query?: string | undefined;
|
|
934
780
|
variables?: Record<string, unknown> | undefined;
|
|
935
781
|
timezone?: string | undefined;
|
|
782
|
+
paused: boolean;
|
|
936
783
|
maxRuns?: number | undefined;
|
|
937
784
|
interval?: number | undefined;
|
|
938
785
|
startAt?: string | undefined;
|
|
939
786
|
stopAt?: string | undefined;
|
|
940
787
|
protect?: boolean | undefined;
|
|
788
|
+
catchErrors: boolean;
|
|
941
789
|
context?: Record<string, any> | undefined;
|
|
942
790
|
onTick?: import("./zod/cron").TickCallback<Record<string, unknown>> | undefined;
|
|
943
791
|
}[];
|
|
944
792
|
operations: Record<string, {
|
|
945
|
-
graphql: {
|
|
946
|
-
enabled: boolean;
|
|
947
|
-
name?: string | undefined;
|
|
948
|
-
};
|
|
949
793
|
description?: string | undefined;
|
|
950
794
|
query?: string | undefined;
|
|
951
795
|
handler?: import("./zod/operation").OperationHandler<any, any, any> | undefined;
|
|
@@ -958,51 +802,211 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
958
802
|
} | undefined;
|
|
959
803
|
rest?: {
|
|
960
804
|
path: string;
|
|
961
|
-
method: "
|
|
805
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
962
806
|
pathParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
963
807
|
queryParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
964
808
|
body?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
965
809
|
} | undefined;
|
|
810
|
+
graphql: {
|
|
811
|
+
enabled: boolean;
|
|
812
|
+
name?: string | undefined;
|
|
813
|
+
};
|
|
966
814
|
cache?: {
|
|
967
|
-
updateAgeOnHas: boolean;
|
|
968
|
-
ttlAutopurge: boolean;
|
|
969
815
|
max?: number | undefined;
|
|
970
816
|
maxSize?: number | undefined;
|
|
971
817
|
ttl?: number | undefined;
|
|
972
818
|
allowStale?: boolean | undefined;
|
|
973
819
|
updateAgeOnGet?: boolean | undefined;
|
|
820
|
+
updateAgeOnHas: boolean;
|
|
821
|
+
ttlAutopurge: boolean;
|
|
974
822
|
} | undefined;
|
|
975
823
|
}>;
|
|
976
824
|
remoteSchemas: {
|
|
977
825
|
name: string;
|
|
978
826
|
url: string;
|
|
979
827
|
enabled: boolean;
|
|
980
|
-
timeout: number;
|
|
981
828
|
prefix?: string | undefined;
|
|
982
829
|
headers?: Record<string, string> | undefined;
|
|
983
830
|
forwardHeaders?: string[] | undefined;
|
|
831
|
+
timeout: number;
|
|
984
832
|
introspection?: {
|
|
985
833
|
interval: number;
|
|
986
834
|
} | undefined;
|
|
987
835
|
}[];
|
|
988
836
|
remoteREST: {
|
|
989
837
|
name: string;
|
|
990
|
-
enabled: boolean;
|
|
991
|
-
timeout: number;
|
|
992
838
|
url?: string | undefined;
|
|
993
839
|
specUrl?: string | undefined;
|
|
994
840
|
specPath?: string | undefined;
|
|
841
|
+
enabled: boolean;
|
|
995
842
|
prefix?: string | undefined;
|
|
996
843
|
headers?: Record<string, string> | undefined;
|
|
997
844
|
forwardHeaders?: string[] | undefined;
|
|
845
|
+
timeout: number;
|
|
998
846
|
}[];
|
|
999
847
|
ai: {
|
|
1000
848
|
enabled: boolean;
|
|
849
|
+
systemPrompt?: string | undefined;
|
|
1001
850
|
endpoint: string;
|
|
1002
851
|
mcp: {
|
|
1003
852
|
enabled: boolean;
|
|
1004
853
|
};
|
|
1005
|
-
|
|
854
|
+
};
|
|
855
|
+
enabledDatabases: {
|
|
856
|
+
name: string;
|
|
857
|
+
enabled: boolean;
|
|
858
|
+
type: "mssql" | "mysql" | "pg";
|
|
859
|
+
connection: {
|
|
860
|
+
host: string;
|
|
861
|
+
port: number;
|
|
862
|
+
user: string;
|
|
863
|
+
password: string;
|
|
864
|
+
database: string;
|
|
865
|
+
};
|
|
866
|
+
fieldNaming: string;
|
|
867
|
+
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
868
|
+
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
869
|
+
schema?: {
|
|
870
|
+
database: Record<string, {
|
|
871
|
+
columns: {
|
|
872
|
+
name: string;
|
|
873
|
+
dataType: string;
|
|
874
|
+
isNullable: boolean;
|
|
875
|
+
description: string | null;
|
|
876
|
+
virtual?: boolean | undefined;
|
|
877
|
+
function?: string | undefined;
|
|
878
|
+
params?: string[] | undefined;
|
|
879
|
+
expression?: string | undefined;
|
|
880
|
+
}[];
|
|
881
|
+
relationships: {
|
|
882
|
+
schema: string;
|
|
883
|
+
name: string;
|
|
884
|
+
columns: {
|
|
885
|
+
source: string;
|
|
886
|
+
target: string;
|
|
887
|
+
}[];
|
|
888
|
+
conditions?: {
|
|
889
|
+
source?: string | undefined;
|
|
890
|
+
target?: string | undefined;
|
|
891
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
892
|
+
value?: string | number | boolean | undefined;
|
|
893
|
+
}[] | undefined;
|
|
894
|
+
}[];
|
|
895
|
+
description?: string | undefined;
|
|
896
|
+
columnDescriptions: Record<string, string>;
|
|
897
|
+
}>;
|
|
898
|
+
excludedTables: string[];
|
|
899
|
+
} | undefined;
|
|
900
|
+
connectionOptions?: {
|
|
901
|
+
max: number;
|
|
902
|
+
idleTimeout: number;
|
|
903
|
+
connectionTimeout: number;
|
|
904
|
+
maxLifetime: number;
|
|
905
|
+
tls: boolean;
|
|
906
|
+
allowPublicKeyRetrieval: boolean;
|
|
907
|
+
prepare: boolean;
|
|
908
|
+
bigint: boolean;
|
|
909
|
+
} | {
|
|
910
|
+
pool: {
|
|
911
|
+
max: number;
|
|
912
|
+
min: number;
|
|
913
|
+
idleTimeout: number;
|
|
914
|
+
};
|
|
915
|
+
connectionTimeout: number;
|
|
916
|
+
requestTimeout: number;
|
|
917
|
+
encrypt: boolean;
|
|
918
|
+
trustServerCertificate: boolean;
|
|
919
|
+
trustedConnection: boolean;
|
|
920
|
+
parseJSON: boolean;
|
|
921
|
+
} | undefined;
|
|
922
|
+
}[];
|
|
923
|
+
auth: {
|
|
924
|
+
enabled: boolean;
|
|
925
|
+
database: string;
|
|
926
|
+
schema: string;
|
|
927
|
+
autoCreateTables: boolean;
|
|
928
|
+
permissions: {
|
|
929
|
+
[k: string]: {
|
|
930
|
+
storedProcedures: "ALL" | string[];
|
|
931
|
+
queues: "ALL" | string[];
|
|
932
|
+
operations: "ALL" | string[];
|
|
933
|
+
remoteSchemas: "ALL" | string[];
|
|
934
|
+
remoteREST: "ALL" | string[];
|
|
935
|
+
tables: "ALL" | {
|
|
936
|
+
[x: string]: {
|
|
937
|
+
columns: "ALL" | string[];
|
|
938
|
+
} & import("./configuration").TableFilter;
|
|
939
|
+
};
|
|
940
|
+
};
|
|
941
|
+
};
|
|
942
|
+
databaseEntity: {
|
|
943
|
+
name: string;
|
|
944
|
+
enabled: boolean;
|
|
945
|
+
type: "mssql" | "mysql" | "pg";
|
|
946
|
+
connection: {
|
|
947
|
+
host: string;
|
|
948
|
+
port: number;
|
|
949
|
+
user: string;
|
|
950
|
+
password: string;
|
|
951
|
+
database: string;
|
|
952
|
+
};
|
|
953
|
+
fieldNaming: string;
|
|
954
|
+
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
955
|
+
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
956
|
+
schema?: {
|
|
957
|
+
database: Record<string, {
|
|
958
|
+
columns: {
|
|
959
|
+
name: string;
|
|
960
|
+
dataType: string;
|
|
961
|
+
isNullable: boolean;
|
|
962
|
+
description: string | null;
|
|
963
|
+
virtual?: boolean | undefined;
|
|
964
|
+
function?: string | undefined;
|
|
965
|
+
params?: string[] | undefined;
|
|
966
|
+
expression?: string | undefined;
|
|
967
|
+
}[];
|
|
968
|
+
relationships: {
|
|
969
|
+
schema: string;
|
|
970
|
+
name: string;
|
|
971
|
+
columns: {
|
|
972
|
+
source: string;
|
|
973
|
+
target: string;
|
|
974
|
+
}[];
|
|
975
|
+
conditions?: {
|
|
976
|
+
source?: string | undefined;
|
|
977
|
+
target?: string | undefined;
|
|
978
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
979
|
+
value?: string | number | boolean | undefined;
|
|
980
|
+
}[] | undefined;
|
|
981
|
+
}[];
|
|
982
|
+
description?: string | undefined;
|
|
983
|
+
columnDescriptions: Record<string, string>;
|
|
984
|
+
}>;
|
|
985
|
+
excludedTables: string[];
|
|
986
|
+
} | undefined;
|
|
987
|
+
connectionOptions?: {
|
|
988
|
+
max: number;
|
|
989
|
+
idleTimeout: number;
|
|
990
|
+
connectionTimeout: number;
|
|
991
|
+
maxLifetime: number;
|
|
992
|
+
tls: boolean;
|
|
993
|
+
allowPublicKeyRetrieval: boolean;
|
|
994
|
+
prepare: boolean;
|
|
995
|
+
bigint: boolean;
|
|
996
|
+
} | {
|
|
997
|
+
pool: {
|
|
998
|
+
max: number;
|
|
999
|
+
min: number;
|
|
1000
|
+
idleTimeout: number;
|
|
1001
|
+
};
|
|
1002
|
+
connectionTimeout: number;
|
|
1003
|
+
requestTimeout: number;
|
|
1004
|
+
encrypt: boolean;
|
|
1005
|
+
trustServerCertificate: boolean;
|
|
1006
|
+
trustedConnection: boolean;
|
|
1007
|
+
parseJSON: boolean;
|
|
1008
|
+
} | undefined;
|
|
1009
|
+
};
|
|
1006
1010
|
};
|
|
1007
1011
|
}, {
|
|
1008
1012
|
name: string;
|
|
@@ -1042,14 +1046,14 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1042
1046
|
target: string;
|
|
1043
1047
|
}[];
|
|
1044
1048
|
conditions?: {
|
|
1045
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
1046
1049
|
source?: string | undefined;
|
|
1047
1050
|
target?: string | undefined;
|
|
1051
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
1048
1052
|
value?: string | number | boolean | undefined;
|
|
1049
1053
|
}[] | undefined;
|
|
1050
1054
|
}[];
|
|
1051
|
-
columnDescriptions: Record<string, string>;
|
|
1052
1055
|
description?: string | undefined;
|
|
1056
|
+
columnDescriptions: Record<string, string>;
|
|
1053
1057
|
}>;
|
|
1054
1058
|
excludedTables: string[];
|
|
1055
1059
|
} | undefined;
|
|
@@ -1059,6 +1063,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1059
1063
|
connectionTimeout: number;
|
|
1060
1064
|
maxLifetime: number;
|
|
1061
1065
|
tls: boolean;
|
|
1066
|
+
allowPublicKeyRetrieval: boolean;
|
|
1062
1067
|
prepare: boolean;
|
|
1063
1068
|
bigint: boolean;
|
|
1064
1069
|
} | {
|
|
@@ -1079,10 +1084,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1079
1084
|
name: string;
|
|
1080
1085
|
autoSetup: boolean;
|
|
1081
1086
|
enabled: boolean;
|
|
1087
|
+
reconnect?: {
|
|
1088
|
+
initialDelay: number;
|
|
1089
|
+
maxDelay: number;
|
|
1090
|
+
multiplier: number;
|
|
1091
|
+
maxAttempts: number;
|
|
1092
|
+
} | undefined;
|
|
1082
1093
|
publishers: Record<string, {
|
|
1083
1094
|
topic: string;
|
|
1084
|
-
persistent: boolean;
|
|
1085
1095
|
routingKey?: string | undefined;
|
|
1096
|
+
persistent: boolean;
|
|
1086
1097
|
headers?: Record<string, string> | undefined;
|
|
1087
1098
|
}>;
|
|
1088
1099
|
subscribers: Record<string, {
|
|
@@ -1095,7 +1106,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1095
1106
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1096
1107
|
}>;
|
|
1097
1108
|
topics: Record<string, {
|
|
1098
|
-
type: "
|
|
1109
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
1099
1110
|
durable: boolean;
|
|
1100
1111
|
autoDelete: boolean;
|
|
1101
1112
|
}>;
|
|
@@ -1103,16 +1114,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1103
1114
|
connection: string | {
|
|
1104
1115
|
hostname: string;
|
|
1105
1116
|
port: number;
|
|
1106
|
-
vhost: string;
|
|
1107
1117
|
username?: string | undefined;
|
|
1108
1118
|
password?: string | undefined;
|
|
1119
|
+
vhost: string;
|
|
1109
1120
|
};
|
|
1110
|
-
reconnect?: {
|
|
1111
|
-
initialDelay: number;
|
|
1112
|
-
maxDelay: number;
|
|
1113
|
-
multiplier: number;
|
|
1114
|
-
maxAttempts: number;
|
|
1115
|
-
} | undefined;
|
|
1116
1121
|
} & {
|
|
1117
1122
|
exchanges: Array<{
|
|
1118
1123
|
name: string;
|
|
@@ -1149,10 +1154,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1149
1154
|
name: string;
|
|
1150
1155
|
autoSetup: boolean;
|
|
1151
1156
|
enabled: boolean;
|
|
1157
|
+
reconnect?: {
|
|
1158
|
+
initialDelay: number;
|
|
1159
|
+
maxDelay: number;
|
|
1160
|
+
multiplier: number;
|
|
1161
|
+
maxAttempts: number;
|
|
1162
|
+
} | undefined;
|
|
1152
1163
|
publishers: Record<string, {
|
|
1153
1164
|
topic: string;
|
|
1154
|
-
persistent: boolean;
|
|
1155
1165
|
routingKey?: string | undefined;
|
|
1166
|
+
persistent: boolean;
|
|
1156
1167
|
headers?: Record<string, string> | undefined;
|
|
1157
1168
|
}>;
|
|
1158
1169
|
subscribers: Record<string, {
|
|
@@ -1165,27 +1176,21 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1165
1176
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1166
1177
|
}>;
|
|
1167
1178
|
topics: Record<string, {
|
|
1168
|
-
type: "
|
|
1179
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
1169
1180
|
durable: boolean;
|
|
1170
1181
|
autoDelete: boolean;
|
|
1171
1182
|
}>;
|
|
1172
1183
|
type: "kafka";
|
|
1173
1184
|
connection: string | {
|
|
1174
1185
|
brokers: string | string[];
|
|
1175
|
-
ssl: boolean;
|
|
1176
1186
|
clientId?: string | undefined;
|
|
1187
|
+
ssl: boolean;
|
|
1177
1188
|
sasl?: {
|
|
1178
1189
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
1179
1190
|
username: string;
|
|
1180
1191
|
password: string;
|
|
1181
1192
|
} | undefined;
|
|
1182
1193
|
};
|
|
1183
|
-
reconnect?: {
|
|
1184
|
-
initialDelay: number;
|
|
1185
|
-
maxDelay: number;
|
|
1186
|
-
multiplier: number;
|
|
1187
|
-
maxAttempts: number;
|
|
1188
|
-
} | undefined;
|
|
1189
1194
|
} & {
|
|
1190
1195
|
exchanges: Array<{
|
|
1191
1196
|
name: string;
|
|
@@ -1222,24 +1227,20 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1222
1227
|
cron: {
|
|
1223
1228
|
name: string;
|
|
1224
1229
|
pattern: string;
|
|
1225
|
-
paused: boolean;
|
|
1226
|
-
catchErrors: boolean;
|
|
1227
1230
|
query?: string | undefined;
|
|
1228
1231
|
variables?: Record<string, unknown> | undefined;
|
|
1229
1232
|
timezone?: string | undefined;
|
|
1233
|
+
paused: boolean;
|
|
1230
1234
|
maxRuns?: number | undefined;
|
|
1231
1235
|
interval?: number | undefined;
|
|
1232
1236
|
startAt?: string | undefined;
|
|
1233
1237
|
stopAt?: string | undefined;
|
|
1234
1238
|
protect?: boolean | undefined;
|
|
1239
|
+
catchErrors: boolean;
|
|
1235
1240
|
context?: Record<string, any> | undefined;
|
|
1236
1241
|
onTick?: import("./zod/cron").TickCallback<Record<string, unknown>> | undefined;
|
|
1237
1242
|
}[];
|
|
1238
1243
|
operations: Record<string, {
|
|
1239
|
-
graphql: {
|
|
1240
|
-
enabled: boolean;
|
|
1241
|
-
name?: string | undefined;
|
|
1242
|
-
};
|
|
1243
1244
|
description?: string | undefined;
|
|
1244
1245
|
query?: string | undefined;
|
|
1245
1246
|
handler?: import("./zod/operation").OperationHandler<any, any, any> | undefined;
|
|
@@ -1252,71 +1253,75 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1252
1253
|
} | undefined;
|
|
1253
1254
|
rest?: {
|
|
1254
1255
|
path: string;
|
|
1255
|
-
method: "
|
|
1256
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
1256
1257
|
pathParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
1257
1258
|
queryParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
1258
1259
|
body?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
1259
1260
|
} | undefined;
|
|
1261
|
+
graphql: {
|
|
1262
|
+
enabled: boolean;
|
|
1263
|
+
name?: string | undefined;
|
|
1264
|
+
};
|
|
1260
1265
|
cache?: {
|
|
1261
|
-
updateAgeOnHas: boolean;
|
|
1262
|
-
ttlAutopurge: boolean;
|
|
1263
1266
|
max?: number | undefined;
|
|
1264
1267
|
maxSize?: number | undefined;
|
|
1265
1268
|
ttl?: number | undefined;
|
|
1266
1269
|
allowStale?: boolean | undefined;
|
|
1267
1270
|
updateAgeOnGet?: boolean | undefined;
|
|
1271
|
+
updateAgeOnHas: boolean;
|
|
1272
|
+
ttlAutopurge: boolean;
|
|
1268
1273
|
} | undefined;
|
|
1269
1274
|
}>;
|
|
1270
1275
|
auth: {
|
|
1276
|
+
enabled: boolean;
|
|
1277
|
+
database: string;
|
|
1278
|
+
schema: string;
|
|
1279
|
+
autoCreateTables: boolean;
|
|
1271
1280
|
permissions: {
|
|
1272
1281
|
[k: string]: {
|
|
1282
|
+
storedProcedures: "ALL" | string[];
|
|
1283
|
+
queues: "ALL" | string[];
|
|
1284
|
+
operations: "ALL" | string[];
|
|
1285
|
+
remoteSchemas: "ALL" | string[];
|
|
1286
|
+
remoteREST: "ALL" | string[];
|
|
1273
1287
|
tables: "ALL" | {
|
|
1274
1288
|
[x: string]: {
|
|
1275
1289
|
columns: "ALL" | string[];
|
|
1276
1290
|
} & import("./configuration").TableFilter;
|
|
1277
1291
|
};
|
|
1278
|
-
storedProcedures: string[] | "ALL";
|
|
1279
|
-
queues: string[] | "ALL";
|
|
1280
|
-
operations: string[] | "ALL";
|
|
1281
|
-
remoteSchemas: string[] | "ALL";
|
|
1282
|
-
remoteREST: string[] | "ALL";
|
|
1283
1292
|
};
|
|
1284
1293
|
};
|
|
1285
|
-
enabled: boolean;
|
|
1286
|
-
database: string;
|
|
1287
|
-
schema: string;
|
|
1288
|
-
autoCreateTables: boolean;
|
|
1289
1294
|
} | undefined;
|
|
1290
1295
|
remoteSchemas: {
|
|
1291
1296
|
name: string;
|
|
1292
1297
|
url: string;
|
|
1293
1298
|
enabled: boolean;
|
|
1294
|
-
timeout: number;
|
|
1295
1299
|
prefix?: string | undefined;
|
|
1296
1300
|
headers?: Record<string, string> | undefined;
|
|
1297
1301
|
forwardHeaders?: string[] | undefined;
|
|
1302
|
+
timeout: number;
|
|
1298
1303
|
introspection?: {
|
|
1299
1304
|
interval: number;
|
|
1300
1305
|
} | undefined;
|
|
1301
1306
|
}[];
|
|
1302
1307
|
remoteREST: {
|
|
1303
1308
|
name: string;
|
|
1304
|
-
enabled: boolean;
|
|
1305
|
-
timeout: number;
|
|
1306
1309
|
url?: string | undefined;
|
|
1307
1310
|
specUrl?: string | undefined;
|
|
1308
1311
|
specPath?: string | undefined;
|
|
1312
|
+
enabled: boolean;
|
|
1309
1313
|
prefix?: string | undefined;
|
|
1310
1314
|
headers?: Record<string, string> | undefined;
|
|
1311
1315
|
forwardHeaders?: string[] | undefined;
|
|
1316
|
+
timeout: number;
|
|
1312
1317
|
}[];
|
|
1313
1318
|
ai: {
|
|
1314
1319
|
enabled: boolean;
|
|
1320
|
+
systemPrompt?: string | undefined;
|
|
1315
1321
|
endpoint: string;
|
|
1316
1322
|
mcp: {
|
|
1317
1323
|
enabled: boolean;
|
|
1318
1324
|
};
|
|
1319
|
-
systemPrompt?: string | undefined;
|
|
1320
1325
|
};
|
|
1321
1326
|
}>>]>>;
|
|
1322
1327
|
ANONYMOUS_ROLE: z.ZodDefault<z.ZodString>;
|
|
@@ -1369,160 +1374,6 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1369
1374
|
nodeEnv: string;
|
|
1370
1375
|
version: string;
|
|
1371
1376
|
configuration: string | {
|
|
1372
|
-
enabledDatabases: {
|
|
1373
|
-
name: string;
|
|
1374
|
-
enabled: boolean;
|
|
1375
|
-
type: "mssql" | "mysql" | "pg";
|
|
1376
|
-
connection: {
|
|
1377
|
-
host: string;
|
|
1378
|
-
port: number;
|
|
1379
|
-
user: string;
|
|
1380
|
-
password: string;
|
|
1381
|
-
database: string;
|
|
1382
|
-
};
|
|
1383
|
-
fieldNaming: string;
|
|
1384
|
-
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
1385
|
-
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
1386
|
-
schema?: {
|
|
1387
|
-
database: Record<string, {
|
|
1388
|
-
columns: {
|
|
1389
|
-
name: string;
|
|
1390
|
-
dataType: string;
|
|
1391
|
-
isNullable: boolean;
|
|
1392
|
-
description: string | null;
|
|
1393
|
-
virtual?: boolean | undefined;
|
|
1394
|
-
function?: string | undefined;
|
|
1395
|
-
params?: string[] | undefined;
|
|
1396
|
-
expression?: string | undefined;
|
|
1397
|
-
}[];
|
|
1398
|
-
relationships: {
|
|
1399
|
-
schema: string;
|
|
1400
|
-
name: string;
|
|
1401
|
-
columns: {
|
|
1402
|
-
source: string;
|
|
1403
|
-
target: string;
|
|
1404
|
-
}[];
|
|
1405
|
-
conditions?: {
|
|
1406
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
1407
|
-
source?: string | undefined;
|
|
1408
|
-
target?: string | undefined;
|
|
1409
|
-
value?: string | number | boolean | undefined;
|
|
1410
|
-
}[] | undefined;
|
|
1411
|
-
}[];
|
|
1412
|
-
columnDescriptions: Record<string, string>;
|
|
1413
|
-
description?: string | undefined;
|
|
1414
|
-
}>;
|
|
1415
|
-
excludedTables: string[];
|
|
1416
|
-
} | undefined;
|
|
1417
|
-
connectionOptions?: {
|
|
1418
|
-
max: number;
|
|
1419
|
-
idleTimeout: number;
|
|
1420
|
-
connectionTimeout: number;
|
|
1421
|
-
maxLifetime: number;
|
|
1422
|
-
tls: boolean;
|
|
1423
|
-
prepare: boolean;
|
|
1424
|
-
bigint: boolean;
|
|
1425
|
-
} | {
|
|
1426
|
-
pool: {
|
|
1427
|
-
max: number;
|
|
1428
|
-
min: number;
|
|
1429
|
-
idleTimeout: number;
|
|
1430
|
-
};
|
|
1431
|
-
connectionTimeout: number;
|
|
1432
|
-
requestTimeout: number;
|
|
1433
|
-
encrypt: boolean;
|
|
1434
|
-
trustServerCertificate: boolean;
|
|
1435
|
-
trustedConnection: boolean;
|
|
1436
|
-
parseJSON: boolean;
|
|
1437
|
-
} | undefined;
|
|
1438
|
-
}[];
|
|
1439
|
-
auth: {
|
|
1440
|
-
databaseEntity: {
|
|
1441
|
-
name: string;
|
|
1442
|
-
enabled: boolean;
|
|
1443
|
-
type: "mssql" | "mysql" | "pg";
|
|
1444
|
-
connection: {
|
|
1445
|
-
host: string;
|
|
1446
|
-
port: number;
|
|
1447
|
-
user: string;
|
|
1448
|
-
password: string;
|
|
1449
|
-
database: string;
|
|
1450
|
-
};
|
|
1451
|
-
fieldNaming: string;
|
|
1452
|
-
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
1453
|
-
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
1454
|
-
schema?: {
|
|
1455
|
-
database: Record<string, {
|
|
1456
|
-
columns: {
|
|
1457
|
-
name: string;
|
|
1458
|
-
dataType: string;
|
|
1459
|
-
isNullable: boolean;
|
|
1460
|
-
description: string | null;
|
|
1461
|
-
virtual?: boolean | undefined;
|
|
1462
|
-
function?: string | undefined;
|
|
1463
|
-
params?: string[] | undefined;
|
|
1464
|
-
expression?: string | undefined;
|
|
1465
|
-
}[];
|
|
1466
|
-
relationships: {
|
|
1467
|
-
schema: string;
|
|
1468
|
-
name: string;
|
|
1469
|
-
columns: {
|
|
1470
|
-
source: string;
|
|
1471
|
-
target: string;
|
|
1472
|
-
}[];
|
|
1473
|
-
conditions?: {
|
|
1474
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
1475
|
-
source?: string | undefined;
|
|
1476
|
-
target?: string | undefined;
|
|
1477
|
-
value?: string | number | boolean | undefined;
|
|
1478
|
-
}[] | undefined;
|
|
1479
|
-
}[];
|
|
1480
|
-
columnDescriptions: Record<string, string>;
|
|
1481
|
-
description?: string | undefined;
|
|
1482
|
-
}>;
|
|
1483
|
-
excludedTables: string[];
|
|
1484
|
-
} | undefined;
|
|
1485
|
-
connectionOptions?: {
|
|
1486
|
-
max: number;
|
|
1487
|
-
idleTimeout: number;
|
|
1488
|
-
connectionTimeout: number;
|
|
1489
|
-
maxLifetime: number;
|
|
1490
|
-
tls: boolean;
|
|
1491
|
-
prepare: boolean;
|
|
1492
|
-
bigint: boolean;
|
|
1493
|
-
} | {
|
|
1494
|
-
pool: {
|
|
1495
|
-
max: number;
|
|
1496
|
-
min: number;
|
|
1497
|
-
idleTimeout: number;
|
|
1498
|
-
};
|
|
1499
|
-
connectionTimeout: number;
|
|
1500
|
-
requestTimeout: number;
|
|
1501
|
-
encrypt: boolean;
|
|
1502
|
-
trustServerCertificate: boolean;
|
|
1503
|
-
trustedConnection: boolean;
|
|
1504
|
-
parseJSON: boolean;
|
|
1505
|
-
} | undefined;
|
|
1506
|
-
};
|
|
1507
|
-
permissions: {
|
|
1508
|
-
[k: string]: {
|
|
1509
|
-
tables: "ALL" | {
|
|
1510
|
-
[x: string]: {
|
|
1511
|
-
columns: "ALL" | string[];
|
|
1512
|
-
} & import("./configuration").TableFilter;
|
|
1513
|
-
};
|
|
1514
|
-
storedProcedures: string[] | "ALL";
|
|
1515
|
-
queues: string[] | "ALL";
|
|
1516
|
-
operations: string[] | "ALL";
|
|
1517
|
-
remoteSchemas: string[] | "ALL";
|
|
1518
|
-
remoteREST: string[] | "ALL";
|
|
1519
|
-
};
|
|
1520
|
-
};
|
|
1521
|
-
enabled: boolean;
|
|
1522
|
-
database: string;
|
|
1523
|
-
schema: string;
|
|
1524
|
-
autoCreateTables: boolean;
|
|
1525
|
-
};
|
|
1526
1377
|
name: string;
|
|
1527
1378
|
version: string;
|
|
1528
1379
|
tokenStrategy: "jwt" | "paseto_local" | "paseto_public";
|
|
@@ -1560,14 +1411,14 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1560
1411
|
target: string;
|
|
1561
1412
|
}[];
|
|
1562
1413
|
conditions?: {
|
|
1563
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
1564
1414
|
source?: string | undefined;
|
|
1565
1415
|
target?: string | undefined;
|
|
1416
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
1566
1417
|
value?: string | number | boolean | undefined;
|
|
1567
1418
|
}[] | undefined;
|
|
1568
1419
|
}[];
|
|
1569
|
-
columnDescriptions: Record<string, string>;
|
|
1570
1420
|
description?: string | undefined;
|
|
1421
|
+
columnDescriptions: Record<string, string>;
|
|
1571
1422
|
}>;
|
|
1572
1423
|
excludedTables: string[];
|
|
1573
1424
|
} | undefined;
|
|
@@ -1577,6 +1428,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1577
1428
|
connectionTimeout: number;
|
|
1578
1429
|
maxLifetime: number;
|
|
1579
1430
|
tls: boolean;
|
|
1431
|
+
allowPublicKeyRetrieval: boolean;
|
|
1580
1432
|
prepare: boolean;
|
|
1581
1433
|
bigint: boolean;
|
|
1582
1434
|
} | {
|
|
@@ -1597,10 +1449,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1597
1449
|
name: string;
|
|
1598
1450
|
autoSetup: boolean;
|
|
1599
1451
|
enabled: boolean;
|
|
1452
|
+
reconnect?: {
|
|
1453
|
+
initialDelay: number;
|
|
1454
|
+
maxDelay: number;
|
|
1455
|
+
multiplier: number;
|
|
1456
|
+
maxAttempts: number;
|
|
1457
|
+
} | undefined;
|
|
1600
1458
|
publishers: Record<string, {
|
|
1601
1459
|
topic: string;
|
|
1602
|
-
persistent: boolean;
|
|
1603
1460
|
routingKey?: string | undefined;
|
|
1461
|
+
persistent: boolean;
|
|
1604
1462
|
headers?: Record<string, string> | undefined;
|
|
1605
1463
|
}>;
|
|
1606
1464
|
subscribers: Record<string, {
|
|
@@ -1613,7 +1471,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1613
1471
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1614
1472
|
}>;
|
|
1615
1473
|
topics: Record<string, {
|
|
1616
|
-
type: "
|
|
1474
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
1617
1475
|
durable: boolean;
|
|
1618
1476
|
autoDelete: boolean;
|
|
1619
1477
|
}>;
|
|
@@ -1621,16 +1479,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1621
1479
|
connection: string | {
|
|
1622
1480
|
hostname: string;
|
|
1623
1481
|
port: number;
|
|
1624
|
-
vhost: string;
|
|
1625
1482
|
username?: string | undefined;
|
|
1626
1483
|
password?: string | undefined;
|
|
1484
|
+
vhost: string;
|
|
1627
1485
|
};
|
|
1628
|
-
reconnect?: {
|
|
1629
|
-
initialDelay: number;
|
|
1630
|
-
maxDelay: number;
|
|
1631
|
-
multiplier: number;
|
|
1632
|
-
maxAttempts: number;
|
|
1633
|
-
} | undefined;
|
|
1634
1486
|
} & {
|
|
1635
1487
|
exchanges: Array<{
|
|
1636
1488
|
name: string;
|
|
@@ -1667,10 +1519,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1667
1519
|
name: string;
|
|
1668
1520
|
autoSetup: boolean;
|
|
1669
1521
|
enabled: boolean;
|
|
1522
|
+
reconnect?: {
|
|
1523
|
+
initialDelay: number;
|
|
1524
|
+
maxDelay: number;
|
|
1525
|
+
multiplier: number;
|
|
1526
|
+
maxAttempts: number;
|
|
1527
|
+
} | undefined;
|
|
1670
1528
|
publishers: Record<string, {
|
|
1671
1529
|
topic: string;
|
|
1672
|
-
persistent: boolean;
|
|
1673
1530
|
routingKey?: string | undefined;
|
|
1531
|
+
persistent: boolean;
|
|
1674
1532
|
headers?: Record<string, string> | undefined;
|
|
1675
1533
|
}>;
|
|
1676
1534
|
subscribers: Record<string, {
|
|
@@ -1683,27 +1541,21 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1683
1541
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
1684
1542
|
}>;
|
|
1685
1543
|
topics: Record<string, {
|
|
1686
|
-
type: "
|
|
1544
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
1687
1545
|
durable: boolean;
|
|
1688
1546
|
autoDelete: boolean;
|
|
1689
1547
|
}>;
|
|
1690
1548
|
type: "kafka";
|
|
1691
1549
|
connection: string | {
|
|
1692
1550
|
brokers: string | string[];
|
|
1693
|
-
ssl: boolean;
|
|
1694
1551
|
clientId?: string | undefined;
|
|
1552
|
+
ssl: boolean;
|
|
1695
1553
|
sasl?: {
|
|
1696
1554
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
1697
1555
|
username: string;
|
|
1698
1556
|
password: string;
|
|
1699
1557
|
} | undefined;
|
|
1700
1558
|
};
|
|
1701
|
-
reconnect?: {
|
|
1702
|
-
initialDelay: number;
|
|
1703
|
-
maxDelay: number;
|
|
1704
|
-
multiplier: number;
|
|
1705
|
-
maxAttempts: number;
|
|
1706
|
-
} | undefined;
|
|
1707
1559
|
} & {
|
|
1708
1560
|
exchanges: Array<{
|
|
1709
1561
|
name: string;
|
|
@@ -1740,24 +1592,20 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1740
1592
|
cron: {
|
|
1741
1593
|
name: string;
|
|
1742
1594
|
pattern: string;
|
|
1743
|
-
paused: boolean;
|
|
1744
|
-
catchErrors: boolean;
|
|
1745
1595
|
query?: string | undefined;
|
|
1746
1596
|
variables?: Record<string, unknown> | undefined;
|
|
1747
1597
|
timezone?: string | undefined;
|
|
1598
|
+
paused: boolean;
|
|
1748
1599
|
maxRuns?: number | undefined;
|
|
1749
1600
|
interval?: number | undefined;
|
|
1750
1601
|
startAt?: string | undefined;
|
|
1751
1602
|
stopAt?: string | undefined;
|
|
1752
1603
|
protect?: boolean | undefined;
|
|
1604
|
+
catchErrors: boolean;
|
|
1753
1605
|
context?: Record<string, any> | undefined;
|
|
1754
1606
|
onTick?: import("./zod/cron").TickCallback<Record<string, unknown>> | undefined;
|
|
1755
1607
|
}[];
|
|
1756
1608
|
operations: Record<string, {
|
|
1757
|
-
graphql: {
|
|
1758
|
-
enabled: boolean;
|
|
1759
|
-
name?: string | undefined;
|
|
1760
|
-
};
|
|
1761
1609
|
description?: string | undefined;
|
|
1762
1610
|
query?: string | undefined;
|
|
1763
1611
|
handler?: import("./zod/operation").OperationHandler<any, any, any> | undefined;
|
|
@@ -1770,147 +1618,56 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1770
1618
|
} | undefined;
|
|
1771
1619
|
rest?: {
|
|
1772
1620
|
path: string;
|
|
1773
|
-
method: "
|
|
1621
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
1774
1622
|
pathParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
1775
1623
|
queryParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
1776
1624
|
body?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
1777
1625
|
} | undefined;
|
|
1626
|
+
graphql: {
|
|
1627
|
+
enabled: boolean;
|
|
1628
|
+
name?: string | undefined;
|
|
1629
|
+
};
|
|
1778
1630
|
cache?: {
|
|
1779
|
-
updateAgeOnHas: boolean;
|
|
1780
|
-
ttlAutopurge: boolean;
|
|
1781
1631
|
max?: number | undefined;
|
|
1782
1632
|
maxSize?: number | undefined;
|
|
1783
1633
|
ttl?: number | undefined;
|
|
1784
1634
|
allowStale?: boolean | undefined;
|
|
1785
1635
|
updateAgeOnGet?: boolean | undefined;
|
|
1636
|
+
updateAgeOnHas: boolean;
|
|
1637
|
+
ttlAutopurge: boolean;
|
|
1786
1638
|
} | undefined;
|
|
1787
1639
|
}>;
|
|
1788
1640
|
remoteSchemas: {
|
|
1789
1641
|
name: string;
|
|
1790
1642
|
url: string;
|
|
1791
1643
|
enabled: boolean;
|
|
1792
|
-
timeout: number;
|
|
1793
1644
|
prefix?: string | undefined;
|
|
1794
1645
|
headers?: Record<string, string> | undefined;
|
|
1795
1646
|
forwardHeaders?: string[] | undefined;
|
|
1647
|
+
timeout: number;
|
|
1796
1648
|
introspection?: {
|
|
1797
1649
|
interval: number;
|
|
1798
1650
|
} | undefined;
|
|
1799
1651
|
}[];
|
|
1800
1652
|
remoteREST: {
|
|
1801
1653
|
name: string;
|
|
1802
|
-
enabled: boolean;
|
|
1803
|
-
timeout: number;
|
|
1804
1654
|
url?: string | undefined;
|
|
1805
1655
|
specUrl?: string | undefined;
|
|
1806
1656
|
specPath?: string | undefined;
|
|
1657
|
+
enabled: boolean;
|
|
1807
1658
|
prefix?: string | undefined;
|
|
1808
1659
|
headers?: Record<string, string> | undefined;
|
|
1809
1660
|
forwardHeaders?: string[] | undefined;
|
|
1661
|
+
timeout: number;
|
|
1810
1662
|
}[];
|
|
1811
1663
|
ai: {
|
|
1812
1664
|
enabled: boolean;
|
|
1665
|
+
systemPrompt?: string | undefined;
|
|
1813
1666
|
endpoint: string;
|
|
1814
1667
|
mcp: {
|
|
1815
1668
|
enabled: boolean;
|
|
1816
1669
|
};
|
|
1817
|
-
systemPrompt?: string | undefined;
|
|
1818
|
-
};
|
|
1819
|
-
} | undefined;
|
|
1820
|
-
prefix: string;
|
|
1821
|
-
enableCors: boolean;
|
|
1822
|
-
restApiPrefix: string;
|
|
1823
|
-
graphqlApiEndpoint: string;
|
|
1824
|
-
graphiqlEndpoint: string;
|
|
1825
|
-
scalarEndpoint: string;
|
|
1826
|
-
openApiEndpoint: string;
|
|
1827
|
-
authorizationHeader: string;
|
|
1828
|
-
anonymousRole: string;
|
|
1829
|
-
authStrategy: "jwt" | "paseto_local" | "paseto_public" | undefined;
|
|
1830
|
-
queryOnResponse: boolean;
|
|
1831
|
-
maxQueryDepth: number;
|
|
1832
|
-
admin: {
|
|
1833
|
-
secret: string;
|
|
1834
|
-
header: string;
|
|
1835
|
-
};
|
|
1836
|
-
jwt: {
|
|
1837
|
-
secret: string;
|
|
1838
|
-
expiresIn: string;
|
|
1839
|
-
rtExpiresIn: string;
|
|
1840
|
-
};
|
|
1841
|
-
paseto: {
|
|
1842
|
-
localKey: string;
|
|
1843
|
-
secretKey: string;
|
|
1844
|
-
publicKey: string;
|
|
1845
|
-
};
|
|
1846
|
-
cache: {
|
|
1847
|
-
store: "memory" | "redis";
|
|
1848
|
-
redisUrl: string;
|
|
1849
|
-
};
|
|
1850
|
-
schemas: {
|
|
1851
|
-
print: boolean;
|
|
1852
|
-
outputDir: string;
|
|
1853
|
-
};
|
|
1854
|
-
superadmin: {
|
|
1855
|
-
role: string;
|
|
1856
|
-
};
|
|
1857
|
-
console: {
|
|
1858
|
-
enabled: boolean;
|
|
1859
|
-
endpoint: string;
|
|
1860
|
-
};
|
|
1861
|
-
ai: {
|
|
1862
|
-
enabled: boolean | undefined;
|
|
1863
|
-
graphqlEnabled: boolean;
|
|
1864
|
-
restEnabled: boolean;
|
|
1865
|
-
mcp: {
|
|
1866
|
-
enabled: boolean | undefined;
|
|
1867
|
-
endpoint: string;
|
|
1868
|
-
requireAdminSecret: boolean;
|
|
1869
|
-
maxQueryDepth: number | undefined;
|
|
1870
|
-
disabledTools: string[];
|
|
1871
|
-
disabledResources: string[];
|
|
1872
|
-
disabledPrompts: string[];
|
|
1873
1670
|
};
|
|
1874
|
-
systemPrompt: string | undefined;
|
|
1875
|
-
promptTemplate: string | undefined;
|
|
1876
|
-
};
|
|
1877
|
-
}, {
|
|
1878
|
-
PORT: number;
|
|
1879
|
-
NODE_ENV: string;
|
|
1880
|
-
ADMIN_SECRET: string;
|
|
1881
|
-
ANONYMOUS_ROLE: string;
|
|
1882
|
-
JWT_SECRET: string;
|
|
1883
|
-
JWT_EXPIRES_IN: string;
|
|
1884
|
-
JWT_RT_EXPIRES_IN: string;
|
|
1885
|
-
PASETO_LOCAL_KEY: string;
|
|
1886
|
-
PASETO_SECRET_KEY: string;
|
|
1887
|
-
PASETO_PUBLIC_KEY: string;
|
|
1888
|
-
REDIS_URL: string;
|
|
1889
|
-
CACHE_STORE: "memory" | "redis";
|
|
1890
|
-
REST_API_PREFIX: string;
|
|
1891
|
-
GRAPHQL_API_ENDPOINT: string;
|
|
1892
|
-
ADMIN_SECRET_HEADER: string;
|
|
1893
|
-
AUTHORIZATION_HEADER: string;
|
|
1894
|
-
GRAPHIQL_ENDPOINT: string;
|
|
1895
|
-
SCALAR_ENDPOINT: string;
|
|
1896
|
-
OPENAPI_ENDPOINT: string;
|
|
1897
|
-
SUPERADMIN_ROLE: string;
|
|
1898
|
-
CONSOLE_ENABLED: boolean;
|
|
1899
|
-
CONSOLE_ENDPOINT: string;
|
|
1900
|
-
PREFIX: string;
|
|
1901
|
-
CORS_ENABLED: boolean;
|
|
1902
|
-
PRINT_SCHEMAS: boolean;
|
|
1903
|
-
SCHEMAS_OUTPUT_DIR: string;
|
|
1904
|
-
QUERY_ON_RESPONSE: boolean;
|
|
1905
|
-
MAX_QUERY_DEPTH: number;
|
|
1906
|
-
AI_GRAPHQL_ENABLED: boolean;
|
|
1907
|
-
AI_REST_ENABLED: boolean;
|
|
1908
|
-
AI_MCP_ENDPOINT: string;
|
|
1909
|
-
AI_MCP_REQUIRE_ADMIN_SECRET: boolean;
|
|
1910
|
-
AI_MCP_DISABLED_TOOLS: string;
|
|
1911
|
-
AI_MCP_DISABLED_RESOURCES: string;
|
|
1912
|
-
AI_MCP_DISABLED_PROMPTS: string;
|
|
1913
|
-
CONFIGURATION?: string | {
|
|
1914
1671
|
enabledDatabases: {
|
|
1915
1672
|
name: string;
|
|
1916
1673
|
enabled: boolean;
|
|
@@ -1945,14 +1702,14 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1945
1702
|
target: string;
|
|
1946
1703
|
}[];
|
|
1947
1704
|
conditions?: {
|
|
1948
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
1949
1705
|
source?: string | undefined;
|
|
1950
1706
|
target?: string | undefined;
|
|
1707
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
1951
1708
|
value?: string | number | boolean | undefined;
|
|
1952
1709
|
}[] | undefined;
|
|
1953
1710
|
}[];
|
|
1954
|
-
columnDescriptions: Record<string, string>;
|
|
1955
1711
|
description?: string | undefined;
|
|
1712
|
+
columnDescriptions: Record<string, string>;
|
|
1956
1713
|
}>;
|
|
1957
1714
|
excludedTables: string[];
|
|
1958
1715
|
} | undefined;
|
|
@@ -1962,6 +1719,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1962
1719
|
connectionTimeout: number;
|
|
1963
1720
|
maxLifetime: number;
|
|
1964
1721
|
tls: boolean;
|
|
1722
|
+
allowPublicKeyRetrieval: boolean;
|
|
1965
1723
|
prepare: boolean;
|
|
1966
1724
|
bigint: boolean;
|
|
1967
1725
|
} | {
|
|
@@ -1979,6 +1737,24 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
1979
1737
|
} | undefined;
|
|
1980
1738
|
}[];
|
|
1981
1739
|
auth: {
|
|
1740
|
+
enabled: boolean;
|
|
1741
|
+
database: string;
|
|
1742
|
+
schema: string;
|
|
1743
|
+
autoCreateTables: boolean;
|
|
1744
|
+
permissions: {
|
|
1745
|
+
[k: string]: {
|
|
1746
|
+
storedProcedures: "ALL" | string[];
|
|
1747
|
+
queues: "ALL" | string[];
|
|
1748
|
+
operations: "ALL" | string[];
|
|
1749
|
+
remoteSchemas: "ALL" | string[];
|
|
1750
|
+
remoteREST: "ALL" | string[];
|
|
1751
|
+
tables: "ALL" | {
|
|
1752
|
+
[x: string]: {
|
|
1753
|
+
columns: "ALL" | string[];
|
|
1754
|
+
} & import("./configuration").TableFilter;
|
|
1755
|
+
};
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1982
1758
|
databaseEntity: {
|
|
1983
1759
|
name: string;
|
|
1984
1760
|
enabled: boolean;
|
|
@@ -2013,14 +1789,14 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2013
1789
|
target: string;
|
|
2014
1790
|
}[];
|
|
2015
1791
|
conditions?: {
|
|
2016
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
2017
1792
|
source?: string | undefined;
|
|
2018
1793
|
target?: string | undefined;
|
|
1794
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
2019
1795
|
value?: string | number | boolean | undefined;
|
|
2020
1796
|
}[] | undefined;
|
|
2021
1797
|
}[];
|
|
2022
|
-
columnDescriptions: Record<string, string>;
|
|
2023
1798
|
description?: string | undefined;
|
|
1799
|
+
columnDescriptions: Record<string, string>;
|
|
2024
1800
|
}>;
|
|
2025
1801
|
excludedTables: string[];
|
|
2026
1802
|
} | undefined;
|
|
@@ -2030,6 +1806,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2030
1806
|
connectionTimeout: number;
|
|
2031
1807
|
maxLifetime: number;
|
|
2032
1808
|
tls: boolean;
|
|
1809
|
+
allowPublicKeyRetrieval: boolean;
|
|
2033
1810
|
prepare: boolean;
|
|
2034
1811
|
bigint: boolean;
|
|
2035
1812
|
} | {
|
|
@@ -2046,25 +1823,70 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2046
1823
|
parseJSON: boolean;
|
|
2047
1824
|
} | undefined;
|
|
2048
1825
|
};
|
|
2049
|
-
permissions: {
|
|
2050
|
-
[k: string]: {
|
|
2051
|
-
tables: "ALL" | {
|
|
2052
|
-
[x: string]: {
|
|
2053
|
-
columns: "ALL" | string[];
|
|
2054
|
-
} & import("./configuration").TableFilter;
|
|
2055
|
-
};
|
|
2056
|
-
storedProcedures: string[] | "ALL";
|
|
2057
|
-
queues: string[] | "ALL";
|
|
2058
|
-
operations: string[] | "ALL";
|
|
2059
|
-
remoteSchemas: string[] | "ALL";
|
|
2060
|
-
remoteREST: string[] | "ALL";
|
|
2061
|
-
};
|
|
2062
|
-
};
|
|
2063
|
-
enabled: boolean;
|
|
2064
|
-
database: string;
|
|
2065
|
-
schema: string;
|
|
2066
|
-
autoCreateTables: boolean;
|
|
2067
1826
|
};
|
|
1827
|
+
} | undefined;
|
|
1828
|
+
prefix: string;
|
|
1829
|
+
enableCors: boolean;
|
|
1830
|
+
restApiPrefix: string;
|
|
1831
|
+
graphqlApiEndpoint: string;
|
|
1832
|
+
graphiqlEndpoint: string;
|
|
1833
|
+
scalarEndpoint: string;
|
|
1834
|
+
openApiEndpoint: string;
|
|
1835
|
+
authorizationHeader: string;
|
|
1836
|
+
anonymousRole: string;
|
|
1837
|
+
authStrategy: "jwt" | "paseto_local" | "paseto_public" | undefined;
|
|
1838
|
+
queryOnResponse: boolean;
|
|
1839
|
+
maxQueryDepth: number;
|
|
1840
|
+
admin: {
|
|
1841
|
+
secret: string;
|
|
1842
|
+
header: string;
|
|
1843
|
+
};
|
|
1844
|
+
jwt: {
|
|
1845
|
+
secret: string;
|
|
1846
|
+
expiresIn: string;
|
|
1847
|
+
rtExpiresIn: string;
|
|
1848
|
+
};
|
|
1849
|
+
paseto: {
|
|
1850
|
+
localKey: string;
|
|
1851
|
+
secretKey: string;
|
|
1852
|
+
publicKey: string;
|
|
1853
|
+
};
|
|
1854
|
+
cache: {
|
|
1855
|
+
store: "memory" | "redis";
|
|
1856
|
+
redisUrl: string;
|
|
1857
|
+
};
|
|
1858
|
+
schemas: {
|
|
1859
|
+
print: boolean;
|
|
1860
|
+
outputDir: string;
|
|
1861
|
+
};
|
|
1862
|
+
superadmin: {
|
|
1863
|
+
role: string;
|
|
1864
|
+
};
|
|
1865
|
+
console: {
|
|
1866
|
+
enabled: boolean;
|
|
1867
|
+
endpoint: string;
|
|
1868
|
+
};
|
|
1869
|
+
ai: {
|
|
1870
|
+
enabled: boolean | undefined;
|
|
1871
|
+
graphqlEnabled: boolean;
|
|
1872
|
+
restEnabled: boolean;
|
|
1873
|
+
mcp: {
|
|
1874
|
+
enabled: boolean | undefined;
|
|
1875
|
+
endpoint: string;
|
|
1876
|
+
requireAdminSecret: boolean;
|
|
1877
|
+
maxQueryDepth: number | undefined;
|
|
1878
|
+
disabledTools: string[];
|
|
1879
|
+
disabledResources: string[];
|
|
1880
|
+
disabledPrompts: string[];
|
|
1881
|
+
};
|
|
1882
|
+
systemPrompt: string | undefined;
|
|
1883
|
+
promptTemplate: string | undefined;
|
|
1884
|
+
};
|
|
1885
|
+
}, {
|
|
1886
|
+
PORT: number;
|
|
1887
|
+
NODE_ENV: string;
|
|
1888
|
+
ADMIN_SECRET: string;
|
|
1889
|
+
CONFIGURATION?: string | {
|
|
2068
1890
|
name: string;
|
|
2069
1891
|
version: string;
|
|
2070
1892
|
tokenStrategy: "jwt" | "paseto_local" | "paseto_public";
|
|
@@ -2102,14 +1924,14 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2102
1924
|
target: string;
|
|
2103
1925
|
}[];
|
|
2104
1926
|
conditions?: {
|
|
2105
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
2106
1927
|
source?: string | undefined;
|
|
2107
1928
|
target?: string | undefined;
|
|
1929
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
2108
1930
|
value?: string | number | boolean | undefined;
|
|
2109
1931
|
}[] | undefined;
|
|
2110
1932
|
}[];
|
|
2111
|
-
columnDescriptions: Record<string, string>;
|
|
2112
1933
|
description?: string | undefined;
|
|
1934
|
+
columnDescriptions: Record<string, string>;
|
|
2113
1935
|
}>;
|
|
2114
1936
|
excludedTables: string[];
|
|
2115
1937
|
} | undefined;
|
|
@@ -2119,6 +1941,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2119
1941
|
connectionTimeout: number;
|
|
2120
1942
|
maxLifetime: number;
|
|
2121
1943
|
tls: boolean;
|
|
1944
|
+
allowPublicKeyRetrieval: boolean;
|
|
2122
1945
|
prepare: boolean;
|
|
2123
1946
|
bigint: boolean;
|
|
2124
1947
|
} | {
|
|
@@ -2139,10 +1962,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2139
1962
|
name: string;
|
|
2140
1963
|
autoSetup: boolean;
|
|
2141
1964
|
enabled: boolean;
|
|
1965
|
+
reconnect?: {
|
|
1966
|
+
initialDelay: number;
|
|
1967
|
+
maxDelay: number;
|
|
1968
|
+
multiplier: number;
|
|
1969
|
+
maxAttempts: number;
|
|
1970
|
+
} | undefined;
|
|
2142
1971
|
publishers: Record<string, {
|
|
2143
1972
|
topic: string;
|
|
2144
|
-
persistent: boolean;
|
|
2145
1973
|
routingKey?: string | undefined;
|
|
1974
|
+
persistent: boolean;
|
|
2146
1975
|
headers?: Record<string, string> | undefined;
|
|
2147
1976
|
}>;
|
|
2148
1977
|
subscribers: Record<string, {
|
|
@@ -2155,7 +1984,7 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2155
1984
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
2156
1985
|
}>;
|
|
2157
1986
|
topics: Record<string, {
|
|
2158
|
-
type: "
|
|
1987
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
2159
1988
|
durable: boolean;
|
|
2160
1989
|
autoDelete: boolean;
|
|
2161
1990
|
}>;
|
|
@@ -2163,16 +1992,10 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2163
1992
|
connection: string | {
|
|
2164
1993
|
hostname: string;
|
|
2165
1994
|
port: number;
|
|
2166
|
-
vhost: string;
|
|
2167
1995
|
username?: string | undefined;
|
|
2168
1996
|
password?: string | undefined;
|
|
1997
|
+
vhost: string;
|
|
2169
1998
|
};
|
|
2170
|
-
reconnect?: {
|
|
2171
|
-
initialDelay: number;
|
|
2172
|
-
maxDelay: number;
|
|
2173
|
-
multiplier: number;
|
|
2174
|
-
maxAttempts: number;
|
|
2175
|
-
} | undefined;
|
|
2176
1999
|
} & {
|
|
2177
2000
|
exchanges: Array<{
|
|
2178
2001
|
name: string;
|
|
@@ -2209,10 +2032,16 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2209
2032
|
name: string;
|
|
2210
2033
|
autoSetup: boolean;
|
|
2211
2034
|
enabled: boolean;
|
|
2035
|
+
reconnect?: {
|
|
2036
|
+
initialDelay: number;
|
|
2037
|
+
maxDelay: number;
|
|
2038
|
+
multiplier: number;
|
|
2039
|
+
maxAttempts: number;
|
|
2040
|
+
} | undefined;
|
|
2212
2041
|
publishers: Record<string, {
|
|
2213
2042
|
topic: string;
|
|
2214
|
-
persistent: boolean;
|
|
2215
2043
|
routingKey?: string | undefined;
|
|
2044
|
+
persistent: boolean;
|
|
2216
2045
|
headers?: Record<string, string> | undefined;
|
|
2217
2046
|
}>;
|
|
2218
2047
|
subscribers: Record<string, {
|
|
@@ -2225,27 +2054,21 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2225
2054
|
handler?: import("./zod/queue").SubscriberHandler | undefined;
|
|
2226
2055
|
}>;
|
|
2227
2056
|
topics: Record<string, {
|
|
2228
|
-
type: "
|
|
2057
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
2229
2058
|
durable: boolean;
|
|
2230
2059
|
autoDelete: boolean;
|
|
2231
2060
|
}>;
|
|
2232
2061
|
type: "kafka";
|
|
2233
2062
|
connection: string | {
|
|
2234
2063
|
brokers: string | string[];
|
|
2235
|
-
ssl: boolean;
|
|
2236
2064
|
clientId?: string | undefined;
|
|
2065
|
+
ssl: boolean;
|
|
2237
2066
|
sasl?: {
|
|
2238
2067
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
2239
2068
|
username: string;
|
|
2240
2069
|
password: string;
|
|
2241
2070
|
} | undefined;
|
|
2242
2071
|
};
|
|
2243
|
-
reconnect?: {
|
|
2244
|
-
initialDelay: number;
|
|
2245
|
-
maxDelay: number;
|
|
2246
|
-
multiplier: number;
|
|
2247
|
-
maxAttempts: number;
|
|
2248
|
-
} | undefined;
|
|
2249
2072
|
} & {
|
|
2250
2073
|
exchanges: Array<{
|
|
2251
2074
|
name: string;
|
|
@@ -2282,24 +2105,20 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2282
2105
|
cron: {
|
|
2283
2106
|
name: string;
|
|
2284
2107
|
pattern: string;
|
|
2285
|
-
paused: boolean;
|
|
2286
|
-
catchErrors: boolean;
|
|
2287
2108
|
query?: string | undefined;
|
|
2288
2109
|
variables?: Record<string, unknown> | undefined;
|
|
2289
2110
|
timezone?: string | undefined;
|
|
2111
|
+
paused: boolean;
|
|
2290
2112
|
maxRuns?: number | undefined;
|
|
2291
2113
|
interval?: number | undefined;
|
|
2292
2114
|
startAt?: string | undefined;
|
|
2293
2115
|
stopAt?: string | undefined;
|
|
2294
2116
|
protect?: boolean | undefined;
|
|
2117
|
+
catchErrors: boolean;
|
|
2295
2118
|
context?: Record<string, any> | undefined;
|
|
2296
2119
|
onTick?: import("./zod/cron").TickCallback<Record<string, unknown>> | undefined;
|
|
2297
2120
|
}[];
|
|
2298
2121
|
operations: Record<string, {
|
|
2299
|
-
graphql: {
|
|
2300
|
-
enabled: boolean;
|
|
2301
|
-
name?: string | undefined;
|
|
2302
|
-
};
|
|
2303
2122
|
description?: string | undefined;
|
|
2304
2123
|
query?: string | undefined;
|
|
2305
2124
|
handler?: import("./zod/operation").OperationHandler<any, any, any> | undefined;
|
|
@@ -2312,57 +2131,249 @@ export declare const EnvZod: z.ZodPipe<z.ZodObject<{
|
|
|
2312
2131
|
} | undefined;
|
|
2313
2132
|
rest?: {
|
|
2314
2133
|
path: string;
|
|
2315
|
-
method: "
|
|
2134
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
2316
2135
|
pathParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
2317
2136
|
queryParams?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
2318
2137
|
body?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
2319
2138
|
} | undefined;
|
|
2139
|
+
graphql: {
|
|
2140
|
+
enabled: boolean;
|
|
2141
|
+
name?: string | undefined;
|
|
2142
|
+
};
|
|
2320
2143
|
cache?: {
|
|
2321
|
-
updateAgeOnHas: boolean;
|
|
2322
|
-
ttlAutopurge: boolean;
|
|
2323
2144
|
max?: number | undefined;
|
|
2324
2145
|
maxSize?: number | undefined;
|
|
2325
2146
|
ttl?: number | undefined;
|
|
2326
2147
|
allowStale?: boolean | undefined;
|
|
2327
2148
|
updateAgeOnGet?: boolean | undefined;
|
|
2149
|
+
updateAgeOnHas: boolean;
|
|
2150
|
+
ttlAutopurge: boolean;
|
|
2328
2151
|
} | undefined;
|
|
2329
2152
|
}>;
|
|
2330
2153
|
remoteSchemas: {
|
|
2331
2154
|
name: string;
|
|
2332
2155
|
url: string;
|
|
2333
2156
|
enabled: boolean;
|
|
2334
|
-
timeout: number;
|
|
2335
2157
|
prefix?: string | undefined;
|
|
2336
2158
|
headers?: Record<string, string> | undefined;
|
|
2337
2159
|
forwardHeaders?: string[] | undefined;
|
|
2160
|
+
timeout: number;
|
|
2338
2161
|
introspection?: {
|
|
2339
2162
|
interval: number;
|
|
2340
2163
|
} | undefined;
|
|
2341
2164
|
}[];
|
|
2342
2165
|
remoteREST: {
|
|
2343
2166
|
name: string;
|
|
2344
|
-
enabled: boolean;
|
|
2345
|
-
timeout: number;
|
|
2346
2167
|
url?: string | undefined;
|
|
2347
2168
|
specUrl?: string | undefined;
|
|
2348
2169
|
specPath?: string | undefined;
|
|
2170
|
+
enabled: boolean;
|
|
2349
2171
|
prefix?: string | undefined;
|
|
2350
2172
|
headers?: Record<string, string> | undefined;
|
|
2351
2173
|
forwardHeaders?: string[] | undefined;
|
|
2174
|
+
timeout: number;
|
|
2352
2175
|
}[];
|
|
2353
2176
|
ai: {
|
|
2354
2177
|
enabled: boolean;
|
|
2178
|
+
systemPrompt?: string | undefined;
|
|
2355
2179
|
endpoint: string;
|
|
2356
2180
|
mcp: {
|
|
2357
2181
|
enabled: boolean;
|
|
2358
2182
|
};
|
|
2359
|
-
|
|
2183
|
+
};
|
|
2184
|
+
enabledDatabases: {
|
|
2185
|
+
name: string;
|
|
2186
|
+
enabled: boolean;
|
|
2187
|
+
type: "mssql" | "mysql" | "pg";
|
|
2188
|
+
connection: {
|
|
2189
|
+
host: string;
|
|
2190
|
+
port: number;
|
|
2191
|
+
user: string;
|
|
2192
|
+
password: string;
|
|
2193
|
+
database: string;
|
|
2194
|
+
};
|
|
2195
|
+
fieldNaming: string;
|
|
2196
|
+
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
2197
|
+
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
2198
|
+
schema?: {
|
|
2199
|
+
database: Record<string, {
|
|
2200
|
+
columns: {
|
|
2201
|
+
name: string;
|
|
2202
|
+
dataType: string;
|
|
2203
|
+
isNullable: boolean;
|
|
2204
|
+
description: string | null;
|
|
2205
|
+
virtual?: boolean | undefined;
|
|
2206
|
+
function?: string | undefined;
|
|
2207
|
+
params?: string[] | undefined;
|
|
2208
|
+
expression?: string | undefined;
|
|
2209
|
+
}[];
|
|
2210
|
+
relationships: {
|
|
2211
|
+
schema: string;
|
|
2212
|
+
name: string;
|
|
2213
|
+
columns: {
|
|
2214
|
+
source: string;
|
|
2215
|
+
target: string;
|
|
2216
|
+
}[];
|
|
2217
|
+
conditions?: {
|
|
2218
|
+
source?: string | undefined;
|
|
2219
|
+
target?: string | undefined;
|
|
2220
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
2221
|
+
value?: string | number | boolean | undefined;
|
|
2222
|
+
}[] | undefined;
|
|
2223
|
+
}[];
|
|
2224
|
+
description?: string | undefined;
|
|
2225
|
+
columnDescriptions: Record<string, string>;
|
|
2226
|
+
}>;
|
|
2227
|
+
excludedTables: string[];
|
|
2228
|
+
} | undefined;
|
|
2229
|
+
connectionOptions?: {
|
|
2230
|
+
max: number;
|
|
2231
|
+
idleTimeout: number;
|
|
2232
|
+
connectionTimeout: number;
|
|
2233
|
+
maxLifetime: number;
|
|
2234
|
+
tls: boolean;
|
|
2235
|
+
allowPublicKeyRetrieval: boolean;
|
|
2236
|
+
prepare: boolean;
|
|
2237
|
+
bigint: boolean;
|
|
2238
|
+
} | {
|
|
2239
|
+
pool: {
|
|
2240
|
+
max: number;
|
|
2241
|
+
min: number;
|
|
2242
|
+
idleTimeout: number;
|
|
2243
|
+
};
|
|
2244
|
+
connectionTimeout: number;
|
|
2245
|
+
requestTimeout: number;
|
|
2246
|
+
encrypt: boolean;
|
|
2247
|
+
trustServerCertificate: boolean;
|
|
2248
|
+
trustedConnection: boolean;
|
|
2249
|
+
parseJSON: boolean;
|
|
2250
|
+
} | undefined;
|
|
2251
|
+
}[];
|
|
2252
|
+
auth: {
|
|
2253
|
+
enabled: boolean;
|
|
2254
|
+
database: string;
|
|
2255
|
+
schema: string;
|
|
2256
|
+
autoCreateTables: boolean;
|
|
2257
|
+
permissions: {
|
|
2258
|
+
[k: string]: {
|
|
2259
|
+
storedProcedures: "ALL" | string[];
|
|
2260
|
+
queues: "ALL" | string[];
|
|
2261
|
+
operations: "ALL" | string[];
|
|
2262
|
+
remoteSchemas: "ALL" | string[];
|
|
2263
|
+
remoteREST: "ALL" | string[];
|
|
2264
|
+
tables: "ALL" | {
|
|
2265
|
+
[x: string]: {
|
|
2266
|
+
columns: "ALL" | string[];
|
|
2267
|
+
} & import("./configuration").TableFilter;
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
};
|
|
2271
|
+
databaseEntity: {
|
|
2272
|
+
name: string;
|
|
2273
|
+
enabled: boolean;
|
|
2274
|
+
type: "mssql" | "mysql" | "pg";
|
|
2275
|
+
connection: {
|
|
2276
|
+
host: string;
|
|
2277
|
+
port: number;
|
|
2278
|
+
user: string;
|
|
2279
|
+
password: string;
|
|
2280
|
+
database: string;
|
|
2281
|
+
};
|
|
2282
|
+
fieldNaming: string;
|
|
2283
|
+
repository?: import("../config").CustomRepositoryFactory<import("./zod/db").DatabaseType> | undefined;
|
|
2284
|
+
onConnect?: import("../config").OnConnectHandler<import("./zod/db").DatabaseType> | undefined;
|
|
2285
|
+
schema?: {
|
|
2286
|
+
database: Record<string, {
|
|
2287
|
+
columns: {
|
|
2288
|
+
name: string;
|
|
2289
|
+
dataType: string;
|
|
2290
|
+
isNullable: boolean;
|
|
2291
|
+
description: string | null;
|
|
2292
|
+
virtual?: boolean | undefined;
|
|
2293
|
+
function?: string | undefined;
|
|
2294
|
+
params?: string[] | undefined;
|
|
2295
|
+
expression?: string | undefined;
|
|
2296
|
+
}[];
|
|
2297
|
+
relationships: {
|
|
2298
|
+
schema: string;
|
|
2299
|
+
name: string;
|
|
2300
|
+
columns: {
|
|
2301
|
+
source: string;
|
|
2302
|
+
target: string;
|
|
2303
|
+
}[];
|
|
2304
|
+
conditions?: {
|
|
2305
|
+
source?: string | undefined;
|
|
2306
|
+
target?: string | undefined;
|
|
2307
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
2308
|
+
value?: string | number | boolean | undefined;
|
|
2309
|
+
}[] | undefined;
|
|
2310
|
+
}[];
|
|
2311
|
+
description?: string | undefined;
|
|
2312
|
+
columnDescriptions: Record<string, string>;
|
|
2313
|
+
}>;
|
|
2314
|
+
excludedTables: string[];
|
|
2315
|
+
} | undefined;
|
|
2316
|
+
connectionOptions?: {
|
|
2317
|
+
max: number;
|
|
2318
|
+
idleTimeout: number;
|
|
2319
|
+
connectionTimeout: number;
|
|
2320
|
+
maxLifetime: number;
|
|
2321
|
+
tls: boolean;
|
|
2322
|
+
allowPublicKeyRetrieval: boolean;
|
|
2323
|
+
prepare: boolean;
|
|
2324
|
+
bigint: boolean;
|
|
2325
|
+
} | {
|
|
2326
|
+
pool: {
|
|
2327
|
+
max: number;
|
|
2328
|
+
min: number;
|
|
2329
|
+
idleTimeout: number;
|
|
2330
|
+
};
|
|
2331
|
+
connectionTimeout: number;
|
|
2332
|
+
requestTimeout: number;
|
|
2333
|
+
encrypt: boolean;
|
|
2334
|
+
trustServerCertificate: boolean;
|
|
2335
|
+
trustedConnection: boolean;
|
|
2336
|
+
parseJSON: boolean;
|
|
2337
|
+
} | undefined;
|
|
2338
|
+
};
|
|
2360
2339
|
};
|
|
2361
2340
|
} | undefined;
|
|
2341
|
+
ANONYMOUS_ROLE: string;
|
|
2342
|
+
JWT_SECRET: string;
|
|
2343
|
+
JWT_EXPIRES_IN: string;
|
|
2344
|
+
JWT_RT_EXPIRES_IN: string;
|
|
2345
|
+
PASETO_LOCAL_KEY: string;
|
|
2346
|
+
PASETO_SECRET_KEY: string;
|
|
2347
|
+
PASETO_PUBLIC_KEY: string;
|
|
2362
2348
|
AUTH_STRATEGY?: "jwt" | "paseto_local" | "paseto_public" | undefined;
|
|
2349
|
+
REDIS_URL: string;
|
|
2350
|
+
CACHE_STORE: "memory" | "redis";
|
|
2351
|
+
REST_API_PREFIX: string;
|
|
2352
|
+
GRAPHQL_API_ENDPOINT: string;
|
|
2353
|
+
ADMIN_SECRET_HEADER: string;
|
|
2354
|
+
AUTHORIZATION_HEADER: string;
|
|
2355
|
+
GRAPHIQL_ENDPOINT: string;
|
|
2356
|
+
SCALAR_ENDPOINT: string;
|
|
2357
|
+
OPENAPI_ENDPOINT: string;
|
|
2358
|
+
SUPERADMIN_ROLE: string;
|
|
2359
|
+
CONSOLE_ENABLED: boolean;
|
|
2360
|
+
CONSOLE_ENDPOINT: string;
|
|
2361
|
+
PREFIX: string;
|
|
2362
|
+
CORS_ENABLED: boolean;
|
|
2363
|
+
PRINT_SCHEMAS: boolean;
|
|
2364
|
+
SCHEMAS_OUTPUT_DIR: string;
|
|
2365
|
+
QUERY_ON_RESPONSE: boolean;
|
|
2366
|
+
MAX_QUERY_DEPTH: number;
|
|
2363
2367
|
AI_ENABLED?: boolean | undefined;
|
|
2368
|
+
AI_GRAPHQL_ENABLED: boolean;
|
|
2369
|
+
AI_REST_ENABLED: boolean;
|
|
2364
2370
|
AI_MCP_ENABLED?: boolean | undefined;
|
|
2371
|
+
AI_MCP_ENDPOINT: string;
|
|
2372
|
+
AI_MCP_REQUIRE_ADMIN_SECRET: boolean;
|
|
2365
2373
|
AI_MCP_MAX_QUERY_DEPTH?: number | undefined;
|
|
2374
|
+
AI_MCP_DISABLED_TOOLS: string;
|
|
2375
|
+
AI_MCP_DISABLED_RESOURCES: string;
|
|
2376
|
+
AI_MCP_DISABLED_PROMPTS: string;
|
|
2366
2377
|
AI_SYSTEM_PROMPT?: string | undefined;
|
|
2367
2378
|
AI_PROMPT_TEMPLATE?: string | undefined;
|
|
2368
2379
|
}>>;
|