@qlever-llc/trellis 0.10.17 → 0.19.0-rc.1
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/esm/auth/mod.d.ts +1 -1
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +1 -1
- package/esm/auth/protocol.d.ts +416 -398
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +35 -33
- package/esm/codec.d.ts +1 -0
- package/esm/codec.d.ts.map +1 -1
- package/esm/codec.js +1 -0
- package/esm/contract_support/canonical.d.ts +3 -0
- package/esm/contract_support/canonical.d.ts.map +1 -1
- package/esm/contract_support/canonical.js +3 -0
- package/esm/contract_support/mod.d.ts +28 -4
- package/esm/contract_support/mod.d.ts.map +1 -1
- package/esm/contract_support/mod.js +85 -4
- package/esm/contract_support/protocol.d.ts +92 -7
- package/esm/contract_support/protocol.d.ts.map +1 -1
- package/esm/contract_support/protocol.js +40 -6
- package/esm/errors/index.d.ts +9 -9
- package/esm/generated-sdk/auth/api.d.ts +4 -1
- package/esm/generated-sdk/auth/api.d.ts.map +1 -1
- package/esm/generated-sdk/auth/api.js +6 -1
- package/esm/generated-sdk/auth/client.d.ts +47 -32
- package/esm/generated-sdk/auth/client.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.d.ts +1 -1
- package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.js +1570 -1202
- package/esm/generated-sdk/auth/schemas.d.ts +1757 -1759
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +963 -768
- package/esm/generated-sdk/auth/types.d.ts +292 -302
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/auth/types.js +1 -1
- package/esm/generated-sdk/health/client.d.ts +4 -4
- package/esm/generated-sdk/health/client.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.d.ts +1 -1
- package/esm/generated-sdk/health/contract.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.js +2 -10
- package/esm/generated-sdk/health/schemas.d.ts +1 -14
- package/esm/generated-sdk/health/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/health/schemas.js +1 -9
- package/esm/generated-sdk/health/types.d.ts +3 -5
- package/esm/generated-sdk/health/types.d.ts.map +1 -1
- package/esm/generated-sdk/health/types.js +1 -2
- package/esm/generated-sdk/jobs/api.d.ts +13 -0
- package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/client.d.ts +6 -4
- package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.d.ts +14 -1
- package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.js +268 -1
- package/esm/generated-sdk/jobs/owned_api.d.ts +13 -0
- package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/owned_api.js +20 -1
- package/esm/generated-sdk/jobs/schemas.d.ts +437 -0
- package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/schemas.js +211 -0
- package/esm/generated-sdk/jobs/types.d.ts +123 -1
- package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/types.js +1 -1
- package/esm/generated-sdk/state/client.d.ts +4 -4
- package/esm/generated-sdk/state/client.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/api.d.ts +4 -1
- package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/api.js +6 -1
- package/esm/generated-sdk/trellis-core/client.d.ts +28 -3
- package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.js +91 -1
- package/esm/generated-sdk/trellis-core/schemas.d.ts +113 -0
- package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/schemas.js +81 -0
- package/esm/generated-sdk/trellis-core/types.d.ts +23 -1
- package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/types.js +1 -1
- package/esm/health.d.ts +1 -1
- package/esm/health.d.ts.map +1 -1
- package/esm/health.js +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/jobs.d.ts +69 -3
- package/esm/jobs.d.ts.map +1 -1
- package/esm/jobs.js +92 -3
- package/esm/server/health.d.ts +2 -6
- package/esm/server/health.d.ts.map +1 -1
- package/esm/server/health_schemas.d.ts +0 -8
- package/esm/server/health_schemas.d.ts.map +1 -1
- package/esm/server/health_schemas.js +0 -5
- package/esm/server/internal_jobs/bindings.d.ts +11 -0
- package/esm/server/internal_jobs/bindings.d.ts.map +1 -1
- package/esm/server/internal_jobs/job-manager.d.ts +44 -1
- package/esm/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/esm/server/internal_jobs/job-manager.js +361 -51
- package/esm/server/internal_jobs/key-coordinator.d.ts +260 -0
- package/esm/server/internal_jobs/key-coordinator.d.ts.map +1 -0
- package/esm/server/internal_jobs/key-coordinator.js +580 -0
- package/esm/server/internal_jobs/projection.d.ts.map +1 -1
- package/esm/server/internal_jobs/projection.js +2 -0
- package/esm/server/internal_jobs/runtime-worker.d.ts +5 -1
- package/esm/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/esm/server/internal_jobs/runtime-worker.js +14 -2
- package/esm/server/internal_jobs/types.d.ts +5 -5
- package/esm/server/internal_jobs/types.d.ts.map +1 -1
- package/esm/server/internal_jobs/types.js +6 -0
- package/esm/server/service.d.ts +8 -3
- package/esm/server/service.d.ts.map +1 -1
- package/esm/server/service.js +127 -6
- package/esm/service/drizzle.d.ts +27 -0
- package/esm/service/drizzle.d.ts.map +1 -0
- package/esm/service/drizzle.js +84 -0
- package/esm/service/mod.d.ts +1 -1
- package/esm/service/mod.d.ts.map +1 -1
- package/esm/service/mod.js +1 -1
- package/esm/service/outbox_inbox.d.ts.map +1 -1
- package/esm/service/outbox_inbox.js +13 -2
- package/esm/trellis.d.ts +24 -8
- package/esm/trellis.d.ts.map +1 -1
- package/esm/trellis.js +44 -22
- package/package.json +14 -2
- package/script/auth/mod.d.ts +1 -1
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +22 -6
- package/script/auth/protocol.d.ts +416 -398
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +40 -37
- package/script/codec.d.ts +1 -0
- package/script/codec.d.ts.map +1 -1
- package/script/codec.js +1 -0
- package/script/contract_support/canonical.d.ts +3 -0
- package/script/contract_support/canonical.d.ts.map +1 -1
- package/script/contract_support/canonical.js +3 -0
- package/script/contract_support/mod.d.ts +28 -4
- package/script/contract_support/mod.d.ts.map +1 -1
- package/script/contract_support/mod.js +90 -4
- package/script/contract_support/protocol.d.ts +92 -7
- package/script/contract_support/protocol.d.ts.map +1 -1
- package/script/contract_support/protocol.js +41 -7
- package/script/errors/index.d.ts +9 -9
- package/script/generated-sdk/auth/api.d.ts +4 -1
- package/script/generated-sdk/auth/api.d.ts.map +1 -1
- package/script/generated-sdk/auth/api.js +6 -1
- package/script/generated-sdk/auth/client.d.ts +47 -32
- package/script/generated-sdk/auth/client.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.d.ts +1 -1
- package/script/generated-sdk/auth/contract.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.js +1570 -1202
- package/script/generated-sdk/auth/schemas.d.ts +1757 -1759
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +963 -768
- package/script/generated-sdk/auth/types.d.ts +292 -302
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/auth/types.js +1 -1
- package/script/generated-sdk/health/client.d.ts +4 -4
- package/script/generated-sdk/health/client.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.d.ts +1 -1
- package/script/generated-sdk/health/contract.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.js +2 -10
- package/script/generated-sdk/health/schemas.d.ts +1 -14
- package/script/generated-sdk/health/schemas.d.ts.map +1 -1
- package/script/generated-sdk/health/schemas.js +1 -9
- package/script/generated-sdk/health/types.d.ts +3 -5
- package/script/generated-sdk/health/types.d.ts.map +1 -1
- package/script/generated-sdk/health/types.js +1 -2
- package/script/generated-sdk/jobs/api.d.ts +13 -0
- package/script/generated-sdk/jobs/api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/client.d.ts +6 -4
- package/script/generated-sdk/jobs/client.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.d.ts +14 -1
- package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.js +268 -1
- package/script/generated-sdk/jobs/owned_api.d.ts +13 -0
- package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/owned_api.js +19 -0
- package/script/generated-sdk/jobs/schemas.d.ts +437 -0
- package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/script/generated-sdk/jobs/schemas.js +212 -1
- package/script/generated-sdk/jobs/types.d.ts +123 -1
- package/script/generated-sdk/jobs/types.d.ts.map +1 -1
- package/script/generated-sdk/jobs/types.js +1 -1
- package/script/generated-sdk/state/client.d.ts +4 -4
- package/script/generated-sdk/state/client.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/api.d.ts +4 -1
- package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/api.js +6 -1
- package/script/generated-sdk/trellis-core/client.d.ts +28 -3
- package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.js +91 -1
- package/script/generated-sdk/trellis-core/schemas.d.ts +113 -0
- package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/schemas.js +81 -0
- package/script/generated-sdk/trellis-core/types.d.ts +23 -1
- package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/types.js +1 -1
- package/script/health.d.ts +1 -1
- package/script/health.d.ts.map +1 -1
- package/script/health.js +1 -2
- package/script/index.d.ts +2 -2
- package/script/index.d.ts.map +1 -1
- package/script/index.js +2 -3
- package/script/jobs.d.ts +69 -3
- package/script/jobs.d.ts.map +1 -1
- package/script/jobs.js +93 -3
- package/script/server/health.d.ts +2 -6
- package/script/server/health.d.ts.map +1 -1
- package/script/server/health_schemas.d.ts +0 -8
- package/script/server/health_schemas.d.ts.map +1 -1
- package/script/server/health_schemas.js +1 -6
- package/script/server/internal_jobs/bindings.d.ts +11 -0
- package/script/server/internal_jobs/bindings.d.ts.map +1 -1
- package/script/server/internal_jobs/job-manager.d.ts +44 -1
- package/script/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/script/server/internal_jobs/job-manager.js +361 -51
- package/script/server/internal_jobs/key-coordinator.d.ts +260 -0
- package/script/server/internal_jobs/key-coordinator.d.ts.map +1 -0
- package/script/server/internal_jobs/key-coordinator.js +593 -0
- package/script/server/internal_jobs/projection.d.ts.map +1 -1
- package/script/server/internal_jobs/projection.js +2 -0
- package/script/server/internal_jobs/runtime-worker.d.ts +5 -1
- package/script/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/script/server/internal_jobs/runtime-worker.js +14 -2
- package/script/server/internal_jobs/types.d.ts +5 -5
- package/script/server/internal_jobs/types.d.ts.map +1 -1
- package/script/server/internal_jobs/types.js +6 -0
- package/script/server/service.d.ts +8 -3
- package/script/server/service.d.ts.map +1 -1
- package/script/server/service.js +126 -5
- package/script/service/drizzle.d.ts +27 -0
- package/script/service/drizzle.d.ts.map +1 -0
- package/script/service/drizzle.js +88 -0
- package/script/service/mod.d.ts +1 -1
- package/script/service/mod.d.ts.map +1 -1
- package/script/service/mod.js +1 -2
- package/script/service/outbox_inbox.d.ts.map +1 -1
- package/script/service/outbox_inbox.js +13 -2
- package/script/trellis.d.ts +24 -8
- package/script/trellis.d.ts.map +1 -1
- package/script/trellis.js +44 -22
- package/src/auth/mod.ts +28 -2
- package/src/auth/protocol.ts +72 -37
- package/src/codec.ts +1 -0
- package/src/contract_support/canonical.ts +3 -0
- package/src/contract_support/mod.ts +158 -5
- package/src/contract_support/protocol.ts +56 -9
- package/src/health.ts +0 -1
- package/src/index.ts +2 -1
- package/src/jobs.ts +138 -1
- package/src/sdk/_generated/auth/api.ts +9 -2
- package/src/sdk/_generated/auth/client.ts +85 -78
- package/src/sdk/_generated/auth/contract.ts +1803 -1435
- package/src/sdk/_generated/auth/schemas.ts +1166 -971
- package/src/sdk/_generated/auth/types.ts +330 -314
- package/src/sdk/_generated/core/api.ts +9 -2
- package/src/sdk/_generated/core/client.ts +41 -2
- package/src/sdk/_generated/core/contract.ts +91 -1
- package/src/sdk/_generated/core/schemas.ts +81 -0
- package/src/sdk/_generated/core/types.ts +23 -1
- package/src/sdk/_generated/health/client.ts +6 -6
- package/src/sdk/_generated/health/contract.ts +2 -10
- package/src/sdk/_generated/health/schemas.ts +1 -9
- package/src/sdk/_generated/health/types.ts +6 -2
- package/src/sdk/_generated/jobs/client.ts +17 -6
- package/src/sdk/_generated/jobs/contract.ts +269 -1
- package/src/sdk/_generated/jobs/owned_api.ts +21 -0
- package/src/sdk/_generated/jobs/schemas.ts +213 -0
- package/src/sdk/_generated/jobs/types.ts +116 -1
- package/src/sdk/_generated/state/client.ts +6 -6
- package/src/server/health.ts +2 -6
- package/src/server/health_schemas.ts +0 -6
- package/src/server/internal_jobs/bindings.ts +11 -0
- package/src/server/internal_jobs/job-manager.ts +436 -16
- package/src/server/internal_jobs/key-coordinator.ts +955 -0
- package/src/server/internal_jobs/projection.ts +2 -0
- package/src/server/internal_jobs/runtime-worker.ts +17 -1
- package/src/server/internal_jobs/types.ts +6 -0
- package/src/server/service.ts +168 -9
- package/src/service/drizzle.ts +125 -0
- package/src/service/mod.ts +0 -1
- package/src/service/outbox_inbox.ts +16 -6
- package/src/trellis.ts +76 -27
|
@@ -38,6 +38,7 @@ export interface TrellisJobsClient {
|
|
|
38
38
|
cancel(input: Types.JobsCancelInput, opts?: RequestOpts): AsyncResult<Types.JobsCancelOutput, BaseError>;
|
|
39
39
|
dismissDLQ(input: Types.JobsDismissDLQInput, opts?: RequestOpts): AsyncResult<Types.JobsDismissDLQOutput, BaseError>;
|
|
40
40
|
get(input: Types.JobsGetInput, opts?: RequestOpts): AsyncResult<Types.JobsGetOutput, BaseError>;
|
|
41
|
+
getKey(input: Types.JobsGetKeyInput, opts?: RequestOpts): AsyncResult<Types.JobsGetKeyOutput, BaseError>;
|
|
41
42
|
health(input: Types.JobsHealthInput, opts?: RequestOpts): AsyncResult<Types.JobsHealthOutput, BaseError>;
|
|
42
43
|
list(input: Types.JobsListInput, opts?: RequestOpts): AsyncResult<Types.JobsListOutput, BaseError>;
|
|
43
44
|
listDLQ(input: Types.JobsListDLQInput, opts?: RequestOpts): AsyncResult<Types.JobsListDLQOutput, BaseError>;
|
|
@@ -52,8 +53,8 @@ export interface TrellisJobsClient {
|
|
|
52
53
|
readonly event: {
|
|
53
54
|
readonly health: {
|
|
54
55
|
heartbeat: {
|
|
55
|
-
publish(event:
|
|
56
|
-
prepare(event:
|
|
56
|
+
publish(event: HealthSdk.HealthHeartbeatEvent): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
57
|
+
prepare(event: HealthSdk.HealthHeartbeatEvent): Result<PreparedTrellisEvent<HealthSdk.HealthHeartbeatEvent>, ValidationError | UnexpectedError>;
|
|
57
58
|
listen(handler: EventCallback<HealthSdk.HealthHeartbeatEvent>, subjectData?: Record<string, unknown>, opts?: EventOpts): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
58
59
|
};
|
|
59
60
|
};
|
|
@@ -74,8 +75,8 @@ export type ServiceWithDeps<TDeps> = Omit<TrellisJobsClient, "event"> & {
|
|
|
74
75
|
export interface ServiceEventSurface<TDeps> {
|
|
75
76
|
readonly health: {
|
|
76
77
|
heartbeat: {
|
|
77
|
-
publish(event:
|
|
78
|
-
prepare(event:
|
|
78
|
+
publish(event: HealthSdk.HealthHeartbeatEvent): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
79
|
+
prepare(event: HealthSdk.HealthHeartbeatEvent): Result<PreparedTrellisEvent<HealthSdk.HealthHeartbeatEvent>, ValidationError | UnexpectedError>;
|
|
79
80
|
listen(handler: ServiceEventHandler<HealthSdk.HealthHeartbeatEvent, TDeps>, subjectData?: Record<string, unknown>, opts?: EventOpts): AsyncResult<void, ValidationError | UnexpectedError>;
|
|
80
81
|
};
|
|
81
82
|
};
|
|
@@ -86,6 +87,7 @@ export interface ServiceHandle<TDeps = undefined> {
|
|
|
86
87
|
cancel(handler: RpcHandler<Types.JobsCancelInput, Types.JobsCancelOutput, TDeps>): Promise<void>;
|
|
87
88
|
dismissDLQ(handler: RpcHandler<Types.JobsDismissDLQInput, Types.JobsDismissDLQOutput, TDeps>): Promise<void>;
|
|
88
89
|
get(handler: RpcHandler<Types.JobsGetInput, Types.JobsGetOutput, TDeps>): Promise<void>;
|
|
90
|
+
getKey(handler: RpcHandler<Types.JobsGetKeyInput, Types.JobsGetKeyOutput, TDeps>): Promise<void>;
|
|
89
91
|
health(handler: RpcHandler<Types.JobsHealthInput, Types.JobsHealthOutput, TDeps>): Promise<void>;
|
|
90
92
|
list(handler: RpcHandler<Types.JobsListInput, Types.JobsListOutput, TDeps>): Promise<void>;
|
|
91
93
|
listDLQ(handler: RpcHandler<Types.JobsListDLQInput, Types.JobsListDLQOutput, TDeps>): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/sdk/_generated/jobs/client.ts"],"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2
|
import { API } from "./api.js";
|
|
3
3
|
export declare const CONTRACT_ID: "trellis.jobs@v1";
|
|
4
|
-
export declare const CONTRACT_DIGEST: "
|
|
4
|
+
export declare const CONTRACT_DIGEST: "xDigtrlrF3n3ZNgHVdwDJFcwi0PEJBiDyBG6FnzFzM8";
|
|
5
5
|
export declare const CONTRACT: TrellisContractV1;
|
|
6
6
|
export declare const sdk: SdkContractModule<typeof CONTRACT_ID, typeof API.owned>;
|
|
7
7
|
export declare const use: import("@qlever-llc/trellis").ContractUseFn<"trellis.jobs@v1", {
|
|
@@ -45,6 +45,19 @@ export declare const use: import("@qlever-llc/trellis").ContractUseFn<"trellis.j
|
|
|
45
45
|
readonly fromSerializable: typeof import("./types.js").NotFoundError.fromSerializable;
|
|
46
46
|
}];
|
|
47
47
|
};
|
|
48
|
+
"Jobs.GetKey": {
|
|
49
|
+
subject: string;
|
|
50
|
+
input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").JobsGetKeyInput>;
|
|
51
|
+
output: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").JobsGetKeyOutput>;
|
|
52
|
+
callerCapabilities: string[];
|
|
53
|
+
errors: readonly ["UnexpectedError", "ValidationError", "NotFoundError"];
|
|
54
|
+
declaredErrorTypes: readonly ["UnexpectedError", "ValidationError", "NotFoundError"];
|
|
55
|
+
runtimeErrors: readonly [{
|
|
56
|
+
readonly type: "NotFoundError";
|
|
57
|
+
readonly schema: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").NotFoundErrorData>;
|
|
58
|
+
readonly fromSerializable: typeof import("./types.js").NotFoundError.fromSerializable;
|
|
59
|
+
}];
|
|
60
|
+
};
|
|
48
61
|
"Jobs.Health": {
|
|
49
62
|
subject: string;
|
|
50
63
|
input: import("@qlever-llc/trellis/contracts").Schema<import("./types.js").JobsHealthInput>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/sdk/_generated/jobs/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EACjB,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAM/B,eAAO,MAAM,WAAW,EAAG,iBAA0B,CAAC;AACtD,eAAO,MAAM,eAAe,EAC1B,6CAAsD,CAAC;AACzD,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/sdk/_generated/jobs/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EACjB,iBAAiB,EAElB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAM/B,eAAO,MAAM,WAAW,EAAG,iBAA0B,CAAC;AACtD,eAAO,MAAM,eAAe,EAC1B,6CAAsD,CAAC;AACzD,eAAO,MAAM,QAAQ,EAo0ChB,iBAAiB,CAAC;AAgCvB,eAAO,MAAM,GAAG,EAAE,iBAAiB,CAAC,OAAO,WAAW,EAAE,OAAO,GAAG,CAAC,KAAK,CA0CvE,CAAC;AAEF,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAU,CAAC"}
|
|
@@ -4,7 +4,7 @@ exports.use = exports.sdk = exports.CONTRACT = exports.CONTRACT_DIGEST = exports
|
|
|
4
4
|
const api_js_1 = require("./api.js");
|
|
5
5
|
const CONTRACT_MODULE_METADATA = Symbol.for("@qlever-llc/trellis/contracts/contract-module");
|
|
6
6
|
exports.CONTRACT_ID = "trellis.jobs@v1";
|
|
7
|
-
exports.CONTRACT_DIGEST = "
|
|
7
|
+
exports.CONTRACT_DIGEST = "xDigtrlrF3n3ZNgHVdwDJFcwi0PEJBiDyBG6FnzFzM8";
|
|
8
8
|
exports.CONTRACT = {
|
|
9
9
|
"capabilities": {
|
|
10
10
|
"trellis.jobs::admin.mutate": {
|
|
@@ -75,6 +75,20 @@ exports.CONTRACT = {
|
|
|
75
75
|
"subject": "rpc.v1.Jobs.Get",
|
|
76
76
|
"version": "v1",
|
|
77
77
|
},
|
|
78
|
+
"Jobs.GetKey": {
|
|
79
|
+
"capabilities": { "call": ["trellis.jobs::admin.read"] },
|
|
80
|
+
"docs": {
|
|
81
|
+
"markdown": "Returns projection-backed keyed concurrency state for one service job key.",
|
|
82
|
+
"summary": "Read keyed job concurrency state.",
|
|
83
|
+
},
|
|
84
|
+
"errors": [{ "type": "UnexpectedError" }, { "type": "ValidationError" }, {
|
|
85
|
+
"type": "NotFoundError",
|
|
86
|
+
}],
|
|
87
|
+
"input": { "schema": "JobsGetKeyRequest" },
|
|
88
|
+
"output": { "schema": "JobsGetKeyResponse" },
|
|
89
|
+
"subject": "rpc.v1.Jobs.GetKey",
|
|
90
|
+
"version": "v1",
|
|
91
|
+
},
|
|
78
92
|
"Jobs.Health": {
|
|
79
93
|
"capabilities": { "call": ["trellis.jobs::admin.read"] },
|
|
80
94
|
"docs": {
|
|
@@ -157,6 +171,17 @@ exports.CONTRACT = {
|
|
|
157
171
|
"Job": {
|
|
158
172
|
"properties": {
|
|
159
173
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
174
|
+
"concurrency": {
|
|
175
|
+
"properties": {
|
|
176
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
177
|
+
"key": { "minLength": 1, "type": "string" },
|
|
178
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
179
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
180
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
181
|
+
},
|
|
182
|
+
"required": ["key", "keyHash"],
|
|
183
|
+
"type": "object",
|
|
184
|
+
},
|
|
160
185
|
"context": {
|
|
161
186
|
"properties": {
|
|
162
187
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -202,6 +227,16 @@ exports.CONTRACT = {
|
|
|
202
227
|
},
|
|
203
228
|
"type": "object",
|
|
204
229
|
},
|
|
230
|
+
"queuePolicy": {
|
|
231
|
+
"properties": {
|
|
232
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
233
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
234
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
235
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
236
|
+
},
|
|
237
|
+
"required": ["outcome"],
|
|
238
|
+
"type": "object",
|
|
239
|
+
},
|
|
205
240
|
"result": {},
|
|
206
241
|
"service": { "minLength": 1, "type": "string" },
|
|
207
242
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -236,6 +271,17 @@ exports.CONTRACT = {
|
|
|
236
271
|
],
|
|
237
272
|
"type": "object",
|
|
238
273
|
},
|
|
274
|
+
"JobConcurrencyMetadata": {
|
|
275
|
+
"properties": {
|
|
276
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
277
|
+
"key": { "minLength": 1, "type": "string" },
|
|
278
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
279
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
280
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
281
|
+
},
|
|
282
|
+
"required": ["key", "keyHash"],
|
|
283
|
+
"type": "object",
|
|
284
|
+
},
|
|
239
285
|
"JobContext": {
|
|
240
286
|
"properties": {
|
|
241
287
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -272,6 +318,16 @@ exports.CONTRACT = {
|
|
|
272
318
|
},
|
|
273
319
|
"type": "object",
|
|
274
320
|
},
|
|
321
|
+
"JobQueuePolicyMetadata": {
|
|
322
|
+
"properties": {
|
|
323
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
324
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
325
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
326
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
327
|
+
},
|
|
328
|
+
"required": ["outcome"],
|
|
329
|
+
"type": "object",
|
|
330
|
+
},
|
|
275
331
|
"JobState": {
|
|
276
332
|
"anyOf": [
|
|
277
333
|
{ "const": "pending", "type": "string" },
|
|
@@ -296,6 +352,17 @@ exports.CONTRACT = {
|
|
|
296
352
|
"job": {
|
|
297
353
|
"properties": {
|
|
298
354
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
355
|
+
"concurrency": {
|
|
356
|
+
"properties": {
|
|
357
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
358
|
+
"key": { "minLength": 1, "type": "string" },
|
|
359
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
360
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
361
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
362
|
+
},
|
|
363
|
+
"required": ["key", "keyHash"],
|
|
364
|
+
"type": "object",
|
|
365
|
+
},
|
|
299
366
|
"context": {
|
|
300
367
|
"properties": {
|
|
301
368
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -341,6 +408,16 @@ exports.CONTRACT = {
|
|
|
341
408
|
},
|
|
342
409
|
"type": "object",
|
|
343
410
|
},
|
|
411
|
+
"queuePolicy": {
|
|
412
|
+
"properties": {
|
|
413
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
414
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
415
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
416
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
417
|
+
},
|
|
418
|
+
"required": ["outcome"],
|
|
419
|
+
"type": "object",
|
|
420
|
+
},
|
|
344
421
|
"result": {},
|
|
345
422
|
"service": { "minLength": 1, "type": "string" },
|
|
346
423
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -390,6 +467,17 @@ exports.CONTRACT = {
|
|
|
390
467
|
"job": {
|
|
391
468
|
"properties": {
|
|
392
469
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
470
|
+
"concurrency": {
|
|
471
|
+
"properties": {
|
|
472
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
473
|
+
"key": { "minLength": 1, "type": "string" },
|
|
474
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
475
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
476
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
477
|
+
},
|
|
478
|
+
"required": ["key", "keyHash"],
|
|
479
|
+
"type": "object",
|
|
480
|
+
},
|
|
393
481
|
"context": {
|
|
394
482
|
"properties": {
|
|
395
483
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -435,6 +523,16 @@ exports.CONTRACT = {
|
|
|
435
523
|
},
|
|
436
524
|
"type": "object",
|
|
437
525
|
},
|
|
526
|
+
"queuePolicy": {
|
|
527
|
+
"properties": {
|
|
528
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
529
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
530
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
531
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
532
|
+
},
|
|
533
|
+
"required": ["outcome"],
|
|
534
|
+
"type": "object",
|
|
535
|
+
},
|
|
438
536
|
"result": {},
|
|
439
537
|
"service": { "minLength": 1, "type": "string" },
|
|
440
538
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -473,6 +571,70 @@ exports.CONTRACT = {
|
|
|
473
571
|
"required": ["job"],
|
|
474
572
|
"type": "object",
|
|
475
573
|
},
|
|
574
|
+
"JobsGetKeyRequest": {
|
|
575
|
+
"properties": {
|
|
576
|
+
"key": { "minLength": 1, "type": "string" },
|
|
577
|
+
"service": { "minLength": 1, "type": "string" },
|
|
578
|
+
"type": { "minLength": 1, "type": "string" },
|
|
579
|
+
},
|
|
580
|
+
"required": ["service", "type", "key"],
|
|
581
|
+
"type": "object",
|
|
582
|
+
},
|
|
583
|
+
"JobsGetKeyResponse": {
|
|
584
|
+
"properties": {
|
|
585
|
+
"active": {
|
|
586
|
+
"items": {
|
|
587
|
+
"properties": {
|
|
588
|
+
"heartbeatAgeMs": { "minimum": 0, "type": "integer" },
|
|
589
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
590
|
+
"instanceId": { "type": "string" },
|
|
591
|
+
"jobId": { "minLength": 1, "type": "string" },
|
|
592
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
593
|
+
"startedAt": { "format": "date-time", "type": "string" },
|
|
594
|
+
},
|
|
595
|
+
"required": [
|
|
596
|
+
"jobId",
|
|
597
|
+
"instanceId",
|
|
598
|
+
"startedAt",
|
|
599
|
+
"heartbeatAt",
|
|
600
|
+
"heartbeatAgeMs",
|
|
601
|
+
"leaseExpiresAt",
|
|
602
|
+
],
|
|
603
|
+
"type": "object",
|
|
604
|
+
},
|
|
605
|
+
"type": "array",
|
|
606
|
+
},
|
|
607
|
+
"key": { "minLength": 1, "type": "string" },
|
|
608
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
609
|
+
"latestPolicyReason": { "minLength": 1, "type": "string" },
|
|
610
|
+
"queued": {
|
|
611
|
+
"items": {
|
|
612
|
+
"properties": {
|
|
613
|
+
"createdAt": { "format": "date-time", "type": "string" },
|
|
614
|
+
"jobId": { "minLength": 1, "type": "string" },
|
|
615
|
+
},
|
|
616
|
+
"required": ["jobId", "createdAt"],
|
|
617
|
+
"type": "object",
|
|
618
|
+
},
|
|
619
|
+
"type": "array",
|
|
620
|
+
},
|
|
621
|
+
"queuedDepth": { "minimum": 0, "type": "integer" },
|
|
622
|
+
"service": { "minLength": 1, "type": "string" },
|
|
623
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
624
|
+
"type": { "minLength": 1, "type": "string" },
|
|
625
|
+
},
|
|
626
|
+
"required": [
|
|
627
|
+
"service",
|
|
628
|
+
"type",
|
|
629
|
+
"key",
|
|
630
|
+
"keyHash",
|
|
631
|
+
"active",
|
|
632
|
+
"queued",
|
|
633
|
+
"queuedDepth",
|
|
634
|
+
"staleTakeoverCount",
|
|
635
|
+
],
|
|
636
|
+
"type": "object",
|
|
637
|
+
},
|
|
476
638
|
"JobsGetRequest": {
|
|
477
639
|
"description": "Jobs admin ids are globally addressable; callers identify jobs by id only.",
|
|
478
640
|
"properties": { "id": { "minLength": 1, "type": "string" } },
|
|
@@ -484,6 +646,17 @@ exports.CONTRACT = {
|
|
|
484
646
|
"job": {
|
|
485
647
|
"properties": {
|
|
486
648
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
649
|
+
"concurrency": {
|
|
650
|
+
"properties": {
|
|
651
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
652
|
+
"key": { "minLength": 1, "type": "string" },
|
|
653
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
654
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
655
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
656
|
+
},
|
|
657
|
+
"required": ["key", "keyHash"],
|
|
658
|
+
"type": "object",
|
|
659
|
+
},
|
|
487
660
|
"context": {
|
|
488
661
|
"properties": {
|
|
489
662
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -529,6 +702,16 @@ exports.CONTRACT = {
|
|
|
529
702
|
},
|
|
530
703
|
"type": "object",
|
|
531
704
|
},
|
|
705
|
+
"queuePolicy": {
|
|
706
|
+
"properties": {
|
|
707
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
708
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
709
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
710
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
711
|
+
},
|
|
712
|
+
"required": ["outcome"],
|
|
713
|
+
"type": "object",
|
|
714
|
+
},
|
|
532
715
|
"result": {},
|
|
533
716
|
"service": { "minLength": 1, "type": "string" },
|
|
534
717
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -598,6 +781,17 @@ exports.CONTRACT = {
|
|
|
598
781
|
"items": {
|
|
599
782
|
"properties": {
|
|
600
783
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
784
|
+
"concurrency": {
|
|
785
|
+
"properties": {
|
|
786
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
787
|
+
"key": { "minLength": 1, "type": "string" },
|
|
788
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
789
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
790
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
791
|
+
},
|
|
792
|
+
"required": ["key", "keyHash"],
|
|
793
|
+
"type": "object",
|
|
794
|
+
},
|
|
601
795
|
"context": {
|
|
602
796
|
"properties": {
|
|
603
797
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -643,6 +837,16 @@ exports.CONTRACT = {
|
|
|
643
837
|
},
|
|
644
838
|
"type": "object",
|
|
645
839
|
},
|
|
840
|
+
"queuePolicy": {
|
|
841
|
+
"properties": {
|
|
842
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
843
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
844
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
845
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
846
|
+
},
|
|
847
|
+
"required": ["outcome"],
|
|
848
|
+
"type": "object",
|
|
849
|
+
},
|
|
646
850
|
"result": {},
|
|
647
851
|
"service": { "minLength": 1, "type": "string" },
|
|
648
852
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -720,6 +924,17 @@ exports.CONTRACT = {
|
|
|
720
924
|
"items": {
|
|
721
925
|
"properties": {
|
|
722
926
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
927
|
+
"concurrency": {
|
|
928
|
+
"properties": {
|
|
929
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
930
|
+
"key": { "minLength": 1, "type": "string" },
|
|
931
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
932
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
933
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
934
|
+
},
|
|
935
|
+
"required": ["key", "keyHash"],
|
|
936
|
+
"type": "object",
|
|
937
|
+
},
|
|
723
938
|
"context": {
|
|
724
939
|
"properties": {
|
|
725
940
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -765,6 +980,16 @@ exports.CONTRACT = {
|
|
|
765
980
|
},
|
|
766
981
|
"type": "object",
|
|
767
982
|
},
|
|
983
|
+
"queuePolicy": {
|
|
984
|
+
"properties": {
|
|
985
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
986
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
987
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
988
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
989
|
+
},
|
|
990
|
+
"required": ["outcome"],
|
|
991
|
+
"type": "object",
|
|
992
|
+
},
|
|
768
993
|
"result": {},
|
|
769
994
|
"service": { "minLength": 1, "type": "string" },
|
|
770
995
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -863,6 +1088,17 @@ exports.CONTRACT = {
|
|
|
863
1088
|
"job": {
|
|
864
1089
|
"properties": {
|
|
865
1090
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
1091
|
+
"concurrency": {
|
|
1092
|
+
"properties": {
|
|
1093
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
1094
|
+
"key": { "minLength": 1, "type": "string" },
|
|
1095
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
1096
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
1097
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
1098
|
+
},
|
|
1099
|
+
"required": ["key", "keyHash"],
|
|
1100
|
+
"type": "object",
|
|
1101
|
+
},
|
|
866
1102
|
"context": {
|
|
867
1103
|
"properties": {
|
|
868
1104
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -908,6 +1144,16 @@ exports.CONTRACT = {
|
|
|
908
1144
|
},
|
|
909
1145
|
"type": "object",
|
|
910
1146
|
},
|
|
1147
|
+
"queuePolicy": {
|
|
1148
|
+
"properties": {
|
|
1149
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
1150
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
1151
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
1152
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
1153
|
+
},
|
|
1154
|
+
"required": ["outcome"],
|
|
1155
|
+
"type": "object",
|
|
1156
|
+
},
|
|
911
1157
|
"result": {},
|
|
912
1158
|
"service": { "minLength": 1, "type": "string" },
|
|
913
1159
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -957,6 +1203,17 @@ exports.CONTRACT = {
|
|
|
957
1203
|
"job": {
|
|
958
1204
|
"properties": {
|
|
959
1205
|
"completedAt": { "format": "date-time", "type": "string" },
|
|
1206
|
+
"concurrency": {
|
|
1207
|
+
"properties": {
|
|
1208
|
+
"heartbeatAt": { "format": "date-time", "type": "string" },
|
|
1209
|
+
"key": { "minLength": 1, "type": "string" },
|
|
1210
|
+
"keyHash": { "minLength": 1, "type": "string" },
|
|
1211
|
+
"leaseExpiresAt": { "format": "date-time", "type": "string" },
|
|
1212
|
+
"staleTakeoverCount": { "minimum": 0, "type": "integer" },
|
|
1213
|
+
},
|
|
1214
|
+
"required": ["key", "keyHash"],
|
|
1215
|
+
"type": "object",
|
|
1216
|
+
},
|
|
960
1217
|
"context": {
|
|
961
1218
|
"properties": {
|
|
962
1219
|
"requestId": { "minLength": 1, "type": "string" },
|
|
@@ -1002,6 +1259,16 @@ exports.CONTRACT = {
|
|
|
1002
1259
|
},
|
|
1003
1260
|
"type": "object",
|
|
1004
1261
|
},
|
|
1262
|
+
"queuePolicy": {
|
|
1263
|
+
"properties": {
|
|
1264
|
+
"existingJobId": { "minLength": 1, "type": "string" },
|
|
1265
|
+
"outcome": { "minLength": 1, "type": "string" },
|
|
1266
|
+
"reason": { "minLength": 1, "type": "string" },
|
|
1267
|
+
"replacedJobId": { "minLength": 1, "type": "string" },
|
|
1268
|
+
},
|
|
1269
|
+
"required": ["outcome"],
|
|
1270
|
+
"type": "object",
|
|
1271
|
+
},
|
|
1005
1272
|
"result": {},
|
|
1006
1273
|
"service": { "minLength": 1, "type": "string" },
|
|
1007
1274
|
"startedAt": { "format": "date-time", "type": "string" },
|
|
@@ -40,6 +40,19 @@ export declare const OWNED_API: {
|
|
|
40
40
|
readonly fromSerializable: typeof Types.NotFoundError.fromSerializable;
|
|
41
41
|
}];
|
|
42
42
|
};
|
|
43
|
+
"Jobs.GetKey": {
|
|
44
|
+
subject: string;
|
|
45
|
+
input: import("@qlever-llc/trellis/contracts").Schema<Types.JobsGetKeyInput>;
|
|
46
|
+
output: import("@qlever-llc/trellis/contracts").Schema<Types.JobsGetKeyOutput>;
|
|
47
|
+
callerCapabilities: string[];
|
|
48
|
+
errors: readonly ["UnexpectedError", "ValidationError", "NotFoundError"];
|
|
49
|
+
declaredErrorTypes: readonly ["UnexpectedError", "ValidationError", "NotFoundError"];
|
|
50
|
+
runtimeErrors: readonly [{
|
|
51
|
+
readonly type: "NotFoundError";
|
|
52
|
+
readonly schema: import("@qlever-llc/trellis/contracts").Schema<Types.NotFoundErrorData>;
|
|
53
|
+
readonly fromSerializable: typeof Types.NotFoundError.fromSerializable;
|
|
54
|
+
}];
|
|
55
|
+
};
|
|
43
56
|
"Jobs.Health": {
|
|
44
57
|
subject: string;
|
|
45
58
|
input: import("@qlever-llc/trellis/contracts").Schema<Types.JobsHealthInput>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"owned_api.d.ts","sourceRoot":"","sources":["../../../../src/sdk/_generated/jobs/owned_api.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"owned_api.d.ts","sourceRoot":"","sources":["../../../../src/sdk/_generated/jobs/owned_api.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AAyBpC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2JA,CAAC"}
|
|
@@ -96,6 +96,25 @@ exports.OWNED_API = {
|
|
|
96
96
|
},
|
|
97
97
|
],
|
|
98
98
|
},
|
|
99
|
+
"Jobs.GetKey": {
|
|
100
|
+
subject: "rpc.v1.Jobs.GetKey",
|
|
101
|
+
input: (0, contracts_js_1.schema)(schemas_js_1.JobsGetKeyRequestSchema),
|
|
102
|
+
output: (0, contracts_js_1.schema)(schemas_js_1.JobsGetKeyResponseSchema),
|
|
103
|
+
callerCapabilities: ["trellis.jobs::admin.read"],
|
|
104
|
+
errors: ["UnexpectedError", "ValidationError", "NotFoundError"],
|
|
105
|
+
declaredErrorTypes: [
|
|
106
|
+
"UnexpectedError",
|
|
107
|
+
"ValidationError",
|
|
108
|
+
"NotFoundError",
|
|
109
|
+
],
|
|
110
|
+
runtimeErrors: [
|
|
111
|
+
{
|
|
112
|
+
type: "NotFoundError",
|
|
113
|
+
schema: (0, contracts_js_1.schema)(schemas_js_1.NotFoundErrorDataSchema),
|
|
114
|
+
fromSerializable: Types.NotFoundError.fromSerializable,
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
},
|
|
99
118
|
"Jobs.Health": {
|
|
100
119
|
subject: "rpc.v1.Jobs.Health",
|
|
101
120
|
input: (0, contracts_js_1.schema)(schemas_js_1.EmptySchema),
|