@lssm/lib.jobs 0.0.0-canary-20251217083314 → 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 +140 -139
- 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 +118 -117
- 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 +2 -1
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/contracts/index.ts"],"sourcesContent":[],"mappings":";;;;cAOa,6BAAQ;;UAmBnB,kBAAA,CAAA;;EAnBW,CAAA;EAmBX,IAAA,EAAA;;;;;;;;;;;;;;;;;;;;EAnBmB,QAAA,EAAA;IAqBR,IAAA,8BAkBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;EAlB4B,WAAA,EAAA;IAoBjB,IAAA,8BAUX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;EAV0B,WAAA,EAAA;IAmHf,IAAA,8BA4BX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;cAnKW,iBAuIkB,qBAvID,WAuIC,CAAA;EAAA,EAAA,EAAA;UArH7B,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAqH6B,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAiClB,CAAA;EAkBX,SAAA,EAAA;sCAlByB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;;;;;;cA+CjB,uBAAqB,qBAAA,CAAA,aAkBhC,kBAAA,CAlBgC,cAAA,qBAAA;;UAAA,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAuBrB,kDAA0B,gCAAA;;UAkBrC,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAlBqC,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuB1B,2BAAyB,qBAAA,CAAA,aAkBpC,kBAAA,CAlBoC,cAAA,qBAAA;;;;cAAA,kBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBzB,kDAA0B,gCAAA;;UAkBrC,kBAAA,CAAA;;;;;;;;;UAlBqC,kBAAA,CAAA"}
|
package/dist/contracts/index.js
CHANGED
|
@@ -1,242 +1,240 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineSchemaModel } from "../schema/dist/SchemaModel.js";
|
|
3
|
-
import "../schema/dist/index.js";
|
|
1
|
+
import { E5, K5 } from "../schema/dist/index.js";
|
|
4
2
|
import { defineCommand, defineQuery } from "./dist/spec.js";
|
|
5
3
|
import "./dist/index.js";
|
|
6
4
|
|
|
7
5
|
//#region src/contracts/index.ts
|
|
8
6
|
const OWNERS = ["platform.jobs"];
|
|
9
|
-
const JobModel =
|
|
7
|
+
const JobModel = K5({
|
|
10
8
|
name: "Job",
|
|
11
9
|
description: "Represents a background job",
|
|
12
10
|
fields: {
|
|
13
11
|
id: {
|
|
14
|
-
type:
|
|
12
|
+
type: E5.String_unsecure(),
|
|
15
13
|
isOptional: false
|
|
16
14
|
},
|
|
17
15
|
type: {
|
|
18
|
-
type:
|
|
16
|
+
type: E5.String_unsecure(),
|
|
19
17
|
isOptional: false
|
|
20
18
|
},
|
|
21
19
|
version: {
|
|
22
|
-
type:
|
|
20
|
+
type: E5.Int_unsecure(),
|
|
23
21
|
isOptional: false
|
|
24
22
|
},
|
|
25
23
|
payload: {
|
|
26
|
-
type:
|
|
24
|
+
type: E5.JSON(),
|
|
27
25
|
isOptional: false
|
|
28
26
|
},
|
|
29
27
|
status: {
|
|
30
|
-
type:
|
|
28
|
+
type: E5.String_unsecure(),
|
|
31
29
|
isOptional: false
|
|
32
30
|
},
|
|
33
31
|
priority: {
|
|
34
|
-
type:
|
|
32
|
+
type: E5.Int_unsecure(),
|
|
35
33
|
isOptional: false
|
|
36
34
|
},
|
|
37
35
|
attempts: {
|
|
38
|
-
type:
|
|
36
|
+
type: E5.Int_unsecure(),
|
|
39
37
|
isOptional: false
|
|
40
38
|
},
|
|
41
39
|
maxRetries: {
|
|
42
|
-
type:
|
|
40
|
+
type: E5.Int_unsecure(),
|
|
43
41
|
isOptional: false
|
|
44
42
|
},
|
|
45
43
|
createdAt: {
|
|
46
|
-
type:
|
|
44
|
+
type: E5.DateTime(),
|
|
47
45
|
isOptional: false
|
|
48
46
|
},
|
|
49
47
|
updatedAt: {
|
|
50
|
-
type:
|
|
48
|
+
type: E5.DateTime(),
|
|
51
49
|
isOptional: false
|
|
52
50
|
},
|
|
53
51
|
scheduledAt: {
|
|
54
|
-
type:
|
|
52
|
+
type: E5.DateTime(),
|
|
55
53
|
isOptional: true
|
|
56
54
|
},
|
|
57
55
|
startedAt: {
|
|
58
|
-
type:
|
|
56
|
+
type: E5.DateTime(),
|
|
59
57
|
isOptional: true
|
|
60
58
|
},
|
|
61
59
|
completedAt: {
|
|
62
|
-
type:
|
|
60
|
+
type: E5.DateTime(),
|
|
63
61
|
isOptional: true
|
|
64
62
|
},
|
|
65
63
|
lastError: {
|
|
66
|
-
type:
|
|
64
|
+
type: E5.String_unsecure(),
|
|
67
65
|
isOptional: true
|
|
68
66
|
}
|
|
69
67
|
}
|
|
70
68
|
});
|
|
71
|
-
const ScheduledJobModel =
|
|
69
|
+
const ScheduledJobModel = K5({
|
|
72
70
|
name: "ScheduledJob",
|
|
73
71
|
description: "Represents a scheduled/recurring job",
|
|
74
72
|
fields: {
|
|
75
73
|
id: {
|
|
76
|
-
type:
|
|
74
|
+
type: E5.String_unsecure(),
|
|
77
75
|
isOptional: false
|
|
78
76
|
},
|
|
79
77
|
name: {
|
|
80
|
-
type:
|
|
78
|
+
type: E5.String_unsecure(),
|
|
81
79
|
isOptional: false
|
|
82
80
|
},
|
|
83
81
|
description: {
|
|
84
|
-
type:
|
|
82
|
+
type: E5.String_unsecure(),
|
|
85
83
|
isOptional: true
|
|
86
84
|
},
|
|
87
85
|
cronExpression: {
|
|
88
|
-
type:
|
|
86
|
+
type: E5.String_unsecure(),
|
|
89
87
|
isOptional: false
|
|
90
88
|
},
|
|
91
89
|
timezone: {
|
|
92
|
-
type:
|
|
90
|
+
type: E5.String_unsecure(),
|
|
93
91
|
isOptional: false
|
|
94
92
|
},
|
|
95
93
|
jobType: {
|
|
96
|
-
type:
|
|
94
|
+
type: E5.String_unsecure(),
|
|
97
95
|
isOptional: false
|
|
98
96
|
},
|
|
99
97
|
enabled: {
|
|
100
|
-
type:
|
|
98
|
+
type: E5.Boolean(),
|
|
101
99
|
isOptional: false
|
|
102
100
|
},
|
|
103
101
|
lastRunAt: {
|
|
104
|
-
type:
|
|
102
|
+
type: E5.DateTime(),
|
|
105
103
|
isOptional: true
|
|
106
104
|
},
|
|
107
105
|
nextRunAt: {
|
|
108
|
-
type:
|
|
106
|
+
type: E5.DateTime(),
|
|
109
107
|
isOptional: true
|
|
110
108
|
},
|
|
111
109
|
createdAt: {
|
|
112
|
-
type:
|
|
110
|
+
type: E5.DateTime(),
|
|
113
111
|
isOptional: false
|
|
114
112
|
}
|
|
115
113
|
}
|
|
116
114
|
});
|
|
117
|
-
const QueueStatsModel =
|
|
115
|
+
const QueueStatsModel = K5({
|
|
118
116
|
name: "QueueStats",
|
|
119
117
|
description: "Job queue statistics",
|
|
120
118
|
fields: {
|
|
121
119
|
pending: {
|
|
122
|
-
type:
|
|
120
|
+
type: E5.Int_unsecure(),
|
|
123
121
|
isOptional: false
|
|
124
122
|
},
|
|
125
123
|
running: {
|
|
126
|
-
type:
|
|
124
|
+
type: E5.Int_unsecure(),
|
|
127
125
|
isOptional: false
|
|
128
126
|
},
|
|
129
127
|
completed: {
|
|
130
|
-
type:
|
|
128
|
+
type: E5.Int_unsecure(),
|
|
131
129
|
isOptional: false
|
|
132
130
|
},
|
|
133
131
|
failed: {
|
|
134
|
-
type:
|
|
132
|
+
type: E5.Int_unsecure(),
|
|
135
133
|
isOptional: false
|
|
136
134
|
},
|
|
137
135
|
deadLetter: {
|
|
138
|
-
type:
|
|
136
|
+
type: E5.Int_unsecure(),
|
|
139
137
|
isOptional: false
|
|
140
138
|
}
|
|
141
139
|
}
|
|
142
140
|
});
|
|
143
|
-
const EnqueueJobInput =
|
|
141
|
+
const EnqueueJobInput = K5({
|
|
144
142
|
name: "EnqueueJobInput",
|
|
145
143
|
description: "Input for enqueuing a new job",
|
|
146
144
|
fields: {
|
|
147
145
|
type: {
|
|
148
|
-
type:
|
|
146
|
+
type: E5.String_unsecure(),
|
|
149
147
|
isOptional: false
|
|
150
148
|
},
|
|
151
149
|
payload: {
|
|
152
|
-
type:
|
|
150
|
+
type: E5.JSON(),
|
|
153
151
|
isOptional: false
|
|
154
152
|
},
|
|
155
153
|
delaySeconds: {
|
|
156
|
-
type:
|
|
154
|
+
type: E5.Int_unsecure(),
|
|
157
155
|
isOptional: true
|
|
158
156
|
},
|
|
159
157
|
dedupeKey: {
|
|
160
|
-
type:
|
|
158
|
+
type: E5.String_unsecure(),
|
|
161
159
|
isOptional: true
|
|
162
160
|
},
|
|
163
161
|
maxRetries: {
|
|
164
|
-
type:
|
|
162
|
+
type: E5.Int_unsecure(),
|
|
165
163
|
isOptional: true
|
|
166
164
|
},
|
|
167
165
|
priority: {
|
|
168
|
-
type:
|
|
166
|
+
type: E5.Int_unsecure(),
|
|
169
167
|
isOptional: true
|
|
170
168
|
},
|
|
171
169
|
timeoutMs: {
|
|
172
|
-
type:
|
|
170
|
+
type: E5.Int_unsecure(),
|
|
173
171
|
isOptional: true
|
|
174
172
|
}
|
|
175
173
|
}
|
|
176
174
|
});
|
|
177
|
-
const GetJobInput =
|
|
175
|
+
const GetJobInput = K5({
|
|
178
176
|
name: "GetJobInput",
|
|
179
177
|
description: "Input for getting a job by ID",
|
|
180
178
|
fields: { jobId: {
|
|
181
|
-
type:
|
|
179
|
+
type: E5.String_unsecure(),
|
|
182
180
|
isOptional: false
|
|
183
181
|
} }
|
|
184
182
|
});
|
|
185
|
-
const CancelJobInput =
|
|
183
|
+
const CancelJobInput = K5({
|
|
186
184
|
name: "CancelJobInput",
|
|
187
185
|
description: "Input for cancelling a job",
|
|
188
186
|
fields: { jobId: {
|
|
189
|
-
type:
|
|
187
|
+
type: E5.String_unsecure(),
|
|
190
188
|
isOptional: false
|
|
191
189
|
} }
|
|
192
190
|
});
|
|
193
|
-
const CancelJobOutput =
|
|
191
|
+
const CancelJobOutput = K5({
|
|
194
192
|
name: "CancelJobOutput",
|
|
195
193
|
description: "Output for cancel job operation",
|
|
196
194
|
fields: { success: {
|
|
197
|
-
type:
|
|
195
|
+
type: E5.Boolean(),
|
|
198
196
|
isOptional: false
|
|
199
197
|
} }
|
|
200
198
|
});
|
|
201
|
-
const CreateScheduledJobInput =
|
|
199
|
+
const CreateScheduledJobInput = K5({
|
|
202
200
|
name: "CreateScheduledJobInput",
|
|
203
201
|
description: "Input for creating a scheduled job",
|
|
204
202
|
fields: {
|
|
205
203
|
name: {
|
|
206
|
-
type:
|
|
204
|
+
type: E5.String_unsecure(),
|
|
207
205
|
isOptional: false
|
|
208
206
|
},
|
|
209
207
|
description: {
|
|
210
|
-
type:
|
|
208
|
+
type: E5.String_unsecure(),
|
|
211
209
|
isOptional: true
|
|
212
210
|
},
|
|
213
211
|
cronExpression: {
|
|
214
|
-
type:
|
|
212
|
+
type: E5.String_unsecure(),
|
|
215
213
|
isOptional: false
|
|
216
214
|
},
|
|
217
215
|
timezone: {
|
|
218
|
-
type:
|
|
216
|
+
type: E5.String_unsecure(),
|
|
219
217
|
isOptional: true
|
|
220
218
|
},
|
|
221
219
|
jobType: {
|
|
222
|
-
type:
|
|
220
|
+
type: E5.String_unsecure(),
|
|
223
221
|
isOptional: false
|
|
224
222
|
},
|
|
225
223
|
payload: {
|
|
226
|
-
type:
|
|
224
|
+
type: E5.JSON(),
|
|
227
225
|
isOptional: true
|
|
228
226
|
},
|
|
229
227
|
maxRetries: {
|
|
230
|
-
type:
|
|
228
|
+
type: E5.Int_unsecure(),
|
|
231
229
|
isOptional: true
|
|
232
230
|
},
|
|
233
231
|
enabled: {
|
|
234
|
-
type:
|
|
232
|
+
type: E5.Boolean(),
|
|
235
233
|
isOptional: true
|
|
236
234
|
}
|
|
237
235
|
}
|
|
238
236
|
});
|
|
239
|
-
const ListScheduledJobsOutput =
|
|
237
|
+
const ListScheduledJobsOutput = K5({
|
|
240
238
|
name: "ListScheduledJobsOutput",
|
|
241
239
|
description: "Output for listing scheduled jobs",
|
|
242
240
|
fields: { schedules: {
|
|
@@ -245,55 +243,55 @@ const ListScheduledJobsOutput = defineSchemaModel({
|
|
|
245
243
|
isOptional: false
|
|
246
244
|
} }
|
|
247
245
|
});
|
|
248
|
-
const ToggleScheduledJobInput =
|
|
246
|
+
const ToggleScheduledJobInput = K5({
|
|
249
247
|
name: "ToggleScheduledJobInput",
|
|
250
248
|
description: "Input for toggling a scheduled job",
|
|
251
249
|
fields: {
|
|
252
250
|
name: {
|
|
253
|
-
type:
|
|
251
|
+
type: E5.String_unsecure(),
|
|
254
252
|
isOptional: false
|
|
255
253
|
},
|
|
256
254
|
enabled: {
|
|
257
|
-
type:
|
|
255
|
+
type: E5.Boolean(),
|
|
258
256
|
isOptional: false
|
|
259
257
|
}
|
|
260
258
|
}
|
|
261
259
|
});
|
|
262
|
-
const JobEnqueuedPayload =
|
|
260
|
+
const JobEnqueuedPayload = K5({
|
|
263
261
|
name: "JobEnqueuedPayload",
|
|
264
262
|
description: "Payload for job.enqueued event",
|
|
265
263
|
fields: {
|
|
266
264
|
jobId: {
|
|
267
|
-
type:
|
|
265
|
+
type: E5.String_unsecure(),
|
|
268
266
|
isOptional: false
|
|
269
267
|
},
|
|
270
268
|
type: {
|
|
271
|
-
type:
|
|
269
|
+
type: E5.String_unsecure(),
|
|
272
270
|
isOptional: false
|
|
273
271
|
},
|
|
274
272
|
priority: {
|
|
275
|
-
type:
|
|
273
|
+
type: E5.Int_unsecure(),
|
|
276
274
|
isOptional: false
|
|
277
275
|
},
|
|
278
276
|
scheduledAt: {
|
|
279
|
-
type:
|
|
277
|
+
type: E5.DateTime(),
|
|
280
278
|
isOptional: true
|
|
281
279
|
},
|
|
282
280
|
tenantId: {
|
|
283
|
-
type:
|
|
281
|
+
type: E5.String_unsecure(),
|
|
284
282
|
isOptional: true
|
|
285
283
|
},
|
|
286
284
|
enqueuedAt: {
|
|
287
|
-
type:
|
|
285
|
+
type: E5.DateTime(),
|
|
288
286
|
isOptional: false
|
|
289
287
|
}
|
|
290
288
|
}
|
|
291
289
|
});
|
|
292
|
-
const JobCancelledPayload =
|
|
290
|
+
const JobCancelledPayload = K5({
|
|
293
291
|
name: "JobCancelledPayload",
|
|
294
292
|
description: "Payload for job.cancelled event",
|
|
295
293
|
fields: { jobId: {
|
|
296
|
-
type:
|
|
294
|
+
type: E5.String_unsecure(),
|
|
297
295
|
isOptional: false
|
|
298
296
|
} }
|
|
299
297
|
});
|
|
@@ -481,4 +479,5 @@ const ToggleScheduledJobContract = defineCommand({
|
|
|
481
479
|
});
|
|
482
480
|
|
|
483
481
|
//#endregion
|
|
484
|
-
export { CancelJobContract, CreateScheduledJobContract, EnqueueJobContract, GetJobContract, GetQueueStatsContract, JobModel, ListScheduledJobsContract, QueueStatsModel, ScheduledJobModel, ToggleScheduledJobContract };
|
|
482
|
+
export { CancelJobContract, CreateScheduledJobContract, EnqueueJobContract, GetJobContract, GetQueueStatsContract, JobModel, ListScheduledJobsContract, QueueStatsModel, ScheduledJobModel, ToggleScheduledJobContract };
|
|
483
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["defineSchemaModel","ScalarTypeEnum"],"sources":["../../src/contracts/index.ts"],"sourcesContent":["import { ScalarTypeEnum, defineSchemaModel } from '@lssm/lib.schema';\nimport { defineCommand, defineQuery } from '@lssm/lib.contracts';\n\nconst OWNERS = ['platform.jobs'] as const;\n\n// ============ Schema Models ============\n\nexport const JobModel = defineSchemaModel({\n name: 'Job',\n description: 'Represents a background job',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n type: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n payload: { type: ScalarTypeEnum.JSON(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false }, // JobStatus enum value\n priority: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n attempts: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n maxRetries: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n updatedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n scheduledAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n startedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n completedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n lastError: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\nexport const ScheduledJobModel = defineSchemaModel({\n name: 'ScheduledJob',\n description: 'Represents a scheduled/recurring job',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n cronExpression: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n timezone: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n jobType: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n enabled: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n lastRunAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n nextRunAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const QueueStatsModel = defineSchemaModel({\n name: 'QueueStats',\n description: 'Job queue statistics',\n fields: {\n pending: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n running: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n completed: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n failed: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n deadLetter: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\n// ============ Input/Output Models ============\n\nconst EnqueueJobInput = defineSchemaModel({\n name: 'EnqueueJobInput',\n description: 'Input for enqueuing a new job',\n fields: {\n type: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n payload: { type: ScalarTypeEnum.JSON(), isOptional: false },\n delaySeconds: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n dedupeKey: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n maxRetries: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n priority: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n timeoutMs: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n },\n});\n\nconst GetJobInput = defineSchemaModel({\n name: 'GetJobInput',\n description: 'Input for getting a job by ID',\n fields: {\n jobId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst CancelJobInput = defineSchemaModel({\n name: 'CancelJobInput',\n description: 'Input for cancelling a job',\n fields: {\n jobId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst CancelJobOutput = defineSchemaModel({\n name: 'CancelJobOutput',\n description: 'Output for cancel job operation',\n fields: {\n success: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n});\n\nconst CreateScheduledJobInput = defineSchemaModel({\n name: 'CreateScheduledJobInput',\n description: 'Input for creating a scheduled job',\n fields: {\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n cronExpression: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n timezone: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n jobType: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n payload: { type: ScalarTypeEnum.JSON(), isOptional: true },\n maxRetries: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n enabled: { type: ScalarTypeEnum.Boolean(), isOptional: true },\n },\n});\n\nconst ListScheduledJobsOutput = defineSchemaModel({\n name: 'ListScheduledJobsOutput',\n description: 'Output for listing scheduled jobs',\n fields: {\n schedules: { type: ScheduledJobModel, isArray: true, isOptional: false },\n },\n});\n\nconst ToggleScheduledJobInput = defineSchemaModel({\n name: 'ToggleScheduledJobInput',\n description: 'Input for toggling a scheduled job',\n fields: {\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n enabled: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n },\n});\n\n// ============ Event Payloads ============\n\nconst JobEnqueuedPayload = defineSchemaModel({\n name: 'JobEnqueuedPayload',\n description: 'Payload for job.enqueued event',\n fields: {\n jobId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n type: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n priority: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n scheduledAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },\n tenantId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n enqueuedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nconst JobCancelledPayload = defineSchemaModel({\n name: 'JobCancelledPayload',\n description: 'Payload for job.cancelled event',\n fields: {\n jobId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\n// ============ Contracts ============\n\n/**\n * Enqueue a job.\n */\nexport const EnqueueJobContract = defineCommand({\n meta: {\n name: 'jobs.enqueue',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['jobs', 'enqueue'],\n description: 'Enqueue a background job for async processing.',\n goal: 'Allow services to offload work to background processing.',\n context: 'Called by any service that needs async processing.',\n },\n io: {\n input: EnqueueJobInput,\n output: JobModel,\n },\n policy: {\n auth: 'user',\n },\n sideEffects: {\n emits: [\n {\n name: 'job.enqueued',\n version: 1,\n when: 'Job is enqueued',\n payload: JobEnqueuedPayload,\n },\n ],\n },\n});\n\n/**\n * Get job by ID.\n */\nexport const GetJobContract = defineQuery({\n meta: {\n name: 'jobs.get',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['jobs', 'get'],\n description: 'Get a job by ID.',\n goal: 'Check job status and result.',\n context: 'Called to poll job status or retrieve results.',\n },\n io: {\n input: GetJobInput,\n output: JobModel,\n },\n policy: {\n auth: 'user',\n },\n});\n\n/**\n * Cancel a job.\n */\nexport const CancelJobContract = defineCommand({\n meta: {\n name: 'jobs.cancel',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['jobs', 'cancel'],\n description: 'Cancel a pending job.',\n goal: 'Allow cancellation of jobs that are no longer needed.',\n context: 'Only pending jobs can be cancelled.',\n },\n io: {\n input: CancelJobInput,\n output: CancelJobOutput,\n errors: {\n JOB_NOT_FOUND: {\n description: 'Job does not exist',\n http: 404,\n gqlCode: 'JOB_NOT_FOUND',\n when: 'Job ID is invalid',\n },\n JOB_NOT_PENDING: {\n description: 'Job is not in pending state',\n http: 409,\n gqlCode: 'JOB_NOT_PENDING',\n when: 'Job has already started or completed',\n },\n },\n },\n policy: {\n auth: 'user',\n },\n sideEffects: {\n emits: [\n {\n name: 'job.cancelled',\n version: 1,\n when: 'Job is cancelled',\n payload: JobCancelledPayload,\n },\n ],\n },\n});\n\n/**\n * Get queue statistics.\n */\nexport const GetQueueStatsContract = defineQuery({\n meta: {\n name: 'jobs.stats',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['jobs', 'stats', 'admin'],\n description: 'Get job queue statistics.',\n goal: 'Monitor queue health and backlog.',\n context: 'Admin dashboard monitoring.',\n },\n io: {\n input: null,\n output: QueueStatsModel,\n },\n policy: {\n auth: 'admin',\n },\n});\n\n/**\n * Create a scheduled job.\n */\nexport const CreateScheduledJobContract = defineCommand({\n meta: {\n name: 'jobs.schedule.create',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['jobs', 'schedule', 'create'],\n description: 'Create a scheduled/recurring job.',\n goal: 'Set up recurring background tasks.',\n context: 'Admin configuration for periodic tasks.',\n },\n io: {\n input: CreateScheduledJobInput,\n output: ScheduledJobModel,\n },\n policy: {\n auth: 'admin',\n },\n});\n\n/**\n * List scheduled jobs.\n */\nexport const ListScheduledJobsContract = defineQuery({\n meta: {\n name: 'jobs.schedule.list',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['jobs', 'schedule', 'list'],\n description: 'List all scheduled jobs.',\n goal: 'View configured recurring tasks.',\n context: 'Admin dashboard.',\n },\n io: {\n input: null,\n output: ListScheduledJobsOutput,\n },\n policy: {\n auth: 'admin',\n },\n});\n\n/**\n * Toggle scheduled job enabled state.\n */\nexport const ToggleScheduledJobContract = defineCommand({\n meta: {\n name: 'jobs.schedule.toggle',\n version: 1,\n stability: 'stable',\n owners: [...OWNERS],\n tags: ['jobs', 'schedule', 'toggle'],\n description: 'Enable or disable a scheduled job.',\n goal: 'Control when recurring tasks run.',\n context: 'Admin control over scheduled tasks.',\n },\n io: {\n input: ToggleScheduledJobInput,\n output: ScheduledJobModel,\n },\n policy: {\n auth: 'admin',\n },\n});\n"],"mappings":";;;;;AAGA,MAAM,SAAS,CAAC,gBAAgB;AAIhC,MAAa,WAAWA,GAAkB;CACxC,MAAM;CACN,aAAa;CACb,QAAQ;EACN,IAAI;GAA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