duron 0.3.0-beta.9 → 0.3.0

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 (91) hide show
  1. package/dist/action-job.d.ts +33 -2
  2. package/dist/action-job.d.ts.map +1 -1
  3. package/dist/action-job.js +88 -23
  4. package/dist/action-manager.d.ts +44 -2
  5. package/dist/action-manager.d.ts.map +1 -1
  6. package/dist/action-manager.js +64 -3
  7. package/dist/action.d.ts +388 -7
  8. package/dist/action.d.ts.map +1 -1
  9. package/dist/action.js +44 -23
  10. package/dist/adapters/adapter.d.ts +365 -8
  11. package/dist/adapters/adapter.d.ts.map +1 -1
  12. package/dist/adapters/adapter.js +221 -15
  13. package/dist/adapters/postgres/base.d.ts +184 -6
  14. package/dist/adapters/postgres/base.d.ts.map +1 -1
  15. package/dist/adapters/postgres/base.js +436 -75
  16. package/dist/adapters/postgres/pglite.d.ts +37 -0
  17. package/dist/adapters/postgres/pglite.d.ts.map +1 -1
  18. package/dist/adapters/postgres/pglite.js +38 -0
  19. package/dist/adapters/postgres/postgres.d.ts +35 -0
  20. package/dist/adapters/postgres/postgres.d.ts.map +1 -1
  21. package/dist/adapters/postgres/postgres.js +42 -0
  22. package/dist/adapters/postgres/schema.d.ts +150 -37
  23. package/dist/adapters/postgres/schema.d.ts.map +1 -1
  24. package/dist/adapters/postgres/schema.default.d.ts +151 -38
  25. package/dist/adapters/postgres/schema.default.d.ts.map +1 -1
  26. package/dist/adapters/postgres/schema.default.js +2 -2
  27. package/dist/adapters/postgres/schema.js +60 -23
  28. package/dist/adapters/schemas.d.ts +124 -80
  29. package/dist/adapters/schemas.d.ts.map +1 -1
  30. package/dist/adapters/schemas.js +139 -26
  31. package/dist/client.d.ts +426 -22
  32. package/dist/client.d.ts.map +1 -1
  33. package/dist/client.js +370 -20
  34. package/dist/constants.js +6 -0
  35. package/dist/errors.d.ts +140 -3
  36. package/dist/errors.d.ts.map +1 -1
  37. package/dist/errors.js +152 -9
  38. package/dist/index.d.ts +2 -1
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/server.d.ts +99 -37
  41. package/dist/server.d.ts.map +1 -1
  42. package/dist/server.js +84 -25
  43. package/dist/step-manager.d.ts +111 -4
  44. package/dist/step-manager.d.ts.map +1 -1
  45. package/dist/step-manager.js +403 -75
  46. package/dist/telemetry/index.d.ts +1 -4
  47. package/dist/telemetry/index.d.ts.map +1 -1
  48. package/dist/telemetry/index.js +2 -4
  49. package/dist/telemetry/local-span-exporter.d.ts +56 -0
  50. package/dist/telemetry/local-span-exporter.d.ts.map +1 -0
  51. package/dist/telemetry/local-span-exporter.js +118 -0
  52. package/dist/utils/p-retry.d.ts +5 -0
  53. package/dist/utils/p-retry.d.ts.map +1 -1
  54. package/dist/utils/p-retry.js +8 -0
  55. package/dist/utils/wait-for-abort.d.ts +1 -0
  56. package/dist/utils/wait-for-abort.d.ts.map +1 -1
  57. package/dist/utils/wait-for-abort.js +1 -0
  58. package/migrations/postgres/{20260119153838_flimsy_thor_girl → 20260121160012_normal_bloodstrike}/migration.sql +32 -20
  59. package/migrations/postgres/{20260119153838_flimsy_thor_girl → 20260121160012_normal_bloodstrike}/snapshot.json +241 -66
  60. package/package.json +42 -26
  61. package/src/action-job.ts +33 -29
  62. package/src/action-manager.ts +5 -5
  63. package/src/action.ts +317 -149
  64. package/src/adapters/adapter.ts +54 -54
  65. package/src/adapters/postgres/base.ts +266 -86
  66. package/src/adapters/postgres/schema.default.ts +2 -2
  67. package/src/adapters/postgres/schema.ts +52 -24
  68. package/src/adapters/schemas.ts +91 -36
  69. package/src/client.ts +322 -68
  70. package/src/errors.ts +84 -12
  71. package/src/index.ts +2 -0
  72. package/src/server.ts +39 -37
  73. package/src/step-manager.ts +246 -95
  74. package/src/telemetry/index.ts +2 -20
  75. package/src/telemetry/local-span-exporter.ts +148 -0
  76. package/dist/telemetry/adapter.d.ts +0 -107
  77. package/dist/telemetry/adapter.d.ts.map +0 -1
  78. package/dist/telemetry/adapter.js +0 -134
  79. package/dist/telemetry/local.d.ts +0 -22
  80. package/dist/telemetry/local.d.ts.map +0 -1
  81. package/dist/telemetry/local.js +0 -243
  82. package/dist/telemetry/noop.d.ts +0 -17
  83. package/dist/telemetry/noop.d.ts.map +0 -1
  84. package/dist/telemetry/noop.js +0 -66
  85. package/dist/telemetry/opentelemetry.d.ts +0 -25
  86. package/dist/telemetry/opentelemetry.d.ts.map +0 -1
  87. package/dist/telemetry/opentelemetry.js +0 -312
  88. package/src/telemetry/adapter.ts +0 -642
  89. package/src/telemetry/local.ts +0 -429
  90. package/src/telemetry/noop.ts +0 -141
  91. package/src/telemetry/opentelemetry.ts +0 -453
@@ -22,6 +22,7 @@ export declare const JobSchema: z.ZodObject<{
22
22
  id: z.ZodString;
23
23
  actionName: z.ZodString;
24
24
  groupKey: z.ZodString;
25
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
25
26
  input: z.ZodAny;
26
27
  output: z.ZodNullable<z.ZodAny>;
27
28
  error: z.ZodNullable<z.ZodAny>;
@@ -39,7 +40,9 @@ export declare const JobSchema: z.ZodObject<{
39
40
  createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
40
41
  updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
41
42
  concurrencyLimit: z.ZodCoercedNumber<unknown>;
43
+ concurrencyStepLimit: z.ZodCoercedNumber<unknown>;
42
44
  clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ durationMs: z.ZodDefault<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
43
46
  }, z.core.$strip>;
44
47
  export declare const JobStepSchema: z.ZodObject<{
45
48
  id: z.ZodString;
@@ -116,18 +119,22 @@ export declare const JobSortFieldSchema: z.ZodEnum<{
116
119
  status: "status";
117
120
  createdAt: "createdAt";
118
121
  actionName: "actionName";
122
+ description: "description";
119
123
  expiresAt: "expiresAt";
120
124
  startedAt: "startedAt";
121
125
  finishedAt: "finishedAt";
126
+ duration: "duration";
122
127
  }>;
123
128
  export declare const JobSortSchema: z.ZodObject<{
124
129
  field: z.ZodEnum<{
125
130
  status: "status";
126
131
  createdAt: "createdAt";
127
132
  actionName: "actionName";
133
+ description: "description";
128
134
  expiresAt: "expiresAt";
129
135
  startedAt: "startedAt";
130
136
  finishedAt: "finishedAt";
137
+ duration: "duration";
131
138
  }>;
132
139
  order: z.ZodEnum<{
133
140
  asc: "asc";
@@ -151,6 +158,7 @@ export declare const JobFiltersSchema: z.ZodObject<{
151
158
  actionName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
152
159
  groupKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
153
160
  clientId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
161
+ description: z.ZodOptional<z.ZodString>;
154
162
  createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
155
163
  startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
156
164
  finishedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
@@ -179,6 +187,7 @@ export declare const GetJobsOptionsSchema: z.ZodObject<{
179
187
  actionName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
180
188
  groupKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
181
189
  clientId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
190
+ description: z.ZodOptional<z.ZodString>;
182
191
  createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
183
192
  startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
184
193
  finishedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
@@ -192,9 +201,11 @@ export declare const GetJobsOptionsSchema: z.ZodObject<{
192
201
  status: "status";
193
202
  createdAt: "createdAt";
194
203
  actionName: "actionName";
204
+ description: "description";
195
205
  expiresAt: "expiresAt";
196
206
  startedAt: "startedAt";
197
207
  finishedAt: "finishedAt";
208
+ duration: "duration";
198
209
  }>;
199
210
  order: z.ZodEnum<{
200
211
  asc: "asc";
@@ -205,9 +216,11 @@ export declare const GetJobsOptionsSchema: z.ZodObject<{
205
216
  status: "status";
206
217
  createdAt: "createdAt";
207
218
  actionName: "actionName";
219
+ description: "description";
208
220
  expiresAt: "expiresAt";
209
221
  startedAt: "startedAt";
210
222
  finishedAt: "finishedAt";
223
+ duration: "duration";
211
224
  }>;
212
225
  order: z.ZodEnum<{
213
226
  asc: "asc";
@@ -227,6 +240,8 @@ export declare const CreateJobOptionsSchema: z.ZodObject<{
227
240
  input: z.ZodAny;
228
241
  timeoutMs: z.ZodNumber;
229
242
  concurrencyLimit: z.ZodNumber;
243
+ concurrencyStepLimit: z.ZodNumber;
244
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
245
  }, z.core.$strip>;
231
246
  export declare const RecoverJobsOptionsSchema: z.ZodObject<{
232
247
  checksums: z.ZodArray<z.ZodString>;
@@ -273,6 +288,7 @@ export declare const DeleteJobsOptionsSchema: z.ZodOptional<z.ZodObject<{
273
288
  actionName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
274
289
  groupKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
275
290
  clientId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
291
+ description: z.ZodOptional<z.ZodString>;
276
292
  createdAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
277
293
  startedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
278
294
  finishedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>]>>;
@@ -286,9 +302,11 @@ export declare const DeleteJobsOptionsSchema: z.ZodOptional<z.ZodObject<{
286
302
  status: "status";
287
303
  createdAt: "createdAt";
288
304
  actionName: "actionName";
305
+ description: "description";
289
306
  expiresAt: "expiresAt";
290
307
  startedAt: "startedAt";
291
308
  finishedAt: "finishedAt";
309
+ duration: "duration";
292
310
  }>;
293
311
  order: z.ZodEnum<{
294
312
  asc: "asc";
@@ -299,9 +317,11 @@ export declare const DeleteJobsOptionsSchema: z.ZodOptional<z.ZodObject<{
299
317
  status: "status";
300
318
  createdAt: "createdAt";
301
319
  actionName: "actionName";
320
+ description: "description";
302
321
  expiresAt: "expiresAt";
303
322
  startedAt: "startedAt";
304
323
  finishedAt: "finishedAt";
324
+ duration: "duration";
305
325
  }>;
306
326
  order: z.ZodEnum<{
307
327
  asc: "asc";
@@ -359,6 +379,7 @@ export declare const JobsArrayResultSchema: z.ZodArray<z.ZodObject<{
359
379
  id: z.ZodString;
360
380
  actionName: z.ZodString;
361
381
  groupKey: z.ZodString;
382
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
362
383
  input: z.ZodAny;
363
384
  output: z.ZodNullable<z.ZodAny>;
364
385
  error: z.ZodNullable<z.ZodAny>;
@@ -376,7 +397,9 @@ export declare const JobsArrayResultSchema: z.ZodArray<z.ZodObject<{
376
397
  createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
377
398
  updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
378
399
  concurrencyLimit: z.ZodCoercedNumber<unknown>;
400
+ concurrencyStepLimit: z.ZodCoercedNumber<unknown>;
379
401
  clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
402
+ durationMs: z.ZodDefault<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
380
403
  }, z.core.$strip>>;
381
404
  export declare const CreateOrRecoverJobStepResultNullableSchema: z.ZodUnion<readonly [z.ZodObject<{
382
405
  id: z.ZodString;
@@ -398,6 +421,7 @@ export declare const GetJobsResultSchema: z.ZodObject<{
398
421
  id: z.ZodString;
399
422
  actionName: z.ZodString;
400
423
  groupKey: z.ZodString;
424
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
401
425
  input: z.ZodAny;
402
426
  output: z.ZodNullable<z.ZodAny>;
403
427
  error: z.ZodNullable<z.ZodAny>;
@@ -415,7 +439,9 @@ export declare const GetJobsResultSchema: z.ZodObject<{
415
439
  createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
416
440
  updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
417
441
  concurrencyLimit: z.ZodCoercedNumber<unknown>;
442
+ concurrencyStepLimit: z.ZodCoercedNumber<unknown>;
418
443
  clientId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
+ durationMs: z.ZodDefault<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
419
445
  }, z.core.$strip>>;
420
446
  total: z.ZodNumber;
421
447
  page: z.ZodNumber;
@@ -494,93 +520,104 @@ export declare const JobStepStatusResultSchema: z.ZodObject<{
494
520
  }>;
495
521
  updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
496
522
  }, z.core.$strip>;
497
- export declare const MetricTypeSchema: z.ZodEnum<{
498
- metric: "metric";
499
- span_event: "span_event";
500
- span_attribute: "span_attribute";
501
- }>;
502
- export declare const MetricSchema: z.ZodObject<{
503
- id: z.ZodString;
504
- jobId: z.ZodString;
523
+ /**
524
+ * SpanKind values (OpenTelemetry standard):
525
+ * 0 = INTERNAL - Default, internal operation
526
+ * 1 = SERVER - Server-side handling of RPC/HTTP request
527
+ * 2 = CLIENT - Client-side of RPC/HTTP request
528
+ * 3 = PRODUCER - Producer of async message
529
+ * 4 = CONSUMER - Consumer of async message
530
+ */
531
+ export declare const SpanKindSchema: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
532
+ /**
533
+ * SpanStatusCode values (OpenTelemetry standard):
534
+ * 0 = UNSET - Status not set
535
+ * 1 = OK - Operation completed successfully
536
+ * 2 = ERROR - Operation failed
537
+ */
538
+ export declare const SpanStatusCodeSchema: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
539
+ export declare const SpanEventSchema: z.ZodObject<{
540
+ name: z.ZodString;
541
+ timeUnixNano: z.ZodString;
542
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
543
+ }, z.core.$strip>;
544
+ export declare const SpanSchema: z.ZodObject<{
545
+ id: z.ZodNumber;
546
+ traceId: z.ZodString;
547
+ spanId: z.ZodString;
548
+ parentSpanId: z.ZodNullable<z.ZodString>;
549
+ jobId: z.ZodNullable<z.ZodString>;
505
550
  stepId: z.ZodNullable<z.ZodString>;
506
551
  name: z.ZodString;
507
- value: z.ZodNumber;
552
+ kind: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
553
+ startTimeUnixNano: z.ZodNullable<z.ZodString>;
554
+ endTimeUnixNano: z.ZodNullable<z.ZodString>;
555
+ statusCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
556
+ statusMessage: z.ZodNullable<z.ZodString>;
508
557
  attributes: z.ZodRecord<z.ZodString, z.ZodAny>;
509
- type: z.ZodEnum<{
510
- metric: "metric";
511
- span_event: "span_event";
512
- span_attribute: "span_attribute";
513
- }>;
514
- timestamp: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
515
- createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
558
+ events: z.ZodArray<z.ZodObject<{
559
+ name: z.ZodString;
560
+ timeUnixNano: z.ZodString;
561
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
562
+ }, z.core.$strip>>;
516
563
  }, z.core.$strip>;
517
- export declare const MetricSortFieldSchema: z.ZodEnum<{
564
+ export declare const SpanSortFieldSchema: z.ZodEnum<{
518
565
  name: "name";
519
- createdAt: "createdAt";
520
- value: "value";
521
- timestamp: "timestamp";
566
+ startTimeUnixNano: "startTimeUnixNano";
567
+ endTimeUnixNano: "endTimeUnixNano";
522
568
  }>;
523
- export declare const MetricSortSchema: z.ZodObject<{
569
+ export declare const SpanSortSchema: z.ZodObject<{
524
570
  field: z.ZodEnum<{
525
571
  name: "name";
526
- createdAt: "createdAt";
527
- value: "value";
528
- timestamp: "timestamp";
572
+ startTimeUnixNano: "startTimeUnixNano";
573
+ endTimeUnixNano: "endTimeUnixNano";
529
574
  }>;
530
575
  order: z.ZodEnum<{
531
576
  asc: "asc";
532
577
  desc: "desc";
533
578
  }>;
534
579
  }, z.core.$strip>;
535
- export declare const MetricFiltersSchema: z.ZodObject<{
580
+ export declare const SpanFiltersSchema: z.ZodObject<{
536
581
  name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
537
- type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
538
- metric: "metric";
539
- span_event: "span_event";
540
- span_attribute: "span_attribute";
541
- }>, z.ZodArray<z.ZodEnum<{
542
- metric: "metric";
543
- span_event: "span_event";
544
- span_attribute: "span_attribute";
545
- }>>]>>;
582
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>]>>;
583
+ statusCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>]>>;
584
+ traceId: z.ZodOptional<z.ZodString>;
546
585
  attributesFilter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
547
- timestampRange: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>>;
548
586
  }, z.core.$strip>;
549
- export declare const InsertMetricOptionsSchema: z.ZodObject<{
550
- jobId: z.ZodString;
551
- stepId: z.ZodOptional<z.ZodString>;
587
+ export declare const InsertSpanOptionsSchema: z.ZodObject<{
588
+ traceId: z.ZodString;
589
+ spanId: z.ZodString;
590
+ parentSpanId: z.ZodNullable<z.ZodString>;
591
+ jobId: z.ZodNullable<z.ZodString>;
592
+ stepId: z.ZodNullable<z.ZodString>;
552
593
  name: z.ZodString;
553
- value: z.ZodNumber;
594
+ kind: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
595
+ startTimeUnixNano: z.ZodBigInt;
596
+ endTimeUnixNano: z.ZodNullable<z.ZodBigInt>;
597
+ statusCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
598
+ statusMessage: z.ZodNullable<z.ZodString>;
554
599
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
555
- type: z.ZodEnum<{
556
- metric: "metric";
557
- span_event: "span_event";
558
- span_attribute: "span_attribute";
559
- }>;
600
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
601
+ name: z.ZodString;
602
+ timeUnixNano: z.ZodString;
603
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
604
+ }, z.core.$strip>>>;
560
605
  }, z.core.$strip>;
561
- export declare const GetMetricsOptionsSchema: z.ZodObject<{
606
+ export declare const GetSpansOptionsSchema: z.ZodObject<{
562
607
  jobId: z.ZodOptional<z.ZodString>;
563
608
  stepId: z.ZodOptional<z.ZodString>;
564
609
  filters: z.ZodOptional<z.ZodObject<{
565
610
  name: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
566
- type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
567
- metric: "metric";
568
- span_event: "span_event";
569
- span_attribute: "span_attribute";
570
- }>, z.ZodArray<z.ZodEnum<{
571
- metric: "metric";
572
- span_event: "span_event";
573
- span_attribute: "span_attribute";
574
- }>>]>>;
611
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>]>>;
612
+ statusCode: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>>]>>;
613
+ traceId: z.ZodOptional<z.ZodString>;
575
614
  attributesFilter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
576
- timestampRange: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>>>;
577
615
  }, z.core.$strip>>;
578
616
  sort: z.ZodOptional<z.ZodObject<{
579
617
  field: z.ZodEnum<{
580
618
  name: "name";
581
- createdAt: "createdAt";
582
- value: "value";
583
- timestamp: "timestamp";
619
+ startTimeUnixNano: "startTimeUnixNano";
620
+ endTimeUnixNano: "endTimeUnixNano";
584
621
  }>;
585
622
  order: z.ZodEnum<{
586
623
  asc: "asc";
@@ -588,25 +625,30 @@ export declare const GetMetricsOptionsSchema: z.ZodObject<{
588
625
  }>;
589
626
  }, z.core.$strip>>;
590
627
  }, z.core.$strip>;
591
- export declare const GetMetricsResultSchema: z.ZodObject<{
592
- metrics: z.ZodArray<z.ZodObject<{
593
- id: z.ZodString;
594
- jobId: z.ZodString;
628
+ export declare const GetSpansResultSchema: z.ZodObject<{
629
+ spans: z.ZodArray<z.ZodObject<{
630
+ id: z.ZodNumber;
631
+ traceId: z.ZodString;
632
+ spanId: z.ZodString;
633
+ parentSpanId: z.ZodNullable<z.ZodString>;
634
+ jobId: z.ZodNullable<z.ZodString>;
595
635
  stepId: z.ZodNullable<z.ZodString>;
596
636
  name: z.ZodString;
597
- value: z.ZodNumber;
637
+ kind: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
638
+ startTimeUnixNano: z.ZodNullable<z.ZodString>;
639
+ endTimeUnixNano: z.ZodNullable<z.ZodString>;
640
+ statusCode: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>]>;
641
+ statusMessage: z.ZodNullable<z.ZodString>;
598
642
  attributes: z.ZodRecord<z.ZodString, z.ZodAny>;
599
- type: z.ZodEnum<{
600
- metric: "metric";
601
- span_event: "span_event";
602
- span_attribute: "span_attribute";
603
- }>;
604
- timestamp: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
605
- createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<Date, number>>]>;
643
+ events: z.ZodArray<z.ZodObject<{
644
+ name: z.ZodString;
645
+ timeUnixNano: z.ZodString;
646
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
647
+ }, z.core.$strip>>;
606
648
  }, z.core.$strip>>;
607
649
  total: z.ZodNumber;
608
650
  }, z.core.$strip>;
609
- export declare const DeleteMetricsOptionsSchema: z.ZodObject<{
651
+ export declare const DeleteSpansOptionsSchema: z.ZodObject<{
610
652
  jobId: z.ZodString;
611
653
  }, z.core.$strip>;
612
654
  export type Job = z.infer<typeof JobSchema>;
@@ -640,13 +682,15 @@ export type DelayJobStepOptions = z.infer<typeof DelayJobStepOptionsSchema>;
640
682
  export type CancelJobStepOptions = z.infer<typeof CancelJobStepOptionsSchema>;
641
683
  export type CreateOrRecoverJobStepResult = z.infer<typeof CreateOrRecoverJobStepResultSchema>;
642
684
  export type TimeTravelJobOptions = z.infer<typeof TimeTravelJobOptionsSchema>;
643
- export type MetricType = z.infer<typeof MetricTypeSchema>;
644
- export type Metric = z.infer<typeof MetricSchema>;
645
- export type MetricSortField = z.infer<typeof MetricSortFieldSchema>;
646
- export type MetricSort = z.infer<typeof MetricSortSchema>;
647
- export type MetricFilters = z.infer<typeof MetricFiltersSchema>;
648
- export type InsertMetricOptions = z.infer<typeof InsertMetricOptionsSchema>;
649
- export type GetMetricsOptions = z.infer<typeof GetMetricsOptionsSchema>;
650
- export type GetMetricsResult = z.infer<typeof GetMetricsResultSchema>;
651
- export type DeleteMetricsOptions = z.infer<typeof DeleteMetricsOptionsSchema>;
685
+ export type SpanKind = z.infer<typeof SpanKindSchema>;
686
+ export type SpanStatusCode = z.infer<typeof SpanStatusCodeSchema>;
687
+ export type SpanEvent = z.infer<typeof SpanEventSchema>;
688
+ export type Span = z.infer<typeof SpanSchema>;
689
+ export type SpanSortField = z.infer<typeof SpanSortFieldSchema>;
690
+ export type SpanSort = z.infer<typeof SpanSortSchema>;
691
+ export type SpanFilters = z.infer<typeof SpanFiltersSchema>;
692
+ export type InsertSpanOptions = z.infer<typeof InsertSpanOptionsSchema>;
693
+ export type GetSpansOptions = z.infer<typeof GetSpansOptionsSchema>;
694
+ export type GetSpansResult = z.infer<typeof GetSpansResultSchema>;
695
+ export type DeleteSpansOptions = z.infer<typeof DeleteSpansOptionsSchema>;
652
696
  //# sourceMappingURL=schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/adapters/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,eAAO,MAAM,eAAe;;;;;;EAAuB,CAAA;AACnD,eAAO,MAAM,gBAAgB;;;;;EAAwB,CAAA;AAYrD,eAAO,MAAM,uBAAuB;;;;;iBAKlC,CAAA;AAMF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;iBAgBpB,CAAA;AAMF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBxB,CAAA;AAGF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuC,CAAA;AAM9E,eAAO,MAAM,eAAe;;;EAA0B,CAAA;AAEtD,eAAO,MAAM,kBAAkB;;;;;;;EAAwF,CAAA;AAEvH,eAAO,MAAM,aAAa;;;;;;;;;;;;;iBAGxB,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;iBAY3B,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK/B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAA;AAMF,eAAO,MAAM,sBAAsB;;;;;;;iBAajC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;iBAOnC,CAAA;AAEF,eAAO,MAAM,kBAAkB;;iBAG7B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;iBAKnC,CAAA;AAEF,eAAO,M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