@contractspec/lib.jobs 0.0.0-canary-20260113162409

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 (76) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +126 -0
  3. package/dist/_virtual/rolldown_runtime.js +36 -0
  4. package/dist/contracts/index.d.ts +547 -0
  5. package/dist/contracts/index.d.ts.map +1 -0
  6. package/dist/contracts/index.js +482 -0
  7. package/dist/contracts/index.js.map +1 -0
  8. package/dist/entities/index.d.ts +145 -0
  9. package/dist/entities/index.d.ts.map +1 -0
  10. package/dist/entities/index.js +198 -0
  11. package/dist/entities/index.js.map +1 -0
  12. package/dist/events.d.ts +388 -0
  13. package/dist/events.d.ts.map +1 -0
  14. package/dist/events.js +353 -0
  15. package/dist/events.js.map +1 -0
  16. package/dist/handlers/gmail-sync-handler.d.ts +10 -0
  17. package/dist/handlers/gmail-sync-handler.d.ts.map +1 -0
  18. package/dist/handlers/gmail-sync-handler.js +10 -0
  19. package/dist/handlers/gmail-sync-handler.js.map +1 -0
  20. package/dist/handlers/index.d.ts +10 -0
  21. package/dist/handlers/index.d.ts.map +1 -0
  22. package/dist/handlers/index.js +13 -0
  23. package/dist/handlers/index.js.map +1 -0
  24. package/dist/handlers/ping-job.d.ts +11 -0
  25. package/dist/handlers/ping-job.d.ts.map +1 -0
  26. package/dist/handlers/ping-job.js +14 -0
  27. package/dist/handlers/ping-job.js.map +1 -0
  28. package/dist/handlers/storage-document-handler.d.ts +13 -0
  29. package/dist/handlers/storage-document-handler.d.ts.map +1 -0
  30. package/dist/handlers/storage-document-handler.js +15 -0
  31. package/dist/handlers/storage-document-handler.js.map +1 -0
  32. package/dist/index.d.ts +25 -0
  33. package/dist/index.d.ts.map +1 -0
  34. package/dist/index.js +67 -0
  35. package/dist/index.js.map +1 -0
  36. package/dist/jobs.capability.d.ts +8 -0
  37. package/dist/jobs.capability.d.ts.map +1 -0
  38. package/dist/jobs.capability.js +33 -0
  39. package/dist/jobs.capability.js.map +1 -0
  40. package/dist/jobs.feature.d.ts +12 -0
  41. package/dist/jobs.feature.d.ts.map +1 -0
  42. package/dist/jobs.feature.js +110 -0
  43. package/dist/jobs.feature.js.map +1 -0
  44. package/dist/queue/gcp-cloud-tasks.d.ts +42 -0
  45. package/dist/queue/gcp-cloud-tasks.d.ts.map +1 -0
  46. package/dist/queue/gcp-cloud-tasks.js +61 -0
  47. package/dist/queue/gcp-cloud-tasks.js.map +1 -0
  48. package/dist/queue/gcp-pubsub.d.ts +26 -0
  49. package/dist/queue/gcp-pubsub.d.ts.map +1 -0
  50. package/dist/queue/gcp-pubsub.js +47 -0
  51. package/dist/queue/gcp-pubsub.js.map +1 -0
  52. package/dist/queue/index.d.ts +16 -0
  53. package/dist/queue/index.d.ts.map +1 -0
  54. package/dist/queue/index.js +23 -0
  55. package/dist/queue/index.js.map +1 -0
  56. package/dist/queue/memory-queue.d.ts +35 -0
  57. package/dist/queue/memory-queue.d.ts.map +1 -0
  58. package/dist/queue/memory-queue.js +140 -0
  59. package/dist/queue/memory-queue.js.map +1 -0
  60. package/dist/queue/register-defined-job.d.ts +8 -0
  61. package/dist/queue/register-defined-job.d.ts.map +1 -0
  62. package/dist/queue/register-defined-job.js +16 -0
  63. package/dist/queue/register-defined-job.js.map +1 -0
  64. package/dist/queue/scaleway-sqs-queue.d.ts +39 -0
  65. package/dist/queue/scaleway-sqs-queue.d.ts.map +1 -0
  66. package/dist/queue/scaleway-sqs-queue.js +175 -0
  67. package/dist/queue/scaleway-sqs-queue.js.map +1 -0
  68. package/dist/queue/types.d.ts +8 -0
  69. package/dist/queue/types.d.ts.map +1 -0
  70. package/dist/queue/types.js +12 -0
  71. package/dist/queue/types.js.map +1 -0
  72. package/dist/scheduler/index.d.ts +93 -0
  73. package/dist/scheduler/index.d.ts.map +1 -0
  74. package/dist/scheduler/index.js +146 -0
  75. package/dist/scheduler/index.js.map +1 -0
  76. package/package.json +97 -0
@@ -0,0 +1,547 @@
1
+ import * as _contractspec_lib_schema210 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
3
+
4
+ //#region src/contracts/index.d.ts
5
+ declare const JobModel: _contractspec_lib_schema210.SchemaModel<{
6
+ id: {
7
+ type: _contractspec_lib_schema210.FieldType<string, string>;
8
+ isOptional: false;
9
+ };
10
+ type: {
11
+ type: _contractspec_lib_schema210.FieldType<string, string>;
12
+ isOptional: false;
13
+ };
14
+ version: {
15
+ type: _contractspec_lib_schema210.FieldType<string, string>;
16
+ isOptional: false;
17
+ };
18
+ payload: {
19
+ type: _contractspec_lib_schema210.FieldType<unknown, unknown>;
20
+ isOptional: false;
21
+ };
22
+ status: {
23
+ type: _contractspec_lib_schema210.FieldType<string, string>;
24
+ isOptional: false;
25
+ };
26
+ priority: {
27
+ type: _contractspec_lib_schema210.FieldType<number, number>;
28
+ isOptional: false;
29
+ };
30
+ attempts: {
31
+ type: _contractspec_lib_schema210.FieldType<number, number>;
32
+ isOptional: false;
33
+ };
34
+ maxRetries: {
35
+ type: _contractspec_lib_schema210.FieldType<number, number>;
36
+ isOptional: false;
37
+ };
38
+ createdAt: {
39
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
40
+ isOptional: false;
41
+ };
42
+ updatedAt: {
43
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
44
+ isOptional: false;
45
+ };
46
+ scheduledAt: {
47
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
48
+ isOptional: true;
49
+ };
50
+ startedAt: {
51
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
52
+ isOptional: true;
53
+ };
54
+ completedAt: {
55
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
56
+ isOptional: true;
57
+ };
58
+ lastError: {
59
+ type: _contractspec_lib_schema210.FieldType<string, string>;
60
+ isOptional: true;
61
+ };
62
+ }>;
63
+ declare const ScheduledJobModel: _contractspec_lib_schema210.SchemaModel<{
64
+ id: {
65
+ type: _contractspec_lib_schema210.FieldType<string, string>;
66
+ isOptional: false;
67
+ };
68
+ name: {
69
+ type: _contractspec_lib_schema210.FieldType<string, string>;
70
+ isOptional: false;
71
+ };
72
+ description: {
73
+ type: _contractspec_lib_schema210.FieldType<string, string>;
74
+ isOptional: true;
75
+ };
76
+ cronExpression: {
77
+ type: _contractspec_lib_schema210.FieldType<string, string>;
78
+ isOptional: false;
79
+ };
80
+ timezone: {
81
+ type: _contractspec_lib_schema210.FieldType<string, string>;
82
+ isOptional: false;
83
+ };
84
+ jobType: {
85
+ type: _contractspec_lib_schema210.FieldType<string, string>;
86
+ isOptional: false;
87
+ };
88
+ enabled: {
89
+ type: _contractspec_lib_schema210.FieldType<boolean, boolean>;
90
+ isOptional: false;
91
+ };
92
+ lastRunAt: {
93
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
94
+ isOptional: true;
95
+ };
96
+ nextRunAt: {
97
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
98
+ isOptional: true;
99
+ };
100
+ createdAt: {
101
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
102
+ isOptional: false;
103
+ };
104
+ }>;
105
+ declare const QueueStatsModel: _contractspec_lib_schema210.SchemaModel<{
106
+ pending: {
107
+ type: _contractspec_lib_schema210.FieldType<number, number>;
108
+ isOptional: false;
109
+ };
110
+ running: {
111
+ type: _contractspec_lib_schema210.FieldType<number, number>;
112
+ isOptional: false;
113
+ };
114
+ completed: {
115
+ type: _contractspec_lib_schema210.FieldType<number, number>;
116
+ isOptional: false;
117
+ };
118
+ failed: {
119
+ type: _contractspec_lib_schema210.FieldType<number, number>;
120
+ isOptional: false;
121
+ };
122
+ deadLetter: {
123
+ type: _contractspec_lib_schema210.FieldType<number, number>;
124
+ isOptional: false;
125
+ };
126
+ }>;
127
+ /**
128
+ * Enqueue a job.
129
+ */
130
+ declare const EnqueueJobContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
131
+ type: {
132
+ type: _contractspec_lib_schema210.FieldType<string, string>;
133
+ isOptional: false;
134
+ };
135
+ payload: {
136
+ type: _contractspec_lib_schema210.FieldType<unknown, unknown>;
137
+ isOptional: false;
138
+ };
139
+ delaySeconds: {
140
+ type: _contractspec_lib_schema210.FieldType<number, number>;
141
+ isOptional: true;
142
+ };
143
+ dedupeKey: {
144
+ type: _contractspec_lib_schema210.FieldType<string, string>;
145
+ isOptional: true;
146
+ };
147
+ maxRetries: {
148
+ type: _contractspec_lib_schema210.FieldType<number, number>;
149
+ isOptional: true;
150
+ };
151
+ priority: {
152
+ type: _contractspec_lib_schema210.FieldType<number, number>;
153
+ isOptional: true;
154
+ };
155
+ timeoutMs: {
156
+ type: _contractspec_lib_schema210.FieldType<number, number>;
157
+ isOptional: true;
158
+ };
159
+ }>, _contractspec_lib_schema210.SchemaModel<{
160
+ id: {
161
+ type: _contractspec_lib_schema210.FieldType<string, string>;
162
+ isOptional: false;
163
+ };
164
+ type: {
165
+ type: _contractspec_lib_schema210.FieldType<string, string>;
166
+ isOptional: false;
167
+ };
168
+ version: {
169
+ type: _contractspec_lib_schema210.FieldType<string, string>;
170
+ isOptional: false;
171
+ };
172
+ payload: {
173
+ type: _contractspec_lib_schema210.FieldType<unknown, unknown>;
174
+ isOptional: false;
175
+ };
176
+ status: {
177
+ type: _contractspec_lib_schema210.FieldType<string, string>;
178
+ isOptional: false;
179
+ };
180
+ priority: {
181
+ type: _contractspec_lib_schema210.FieldType<number, number>;
182
+ isOptional: false;
183
+ };
184
+ attempts: {
185
+ type: _contractspec_lib_schema210.FieldType<number, number>;
186
+ isOptional: false;
187
+ };
188
+ maxRetries: {
189
+ type: _contractspec_lib_schema210.FieldType<number, number>;
190
+ isOptional: false;
191
+ };
192
+ createdAt: {
193
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
194
+ isOptional: false;
195
+ };
196
+ updatedAt: {
197
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
198
+ isOptional: false;
199
+ };
200
+ scheduledAt: {
201
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
202
+ isOptional: true;
203
+ };
204
+ startedAt: {
205
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
206
+ isOptional: true;
207
+ };
208
+ completedAt: {
209
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
210
+ isOptional: true;
211
+ };
212
+ lastError: {
213
+ type: _contractspec_lib_schema210.FieldType<string, string>;
214
+ isOptional: true;
215
+ };
216
+ }>, {
217
+ key: string;
218
+ version: string;
219
+ when: string;
220
+ payload: _contractspec_lib_schema210.SchemaModel<{
221
+ jobId: {
222
+ type: _contractspec_lib_schema210.FieldType<string, string>;
223
+ isOptional: false;
224
+ };
225
+ type: {
226
+ type: _contractspec_lib_schema210.FieldType<string, string>;
227
+ isOptional: false;
228
+ };
229
+ priority: {
230
+ type: _contractspec_lib_schema210.FieldType<number, number>;
231
+ isOptional: false;
232
+ };
233
+ scheduledAt: {
234
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
235
+ isOptional: true;
236
+ };
237
+ tenantId: {
238
+ type: _contractspec_lib_schema210.FieldType<string, string>;
239
+ isOptional: true;
240
+ };
241
+ enqueuedAt: {
242
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
243
+ isOptional: false;
244
+ };
245
+ }>;
246
+ }[]>;
247
+ /**
248
+ * Get job by ID.
249
+ */
250
+ declare const GetJobContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
251
+ jobId: {
252
+ type: _contractspec_lib_schema210.FieldType<string, string>;
253
+ isOptional: false;
254
+ };
255
+ }>, _contractspec_lib_schema210.SchemaModel<{
256
+ id: {
257
+ type: _contractspec_lib_schema210.FieldType<string, string>;
258
+ isOptional: false;
259
+ };
260
+ type: {
261
+ type: _contractspec_lib_schema210.FieldType<string, string>;
262
+ isOptional: false;
263
+ };
264
+ version: {
265
+ type: _contractspec_lib_schema210.FieldType<string, string>;
266
+ isOptional: false;
267
+ };
268
+ payload: {
269
+ type: _contractspec_lib_schema210.FieldType<unknown, unknown>;
270
+ isOptional: false;
271
+ };
272
+ status: {
273
+ type: _contractspec_lib_schema210.FieldType<string, string>;
274
+ isOptional: false;
275
+ };
276
+ priority: {
277
+ type: _contractspec_lib_schema210.FieldType<number, number>;
278
+ isOptional: false;
279
+ };
280
+ attempts: {
281
+ type: _contractspec_lib_schema210.FieldType<number, number>;
282
+ isOptional: false;
283
+ };
284
+ maxRetries: {
285
+ type: _contractspec_lib_schema210.FieldType<number, number>;
286
+ isOptional: false;
287
+ };
288
+ createdAt: {
289
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
290
+ isOptional: false;
291
+ };
292
+ updatedAt: {
293
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
294
+ isOptional: false;
295
+ };
296
+ scheduledAt: {
297
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
298
+ isOptional: true;
299
+ };
300
+ startedAt: {
301
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
302
+ isOptional: true;
303
+ };
304
+ completedAt: {
305
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
306
+ isOptional: true;
307
+ };
308
+ lastError: {
309
+ type: _contractspec_lib_schema210.FieldType<string, string>;
310
+ isOptional: true;
311
+ };
312
+ }>, undefined>;
313
+ /**
314
+ * Cancel a job.
315
+ */
316
+ declare const CancelJobContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
317
+ jobId: {
318
+ type: _contractspec_lib_schema210.FieldType<string, string>;
319
+ isOptional: false;
320
+ };
321
+ }>, _contractspec_lib_schema210.SchemaModel<{
322
+ success: {
323
+ type: _contractspec_lib_schema210.FieldType<boolean, boolean>;
324
+ isOptional: false;
325
+ };
326
+ }>, {
327
+ key: string;
328
+ version: string;
329
+ when: string;
330
+ payload: _contractspec_lib_schema210.SchemaModel<{
331
+ jobId: {
332
+ type: _contractspec_lib_schema210.FieldType<string, string>;
333
+ isOptional: false;
334
+ };
335
+ }>;
336
+ }[]>;
337
+ /**
338
+ * Get queue statistics.
339
+ */
340
+ declare const GetQueueStatsContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema210.AnySchemaModel, _contractspec_lib_schema210.SchemaModel<{
341
+ pending: {
342
+ type: _contractspec_lib_schema210.FieldType<number, number>;
343
+ isOptional: false;
344
+ };
345
+ running: {
346
+ type: _contractspec_lib_schema210.FieldType<number, number>;
347
+ isOptional: false;
348
+ };
349
+ completed: {
350
+ type: _contractspec_lib_schema210.FieldType<number, number>;
351
+ isOptional: false;
352
+ };
353
+ failed: {
354
+ type: _contractspec_lib_schema210.FieldType<number, number>;
355
+ isOptional: false;
356
+ };
357
+ deadLetter: {
358
+ type: _contractspec_lib_schema210.FieldType<number, number>;
359
+ isOptional: false;
360
+ };
361
+ }>, undefined>;
362
+ /**
363
+ * Create a scheduled job.
364
+ */
365
+ declare const CreateScheduledJobContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
366
+ name: {
367
+ type: _contractspec_lib_schema210.FieldType<string, string>;
368
+ isOptional: false;
369
+ };
370
+ description: {
371
+ type: _contractspec_lib_schema210.FieldType<string, string>;
372
+ isOptional: true;
373
+ };
374
+ cronExpression: {
375
+ type: _contractspec_lib_schema210.FieldType<string, string>;
376
+ isOptional: false;
377
+ };
378
+ timezone: {
379
+ type: _contractspec_lib_schema210.FieldType<string, string>;
380
+ isOptional: true;
381
+ };
382
+ jobType: {
383
+ type: _contractspec_lib_schema210.FieldType<string, string>;
384
+ isOptional: false;
385
+ };
386
+ payload: {
387
+ type: _contractspec_lib_schema210.FieldType<unknown, unknown>;
388
+ isOptional: true;
389
+ };
390
+ maxRetries: {
391
+ type: _contractspec_lib_schema210.FieldType<number, number>;
392
+ isOptional: true;
393
+ };
394
+ enabled: {
395
+ type: _contractspec_lib_schema210.FieldType<boolean, boolean>;
396
+ isOptional: true;
397
+ };
398
+ }>, _contractspec_lib_schema210.SchemaModel<{
399
+ id: {
400
+ type: _contractspec_lib_schema210.FieldType<string, string>;
401
+ isOptional: false;
402
+ };
403
+ name: {
404
+ type: _contractspec_lib_schema210.FieldType<string, string>;
405
+ isOptional: false;
406
+ };
407
+ description: {
408
+ type: _contractspec_lib_schema210.FieldType<string, string>;
409
+ isOptional: true;
410
+ };
411
+ cronExpression: {
412
+ type: _contractspec_lib_schema210.FieldType<string, string>;
413
+ isOptional: false;
414
+ };
415
+ timezone: {
416
+ type: _contractspec_lib_schema210.FieldType<string, string>;
417
+ isOptional: false;
418
+ };
419
+ jobType: {
420
+ type: _contractspec_lib_schema210.FieldType<string, string>;
421
+ isOptional: false;
422
+ };
423
+ enabled: {
424
+ type: _contractspec_lib_schema210.FieldType<boolean, boolean>;
425
+ isOptional: false;
426
+ };
427
+ lastRunAt: {
428
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
429
+ isOptional: true;
430
+ };
431
+ nextRunAt: {
432
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
433
+ isOptional: true;
434
+ };
435
+ createdAt: {
436
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
437
+ isOptional: false;
438
+ };
439
+ }>, undefined>;
440
+ /**
441
+ * List scheduled jobs.
442
+ */
443
+ declare const ListScheduledJobsContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema210.AnySchemaModel, _contractspec_lib_schema210.SchemaModel<{
444
+ schedules: {
445
+ type: _contractspec_lib_schema210.SchemaModel<{
446
+ id: {
447
+ type: _contractspec_lib_schema210.FieldType<string, string>;
448
+ isOptional: false;
449
+ };
450
+ name: {
451
+ type: _contractspec_lib_schema210.FieldType<string, string>;
452
+ isOptional: false;
453
+ };
454
+ description: {
455
+ type: _contractspec_lib_schema210.FieldType<string, string>;
456
+ isOptional: true;
457
+ };
458
+ cronExpression: {
459
+ type: _contractspec_lib_schema210.FieldType<string, string>;
460
+ isOptional: false;
461
+ };
462
+ timezone: {
463
+ type: _contractspec_lib_schema210.FieldType<string, string>;
464
+ isOptional: false;
465
+ };
466
+ jobType: {
467
+ type: _contractspec_lib_schema210.FieldType<string, string>;
468
+ isOptional: false;
469
+ };
470
+ enabled: {
471
+ type: _contractspec_lib_schema210.FieldType<boolean, boolean>;
472
+ isOptional: false;
473
+ };
474
+ lastRunAt: {
475
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
476
+ isOptional: true;
477
+ };
478
+ nextRunAt: {
479
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
480
+ isOptional: true;
481
+ };
482
+ createdAt: {
483
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
484
+ isOptional: false;
485
+ };
486
+ }>;
487
+ isArray: true;
488
+ isOptional: false;
489
+ };
490
+ }>, undefined>;
491
+ /**
492
+ * Toggle scheduled job enabled state.
493
+ */
494
+ declare const ToggleScheduledJobContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
495
+ name: {
496
+ type: _contractspec_lib_schema210.FieldType<string, string>;
497
+ isOptional: false;
498
+ };
499
+ enabled: {
500
+ type: _contractspec_lib_schema210.FieldType<boolean, boolean>;
501
+ isOptional: false;
502
+ };
503
+ }>, _contractspec_lib_schema210.SchemaModel<{
504
+ id: {
505
+ type: _contractspec_lib_schema210.FieldType<string, string>;
506
+ isOptional: false;
507
+ };
508
+ name: {
509
+ type: _contractspec_lib_schema210.FieldType<string, string>;
510
+ isOptional: false;
511
+ };
512
+ description: {
513
+ type: _contractspec_lib_schema210.FieldType<string, string>;
514
+ isOptional: true;
515
+ };
516
+ cronExpression: {
517
+ type: _contractspec_lib_schema210.FieldType<string, string>;
518
+ isOptional: false;
519
+ };
520
+ timezone: {
521
+ type: _contractspec_lib_schema210.FieldType<string, string>;
522
+ isOptional: false;
523
+ };
524
+ jobType: {
525
+ type: _contractspec_lib_schema210.FieldType<string, string>;
526
+ isOptional: false;
527
+ };
528
+ enabled: {
529
+ type: _contractspec_lib_schema210.FieldType<boolean, boolean>;
530
+ isOptional: false;
531
+ };
532
+ lastRunAt: {
533
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
534
+ isOptional: true;
535
+ };
536
+ nextRunAt: {
537
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
538
+ isOptional: true;
539
+ };
540
+ createdAt: {
541
+ type: _contractspec_lib_schema210.FieldType<Date, string>;
542
+ isOptional: false;
543
+ };
544
+ }>, undefined>;
545
+ //#endregion
546
+ export { CancelJobContract, CreateScheduledJobContract, EnqueueJobContract, GetJobContract, GetQueueStatsContract, JobModel, ListScheduledJobsContract, QueueStatsModel, ScheduledJobModel, ToggleScheduledJobContract };
547
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/contracts/index.ts"],"sourcesContent":[],"mappings":";;;;cAOa,sCAAQ;;UAmBnB,2BAAA,CAAA;;EAnBW,CAAA;EAmBX,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;EAnBmB,QAAA,EAAA;IAqBR,IAAA,uCAkBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;EAlB4B,WAAA,EAAA;IAoBjB,IAAA,uCAUX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;EAV0B,WAAA,EAAA;IAmHf,IAAA,uCA4BX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;cAnKW,iBAuIkB,8BAvID,WAuIC,CAAA;EAAA,EAAA,EAAA;UArH7B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;+CAqH6B,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAiClB,CAAA;EAkBX,SAAA,EAAA;+CAlByB,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;cApJd,6CAAe;;UAU1B,2BAAA,CAAA;;;;;;;;;;;;IA0IyB,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAuBd,UAAA,EAAA,KA0CX;EAAA,CAAA;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