@lssm/lib.jobs 0.0.0-canary-20251217080011 → 0.0.0-canary-20251219202229
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.
- package/LICENSE +21 -0
- package/dist/_virtual/rolldown_runtime.js +1 -7
- package/dist/contracts/dist/capabilities/openbanking.js +2 -1
- package/dist/contracts/dist/capabilities/openbanking.js.map +1 -0
- package/dist/contracts/dist/contract-registry/schemas.js +2 -1
- package/dist/contracts/dist/contract-registry/schemas.js.map +1 -0
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +2 -1
- package/dist/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/index.js +2 -6
- package/dist/contracts/dist/docs/meta.docs.js +30 -0
- package/dist/contracts/dist/docs/meta.docs.js.map +1 -0
- package/dist/contracts/dist/docs/presentations.js +2 -1
- package/dist/contracts/dist/docs/presentations.js.map +1 -0
- package/dist/contracts/dist/docs/registry.js +2 -1
- package/dist/contracts/dist/docs/registry.js.map +1 -0
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js +2 -1
- package/dist/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -0
- package/dist/contracts/dist/docs/tech-contracts.docs.js +97 -0
- package/dist/contracts/dist/docs/tech-contracts.docs.js.map +1 -0
- package/dist/contracts/dist/events.js +2 -1
- package/dist/contracts/dist/events.js.map +1 -0
- package/dist/contracts/dist/index.js +2 -1
- package/dist/contracts/dist/integrations/contracts.js +65 -66
- package/dist/contracts/dist/integrations/contracts.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js +31 -32
- package/dist/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js +18 -19
- package/dist/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js +32 -33
- package/dist/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/models.js +60 -61
- package/dist/contracts/dist/integrations/openbanking/models.js.map +1 -0
- package/dist/contracts/dist/integrations/openbanking/telemetry.js +2 -1
- package/dist/contracts/dist/integrations/openbanking/telemetry.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/elevenlabs.js +2 -1
- package/dist/contracts/dist/integrations/providers/elevenlabs.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/gcs-storage.js +2 -1
- package/dist/contracts/dist/integrations/providers/gcs-storage.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/gmail.js +2 -1
- package/dist/contracts/dist/integrations/providers/gmail.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/google-calendar.js +2 -1
- package/dist/contracts/dist/integrations/providers/google-calendar.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/mistral.js +2 -1
- package/dist/contracts/dist/integrations/providers/mistral.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/postmark.js +2 -1
- package/dist/contracts/dist/integrations/providers/postmark.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/powens.js +2 -1
- package/dist/contracts/dist/integrations/providers/powens.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/qdrant.js +2 -1
- package/dist/contracts/dist/integrations/providers/qdrant.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/stripe.js +2 -1
- package/dist/contracts/dist/integrations/providers/stripe.js.map +1 -0
- package/dist/contracts/dist/integrations/providers/twilio-sms.js +2 -1
- package/dist/contracts/dist/integrations/providers/twilio-sms.js.map +1 -0
- package/dist/contracts/dist/jobs/queue.js +2 -1
- package/dist/contracts/dist/jobs/queue.js.map +1 -0
- package/dist/contracts/dist/knowledge/contracts.js +44 -45
- package/dist/contracts/dist/knowledge/contracts.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/email-threads.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/email-threads.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/product-canon.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/product-canon.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/support-faq.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/support-faq.js.map +1 -0
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js +2 -1
- package/dist/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -0
- package/dist/contracts/dist/llm/exporters.js +2 -1
- package/dist/contracts/dist/llm/exporters.js.map +1 -0
- package/dist/contracts/dist/onboarding-base.js +22 -23
- package/dist/contracts/dist/onboarding-base.js.map +1 -0
- package/dist/contracts/dist/ownership.js +4 -2
- package/dist/contracts/dist/ownership.js.map +1 -0
- package/dist/contracts/dist/presentations.v2.js +2 -1
- package/dist/contracts/dist/presentations.v2.js.map +1 -0
- package/dist/contracts/dist/regenerator/service.js +2 -1
- package/dist/contracts/dist/regenerator/service.js.map +1 -0
- package/dist/contracts/dist/schema/dist/index.js +3873 -6
- package/dist/contracts/dist/schema/dist/index.js.map +1 -0
- package/dist/contracts/dist/spec.js +2 -1
- package/dist/contracts/dist/spec.js.map +1 -0
- package/dist/contracts/index.d.ts +141 -140
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +71 -72
- package/dist/contracts/index.js.map +1 -0
- package/dist/entities/index.d.ts +2 -1
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +67 -67
- package/dist/entities/index.js.map +1 -0
- package/dist/events.d.ts +100 -99
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +51 -52
- package/dist/events.js.map +1 -0
- package/dist/handlers/gmail-sync-handler.d.ts +2 -1
- package/dist/handlers/gmail-sync-handler.d.ts.map +1 -0
- package/dist/handlers/gmail-sync-handler.js +2 -1
- package/dist/handlers/gmail-sync-handler.js.map +1 -0
- package/dist/handlers/index.d.ts +2 -1
- package/dist/handlers/index.d.ts.map +1 -0
- package/dist/handlers/index.js +2 -1
- package/dist/handlers/index.js.map +1 -0
- package/dist/handlers/ping-job.d.ts +2 -1
- package/dist/handlers/ping-job.d.ts.map +1 -0
- package/dist/handlers/ping-job.js +2 -1
- package/dist/handlers/ping-job.js.map +1 -0
- package/dist/handlers/storage-document-handler.d.ts +2 -1
- package/dist/handlers/storage-document-handler.d.ts.map +1 -0
- package/dist/handlers/storage-document-handler.js +2 -1
- package/dist/handlers/storage-document-handler.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/jobs.feature.d.ts +2 -1
- package/dist/jobs.feature.d.ts.map +1 -0
- package/dist/jobs.feature.js +2 -1
- package/dist/jobs.feature.js.map +1 -0
- package/dist/queue/gcp-cloud-tasks.d.ts +2 -1
- package/dist/queue/gcp-cloud-tasks.d.ts.map +1 -0
- package/dist/queue/gcp-cloud-tasks.js +2 -1
- package/dist/queue/gcp-cloud-tasks.js.map +1 -0
- package/dist/queue/gcp-pubsub.d.ts +2 -1
- package/dist/queue/gcp-pubsub.d.ts.map +1 -0
- package/dist/queue/gcp-pubsub.js +2 -1
- package/dist/queue/gcp-pubsub.js.map +1 -0
- package/dist/queue/index.d.ts +2 -1
- package/dist/queue/index.d.ts.map +1 -0
- package/dist/queue/memory-queue.d.ts +2 -1
- package/dist/queue/memory-queue.d.ts.map +1 -0
- package/dist/queue/memory-queue.js +2 -1
- package/dist/queue/memory-queue.js.map +1 -0
- package/dist/queue/register-defined-job.d.ts +2 -1
- package/dist/queue/register-defined-job.d.ts.map +1 -0
- package/dist/queue/register-defined-job.js +2 -1
- package/dist/queue/register-defined-job.js.map +1 -0
- package/dist/queue/scaleway-sqs-queue.d.ts +2 -1
- package/dist/queue/scaleway-sqs-queue.d.ts.map +1 -0
- package/dist/queue/scaleway-sqs-queue.js +2 -1
- package/dist/queue/scaleway-sqs-queue.js.map +1 -0
- package/dist/queue/types.d.ts +3 -2
- package/dist/queue/types.d.ts.map +1 -0
- package/dist/scheduler/index.d.ts +2 -1
- package/dist/scheduler/index.d.ts.map +1 -0
- package/dist/scheduler/index.js +2 -1
- package/dist/scheduler/index.js.map +1 -0
- package/dist/schema/dist/index.js +4889 -6
- package/dist/schema/dist/index.js.map +1 -0
- package/package.json +9 -8
- package/dist/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
- package/dist/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
- package/dist/contracts/dist/schema/dist/EnumType.js +0 -2
- package/dist/contracts/dist/schema/dist/FieldType.js +0 -49
- package/dist/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/contracts/dist/schema/dist/SchemaModel.js +0 -34
- package/dist/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
- package/dist/contracts/dist/schema/dist/entity/index.js +0 -2
- package/dist/contracts/dist/schema/dist/entity/types.js +0 -1
- package/dist/schema/dist/EnumType.js +0 -2
- package/dist/schema/dist/FieldType.js +0 -49
- package/dist/schema/dist/ScalarTypeEnum.js +0 -236
- package/dist/schema/dist/SchemaModel.js +0 -39
- package/dist/schema/dist/entity/defineEntity.js +0 -236
- package/dist/schema/dist/entity/index.js +0 -2
- package/dist/schema/dist/entity/types.js +0 -1
package/dist/events.d.ts
CHANGED
|
@@ -1,204 +1,204 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema0 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Emitted when a job is enqueued.
|
|
7
7
|
*/
|
|
8
|
-
declare const JobEnqueuedEvent:
|
|
8
|
+
declare const JobEnqueuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
9
9
|
jobId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
type: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
priority: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
scheduledAt: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
tenantId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
enqueuedAt: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
}>>;
|
|
34
34
|
/**
|
|
35
35
|
* Emitted when a job starts processing.
|
|
36
36
|
*/
|
|
37
|
-
declare const JobStartedEvent:
|
|
37
|
+
declare const JobStartedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
38
38
|
jobId: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
type: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
attempt: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
startedAt: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
}>>;
|
|
55
55
|
/**
|
|
56
56
|
* Emitted when a job completes successfully.
|
|
57
57
|
*/
|
|
58
|
-
declare const JobCompletedEvent:
|
|
58
|
+
declare const JobCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
59
59
|
jobId: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
type: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
65
65
|
isOptional: false;
|
|
66
66
|
};
|
|
67
67
|
attempt: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
durationMs: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
completedAt: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
}>>;
|
|
80
80
|
/**
|
|
81
81
|
* Emitted when a job fails (single attempt).
|
|
82
82
|
*/
|
|
83
|
-
declare const JobFailedEvent:
|
|
83
|
+
declare const JobFailedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
84
84
|
jobId: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
type: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
attempt: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
error: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
willRetry: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema0.FieldType<boolean, boolean>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
failedAt: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
}>>;
|
|
109
109
|
/**
|
|
110
110
|
* Emitted when a job is being retried.
|
|
111
111
|
*/
|
|
112
|
-
declare const JobRetryingEvent:
|
|
112
|
+
declare const JobRetryingEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
113
113
|
jobId: {
|
|
114
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
115
115
|
isOptional: false;
|
|
116
116
|
};
|
|
117
117
|
type: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
attempt: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
nextAttemptAt: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
127
127
|
isOptional: false;
|
|
128
128
|
};
|
|
129
129
|
backoffMs: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
}>>;
|
|
134
134
|
/**
|
|
135
135
|
* Emitted when a job is moved to dead letter queue.
|
|
136
136
|
*/
|
|
137
|
-
declare const JobDeadLetteredEvent:
|
|
137
|
+
declare const JobDeadLetteredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
138
138
|
jobId: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
type: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
attempts: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
lastError: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
deadLetteredAt: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
}>>;
|
|
159
159
|
/**
|
|
160
160
|
* Emitted when a job is cancelled.
|
|
161
161
|
*/
|
|
162
|
-
declare const JobCancelledEvent:
|
|
162
|
+
declare const JobCancelledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
163
163
|
jobId: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
type: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
cancelledBy: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
cancelledAt: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
}>>;
|
|
180
180
|
/**
|
|
181
181
|
* Emitted when a scheduled job is triggered.
|
|
182
182
|
*/
|
|
183
|
-
declare const ScheduledJobTriggeredEvent:
|
|
183
|
+
declare const ScheduledJobTriggeredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
184
184
|
scheduleName: {
|
|
185
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
186
186
|
isOptional: false;
|
|
187
187
|
};
|
|
188
188
|
jobId: {
|
|
189
|
-
type:
|
|
189
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
190
190
|
isOptional: false;
|
|
191
191
|
};
|
|
192
192
|
jobType: {
|
|
193
|
-
type:
|
|
193
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
194
194
|
isOptional: false;
|
|
195
195
|
};
|
|
196
196
|
triggeredAt: {
|
|
197
|
-
type:
|
|
197
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
198
198
|
isOptional: false;
|
|
199
199
|
};
|
|
200
200
|
nextRunAt: {
|
|
201
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
202
202
|
isOptional: true;
|
|
203
203
|
};
|
|
204
204
|
}>>;
|
|
@@ -206,182 +206,183 @@ declare const ScheduledJobTriggeredEvent: _lssm_lib_contracts6.EventSpec<_lssm_l
|
|
|
206
206
|
* All job events.
|
|
207
207
|
*/
|
|
208
208
|
declare const JobEvents: {
|
|
209
|
-
JobEnqueuedEvent:
|
|
209
|
+
JobEnqueuedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
210
210
|
jobId: {
|
|
211
|
-
type:
|
|
211
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
212
212
|
isOptional: false;
|
|
213
213
|
};
|
|
214
214
|
type: {
|
|
215
|
-
type:
|
|
215
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
216
216
|
isOptional: false;
|
|
217
217
|
};
|
|
218
218
|
priority: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
scheduledAt: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
224
224
|
isOptional: true;
|
|
225
225
|
};
|
|
226
226
|
tenantId: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
228
228
|
isOptional: true;
|
|
229
229
|
};
|
|
230
230
|
enqueuedAt: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
232
232
|
isOptional: false;
|
|
233
233
|
};
|
|
234
234
|
}>>;
|
|
235
|
-
JobStartedEvent:
|
|
235
|
+
JobStartedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
236
236
|
jobId: {
|
|
237
|
-
type:
|
|
237
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
238
238
|
isOptional: false;
|
|
239
239
|
};
|
|
240
240
|
type: {
|
|
241
|
-
type:
|
|
241
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
242
242
|
isOptional: false;
|
|
243
243
|
};
|
|
244
244
|
attempt: {
|
|
245
|
-
type:
|
|
245
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
246
246
|
isOptional: false;
|
|
247
247
|
};
|
|
248
248
|
startedAt: {
|
|
249
|
-
type:
|
|
249
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
250
250
|
isOptional: false;
|
|
251
251
|
};
|
|
252
252
|
}>>;
|
|
253
|
-
JobCompletedEvent:
|
|
253
|
+
JobCompletedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
254
254
|
jobId: {
|
|
255
|
-
type:
|
|
255
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
256
256
|
isOptional: false;
|
|
257
257
|
};
|
|
258
258
|
type: {
|
|
259
|
-
type:
|
|
259
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
260
260
|
isOptional: false;
|
|
261
261
|
};
|
|
262
262
|
attempt: {
|
|
263
|
-
type:
|
|
263
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
264
264
|
isOptional: false;
|
|
265
265
|
};
|
|
266
266
|
durationMs: {
|
|
267
|
-
type:
|
|
267
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
268
268
|
isOptional: false;
|
|
269
269
|
};
|
|
270
270
|
completedAt: {
|
|
271
|
-
type:
|
|
271
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
272
272
|
isOptional: false;
|
|
273
273
|
};
|
|
274
274
|
}>>;
|
|
275
|
-
JobFailedEvent:
|
|
275
|
+
JobFailedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
276
276
|
jobId: {
|
|
277
|
-
type:
|
|
277
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
278
278
|
isOptional: false;
|
|
279
279
|
};
|
|
280
280
|
type: {
|
|
281
|
-
type:
|
|
281
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
282
282
|
isOptional: false;
|
|
283
283
|
};
|
|
284
284
|
attempt: {
|
|
285
|
-
type:
|
|
285
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
286
286
|
isOptional: false;
|
|
287
287
|
};
|
|
288
288
|
error: {
|
|
289
|
-
type:
|
|
289
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
290
290
|
isOptional: false;
|
|
291
291
|
};
|
|
292
292
|
willRetry: {
|
|
293
|
-
type:
|
|
293
|
+
type: _lssm_lib_schema0.FieldType<boolean, boolean>;
|
|
294
294
|
isOptional: false;
|
|
295
295
|
};
|
|
296
296
|
failedAt: {
|
|
297
|
-
type:
|
|
297
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
298
298
|
isOptional: false;
|
|
299
299
|
};
|
|
300
300
|
}>>;
|
|
301
|
-
JobRetryingEvent:
|
|
301
|
+
JobRetryingEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
302
302
|
jobId: {
|
|
303
|
-
type:
|
|
303
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
304
304
|
isOptional: false;
|
|
305
305
|
};
|
|
306
306
|
type: {
|
|
307
|
-
type:
|
|
307
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
308
308
|
isOptional: false;
|
|
309
309
|
};
|
|
310
310
|
attempt: {
|
|
311
|
-
type:
|
|
311
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
312
312
|
isOptional: false;
|
|
313
313
|
};
|
|
314
314
|
nextAttemptAt: {
|
|
315
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
316
316
|
isOptional: false;
|
|
317
317
|
};
|
|
318
318
|
backoffMs: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
}>>;
|
|
323
|
-
JobDeadLetteredEvent:
|
|
323
|
+
JobDeadLetteredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
324
324
|
jobId: {
|
|
325
|
-
type:
|
|
325
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
326
326
|
isOptional: false;
|
|
327
327
|
};
|
|
328
328
|
type: {
|
|
329
|
-
type:
|
|
329
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
330
330
|
isOptional: false;
|
|
331
331
|
};
|
|
332
332
|
attempts: {
|
|
333
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
334
334
|
isOptional: false;
|
|
335
335
|
};
|
|
336
336
|
lastError: {
|
|
337
|
-
type:
|
|
337
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
338
338
|
isOptional: false;
|
|
339
339
|
};
|
|
340
340
|
deadLetteredAt: {
|
|
341
|
-
type:
|
|
341
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
342
342
|
isOptional: false;
|
|
343
343
|
};
|
|
344
344
|
}>>;
|
|
345
|
-
JobCancelledEvent:
|
|
345
|
+
JobCancelledEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
346
346
|
jobId: {
|
|
347
|
-
type:
|
|
347
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
348
348
|
isOptional: false;
|
|
349
349
|
};
|
|
350
350
|
type: {
|
|
351
|
-
type:
|
|
351
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
352
352
|
isOptional: false;
|
|
353
353
|
};
|
|
354
354
|
cancelledBy: {
|
|
355
|
-
type:
|
|
355
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
356
356
|
isOptional: true;
|
|
357
357
|
};
|
|
358
358
|
cancelledAt: {
|
|
359
|
-
type:
|
|
359
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
360
360
|
isOptional: false;
|
|
361
361
|
};
|
|
362
362
|
}>>;
|
|
363
|
-
ScheduledJobTriggeredEvent:
|
|
363
|
+
ScheduledJobTriggeredEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema0.SchemaModel<{
|
|
364
364
|
scheduleName: {
|
|
365
|
-
type:
|
|
365
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
366
366
|
isOptional: false;
|
|
367
367
|
};
|
|
368
368
|
jobId: {
|
|
369
|
-
type:
|
|
369
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
370
370
|
isOptional: false;
|
|
371
371
|
};
|
|
372
372
|
jobType: {
|
|
373
|
-
type:
|
|
373
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
374
374
|
isOptional: false;
|
|
375
375
|
};
|
|
376
376
|
triggeredAt: {
|
|
377
|
-
type:
|
|
377
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
378
378
|
isOptional: false;
|
|
379
379
|
};
|
|
380
380
|
nextRunAt: {
|
|
381
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
382
382
|
isOptional: true;
|
|
383
383
|
};
|
|
384
384
|
}>>;
|
|
385
385
|
};
|
|
386
386
|
//#endregion
|
|
387
|
-
export { JobCancelledEvent, JobCompletedEvent, JobDeadLetteredEvent, JobEnqueuedEvent, JobEvents, JobFailedEvent, JobRetryingEvent, JobStartedEvent, ScheduledJobTriggeredEvent };
|
|
387
|
+
export { JobCancelledEvent, JobCompletedEvent, JobDeadLetteredEvent, JobEnqueuedEvent, JobEvents, JobFailedEvent, JobRetryingEvent, JobStartedEvent, ScheduledJobTriggeredEvent };
|
|
388
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;;;;cA0Ga,kBAAgB,oBAAA,CAAA,4BAAA;EAAhB,KAAA,EAAA;IAKX,IAAA,EAAA,iBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;qCAL2B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAUhB,WAAA,EAAA;IAKX,IAAA,6BAAA,KAAA,EAAA,MAAA,CAAA;;;;;gBAL0B,IAAA;EAAA,CAAA;EAAA,UAAA,EAAA;IAUf,IAAA,6BAKX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;cAfW,eAUiB,EAVF,oBAAA,CAAA,SAUE,mBAVF,WAUE,CAAA;EAAA,KAAA,EAAA;IAAA,IAAA,EAL5B,iBAAA,CAAA,SAK4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAUjB,UAAA,EAAA,KAKX;EAAA,CAAA;;;;;;;gBALyB,KAAA;EAAA,CAAA;EAAA,SAAA,EAAA;IAUd,IAAA,6BAKX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;cAzBW,iBAoBgB,EApBC,oBAAA,CAAA,SAoBD,mBApBC,WAoBD,CAAA;EAAA,KAAA,EAAA;IAAA,IAAA,EAf3B,iBAAA,CAAA,SAe2B,CAAA,MAAA,EAAA,MAAA,CAAA;IAUhB,UAAA,EAAA,KAAA;EAMX,CAAA;;;;;;qCAN+B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAWpB,UAAA,EAAA;IAKX,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;gBAL4B,KAAA;EAAA,CAAA;CAAA,CAAA,CAAA;AAU9B;;;cAzCa,gBAAc,oBAAA,CAAA,4BAAA;;UAKzB,iBAAA,CAAA;;;;IAoCqC,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAU1B,CAAA;EASZ,OAAA,EAAA;;;;;;;;;;;;;;;;;;;;cAlDY,kBAAgB,oBAAA,CAAA,4BAAA;;UAK3B,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAKW,sBAAoB,oBAAA,CAAA,4BAAA;;UAM/B,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAKW,mBAAiB,oBAAA,CAAA,4BAAA;;UAK5B,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;cAKW,4BAA0B,oBAAA,CAAA,4BAAA;;UAKrC,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAKW;;;YASZ,iBAAA,CAAA"}
|