@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.
Files changed (175) hide show
  1. package/dist/src/ai/agent/providers/ollama.d.ts.map +1 -1
  2. package/dist/src/ai/mcp/create-server.d.ts.map +1 -1
  3. package/dist/src/ai/mcp/index.d.ts +5 -2
  4. package/dist/src/ai/mcp/index.d.ts.map +1 -1
  5. package/dist/src/ai/tools/agent.d.ts.map +1 -1
  6. package/dist/src/ai/tools/core.d.ts.map +1 -1
  7. package/dist/src/ai/tools/query-data.d.ts +2 -2
  8. package/dist/src/ai/tools/query-data.d.ts.map +1 -1
  9. package/dist/src/analyzeQuery/analyzers/fragmentAnalyzer.d.ts.map +1 -1
  10. package/dist/src/analyzeQuery/analyzers/operationAnalyzer.d.ts.map +1 -1
  11. package/dist/src/analyzeQuery/analyzers/selectionAnalyzer.d.ts.map +1 -1
  12. package/dist/src/analyzeQuery/analyzers/variableAnalyzer.d.ts.map +1 -1
  13. package/dist/src/analyzeQuery/depthLimit.d.ts.map +1 -1
  14. package/dist/src/analyzeQuery/directiveUtils.d.ts.map +1 -1
  15. package/dist/src/analyzeQuery/resolveVariables.d.ts +17 -2
  16. package/dist/src/analyzeQuery/resolveVariables.d.ts.map +1 -1
  17. package/dist/src/analyzeQuery/typeUtils.d.ts.map +1 -1
  18. package/dist/src/analyzeQuery/valueExtractors.d.ts.map +1 -1
  19. package/dist/src/authentication/duration.d.ts.map +1 -1
  20. package/dist/src/authentication/index.d.ts.map +1 -1
  21. package/dist/src/authentication/jwt.d.ts.map +1 -1
  22. package/dist/src/authentication/paseto.d.ts.map +1 -1
  23. package/dist/src/authentication/tokenRepository.d.ts.map +1 -1
  24. package/dist/src/cli/seedAuth.d.ts.map +1 -1
  25. package/dist/src/cli/seedAuthArgs.d.ts.map +1 -1
  26. package/dist/src/config/helpers/cronHelper.d.ts.map +1 -1
  27. package/dist/src/config/helpers/operationHelper.d.ts +1 -1
  28. package/dist/src/config/helpers/operationHelper.d.ts.map +1 -1
  29. package/dist/src/config/helpers/queueHelper.d.ts.map +1 -1
  30. package/dist/src/config/index.d.ts.map +1 -1
  31. package/dist/src/config/types/ai.d.ts +0 -6
  32. package/dist/src/config/types/ai.d.ts.map +1 -1
  33. package/dist/src/config/types/auth.d.ts +11 -34
  34. package/dist/src/config/types/auth.d.ts.map +1 -1
  35. package/dist/src/config/types/auth.test.d.ts +2 -0
  36. package/dist/src/config/types/auth.test.d.ts.map +1 -0
  37. package/dist/src/config/types/cron.d.ts +0 -94
  38. package/dist/src/config/types/cron.d.ts.map +1 -1
  39. package/dist/src/config/types/db.d.ts +22 -93
  40. package/dist/src/config/types/db.d.ts.map +1 -1
  41. package/dist/src/config/types/operation.d.ts +6 -6
  42. package/dist/src/config/types/queue.d.ts +4 -51
  43. package/dist/src/config/types/queue.d.ts.map +1 -1
  44. package/dist/src/config/types/remote-rest.d.ts +0 -9
  45. package/dist/src/config/types/remote-rest.d.ts.map +1 -1
  46. package/dist/src/config/types/remote-schema.d.ts +0 -10
  47. package/dist/src/config/types/remote-schema.d.ts.map +1 -1
  48. package/dist/src/configuration/getSchemas/index.d.ts +103 -99
  49. package/dist/src/configuration/getSchemas/index.d.ts.map +1 -1
  50. package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts +50 -48
  51. package/dist/src/configuration/getSchemas/mergeEntities/index.d.ts.map +1 -1
  52. package/dist/src/configuration/getSchemas/type-definition-generator/index.d.ts.map +1 -1
  53. package/dist/src/configuration/gql/buildExecute.d.ts.map +1 -1
  54. package/dist/src/configuration/gql/gqlAuthOperations.d.ts.map +1 -1
  55. package/dist/src/configuration/gql/handleGraphQLRequestFactory.d.ts.map +1 -1
  56. package/dist/src/configuration/gql/handleGraphQLSubscriptionFactory.d.ts.map +1 -1
  57. package/dist/src/configuration/index.d.ts +95 -91
  58. package/dist/src/configuration/index.d.ts.map +1 -1
  59. package/dist/src/configuration/rest/generateOpenAPI.d.ts.map +1 -1
  60. package/dist/src/configuration/rest/handleRESTRequestFactory.d.ts.map +1 -1
  61. package/dist/src/configuration/rest/index.d.ts.map +1 -1
  62. package/dist/src/configuration/rest/openApiErrors.d.ts.map +1 -1
  63. package/dist/src/configuration/rest/parseStringParams.d.ts.map +1 -1
  64. package/dist/src/console/api.d.ts.map +1 -1
  65. package/dist/src/cron/index.d.ts +1 -1
  66. package/dist/src/cron/index.d.ts.map +1 -1
  67. package/dist/src/cron/index.test.d.ts +2 -0
  68. package/dist/src/cron/index.test.d.ts.map +1 -0
  69. package/dist/src/databases/auth/auth-operations.d.ts.map +1 -1
  70. package/dist/src/databases/auth/password.d.ts.map +1 -1
  71. package/dist/src/databases/common.d.ts +1 -3
  72. package/dist/src/databases/common.d.ts.map +1 -1
  73. package/dist/src/databases/core/executor.d.ts.map +1 -1
  74. package/dist/src/databases/core/identifier.d.ts.map +1 -1
  75. package/dist/src/databases/core/query-builder.d.ts +3 -2
  76. package/dist/src/databases/core/query-builder.d.ts.map +1 -1
  77. package/dist/src/databases/directives.d.ts.map +1 -1
  78. package/dist/src/databases/engines/mssql/auth.d.ts.map +1 -1
  79. package/dist/src/databases/engines/mssql/connection.d.ts.map +1 -1
  80. package/dist/src/databases/engines/mssql/format.d.ts.map +1 -1
  81. package/dist/src/databases/engines/mssql/getStructure.d.ts +12 -12
  82. package/dist/src/databases/engines/mssql/getStructure.d.ts.map +1 -1
  83. package/dist/src/databases/engines/mssql/getViews.d.ts.map +1 -1
  84. package/dist/src/databases/engines/mssql/query/index.d.ts.map +1 -1
  85. package/dist/src/databases/engines/mysql/auth.d.ts.map +1 -1
  86. package/dist/src/databases/engines/mysql/connection.d.ts.map +1 -1
  87. package/dist/src/databases/engines/mysql/format.d.ts.map +1 -1
  88. package/dist/src/databases/engines/mysql/getStructure.d.ts +12 -12
  89. package/dist/src/databases/engines/mysql/getStructure.d.ts.map +1 -1
  90. package/dist/src/databases/engines/mysql/getViews.d.ts.map +1 -1
  91. package/dist/src/databases/engines/mysql/placeholders.d.ts.map +1 -1
  92. package/dist/src/databases/engines/mysql/query/index.d.ts.map +1 -1
  93. package/dist/src/databases/engines/postgresql/auth.d.ts.map +1 -1
  94. package/dist/src/databases/engines/postgresql/connection.d.ts.map +1 -1
  95. package/dist/src/databases/engines/postgresql/format.d.ts.map +1 -1
  96. package/dist/src/databases/engines/postgresql/getStructure.d.ts +12 -12
  97. package/dist/src/databases/engines/postgresql/getStructure.d.ts.map +1 -1
  98. package/dist/src/databases/engines/postgresql/getViews.d.ts.map +1 -1
  99. package/dist/src/databases/engines/postgresql/query/index.d.ts.map +1 -1
  100. package/dist/src/databases/engines/shared/claims.d.ts.map +1 -1
  101. package/dist/src/databases/high-level-operations.d.ts +10 -59
  102. package/dist/src/databases/high-level-operations.d.ts.map +1 -1
  103. package/dist/src/databases/metadata/structure.d.ts +12 -12
  104. package/dist/src/databases/metadata/structure.d.ts.map +1 -1
  105. package/dist/src/databases/schemaBuilder/generateCreateTable/index.d.ts.map +1 -1
  106. package/dist/src/databases/schemaBuilder/generateCreateView/index.d.ts.map +1 -1
  107. package/dist/src/databases/schemaBuilder/generateInsert/index.d.ts.map +1 -1
  108. package/dist/src/databases/schemaBuilder/generateSchemaCreation/index.d.ts.map +1 -1
  109. package/dist/src/databases/schemaBuilder/mssqlToPostgres/convertView.d.ts.map +1 -1
  110. package/dist/src/databases/schemaBuilder/utils.d.ts +2 -2
  111. package/dist/src/databases/schemaBuilder/utils.d.ts.map +1 -1
  112. package/dist/src/databases/sqlTypeUtils.d.ts.map +1 -1
  113. package/dist/src/databases/transformers/data-transformers.d.ts +34 -32
  114. package/dist/src/databases/transformers/data-transformers.d.ts.map +1 -1
  115. package/dist/src/databases/transformers/genResolverName.d.ts.map +1 -1
  116. package/dist/src/databases/transformers/graphqlName.d.ts.map +1 -1
  117. package/dist/src/index.d.ts +6 -5
  118. package/dist/src/index.d.ts.map +1 -1
  119. package/dist/src/logging/index.d.ts.map +1 -1
  120. package/dist/src/queues/kafka.d.ts.map +1 -1
  121. package/dist/src/queues/rabbitmq.d.ts.map +1 -1
  122. package/dist/src/remoteREST/index.d.ts.map +1 -1
  123. package/dist/src/remoteREST/parse.d.ts.map +1 -1
  124. package/dist/src/remoteREST/proxy.d.ts.map +1 -1
  125. package/dist/src/remoteREST/transform.d.ts.map +1 -1
  126. package/dist/src/remoteSchemas/index.d.ts.map +1 -1
  127. package/dist/src/remoteSchemas/introspect.d.ts.map +1 -1
  128. package/dist/src/remoteSchemas/proxy.d.ts.map +1 -1
  129. package/dist/src/remoteSchemas/transform.d.ts.map +1 -1
  130. package/dist/src/singletons/ai.d.ts.map +1 -1
  131. package/dist/src/singletons/authentication.d.ts.map +1 -1
  132. package/dist/src/singletons/cache/lruCacheStore.d.ts.map +1 -1
  133. package/dist/src/singletons/cache/redisCacheStore.d.ts.map +1 -1
  134. package/dist/src/singletons/cache/registry.d.ts.map +1 -1
  135. package/dist/src/singletons/cron.d.ts.map +1 -1
  136. package/dist/src/singletons/databases.d.ts.map +1 -1
  137. package/dist/src/singletons/env.d.ts +190 -187
  138. package/dist/src/singletons/env.d.ts.map +1 -1
  139. package/dist/src/singletons/queues.d.ts.map +1 -1
  140. package/dist/src/subscriptions/strategies/index.d.ts.map +1 -1
  141. package/dist/src/subscriptions/utils/polling.d.ts.map +1 -1
  142. package/dist/src/types/db.d.ts.map +1 -1
  143. package/dist/src/types/env.d.ts +641 -630
  144. package/dist/src/types/env.d.ts.map +1 -1
  145. package/dist/src/types/resolver.d.ts.map +1 -1
  146. package/dist/src/types/zod/auth.d.ts +18 -18
  147. package/dist/src/types/zod/configuration.d.ts +298 -293
  148. package/dist/src/types/zod/configuration.d.ts.map +1 -1
  149. package/dist/src/types/zod/db.d.ts +80 -80
  150. package/dist/src/types/zod/db.d.ts.map +1 -1
  151. package/dist/src/types/zod/queue.d.ts +80 -80
  152. package/dist/src/types/zod/queue.d.ts.map +1 -1
  153. package/dist/src/utils/benchmark.d.ts.map +1 -1
  154. package/dist/src/utils/responses.d.ts.map +1 -1
  155. package/dist/src/utils/safeJSONParse.d.ts.map +1 -1
  156. package/dist/src/utils/selection.d.ts.map +1 -1
  157. package/dist/src/utils/sessionVariables.d.ts +5 -1
  158. package/dist/src/utils/sessionVariables.d.ts.map +1 -1
  159. package/dist/src/utils/writeSchema.d.ts.map +1 -1
  160. package/dist/tsconfig.tsbuildinfo +1 -1
  161. package/package.json +17 -17
  162. package/playgrounds/console/index.html +18 -15
  163. package/playgrounds/graphiql/index.html +855 -624
  164. package/playgrounds/scalar/index.html +5 -5
  165. package/src/analyzeQuery/analyzers/selectionAnalyzer.ts +7 -1
  166. package/src/analyzeQuery/resolveVariables.ts +130 -16
  167. package/src/config/types/auth.ts +7 -1
  168. package/src/config/types/db.ts +8 -0
  169. package/src/cron/index.ts +6 -2
  170. package/src/databases/engines/mysql/connection.ts +1 -0
  171. package/src/logging/index.ts +3 -1
  172. package/src/types/db.ts +0 -1
  173. package/src/types/zod/db.ts +1 -7
  174. package/src/types/zod/queue.ts +2 -10
  175. package/src/utils/sessionVariables.ts +7 -1
@@ -35,129 +35,35 @@ export type CronTickCallback<TVariables = Record<string, unknown>> = (options: {
35
35
  * This allows TypeScript to infer the variables type
36
36
  */
37
37
  export declare const createTypedCronJobZod: <TVariables extends DefaultVariables>() => z.ZodObject<{
38
- /**
39
- * Unique name/identifier for the cron job
40
- */
41
38
  name: z.ZodString;
42
- /**
43
- * Cron pattern or ISO 8601 date string
44
- * Examples:
45
- * - "0 0 * * *" (daily at midnight)
46
- * - "*\/5 * * * *" (every 5 minutes)
47
- * - "2024-01-23T00:00:00" (specific date/time)
48
- */
49
39
  pattern: z.ZodString;
50
- /**
51
- * Optional GraphQL query to execute when the cron job runs
52
- * If not provided, you must use the gqlQuery function in onTick callback
53
- */
54
40
  query: z.ZodOptional<z.ZodString>;
55
- /**
56
- * Optional variables to pass to the GraphQL query
57
- */
58
41
  variables: z.ZodOptional<z.ZodCustom<TVariables, TVariables>>;
59
- /**
60
- * Optional timezone (e.g., "America/New_York", "Europe/Stockholm")
61
- */
62
42
  timezone: z.ZodOptional<z.ZodString>;
63
- /**
64
- * Whether the job should be paused from start
65
- */
66
43
  paused: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
67
- /**
68
- * Maximum number of times the job should run
69
- */
70
44
  maxRuns: z.ZodOptional<z.ZodNumber>;
71
- /**
72
- * Minimum number of seconds between triggers
73
- */
74
45
  interval: z.ZodOptional<z.ZodNumber>;
75
- /**
76
- * ISO 8601 formatted datetime to start the job
77
- */
78
46
  startAt: z.ZodOptional<z.ZodString>;
79
- /**
80
- * ISO 8601 formatted datetime to stop the job
81
- */
82
47
  stopAt: z.ZodOptional<z.ZodString>;
83
- /**
84
- * Enable over-run protection (blocks new triggers while old one is in progress)
85
- */
86
48
  protect: z.ZodOptional<z.ZodBoolean>;
87
- /**
88
- * Whether to catch errors silently or handle them
89
- */
90
49
  catchErrors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
91
- /**
92
- * Context to pass along with the cron job (for logging, etc.)
93
- */
94
50
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
95
- /**
96
- * Callback executed on each tick
97
- */
98
51
  onTick: z.ZodOptional<z.ZodCustom<CronTickCallback<TVariables>, CronTickCallback<TVariables>>>;
99
52
  }, z.core.$strict>;
100
53
  export declare const TypedCronJobZod: z.ZodObject<{
101
- /**
102
- * Unique name/identifier for the cron job
103
- */
104
54
  name: z.ZodString;
105
- /**
106
- * Cron pattern or ISO 8601 date string
107
- * Examples:
108
- * - "0 0 * * *" (daily at midnight)
109
- * - "*\/5 * * * *" (every 5 minutes)
110
- * - "2024-01-23T00:00:00" (specific date/time)
111
- */
112
55
  pattern: z.ZodString;
113
- /**
114
- * Optional GraphQL query to execute when the cron job runs
115
- * If not provided, you must use the gqlQuery function in onTick callback
116
- */
117
56
  query: z.ZodOptional<z.ZodString>;
118
- /**
119
- * Optional variables to pass to the GraphQL query
120
- */
121
57
  variables: z.ZodOptional<z.ZodCustom<Record<string, unknown>, Record<string, unknown>>>;
122
- /**
123
- * Optional timezone (e.g., "America/New_York", "Europe/Stockholm")
124
- */
125
58
  timezone: z.ZodOptional<z.ZodString>;
126
- /**
127
- * Whether the job should be paused from start
128
- */
129
59
  paused: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
130
- /**
131
- * Maximum number of times the job should run
132
- */
133
60
  maxRuns: z.ZodOptional<z.ZodNumber>;
134
- /**
135
- * Minimum number of seconds between triggers
136
- */
137
61
  interval: z.ZodOptional<z.ZodNumber>;
138
- /**
139
- * ISO 8601 formatted datetime to start the job
140
- */
141
62
  startAt: z.ZodOptional<z.ZodString>;
142
- /**
143
- * ISO 8601 formatted datetime to stop the job
144
- */
145
63
  stopAt: z.ZodOptional<z.ZodString>;
146
- /**
147
- * Enable over-run protection (blocks new triggers while old one is in progress)
148
- */
149
64
  protect: z.ZodOptional<z.ZodBoolean>;
150
- /**
151
- * Whether to catch errors silently or handle them
152
- */
153
65
  catchErrors: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
154
- /**
155
- * Context to pass along with the cron job (for logging, etc.)
156
- */
157
66
  context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
158
- /**
159
- * Callback executed on each tick
160
- */
161
67
  onTick: z.ZodOptional<z.ZodCustom<CronTickCallback<Record<string, unknown>>, CronTickCallback<Record<string, unknown>>>>;
162
68
  }, z.core.$strict>;
163
69
  export type CronJobType = z.input<typeof TypedCronJobZod>;
@@ -1 +1 @@
1
- {"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../../src/config/types/cron.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,sBAAsB,wCAAoC,CAAC;AAExE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,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U,CAAC,CAAC"}
@@ -11,23 +11,19 @@ export declare const RELATIONSHIP_CONDITION_OPERATORS: readonly ["eq", "neq", "g
11
11
  * A `value` is required for every operator except `is_null` / `is_not_null`.
12
12
  */
13
13
  export declare const RelationshipConditionZod: z.ZodObject<{
14
- /** Column on the declaring (source) table */
15
14
  source: z.ZodOptional<z.ZodString>;
16
- /** Column on the referenced (target) table */
17
15
  target: z.ZodOptional<z.ZodString>;
18
- /** Comparison operator (default `eq`) */
19
16
  operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
20
17
  eq: "eq";
21
- neq: "neq";
22
18
  gt: "gt";
23
19
  gte: "gte";
20
+ is_not_null: "is_not_null";
21
+ is_null: "is_null";
22
+ like: "like";
24
23
  lt: "lt";
25
24
  lte: "lte";
26
- like: "like";
27
- is_null: "is_null";
28
- is_not_null: "is_not_null";
25
+ neq: "neq";
29
26
  }>>>;
30
- /** Literal compared against the column (omit for `is_null` / `is_not_null`) */
31
27
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
32
28
  }, z.core.$strict>;
33
29
  export type RelationshipCondition = z.input<typeof RelationshipConditionZod>;
@@ -38,25 +34,20 @@ export declare const TableRelationshipZod: z.ZodObject<{
38
34
  source: z.ZodString;
39
35
  target: z.ZodString;
40
36
  }, z.core.$strict>>;
41
- /** Static-value predicates ANDed into the JOIN condition */
42
37
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
- /** Column on the declaring (source) table */
44
38
  source: z.ZodOptional<z.ZodString>;
45
- /** Column on the referenced (target) table */
46
39
  target: z.ZodOptional<z.ZodString>;
47
- /** Comparison operator (default `eq`) */
48
40
  operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
49
41
  eq: "eq";
50
- neq: "neq";
51
42
  gt: "gt";
52
43
  gte: "gte";
44
+ is_not_null: "is_not_null";
45
+ is_null: "is_null";
46
+ like: "like";
53
47
  lt: "lt";
54
48
  lte: "lte";
55
- like: "like";
56
- is_null: "is_null";
57
- is_not_null: "is_not_null";
49
+ neq: "neq";
58
50
  }>>>;
59
- /** Literal compared against the column (omit for `is_null` / `is_not_null`) */
60
51
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
61
52
  }, z.core.$strict>>>;
62
53
  }, z.core.$strict>;
@@ -79,31 +70,24 @@ export declare const TableSchemaConfigZod: z.ZodObject<{
79
70
  source: z.ZodString;
80
71
  target: z.ZodString;
81
72
  }, z.core.$strict>>;
82
- /** Static-value predicates ANDed into the JOIN condition */
83
73
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
84
- /** Column on the declaring (source) table */
85
74
  source: z.ZodOptional<z.ZodString>;
86
- /** Column on the referenced (target) table */
87
75
  target: z.ZodOptional<z.ZodString>;
88
- /** Comparison operator (default `eq`) */
89
76
  operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
90
77
  eq: "eq";
91
- neq: "neq";
92
78
  gt: "gt";
93
79
  gte: "gte";
80
+ is_not_null: "is_not_null";
81
+ is_null: "is_null";
82
+ like: "like";
94
83
  lt: "lt";
95
84
  lte: "lte";
96
- like: "like";
97
- is_null: "is_null";
98
- is_not_null: "is_not_null";
85
+ neq: "neq";
99
86
  }>>>;
100
- /** Literal compared against the column (omit for `is_null` / `is_not_null`) */
101
87
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
102
88
  }, z.core.$strict>>>;
103
89
  }, z.core.$strict>>>>;
104
- /** Overrides the table description from the database */
105
90
  description: z.ZodOptional<z.ZodString>;
106
- /** Overrides column descriptions from the database, keyed by column name */
107
91
  columnDescriptions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
108
92
  }, z.core.$strict>;
109
93
  export type TableSchemaConfig = z.input<typeof TableSchemaConfigZod>;
@@ -126,31 +110,24 @@ export declare const DatabaseSchemaConfigZod: z.ZodObject<{
126
110
  source: z.ZodString;
127
111
  target: z.ZodString;
128
112
  }, z.core.$strict>>;
129
- /** Static-value predicates ANDed into the JOIN condition */
130
113
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
- /** Column on the declaring (source) table */
132
114
  source: z.ZodOptional<z.ZodString>;
133
- /** Column on the referenced (target) table */
134
115
  target: z.ZodOptional<z.ZodString>;
135
- /** Comparison operator (default `eq`) */
136
116
  operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
137
117
  eq: "eq";
138
- neq: "neq";
139
118
  gt: "gt";
140
119
  gte: "gte";
120
+ is_not_null: "is_not_null";
121
+ is_null: "is_null";
122
+ like: "like";
141
123
  lt: "lt";
142
124
  lte: "lte";
143
- like: "like";
144
- is_null: "is_null";
145
- is_not_null: "is_not_null";
125
+ neq: "neq";
146
126
  }>>>;
147
- /** Literal compared against the column (omit for `is_null` / `is_not_null`) */
148
127
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
149
128
  }, z.core.$strict>>>;
150
129
  }, z.core.$strict>>>>;
151
- /** Overrides the table description from the database */
152
130
  description: z.ZodOptional<z.ZodString>;
153
- /** Overrides column descriptions from the database, keyed by column name */
154
131
  columnDescriptions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
155
132
  }, z.core.$strict>>>>>>>;
156
133
  excludedTables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
@@ -161,19 +138,13 @@ export type DatabaseSchemaConfig = z.input<typeof DatabaseSchemaConfigZod>;
161
138
  * All timeout values are in seconds.
162
139
  */
163
140
  export declare const BunSQLConnectionOptionsZod: z.ZodObject<{
164
- /** Maximum number of connections in the pool */
165
141
  max: z.ZodDefault<z.ZodNumber>;
166
- /** Maximum time in seconds a connection can be idle before being closed */
167
142
  idleTimeout: z.ZodDefault<z.ZodNumber>;
168
- /** Maximum time in seconds to wait when establishing a connection */
169
143
  connectionTimeout: z.ZodDefault<z.ZodNumber>;
170
- /** Maximum lifetime in seconds of a connection */
171
144
  maxLifetime: z.ZodDefault<z.ZodNumber>;
172
- /** Whether to use TLS/SSL for the connection */
173
145
  tls: z.ZodDefault<z.ZodBoolean>;
174
- /** Automatic creation of prepared statements (default: true) */
146
+ allowPublicKeyRetrieval: z.ZodDefault<z.ZodBoolean>;
175
147
  prepare: z.ZodDefault<z.ZodBoolean>;
176
- /** Return values outside i32 range as BigInts instead of strings (default: false) */
177
148
  bigint: z.ZodDefault<z.ZodBoolean>;
178
149
  }, z.core.$strict>;
179
150
  export type BunSQLConnectionOptions = z.input<typeof BunSQLConnectionOptionsZod>;
@@ -182,26 +153,16 @@ export type BunSQLConnectionOptions = z.input<typeof BunSQLConnectionOptionsZod>
182
153
  * All timeout values are in seconds (converted to milliseconds internally).
183
154
  */
184
155
  export declare const MSSQLConnectionOptionsZod: z.ZodObject<{
185
- /** Connection pool options */
186
156
  pool: z.ZodDefault<z.ZodObject<{
187
- /** Maximum number of connections in the pool */
188
157
  max: z.ZodDefault<z.ZodNumber>;
189
- /** Minimum number of connections in the pool */
190
158
  min: z.ZodDefault<z.ZodNumber>;
191
- /** Maximum time in seconds a connection can be idle before being closed */
192
159
  idleTimeout: z.ZodDefault<z.ZodNumber>;
193
160
  }, z.core.$strict>>;
194
- /** Maximum time in seconds to wait when establishing a connection */
195
161
  connectionTimeout: z.ZodDefault<z.ZodNumber>;
196
- /** Maximum time in seconds to wait for a request to complete */
197
162
  requestTimeout: z.ZodDefault<z.ZodNumber>;
198
- /** Whether to encrypt the connection */
199
163
  encrypt: z.ZodDefault<z.ZodBoolean>;
200
- /** Whether to trust the server certificate without validation */
201
164
  trustServerCertificate: z.ZodDefault<z.ZodBoolean>;
202
- /** Whether to use Windows Authentication (trusted connection) */
203
165
  trustedConnection: z.ZodDefault<z.ZodBoolean>;
204
- /** Whether to automatically parse JSON responses */
205
166
  parseJSON: z.ZodDefault<z.ZodBoolean>;
206
167
  }, z.core.$strict>;
207
168
  export type MSSQLConnectionOptions = z.input<typeof MSSQLConnectionOptionsZod>;
@@ -226,13 +187,9 @@ export type OnConnectHandler<T extends DatabaseType = DatabaseType> = (connectio
226
187
  */
227
188
  export type ConnectionOptionsForType<T extends DatabaseType> = T extends "pg" | "mysql" ? BunSQLConnectionOptions : T extends "mssql" ? MSSQLConnectionOptions : never;
228
189
  export declare const DatabaseConnectionZod: z.ZodObject<{
229
- /** Unique name for the database connection */
230
190
  name: z.ZodString;
231
- /** Whether the database is enabled */
232
191
  enabled: z.ZodBoolean;
233
- /** Database type */
234
192
  type: z.ZodUnion<readonly [z.ZodLiteral<"mssql">, z.ZodLiteral<"pg">, z.ZodLiteral<"mysql">]>;
235
- /** Connection configuration */
236
193
  connection: z.ZodObject<{
237
194
  host: z.ZodString;
238
195
  port: z.ZodNumber;
@@ -240,13 +197,9 @@ export declare const DatabaseConnectionZod: z.ZodObject<{
240
197
  password: z.ZodString;
241
198
  database: z.ZodString;
242
199
  }, z.core.$strict>;
243
- /** Field naming pattern (default: "{schema}_{name}") */
244
200
  fieldNaming: z.ZodDefault<z.ZodOptional<z.ZodString>>;
245
- /** Factory function to create custom database repository */
246
201
  repository: z.ZodOptional<z.ZodCustom<CustomRepositoryFactory<DatabaseType>, CustomRepositoryFactory<DatabaseType>>>;
247
- /** Handler run once at startup against the connected database */
248
202
  onConnect: z.ZodOptional<z.ZodCustom<OnConnectHandler<DatabaseType>, OnConnectHandler<DatabaseType>>>;
249
- /** Schema configuration (virtual columns, relationships, excluded tables) */
250
203
  schema: z.ZodOptional<z.ZodObject<{
251
204
  database: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodObject<{
252
205
  columns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -266,72 +219,48 @@ export declare const DatabaseConnectionZod: z.ZodObject<{
266
219
  source: z.ZodString;
267
220
  target: z.ZodString;
268
221
  }, z.core.$strict>>;
269
- /** Static-value predicates ANDed into the JOIN condition */
270
222
  conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
- /** Column on the declaring (source) table */
272
223
  source: z.ZodOptional<z.ZodString>;
273
- /** Column on the referenced (target) table */
274
224
  target: z.ZodOptional<z.ZodString>;
275
- /** Comparison operator (default `eq`) */
276
225
  operator: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
277
226
  eq: "eq";
278
- neq: "neq";
279
227
  gt: "gt";
280
228
  gte: "gte";
229
+ is_not_null: "is_not_null";
230
+ is_null: "is_null";
231
+ like: "like";
281
232
  lt: "lt";
282
233
  lte: "lte";
283
- like: "like";
284
- is_null: "is_null";
285
- is_not_null: "is_not_null";
234
+ neq: "neq";
286
235
  }>>>;
287
- /** Literal compared against the column (omit for `is_null` / `is_not_null`) */
288
236
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
289
237
  }, z.core.$strict>>>;
290
238
  }, z.core.$strict>>>>;
291
- /** Overrides the table description from the database */
292
239
  description: z.ZodOptional<z.ZodString>;
293
- /** Overrides column descriptions from the database, keyed by column name */
294
240
  columnDescriptions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
295
241
  }, z.core.$strict>>>>>>>;
296
242
  excludedTables: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
297
243
  }, z.core.$strict>>;
298
- /** Optional connection pool and transport options */
299
244
  connectionOptions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
300
- /** Maximum number of connections in the pool */
301
245
  max: z.ZodDefault<z.ZodNumber>;
302
- /** Maximum time in seconds a connection can be idle before being closed */
303
246
  idleTimeout: z.ZodDefault<z.ZodNumber>;
304
- /** Maximum time in seconds to wait when establishing a connection */
305
247
  connectionTimeout: z.ZodDefault<z.ZodNumber>;
306
- /** Maximum lifetime in seconds of a connection */
307
248
  maxLifetime: z.ZodDefault<z.ZodNumber>;
308
- /** Whether to use TLS/SSL for the connection */
309
249
  tls: z.ZodDefault<z.ZodBoolean>;
310
- /** Automatic creation of prepared statements (default: true) */
250
+ allowPublicKeyRetrieval: z.ZodDefault<z.ZodBoolean>;
311
251
  prepare: z.ZodDefault<z.ZodBoolean>;
312
- /** Return values outside i32 range as BigInts instead of strings (default: false) */
313
252
  bigint: z.ZodDefault<z.ZodBoolean>;
314
253
  }, z.core.$strict>, z.ZodObject<{
315
- /** Connection pool options */
316
254
  pool: z.ZodDefault<z.ZodObject<{
317
- /** Maximum number of connections in the pool */
318
255
  max: z.ZodDefault<z.ZodNumber>;
319
- /** Minimum number of connections in the pool */
320
256
  min: z.ZodDefault<z.ZodNumber>;
321
- /** Maximum time in seconds a connection can be idle before being closed */
322
257
  idleTimeout: z.ZodDefault<z.ZodNumber>;
323
258
  }, z.core.$strict>>;
324
- /** Maximum time in seconds to wait when establishing a connection */
325
259
  connectionTimeout: z.ZodDefault<z.ZodNumber>;
326
- /** Maximum time in seconds to wait for a request to complete */
327
260
  requestTimeout: z.ZodDefault<z.ZodNumber>;
328
- /** Whether to encrypt the connection */
329
261
  encrypt: z.ZodDefault<z.ZodBoolean>;
330
- /** Whether to trust the server certificate without validation */
331
262
  trustServerCertificate: z.ZodDefault<z.ZodBoolean>;
332
- /** Whether to use Windows Authentication (trusted connection) */
333
263
  trustedConnection: z.ZodDefault<z.ZodBoolean>;
334
- /** Whether to automatically parse JSON responses */
335
264
  parseJSON: z.ZodDefault<z.ZodBoolean>;
336
265
  }, z.core.$strict>]>>;
337
266
  }, z.core.$strict>;
@@ -1 +1 @@
1
- {"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../../../src/config/types/db.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe5C,MAAM,MAAM,YAAY,GAAG,OA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AC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC,YAAY,CAAC,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,IAAI;IAClE,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,oBAAoB;IACpB,IAAI,EAAE,CAAC,CAAC;IACR,+BAA+B;IAC/B,UAAU,EAAE,kBAAkB,CAAC;IAC/B,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,uBAAuB,CAAC,CAAC,CAAC,CAAC;IACxC,iEAAiE;IACjE,SAAS,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAChC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,qDAAqD;IACrD,iBAAiB,CAAC,EAAE,wBAAwB,CAAC,CAAC,CAAC,CAAC;CACjD,CAAC;AAMF;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;KAC7B,CAAC,IAAI,YAAY,GAAG,cAAc,CAAC,CAAC,CAAC;CACvC,CAAC,YAAY,CAAC,CAAC"}
@@ -25,11 +25,11 @@ export type QueryResultOf<TQuery> = TQuery extends string ? unknown : TQuery ext
25
25
  export declare const OperationRestConfigZod: z.ZodObject<{
26
26
  path: z.ZodString;
27
27
  method: z.ZodDefault<z.ZodEnum<{
28
+ DELETE: "DELETE";
28
29
  GET: "GET";
30
+ PATCH: "PATCH";
29
31
  POST: "POST";
30
32
  PUT: "PUT";
31
- PATCH: "PATCH";
32
- DELETE: "DELETE";
33
33
  }>>;
34
34
  pathParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
35
35
  queryParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
@@ -80,11 +80,11 @@ export declare const OperationZod: z.ZodObject<{
80
80
  rest: z.ZodOptional<z.ZodObject<{
81
81
  path: z.ZodString;
82
82
  method: z.ZodDefault<z.ZodEnum<{
83
+ DELETE: "DELETE";
83
84
  GET: "GET";
85
+ PATCH: "PATCH";
84
86
  POST: "POST";
85
87
  PUT: "PUT";
86
- PATCH: "PATCH";
87
- DELETE: "DELETE";
88
88
  }>>;
89
89
  pathParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
90
90
  queryParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
@@ -119,11 +119,11 @@ export declare const OperationsZod: z.ZodRecord<z.ZodString, z.ZodObject<{
119
119
  rest: z.ZodOptional<z.ZodObject<{
120
120
  path: z.ZodString;
121
121
  method: z.ZodDefault<z.ZodEnum<{
122
+ DELETE: "DELETE";
122
123
  GET: "GET";
124
+ PATCH: "PATCH";
123
125
  POST: "POST";
124
126
  PUT: "PUT";
125
- PATCH: "PATCH";
126
- DELETE: "DELETE";
127
127
  }>>;
128
128
  pathParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
129
129
  queryParams: z.ZodOptional<z.ZodCustom<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
@@ -3,13 +3,9 @@ import { z } from "zod";
3
3
  * Reconnection configuration
4
4
  */
5
5
  export declare const ReconnectConfigZod: z.ZodObject<{
6
- /** Initial delay before first reconnect attempt (ms) */
7
6
  initialDelay: z.ZodDefault<z.ZodNumber>;
8
- /** Maximum delay between reconnect attempts (ms) */
9
7
  maxDelay: z.ZodDefault<z.ZodNumber>;
10
- /** Multiplier for exponential backoff */
11
8
  multiplier: z.ZodDefault<z.ZodNumber>;
12
- /** Maximum number of reconnect attempts (0 = infinite) */
13
9
  maxAttempts: z.ZodDefault<z.ZodNumber>;
14
10
  }, z.core.$strict>;
15
11
  export type ReconnectConfig = z.input<typeof ReconnectConfigZod>;
@@ -17,13 +13,9 @@ export type ReconnectConfig = z.input<typeof ReconnectConfigZod>;
17
13
  * Publisher configuration — defines how to send messages
18
14
  */
19
15
  export declare const PublisherConfigZod: z.ZodObject<{
20
- /** Topic/Exchange name to publish to */
21
16
  topic: z.ZodString;
22
- /** Routing key (RabbitMQ) or message key (Kafka) */
23
17
  routingKey: z.ZodOptional<z.ZodString>;
24
- /** Whether messages should survive broker restart (RabbitMQ only) */
25
18
  persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
26
- /** Custom headers (Kafka only) */
27
19
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28
20
  }, z.core.$strict>;
29
21
  export type PublisherConfig = z.input<typeof PublisherConfigZod>;
@@ -44,19 +36,12 @@ export type SubscriberHandler = (message: unknown, context: {
44
36
  * Subscriber configuration — defines how to receive messages
45
37
  */
46
38
  export declare const SubscriberConfigZod: z.ZodObject<{
47
- /** Topic/Exchange name to subscribe to */
48
39
  topic: z.ZodString;
49
- /** Pattern for filtering messages (routing key pattern for RabbitMQ) */
50
40
  pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
51
- /** Explicit queue name (RabbitMQ) — auto-generated if not provided */
52
41
  queue: z.ZodOptional<z.ZodString>;
53
- /** Consumer group ID (Kafka) — auto-generated if not provided */
54
42
  group: z.ZodOptional<z.ZodString>;
55
- /** Whether queue should survive broker restart (RabbitMQ only) */
56
43
  durable: z.ZodOptional<z.ZodBoolean>;
57
- /** Whether queue should auto-delete when no consumers (RabbitMQ only) */
58
44
  autoDelete: z.ZodOptional<z.ZodBoolean>;
59
- /** Handler function to process received messages */
60
45
  handler: z.ZodOptional<z.ZodCustom<SubscriberHandler, SubscriberHandler>>;
61
46
  }, z.core.$strict>;
62
47
  export type SubscriberConfig = z.input<typeof SubscriberConfigZod>;
@@ -64,16 +49,13 @@ export type SubscriberConfig = z.input<typeof SubscriberConfigZod>;
64
49
  * Topic/Exchange configuration — for auto-setup
65
50
  */
66
51
  export declare const TopicConfigZod: z.ZodObject<{
67
- /** Exchange type (RabbitMQ only) */
68
52
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
69
- topic: "topic";
70
- headers: "headers";
71
53
  direct: "direct";
72
54
  fanout: "fanout";
55
+ headers: "headers";
56
+ topic: "topic";
73
57
  }>>>;
74
- /** Whether exchange should survive broker restart */
75
58
  durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
76
- /** Whether exchange should auto-delete when no bindings */
77
59
  autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
78
60
  }, z.core.$strict>;
79
61
  export type TopicConfig = z.input<typeof TopicConfigZod>;
@@ -81,63 +63,38 @@ export type TopicConfig = z.input<typeof TopicConfigZod>;
81
63
  * Base queue configuration shared by all providers
82
64
  */
83
65
  export declare const BaseQueueConfigZod: z.ZodObject<{
84
- /** Unique name for this queue connection */
85
66
  name: z.ZodString;
86
- /** Whether to auto-create topics/exchanges/queues */
87
67
  autoSetup: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
88
- /** Whether this queue is enabled */
89
68
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
90
- /** Reconnection configuration */
91
69
  reconnect: z.ZodOptional<z.ZodObject<{
92
- /** Initial delay before first reconnect attempt (ms) */
93
70
  initialDelay: z.ZodDefault<z.ZodNumber>;
94
- /** Maximum delay between reconnect attempts (ms) */
95
71
  maxDelay: z.ZodDefault<z.ZodNumber>;
96
- /** Multiplier for exponential backoff */
97
72
  multiplier: z.ZodDefault<z.ZodNumber>;
98
- /** Maximum number of reconnect attempts (0 = infinite) */
99
73
  maxAttempts: z.ZodDefault<z.ZodNumber>;
100
74
  }, z.core.$strict>>;
101
- /** Publishers keyed by resolver name — become GraphQL mutations */
102
75
  publishers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
103
- /** Topic/Exchange name to publish to */
104
76
  topic: z.ZodString;
105
- /** Routing key (RabbitMQ) or message key (Kafka) */
106
77
  routingKey: z.ZodOptional<z.ZodString>;
107
- /** Whether messages should survive broker restart (RabbitMQ only) */
108
78
  persistent: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
109
- /** Custom headers (Kafka only) */
110
79
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
111
80
  }, z.core.$strict>>>>;
112
- /** Subscribers keyed by subscription name — become GraphQL subscriptions */
113
81
  subscribers: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
114
- /** Topic/Exchange name to subscribe to */
115
82
  topic: z.ZodString;
116
- /** Pattern for filtering messages (routing key pattern for RabbitMQ) */
117
83
  pattern: z.ZodDefault<z.ZodOptional<z.ZodString>>;
118
- /** Explicit queue name (RabbitMQ) — auto-generated if not provided */
119
84
  queue: z.ZodOptional<z.ZodString>;
120
- /** Consumer group ID (Kafka) — auto-generated if not provided */
121
85
  group: z.ZodOptional<z.ZodString>;
122
- /** Whether queue should survive broker restart (RabbitMQ only) */
123
86
  durable: z.ZodOptional<z.ZodBoolean>;
124
- /** Whether queue should auto-delete when no consumers (RabbitMQ only) */
125
87
  autoDelete: z.ZodOptional<z.ZodBoolean>;
126
- /** Handler function to process received messages */
127
88
  handler: z.ZodOptional<z.ZodCustom<SubscriberHandler, SubscriberHandler>>;
128
89
  }, z.core.$strict>>>>;
129
- /** Topic configurations for customizing auto-setup behavior */
130
90
  topics: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
131
- /** Exchange type (RabbitMQ only) */
132
91
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
133
- topic: "topic";
134
- headers: "headers";
135
92
  direct: "direct";
136
93
  fanout: "fanout";
94
+ headers: "headers";
95
+ topic: "topic";
137
96
  }>>>;
138
- /** Whether exchange should survive broker restart */
139
97
  durable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
140
- /** Whether exchange should auto-delete when no bindings */
141
98
  autoDelete: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
142
99
  }, z.core.$strict>>>>;
143
100
  }, z.core.$strict>;
@@ -156,13 +113,9 @@ export type RabbitMQConnection = z.input<typeof RabbitMQConnectionZod>;
156
113
  * Kafka connection configuration
157
114
  */
158
115
  export declare const KafkaConnectionZod: z.ZodObject<{
159
- /** Broker addresses — "host:port" or ["host1:port1", "host2:port2"] */
160
116
  brokers: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
161
- /** Client identifier sent to the broker (default: "datagraph-<queue name>") */
162
117
  clientId: z.ZodOptional<z.ZodString>;
163
- /** Enable SSL/TLS */
164
118
  ssl: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
165
- /** SASL authentication (optional) */
166
119
  sasl: z.ZodOptional<z.ZodObject<{
167
120
  mechanism: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
168
121
  plain: "plain";
@@ -1 +1 @@
1
- {"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../../../../src/config/types/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;GAEG;AACH,eAAO,MAAM,kBAAkB;IAC7B,wDAAwD;;IAExD,oDAAoD;;IAEpD,yCAAyC;;IAEzC,0DAA0D;;kBAE1D,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,C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