@graphoria/server 0.2.1 → 0.2.3
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/ai.d.ts +0 -6
- package/dist/src/config/types/ai.d.ts.map +1 -1
- package/dist/src/config/types/auth.d.ts +11 -34
- 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/cron.d.ts +0 -94
- package/dist/src/config/types/cron.d.ts.map +1 -1
- package/dist/src/config/types/db.d.ts +22 -93
- 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 -51
- package/dist/src/config/types/queue.d.ts.map +1 -1
- package/dist/src/config/types/remote-rest.d.ts +0 -9
- package/dist/src/config/types/remote-rest.d.ts.map +1 -1
- package/dist/src/config/types/remote-schema.d.ts +0 -10
- package/dist/src/config/types/remote-schema.d.ts.map +1 -1
- 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 +1 -1
- package/dist/src/cron/index.d.ts.map +1 -1
- package/dist/src/cron/index.test.d.ts +2 -0
- package/dist/src/cron/index.test.d.ts.map +1 -0
- 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 +17 -17
- package/playgrounds/console/index.html +18 -15
- package/playgrounds/graphiql/index.html +855 -624
- package/playgrounds/scalar/index.html +5 -5
- 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/cron/index.ts +6 -2
- 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
|
@@ -3,23 +3,14 @@ import { z } from "zod";
|
|
|
3
3
|
* Remote REST API configuration (OpenAPI-based)
|
|
4
4
|
*/
|
|
5
5
|
export declare const RemoteRESTConfigZod: z.ZodObject<{
|
|
6
|
-
/** Unique identifier for this remote REST API */
|
|
7
6
|
name: z.ZodString;
|
|
8
|
-
/** Base URL of the remote API for proxying requests */
|
|
9
7
|
url: z.ZodOptional<z.ZodURL>;
|
|
10
|
-
/** URL to fetch the OpenAPI spec from */
|
|
11
8
|
specUrl: z.ZodOptional<z.ZodURL>;
|
|
12
|
-
/** Local file path to the OpenAPI spec (JSON or YAML) */
|
|
13
9
|
specPath: z.ZodOptional<z.ZodString>;
|
|
14
|
-
/** Whether the remote REST API is enabled (default: true) */
|
|
15
10
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16
|
-
/** Subpath prefix under /rest (default: name) */
|
|
17
11
|
prefix: z.ZodOptional<z.ZodString>;
|
|
18
|
-
/** Static headers to send with every proxied request */
|
|
19
12
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
20
|
-
/** Client headers to forward to the remote endpoint */
|
|
21
13
|
forwardHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
-
/** Request timeout in milliseconds (default: 10000) */
|
|
23
14
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
24
15
|
}, z.core.$strict>;
|
|
25
16
|
/** Authoring type for remote REST API config */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-rest.d.ts","sourceRoot":"","sources":["../../../../src/config/types/remote-rest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"remote-rest.d.ts","sourceRoot":"","sources":["../../../../src/config/types/remote-rest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;kBAmB9B,CAAC;AAEH,gDAAgD;AAChD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { z } from "zod";
|
|
|
3
3
|
* Remote GraphQL schema introspection configuration
|
|
4
4
|
*/
|
|
5
5
|
export declare const RemoteSchemaIntrospectionConfigZod: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
/** Re-introspect interval in ms (0 = only at startup, default: 0) */
|
|
7
6
|
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8
7
|
}, z.core.$strict>>;
|
|
9
8
|
/** Authoring type for remote schema introspection config */
|
|
@@ -12,23 +11,14 @@ export type RemoteSchemaIntrospectionConfig = z.input<typeof RemoteSchemaIntrosp
|
|
|
12
11
|
* Remote GraphQL schema configuration
|
|
13
12
|
*/
|
|
14
13
|
export declare const RemoteSchemaConfigZod: z.ZodObject<{
|
|
15
|
-
/** Unique identifier for this remote schema */
|
|
16
14
|
name: z.ZodString;
|
|
17
|
-
/** Remote GraphQL endpoint URL */
|
|
18
15
|
url: z.ZodURL;
|
|
19
|
-
/** Whether the remote schema is enabled (default: true) */
|
|
20
16
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
21
|
-
/** Type/field prefix (default: name + "_") */
|
|
22
17
|
prefix: z.ZodOptional<z.ZodString>;
|
|
23
|
-
/** Static headers to send with every request */
|
|
24
18
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
25
|
-
/** Client headers to forward to the remote endpoint */
|
|
26
19
|
forwardHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
-
/** Request timeout in milliseconds (default: 10000) */
|
|
28
20
|
timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
29
|
-
/** Introspection configuration */
|
|
30
21
|
introspection: z.ZodOptional<z.ZodObject<{
|
|
31
|
-
/** Re-introspect interval in ms (0 = only at startup, default: 0) */
|
|
32
22
|
interval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
33
23
|
}, z.core.$strict>>;
|
|
34
24
|
}, z.core.$strict>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-schema.d.ts","sourceRoot":"","sources":["../../../../src/config/types/remote-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,kCAAkC
|
|
1
|
+
{"version":3,"file":"remote-schema.d.ts","sourceRoot":"","sources":["../../../../src/config/types/remote-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,kCAAkC;;mBAKlC,CAAC;AAEd,4DAA4D;AAC5D,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAEjG;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;kBAiBhC,CAAC;AAEH,sDAAsD;AACtD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -37,6 +37,9 @@ export declare const getHandlers: (entities: MergedEntities, gqlEntities: GetGQL
|
|
|
37
37
|
};
|
|
38
38
|
export type GetInformationAndHandlerReturn = Awaited<ReturnType<typeof getHandlers>>;
|
|
39
39
|
export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | null, gqlSuperadminHandler?: HandleGraphQLRequest | null, includeAI?: boolean) => {
|
|
40
|
+
typeDefs: string;
|
|
41
|
+
schema: GraphQLSchema;
|
|
42
|
+
introspection: import("graphql").IntrospectionQuery;
|
|
40
43
|
handlers: {
|
|
41
44
|
gql: {
|
|
42
45
|
isIntrospectionQuery: (query: string) => boolean;
|
|
@@ -62,9 +65,6 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
62
65
|
handler: (url: URL, pathname: string, method: string | undefined, req: Bun.BunRequest, session?: import("../../utils/sessionVariables").SessionContext) => Promise<Response>;
|
|
63
66
|
};
|
|
64
67
|
};
|
|
65
|
-
typeDefs: string;
|
|
66
|
-
schema: GraphQLSchema;
|
|
67
|
-
introspection: import("graphql").IntrospectionQuery;
|
|
68
68
|
entityOfRole: EntitiesOfRole;
|
|
69
69
|
ai: boolean;
|
|
70
70
|
queriesMap: Record<string, import("../../types/db").TableResolver>;
|
|
@@ -103,14 +103,14 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
103
103
|
target: string;
|
|
104
104
|
}[];
|
|
105
105
|
conditions?: {
|
|
106
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
107
106
|
source?: string | undefined;
|
|
108
107
|
target?: string | undefined;
|
|
108
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
109
109
|
value?: string | number | boolean | undefined;
|
|
110
110
|
}[] | undefined;
|
|
111
111
|
}[];
|
|
112
|
-
columnDescriptions: Record<string, string>;
|
|
113
112
|
description?: string | undefined;
|
|
113
|
+
columnDescriptions: Record<string, string>;
|
|
114
114
|
}>;
|
|
115
115
|
excludedTables: string[];
|
|
116
116
|
} | undefined;
|
|
@@ -120,6 +120,7 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
120
120
|
connectionTimeout: number;
|
|
121
121
|
maxLifetime: number;
|
|
122
122
|
tls: boolean;
|
|
123
|
+
allowPublicKeyRetrieval: boolean;
|
|
123
124
|
prepare: boolean;
|
|
124
125
|
bigint: boolean;
|
|
125
126
|
} | {
|
|
@@ -140,11 +141,10 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
140
141
|
resolverName: string;
|
|
141
142
|
dottedName: string;
|
|
142
143
|
dottedQuotedName: string;
|
|
143
|
-
dashedName: string;
|
|
144
|
-
dashedNameLS: string;
|
|
145
|
-
schemaName: string;
|
|
146
144
|
schema: string;
|
|
147
145
|
name: string;
|
|
146
|
+
signature?: string | undefined;
|
|
147
|
+
type?: string | undefined;
|
|
148
148
|
parameters: {
|
|
149
149
|
name: string;
|
|
150
150
|
dataType: string | null;
|
|
@@ -152,8 +152,9 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
152
152
|
precision: number;
|
|
153
153
|
scale: number;
|
|
154
154
|
}[];
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
dashedName: string;
|
|
156
|
+
dashedNameLS: string;
|
|
157
|
+
schemaName: string;
|
|
157
158
|
}>;
|
|
158
159
|
queuesMap: Record<string, {
|
|
159
160
|
name: string;
|
|
@@ -210,14 +211,14 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
210
211
|
target: string;
|
|
211
212
|
}[];
|
|
212
213
|
conditions?: {
|
|
213
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
214
214
|
source?: string | undefined;
|
|
215
215
|
target?: string | undefined;
|
|
216
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
216
217
|
value?: string | number | boolean | undefined;
|
|
217
218
|
}[] | undefined;
|
|
218
219
|
}[];
|
|
219
|
-
columnDescriptions: Record<string, string>;
|
|
220
220
|
description?: string | undefined;
|
|
221
|
+
columnDescriptions: Record<string, string>;
|
|
221
222
|
}>;
|
|
222
223
|
excludedTables: string[];
|
|
223
224
|
} | undefined;
|
|
@@ -227,6 +228,7 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
227
228
|
connectionTimeout: number;
|
|
228
229
|
maxLifetime: number;
|
|
229
230
|
tls: boolean;
|
|
231
|
+
allowPublicKeyRetrieval: boolean;
|
|
230
232
|
prepare: boolean;
|
|
231
233
|
bigint: boolean;
|
|
232
234
|
} | {
|
|
@@ -247,11 +249,10 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
247
249
|
resolverName: string;
|
|
248
250
|
dottedName: string;
|
|
249
251
|
dottedQuotedName: string;
|
|
250
|
-
dashedName: string;
|
|
251
|
-
dashedNameLS: string;
|
|
252
|
-
schemaName: string;
|
|
253
252
|
schema: string;
|
|
254
253
|
name: string;
|
|
254
|
+
signature?: string | undefined;
|
|
255
|
+
type?: string | undefined;
|
|
255
256
|
parameters: {
|
|
256
257
|
name: string;
|
|
257
258
|
dataType: string | null;
|
|
@@ -259,17 +260,24 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
259
260
|
precision: number;
|
|
260
261
|
scale: number;
|
|
261
262
|
}[];
|
|
262
|
-
|
|
263
|
-
|
|
263
|
+
dashedName: string;
|
|
264
|
+
dashedNameLS: string;
|
|
265
|
+
schemaName: string;
|
|
264
266
|
}[];
|
|
265
267
|
queues: (({
|
|
266
268
|
name: string;
|
|
267
269
|
autoSetup: boolean;
|
|
268
270
|
enabled: boolean;
|
|
271
|
+
reconnect?: {
|
|
272
|
+
initialDelay: number;
|
|
273
|
+
maxDelay: number;
|
|
274
|
+
multiplier: number;
|
|
275
|
+
maxAttempts: number;
|
|
276
|
+
} | undefined;
|
|
269
277
|
publishers: Record<string, {
|
|
270
278
|
topic: string;
|
|
271
|
-
persistent: boolean;
|
|
272
279
|
routingKey?: string | undefined;
|
|
280
|
+
persistent: boolean;
|
|
273
281
|
headers?: Record<string, string> | undefined;
|
|
274
282
|
}>;
|
|
275
283
|
subscribers: Record<string, {
|
|
@@ -282,7 +290,7 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
282
290
|
handler?: import("../../config").SubscriberHandler | undefined;
|
|
283
291
|
}>;
|
|
284
292
|
topics: Record<string, {
|
|
285
|
-
type: "
|
|
293
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
286
294
|
durable: boolean;
|
|
287
295
|
autoDelete: boolean;
|
|
288
296
|
}>;
|
|
@@ -290,16 +298,10 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
290
298
|
connection: string | {
|
|
291
299
|
hostname: string;
|
|
292
300
|
port: number;
|
|
293
|
-
vhost: string;
|
|
294
301
|
username?: string | undefined;
|
|
295
302
|
password?: string | undefined;
|
|
303
|
+
vhost: string;
|
|
296
304
|
};
|
|
297
|
-
reconnect?: {
|
|
298
|
-
initialDelay: number;
|
|
299
|
-
maxDelay: number;
|
|
300
|
-
multiplier: number;
|
|
301
|
-
maxAttempts: number;
|
|
302
|
-
} | undefined;
|
|
303
305
|
} & {
|
|
304
306
|
exchanges: Array<{
|
|
305
307
|
name: string;
|
|
@@ -336,10 +338,16 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
336
338
|
name: string;
|
|
337
339
|
autoSetup: boolean;
|
|
338
340
|
enabled: boolean;
|
|
341
|
+
reconnect?: {
|
|
342
|
+
initialDelay: number;
|
|
343
|
+
maxDelay: number;
|
|
344
|
+
multiplier: number;
|
|
345
|
+
maxAttempts: number;
|
|
346
|
+
} | undefined;
|
|
339
347
|
publishers: Record<string, {
|
|
340
348
|
topic: string;
|
|
341
|
-
persistent: boolean;
|
|
342
349
|
routingKey?: string | undefined;
|
|
350
|
+
persistent: boolean;
|
|
343
351
|
headers?: Record<string, string> | undefined;
|
|
344
352
|
}>;
|
|
345
353
|
subscribers: Record<string, {
|
|
@@ -352,27 +360,21 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
352
360
|
handler?: import("../../config").SubscriberHandler | undefined;
|
|
353
361
|
}>;
|
|
354
362
|
topics: Record<string, {
|
|
355
|
-
type: "
|
|
363
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
356
364
|
durable: boolean;
|
|
357
365
|
autoDelete: boolean;
|
|
358
366
|
}>;
|
|
359
367
|
type: "kafka";
|
|
360
368
|
connection: string | {
|
|
361
369
|
brokers: string | string[];
|
|
362
|
-
ssl: boolean;
|
|
363
370
|
clientId?: string | undefined;
|
|
371
|
+
ssl: boolean;
|
|
364
372
|
sasl?: {
|
|
365
373
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
366
374
|
username: string;
|
|
367
375
|
password: string;
|
|
368
376
|
} | undefined;
|
|
369
377
|
};
|
|
370
|
-
reconnect?: {
|
|
371
|
-
initialDelay: number;
|
|
372
|
-
maxDelay: number;
|
|
373
|
-
multiplier: number;
|
|
374
|
-
maxAttempts: number;
|
|
375
|
-
} | undefined;
|
|
376
378
|
} & {
|
|
377
379
|
exchanges: Array<{
|
|
378
380
|
name: string;
|
|
@@ -407,10 +409,6 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
407
409
|
}>;
|
|
408
410
|
}))[];
|
|
409
411
|
operations: Record<string, {
|
|
410
|
-
graphql: {
|
|
411
|
-
enabled: boolean;
|
|
412
|
-
name?: string | undefined;
|
|
413
|
-
};
|
|
414
412
|
description?: string | undefined;
|
|
415
413
|
query?: string | undefined;
|
|
416
414
|
handler?: import("../../config").OperationHandler<any, any, any> | undefined;
|
|
@@ -423,19 +421,23 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
423
421
|
} | undefined;
|
|
424
422
|
rest?: {
|
|
425
423
|
path: string;
|
|
426
|
-
method: "
|
|
424
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
427
425
|
pathParams?: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
428
426
|
queryParams?: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
429
427
|
body?: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
430
428
|
} | undefined;
|
|
429
|
+
graphql: {
|
|
430
|
+
enabled: boolean;
|
|
431
|
+
name?: string | undefined;
|
|
432
|
+
};
|
|
431
433
|
cache?: {
|
|
432
|
-
updateAgeOnHas: boolean;
|
|
433
|
-
ttlAutopurge: boolean;
|
|
434
434
|
max?: number | undefined;
|
|
435
435
|
maxSize?: number | undefined;
|
|
436
436
|
ttl?: number | undefined;
|
|
437
437
|
allowStale?: boolean | undefined;
|
|
438
438
|
updateAgeOnGet?: boolean | undefined;
|
|
439
|
+
updateAgeOnHas: boolean;
|
|
440
|
+
ttlAutopurge: boolean;
|
|
439
441
|
} | undefined;
|
|
440
442
|
}>;
|
|
441
443
|
resolverRegistry: import("../../types/resolver").ResolverRegistry;
|
|
@@ -443,11 +445,6 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
443
445
|
getResolverEntry: (resolverName: string) => import("../../types/resolver").ResolverEntry;
|
|
444
446
|
getForeignKeysBetweenTables: (table1: string, table2: string) => {
|
|
445
447
|
relationships: {
|
|
446
|
-
internalName: string;
|
|
447
|
-
fromInternalName: string;
|
|
448
|
-
toInternalName: string;
|
|
449
|
-
fromResolverName: string;
|
|
450
|
-
toResolverName: string;
|
|
451
448
|
schema: string;
|
|
452
449
|
name: string;
|
|
453
450
|
columns: {
|
|
@@ -455,18 +452,18 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
455
452
|
target: string;
|
|
456
453
|
}[];
|
|
457
454
|
conditions?: {
|
|
458
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
459
455
|
source?: string | undefined;
|
|
460
456
|
target?: string | undefined;
|
|
457
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
461
458
|
value?: string | number | boolean | undefined;
|
|
462
459
|
}[] | undefined;
|
|
463
|
-
}[];
|
|
464
|
-
relationshipsReversed: {
|
|
465
460
|
internalName: string;
|
|
466
461
|
fromInternalName: string;
|
|
467
462
|
toInternalName: string;
|
|
468
463
|
fromResolverName: string;
|
|
469
464
|
toResolverName: string;
|
|
465
|
+
}[];
|
|
466
|
+
relationshipsReversed: {
|
|
470
467
|
schema: string;
|
|
471
468
|
name: string;
|
|
472
469
|
columns: {
|
|
@@ -474,11 +471,16 @@ export declare const getSchema: (entityOfRole: EntitiesOfRole, auth?: Auth | nul
|
|
|
474
471
|
target: string;
|
|
475
472
|
}[];
|
|
476
473
|
conditions?: {
|
|
477
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
478
474
|
source?: string | undefined;
|
|
479
475
|
target?: string | undefined;
|
|
476
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
480
477
|
value?: string | number | boolean | undefined;
|
|
481
478
|
}[] | undefined;
|
|
479
|
+
internalName: string;
|
|
480
|
+
fromInternalName: string;
|
|
481
|
+
toInternalName: string;
|
|
482
|
+
fromResolverName: string;
|
|
483
|
+
toResolverName: string;
|
|
482
484
|
}[];
|
|
483
485
|
};
|
|
484
486
|
isVirtualColumn: (table: string, column: string) => import("../../types/configuration").VirtualColumn | undefined;
|
|
@@ -525,14 +527,14 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
525
527
|
target: string;
|
|
526
528
|
}[];
|
|
527
529
|
conditions?: {
|
|
528
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
529
530
|
source?: string | undefined;
|
|
530
531
|
target?: string | undefined;
|
|
532
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
531
533
|
value?: string | number | boolean | undefined;
|
|
532
534
|
}[] | undefined;
|
|
533
535
|
}[];
|
|
534
|
-
columnDescriptions: Record<string, string>;
|
|
535
536
|
description?: string | undefined;
|
|
537
|
+
columnDescriptions: Record<string, string>;
|
|
536
538
|
}>;
|
|
537
539
|
excludedTables: string[];
|
|
538
540
|
} | undefined;
|
|
@@ -542,6 +544,7 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
542
544
|
connectionTimeout: number;
|
|
543
545
|
maxLifetime: number;
|
|
544
546
|
tls: boolean;
|
|
547
|
+
allowPublicKeyRetrieval: boolean;
|
|
545
548
|
prepare: boolean;
|
|
546
549
|
bigint: boolean;
|
|
547
550
|
} | {
|
|
@@ -562,11 +565,10 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
562
565
|
resolverName: string;
|
|
563
566
|
dottedName: string;
|
|
564
567
|
dottedQuotedName: string;
|
|
565
|
-
dashedName: string;
|
|
566
|
-
dashedNameLS: string;
|
|
567
|
-
schemaName: string;
|
|
568
568
|
schema: string;
|
|
569
569
|
name: string;
|
|
570
|
+
signature?: string | undefined;
|
|
571
|
+
type?: string | undefined;
|
|
570
572
|
parameters: {
|
|
571
573
|
name: string;
|
|
572
574
|
dataType: string | null;
|
|
@@ -574,8 +576,9 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
574
576
|
precision: number;
|
|
575
577
|
scale: number;
|
|
576
578
|
}[];
|
|
577
|
-
|
|
578
|
-
|
|
579
|
+
dashedName: string;
|
|
580
|
+
dashedNameLS: string;
|
|
581
|
+
schemaName: string;
|
|
579
582
|
}>;
|
|
580
583
|
queuesMap: Record<string, {
|
|
581
584
|
name: string;
|
|
@@ -632,14 +635,14 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
632
635
|
target: string;
|
|
633
636
|
}[];
|
|
634
637
|
conditions?: {
|
|
635
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
636
638
|
source?: string | undefined;
|
|
637
639
|
target?: string | undefined;
|
|
640
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
638
641
|
value?: string | number | boolean | undefined;
|
|
639
642
|
}[] | undefined;
|
|
640
643
|
}[];
|
|
641
|
-
columnDescriptions: Record<string, string>;
|
|
642
644
|
description?: string | undefined;
|
|
645
|
+
columnDescriptions: Record<string, string>;
|
|
643
646
|
}>;
|
|
644
647
|
excludedTables: string[];
|
|
645
648
|
} | undefined;
|
|
@@ -649,6 +652,7 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
649
652
|
connectionTimeout: number;
|
|
650
653
|
maxLifetime: number;
|
|
651
654
|
tls: boolean;
|
|
655
|
+
allowPublicKeyRetrieval: boolean;
|
|
652
656
|
prepare: boolean;
|
|
653
657
|
bigint: boolean;
|
|
654
658
|
} | {
|
|
@@ -669,11 +673,10 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
669
673
|
resolverName: string;
|
|
670
674
|
dottedName: string;
|
|
671
675
|
dottedQuotedName: string;
|
|
672
|
-
dashedName: string;
|
|
673
|
-
dashedNameLS: string;
|
|
674
|
-
schemaName: string;
|
|
675
676
|
schema: string;
|
|
676
677
|
name: string;
|
|
678
|
+
signature?: string | undefined;
|
|
679
|
+
type?: string | undefined;
|
|
677
680
|
parameters: {
|
|
678
681
|
name: string;
|
|
679
682
|
dataType: string | null;
|
|
@@ -681,17 +684,24 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
681
684
|
precision: number;
|
|
682
685
|
scale: number;
|
|
683
686
|
}[];
|
|
684
|
-
|
|
685
|
-
|
|
687
|
+
dashedName: string;
|
|
688
|
+
dashedNameLS: string;
|
|
689
|
+
schemaName: string;
|
|
686
690
|
}[];
|
|
687
691
|
queues: (({
|
|
688
692
|
name: string;
|
|
689
693
|
autoSetup: boolean;
|
|
690
694
|
enabled: boolean;
|
|
695
|
+
reconnect?: {
|
|
696
|
+
initialDelay: number;
|
|
697
|
+
maxDelay: number;
|
|
698
|
+
multiplier: number;
|
|
699
|
+
maxAttempts: number;
|
|
700
|
+
} | undefined;
|
|
691
701
|
publishers: Record<string, {
|
|
692
702
|
topic: string;
|
|
693
|
-
persistent: boolean;
|
|
694
703
|
routingKey?: string | undefined;
|
|
704
|
+
persistent: boolean;
|
|
695
705
|
headers?: Record<string, string> | undefined;
|
|
696
706
|
}>;
|
|
697
707
|
subscribers: Record<string, {
|
|
@@ -704,7 +714,7 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
704
714
|
handler?: import("../../config").SubscriberHandler | undefined;
|
|
705
715
|
}>;
|
|
706
716
|
topics: Record<string, {
|
|
707
|
-
type: "
|
|
717
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
708
718
|
durable: boolean;
|
|
709
719
|
autoDelete: boolean;
|
|
710
720
|
}>;
|
|
@@ -712,16 +722,10 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
712
722
|
connection: string | {
|
|
713
723
|
hostname: string;
|
|
714
724
|
port: number;
|
|
715
|
-
vhost: string;
|
|
716
725
|
username?: string | undefined;
|
|
717
726
|
password?: string | undefined;
|
|
727
|
+
vhost: string;
|
|
718
728
|
};
|
|
719
|
-
reconnect?: {
|
|
720
|
-
initialDelay: number;
|
|
721
|
-
maxDelay: number;
|
|
722
|
-
multiplier: number;
|
|
723
|
-
maxAttempts: number;
|
|
724
|
-
} | undefined;
|
|
725
729
|
} & {
|
|
726
730
|
exchanges: Array<{
|
|
727
731
|
name: string;
|
|
@@ -758,10 +762,16 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
758
762
|
name: string;
|
|
759
763
|
autoSetup: boolean;
|
|
760
764
|
enabled: boolean;
|
|
765
|
+
reconnect?: {
|
|
766
|
+
initialDelay: number;
|
|
767
|
+
maxDelay: number;
|
|
768
|
+
multiplier: number;
|
|
769
|
+
maxAttempts: number;
|
|
770
|
+
} | undefined;
|
|
761
771
|
publishers: Record<string, {
|
|
762
772
|
topic: string;
|
|
763
|
-
persistent: boolean;
|
|
764
773
|
routingKey?: string | undefined;
|
|
774
|
+
persistent: boolean;
|
|
765
775
|
headers?: Record<string, string> | undefined;
|
|
766
776
|
}>;
|
|
767
777
|
subscribers: Record<string, {
|
|
@@ -774,27 +784,21 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
774
784
|
handler?: import("../../config").SubscriberHandler | undefined;
|
|
775
785
|
}>;
|
|
776
786
|
topics: Record<string, {
|
|
777
|
-
type: "
|
|
787
|
+
type: "direct" | "fanout" | "headers" | "topic";
|
|
778
788
|
durable: boolean;
|
|
779
789
|
autoDelete: boolean;
|
|
780
790
|
}>;
|
|
781
791
|
type: "kafka";
|
|
782
792
|
connection: string | {
|
|
783
793
|
brokers: string | string[];
|
|
784
|
-
ssl: boolean;
|
|
785
794
|
clientId?: string | undefined;
|
|
795
|
+
ssl: boolean;
|
|
786
796
|
sasl?: {
|
|
787
797
|
mechanism: "plain" | "scram-sha-256" | "scram-sha-512";
|
|
788
798
|
username: string;
|
|
789
799
|
password: string;
|
|
790
800
|
} | undefined;
|
|
791
801
|
};
|
|
792
|
-
reconnect?: {
|
|
793
|
-
initialDelay: number;
|
|
794
|
-
maxDelay: number;
|
|
795
|
-
multiplier: number;
|
|
796
|
-
maxAttempts: number;
|
|
797
|
-
} | undefined;
|
|
798
802
|
} & {
|
|
799
803
|
exchanges: Array<{
|
|
800
804
|
name: string;
|
|
@@ -829,10 +833,6 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
829
833
|
}>;
|
|
830
834
|
}))[];
|
|
831
835
|
operations: Record<string, {
|
|
832
|
-
graphql: {
|
|
833
|
-
enabled: boolean;
|
|
834
|
-
name?: string | undefined;
|
|
835
|
-
};
|
|
836
836
|
description?: string | undefined;
|
|
837
837
|
query?: string | undefined;
|
|
838
838
|
handler?: import("../../config").OperationHandler<any, any, any> | undefined;
|
|
@@ -845,19 +845,23 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
845
845
|
} | undefined;
|
|
846
846
|
rest?: {
|
|
847
847
|
path: string;
|
|
848
|
-
method: "
|
|
848
|
+
method: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
|
|
849
849
|
pathParams?: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
850
850
|
queryParams?: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
851
851
|
body?: import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> | undefined;
|
|
852
852
|
} | undefined;
|
|
853
|
+
graphql: {
|
|
854
|
+
enabled: boolean;
|
|
855
|
+
name?: string | undefined;
|
|
856
|
+
};
|
|
853
857
|
cache?: {
|
|
854
|
-
updateAgeOnHas: boolean;
|
|
855
|
-
ttlAutopurge: boolean;
|
|
856
858
|
max?: number | undefined;
|
|
857
859
|
maxSize?: number | undefined;
|
|
858
860
|
ttl?: number | undefined;
|
|
859
861
|
allowStale?: boolean | undefined;
|
|
860
862
|
updateAgeOnGet?: boolean | undefined;
|
|
863
|
+
updateAgeOnHas: boolean;
|
|
864
|
+
ttlAutopurge: boolean;
|
|
861
865
|
} | undefined;
|
|
862
866
|
}>;
|
|
863
867
|
resolverRegistry: import("../../types/resolver").ResolverRegistry;
|
|
@@ -865,11 +869,6 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
865
869
|
getResolverEntry: (resolverName: string) => import("../../types/resolver").ResolverEntry;
|
|
866
870
|
getForeignKeysBetweenTables: (table1: string, table2: string) => {
|
|
867
871
|
relationships: {
|
|
868
|
-
internalName: string;
|
|
869
|
-
fromInternalName: string;
|
|
870
|
-
toInternalName: string;
|
|
871
|
-
fromResolverName: string;
|
|
872
|
-
toResolverName: string;
|
|
873
872
|
schema: string;
|
|
874
873
|
name: string;
|
|
875
874
|
columns: {
|
|
@@ -877,18 +876,18 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
877
876
|
target: string;
|
|
878
877
|
}[];
|
|
879
878
|
conditions?: {
|
|
880
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
881
879
|
source?: string | undefined;
|
|
882
880
|
target?: string | undefined;
|
|
881
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
883
882
|
value?: string | number | boolean | undefined;
|
|
884
883
|
}[] | undefined;
|
|
885
|
-
}[];
|
|
886
|
-
relationshipsReversed: {
|
|
887
884
|
internalName: string;
|
|
888
885
|
fromInternalName: string;
|
|
889
886
|
toInternalName: string;
|
|
890
887
|
fromResolverName: string;
|
|
891
888
|
toResolverName: string;
|
|
889
|
+
}[];
|
|
890
|
+
relationshipsReversed: {
|
|
892
891
|
schema: string;
|
|
893
892
|
name: string;
|
|
894
893
|
columns: {
|
|
@@ -896,11 +895,16 @@ export declare const getSchemas: (tablesAndStoredProceduresForRole: Record<strin
|
|
|
896
895
|
target: string;
|
|
897
896
|
}[];
|
|
898
897
|
conditions?: {
|
|
899
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "is_null" | "is_not_null";
|
|
900
898
|
source?: string | undefined;
|
|
901
899
|
target?: string | undefined;
|
|
900
|
+
operator: "eq" | "gt" | "gte" | "is_not_null" | "is_null" | "like" | "lt" | "lte" | "neq";
|
|
902
901
|
value?: string | number | boolean | undefined;
|
|
903
902
|
}[] | undefined;
|
|
903
|
+
internalName: string;
|
|
904
|
+
fromInternalName: string;
|
|
905
|
+
toInternalName: string;
|
|
906
|
+
fromResolverName: string;
|
|
907
|
+
toResolverName: string;
|
|
904
908
|
}[];
|
|
905
909
|
};
|
|
906
910
|
isVirtualColumn: (table: string, column: string) => import("../../types/configuration").VirtualColumn | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/configuration/getSchemas/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAOtD,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/configuration/getSchemas/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAOtD,eAAO,MAAM,sBAAsB,WAAY,aAAa,yCAAoC,CAAC;AAEjG,eAAO,MAAM,cAAc,mBAAoB,cAAc,YAAW,OAAO;;;;CAO9E,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAErE,eAAO,MAAM,WAAW,aACZ,cAAc,eACX,oBAAoB,SAC3B,IAAI,GAAG,IAAI,yBACK,oBAAoB,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAQlD,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAErF,eAAO,MAAM,SAAS,iBACN,cAAc,SACtB,IAAI,GAAG,IAAI,yBACK,oBAAoB,GAAG,IAAI,cACtC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWnB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAE3D,eAAO,MAAM,UAAU,qCACa,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,QAC1D,IAAI,wBACY,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM1B,8BAA8B;EAS/C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC"}
|