@contractspec/lib.jobs 0.0.0-canary-20260113173657 → 0.0.0-canary-20260119222405
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _contractspec_lib_schema210 from "@contractspec/lib.schema";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_contracts15 from "@contractspec/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/contracts/index.d.ts
|
|
5
5
|
declare const JobModel: _contractspec_lib_schema210.SchemaModel<{
|
|
@@ -127,7 +127,7 @@ declare const QueueStatsModel: _contractspec_lib_schema210.SchemaModel<{
|
|
|
127
127
|
/**
|
|
128
128
|
* Enqueue a job.
|
|
129
129
|
*/
|
|
130
|
-
declare const EnqueueJobContract:
|
|
130
|
+
declare const EnqueueJobContract: _contractspec_lib_contracts15.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
|
|
131
131
|
type: {
|
|
132
132
|
type: _contractspec_lib_schema210.FieldType<string, string>;
|
|
133
133
|
isOptional: false;
|
|
@@ -247,7 +247,7 @@ declare const EnqueueJobContract: _contractspec_lib_contracts18.OperationSpec<_c
|
|
|
247
247
|
/**
|
|
248
248
|
* Get job by ID.
|
|
249
249
|
*/
|
|
250
|
-
declare const GetJobContract:
|
|
250
|
+
declare const GetJobContract: _contractspec_lib_contracts15.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
|
|
251
251
|
jobId: {
|
|
252
252
|
type: _contractspec_lib_schema210.FieldType<string, string>;
|
|
253
253
|
isOptional: false;
|
|
@@ -313,7 +313,7 @@ declare const GetJobContract: _contractspec_lib_contracts18.OperationSpec<_contr
|
|
|
313
313
|
/**
|
|
314
314
|
* Cancel a job.
|
|
315
315
|
*/
|
|
316
|
-
declare const CancelJobContract:
|
|
316
|
+
declare const CancelJobContract: _contractspec_lib_contracts15.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
|
|
317
317
|
jobId: {
|
|
318
318
|
type: _contractspec_lib_schema210.FieldType<string, string>;
|
|
319
319
|
isOptional: false;
|
|
@@ -337,7 +337,7 @@ declare const CancelJobContract: _contractspec_lib_contracts18.OperationSpec<_co
|
|
|
337
337
|
/**
|
|
338
338
|
* Get queue statistics.
|
|
339
339
|
*/
|
|
340
|
-
declare const GetQueueStatsContract:
|
|
340
|
+
declare const GetQueueStatsContract: _contractspec_lib_contracts15.OperationSpec<_contractspec_lib_schema210.AnySchemaModel, _contractspec_lib_schema210.SchemaModel<{
|
|
341
341
|
pending: {
|
|
342
342
|
type: _contractspec_lib_schema210.FieldType<number, number>;
|
|
343
343
|
isOptional: false;
|
|
@@ -362,7 +362,7 @@ declare const GetQueueStatsContract: _contractspec_lib_contracts18.OperationSpec
|
|
|
362
362
|
/**
|
|
363
363
|
* Create a scheduled job.
|
|
364
364
|
*/
|
|
365
|
-
declare const CreateScheduledJobContract:
|
|
365
|
+
declare const CreateScheduledJobContract: _contractspec_lib_contracts15.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
|
|
366
366
|
name: {
|
|
367
367
|
type: _contractspec_lib_schema210.FieldType<string, string>;
|
|
368
368
|
isOptional: false;
|
|
@@ -440,7 +440,7 @@ declare const CreateScheduledJobContract: _contractspec_lib_contracts18.Operatio
|
|
|
440
440
|
/**
|
|
441
441
|
* List scheduled jobs.
|
|
442
442
|
*/
|
|
443
|
-
declare const ListScheduledJobsContract:
|
|
443
|
+
declare const ListScheduledJobsContract: _contractspec_lib_contracts15.OperationSpec<_contractspec_lib_schema210.AnySchemaModel, _contractspec_lib_schema210.SchemaModel<{
|
|
444
444
|
schedules: {
|
|
445
445
|
type: _contractspec_lib_schema210.SchemaModel<{
|
|
446
446
|
id: {
|
|
@@ -491,7 +491,7 @@ declare const ListScheduledJobsContract: _contractspec_lib_contracts18.Operation
|
|
|
491
491
|
/**
|
|
492
492
|
* Toggle scheduled job enabled state.
|
|
493
493
|
*/
|
|
494
|
-
declare const ToggleScheduledJobContract:
|
|
494
|
+
declare const ToggleScheduledJobContract: _contractspec_lib_contracts15.OperationSpec<_contractspec_lib_schema210.SchemaModel<{
|
|
495
495
|
name: {
|
|
496
496
|
type: _contractspec_lib_schema210.FieldType<string, string>;
|
|
497
497
|
isOptional: false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts22 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/jobs.capability.d.ts
|
|
4
|
-
declare const JobsCapability:
|
|
5
|
-
declare const SchedulerCapability:
|
|
4
|
+
declare const JobsCapability: _contractspec_lib_contracts22.CapabilitySpec;
|
|
5
|
+
declare const SchedulerCapability: _contractspec_lib_contracts22.CapabilitySpec;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { JobsCapability, SchedulerCapability };
|
|
8
8
|
//# sourceMappingURL=jobs.capability.d.ts.map
|
package/dist/jobs.feature.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts24 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/jobs.feature.d.ts
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import * as _contractspec_lib_contracts17 from "@contractspec/lib.contracts";
|
|
|
6
6
|
* Jobs feature module that bundles background job processing,
|
|
7
7
|
* queues, and scheduling capabilities.
|
|
8
8
|
*/
|
|
9
|
-
declare const JobsFeature:
|
|
9
|
+
declare const JobsFeature: _contractspec_lib_contracts24.FeatureModuleSpec;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { JobsFeature };
|
|
12
12
|
//# sourceMappingURL=jobs.feature.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.jobs",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260119222405",
|
|
4
4
|
"description": "Background jobs and scheduler module for ContractSpec applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"contractspec",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"lint:check": "eslint src"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@contractspec/lib.schema": "
|
|
29
|
-
"@contractspec/lib.contracts": "0.0.0-canary-
|
|
30
|
-
"@contractspec/lib.logger": "
|
|
31
|
-
"@contractspec/lib.knowledge": "0.0.0-canary-
|
|
28
|
+
"@contractspec/lib.schema": "1.48.0",
|
|
29
|
+
"@contractspec/lib.contracts": "0.0.0-canary-20260119222405",
|
|
30
|
+
"@contractspec/lib.logger": "1.48.0",
|
|
31
|
+
"@contractspec/lib.knowledge": "0.0.0-canary-20260119222405",
|
|
32
32
|
"@aws-sdk/client-sqs": "^3.966.0",
|
|
33
33
|
"zod": "^4.3.5",
|
|
34
34
|
"cron-parser": "^5.4.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@contractspec/tool.typescript": "
|
|
38
|
-
"@contractspec/tool.tsdown": "
|
|
37
|
+
"@contractspec/tool.typescript": "1.48.0",
|
|
38
|
+
"@contractspec/tool.tsdown": "1.48.0",
|
|
39
39
|
"typescript": "^5.9.3"
|
|
40
40
|
},
|
|
41
41
|
"exports": {
|