@graphoria/server 0.2.2 → 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.
@@ -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
53
  direct: "direct";
70
54
  fanout: "fanout";
71
55
  headers: "headers";
72
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
92
  direct: "direct";
134
93
  fanout: "fanout";
135
94
  headers: "headers";
136
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,o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BAAqB,CAAC,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;kBAe7B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAQjE,oEAAoE;AACpE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAAG;IACrE,IAAI,EAAE,UAAU,CAAC;IACjB,UAAU,EAAE,MAAM,GAAG,kBAAkB,CAAC;CACzC,CAAC;AAEF,iEAAiE;AACjE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,GAAG;IAClE,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,GAAG,eAAe,CAAC;CACtC,CAAC;AAEF,wEAAwE;AACxE,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG,gBAAgB,CAAC"}
@@ -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;IAC9B,iDAAiD;;IAEjD,uDAAuD;;IAEvD,yCAAyC;;IAEzC,yDAAyD;;IAEzD,6DAA6D;;IAE7D,iDAAiD;;IAEjD,wDAAwD;;IAExD,uDAAuD;;IAEvD,uDAAuD;;kBAEvD,CAAC;AAEH,gDAAgD;AAChD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
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;IAE3C,qEAAqE;;mBAG5D,CAAC;AAEd,4DAA4D;AAC5D,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAEjG;;GAEG;AACH,eAAO,MAAM,qBAAqB;IAChC,+CAA+C;;IAE/C,kCAAkC;;IAElC,2DAA2D;;IAE3D,8CAA8C;;IAE9C,gDAAgD;;IAEhD,uDAAuD;;IAEvD,uDAAuD;;IAEvD,kCAAkC;;QA1BhC,qEAAqE;;;kBA4BvE,CAAC;AAEH,sDAAsD;AACtD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
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"}
@@ -6,7 +6,7 @@ import type { CronJob } from "../types/configuration";
6
6
  */
7
7
  export interface ScheduledCronJob {
8
8
  name: string;
9
- job: Cron;
9
+ job: Cron<NonNullable<CronJob["context"]>>;
10
10
  config: CronJob;
11
11
  executionCount: number;
12
12
  pause: () => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cron/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAOtD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,IAAI,CAAC;IACV,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,OAAO,CAAC;IAC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OAAO,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,OAAO,CAAC;IACrB,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM,OAAO,CAAC;IACpB,UAAU,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,EAAE,CAAC;IACvC,SAAS,EAAE,MAAM;QACf,SAAS,EAAE,OAAO,CAAC;QACnB,SAAS,EAAE,OAAO,CAAC;QACnB,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;QACrB,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;QACzB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAkHD;;GAEG;AACH,eAAO,MAAM,aAAa,SAAgB,OAAO,EAAE,YAAY,UAAU,CAAC,IAAI,CAAC;;mBAuB5D,MAAM;;kBAIP,MAAM;mBAML,MAAM;oBAML,MAAM;iBAMT,MAAM;;uBAkBA,MAAM;wBAKL,MAAM,SAAS,MAAM;sBAKvB,MAAM;;;mBArMb,OAAO;mBACP,OAAO;gBACV,OAAO;iBACN,IAAI,GAAG,IAAI;qBACP,IAAI,GAAG,IAAI;oBACZ,IAAI,GAAG,IAAI;;;;;;;;;;;uBAqNJ,OAAO;EAS7B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/cron/index.test.ts"],"names":[],"mappings":""}