@vendure/cloud-config 0.4.0 → 0.5.0-dev.20261016123507.ge07a06e
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/README.md +13 -4
- package/dist/cloud-asset-server-plugin.d.ts.map +1 -1
- package/dist/cloud-asset-server-plugin.js +22 -38
- package/dist/cloud-asset-server-plugin.js.map +1 -1
- package/dist/cloud-config.d.ts.map +1 -1
- package/dist/cloud-dashboard-plugin.d.ts.map +1 -1
- package/dist/cloud-dashboard-plugin.js +20 -36
- package/dist/cloud-dashboard-plugin.js.map +1 -1
- package/dist/cloud-plugin-declaration.d.ts.map +1 -1
- package/dist/cloud-plugin-declaration.js +18 -23
- package/dist/cloud-plugin-declaration.js.map +1 -1
- package/dist/composition.d.ts.map +1 -1
- package/dist/composition.js +22 -32
- package/dist/composition.js.map +1 -1
- package/dist/define-cloud-config.d.ts.map +1 -1
- package/dist/define-cloud-config.js +12 -17
- package/dist/define-cloud-config.js.map +1 -1
- package/dist/durable-workflow-reads.d.ts +20 -0
- package/dist/durable-workflow-reads.d.ts.map +1 -0
- package/dist/durable-workflow-reads.js +57 -0
- package/dist/durable-workflow-reads.js.map +1 -0
- package/dist/durable-workflows.d.ts +74 -0
- package/dist/durable-workflows.d.ts.map +1 -0
- package/dist/durable-workflows.js +102 -0
- package/dist/durable-workflows.js.map +1 -0
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +3 -6
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/migrations.d.ts.map +1 -1
- package/dist/migrations.js +70 -104
- package/dist/migrations.js.map +1 -1
- package/dist/outbound-hosts.d.ts +6 -0
- package/dist/outbound-hosts.d.ts.map +1 -1
- package/dist/outbound-hosts.js +114 -55
- package/dist/outbound-hosts.js.map +1 -1
- package/dist/path.d.ts.map +1 -1
- package/dist/path.js +6 -7
- package/dist/path.js.map +1 -1
- package/dist/platform-capabilities.d.ts.map +1 -1
- package/dist/platform-capabilities.js +12 -18
- package/dist/platform-capabilities.js.map +1 -1
- package/dist/platform-fields.d.ts.map +1 -1
- package/dist/platform-fields.js +10 -15
- package/dist/platform-fields.js.map +1 -1
- package/dist/plugin-attribution.d.ts.map +1 -1
- package/dist/plugin-attribution.js +22 -31
- package/dist/plugin-attribution.js.map +1 -1
- package/dist/runtime-backstop.d.ts.map +1 -1
- package/dist/runtime-backstop.js +2 -5
- package/dist/runtime-backstop.js.map +1 -1
- package/dist/secrets.d.ts.map +1 -1
- package/dist/secrets.js +20 -50
- package/dist/secrets.js.map +1 -1
- package/dist/stack.d.ts.map +1 -1
- package/dist/stack.js +12 -21
- package/dist/stack.js.map +1 -1
- package/dist/superseded-plugins.d.ts.map +1 -1
- package/dist/superseded-plugins.js +4 -7
- package/dist/superseded-plugins.js.map +1 -1
- package/dist/vendure-extension.d.ts +2 -0
- package/dist/vendure-extension.d.ts.map +1 -1
- package/dist/vendure-extension.js +53 -34
- package/dist/vendure-extension.js.map +1 -1
- package/package.json +10 -3
- package/dist/tenant-workflows.d.ts +0 -44
- package/dist/tenant-workflows.d.ts.map +0 -1
- package/dist/tenant-workflows.js +0 -219
- package/dist/tenant-workflows.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define-cloud-config.js","sourceRoot":"","sources":["../src/define-cloud-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAC;AACpG,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAyB,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAEzF,
|
|
1
|
+
{"version":3,"file":"define-cloud-config.js","sourceRoot":"","sources":["../src/define-cloud-config.ts"],"names":[],"mappings":"AAC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;AACxE,CAAC;AAED,2EAA2E;AAC3E,MAAM,UAAU,eAAe,CAAC,MAAyB;IACvD,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DurableWorkflowStatus, DurableWorkflowStep, ListDurableWorkflowsFilter } from "./durable-workflows.js";
|
|
2
|
+
import { CloudConfigError } from "./errors.js";
|
|
3
|
+
export interface DurableWorkflowQuery {
|
|
4
|
+
query(sql: string, values: unknown[]): Promise<{
|
|
5
|
+
rows: unknown[];
|
|
6
|
+
}>;
|
|
7
|
+
}
|
|
8
|
+
export declare class DurableWorkflowStatusRowError extends CloudConfigError {
|
|
9
|
+
}
|
|
10
|
+
export declare function readDurableWorkflowStatus(database: DurableWorkflowQuery, schema: string, applicationName: string, workflowId: string): Promise<DurableWorkflowStatus | undefined>;
|
|
11
|
+
export declare function listDurableWorkflowStatuses(database: DurableWorkflowQuery, schema: string, applicationName: string, filter: ListDurableWorkflowsFilter): Promise<DurableWorkflowStatus[]>;
|
|
12
|
+
export interface DurableWorkflowStepRecord {
|
|
13
|
+
readonly name: string;
|
|
14
|
+
readonly output: unknown;
|
|
15
|
+
readonly error: unknown;
|
|
16
|
+
readonly startedAtEpochMs?: number;
|
|
17
|
+
readonly completedAtEpochMs?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function durableWorkflowSteps(steps: readonly DurableWorkflowStepRecord[] | undefined): DurableWorkflowStep[] | undefined;
|
|
20
|
+
//# sourceMappingURL=durable-workflow-reads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"durable-workflow-reads.d.ts","sourceRoot":"","sources":["../src/durable-workflow-reads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAQ/C,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QAAE,IAAI,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC,CAAC;CACrE;AAED,qBAAa,6BAA8B,SAAQ,gBAAgB;CAAG;AAKtE,wBAAsB,yBAAyB,CAC7C,QAAQ,EAAE,oBAAoB,EAC9B,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAM5C;AAED,wBAAsB,2BAA2B,CAC/C,QAAQ,EAAE,oBAAoB,EAC9B,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,0BAA0B,GACjC,OAAO,CAAC,qBAAqB,EAAE,CAAC,CAwBlC;AAwBD,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACtC;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,SAAS,yBAAyB,EAAE,GAAG,SAAS,GACtD,mBAAmB,EAAE,GAAG,SAAS,CAQnC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { CloudConfigError } from "./errors.js";
|
|
2
|
+
export class DurableWorkflowStatusRowError extends CloudConfigError {
|
|
3
|
+
}
|
|
4
|
+
const COLUMNS = "workflow_uuid, status, name, config_name, created_at, updated_at";
|
|
5
|
+
const SCOPE = "(application_name = $1 OR application_name IS NULL)";
|
|
6
|
+
export async function readDurableWorkflowStatus(database, schema, applicationName, workflowId) {
|
|
7
|
+
const { rows } = await database.query(`SELECT ${COLUMNS} FROM ${schema}.workflow_status WHERE ${SCOPE} AND workflow_uuid = $2`, [applicationName, workflowId]);
|
|
8
|
+
return rows[0] === undefined ? undefined : workflowStatus(rows[0]);
|
|
9
|
+
}
|
|
10
|
+
export async function listDurableWorkflowStatuses(database, schema, applicationName, filter) {
|
|
11
|
+
const values = [applicationName];
|
|
12
|
+
const conditions = [SCOPE];
|
|
13
|
+
const bind = (value) => {
|
|
14
|
+
values.push(value);
|
|
15
|
+
return `$${values.length}`;
|
|
16
|
+
};
|
|
17
|
+
if (filter.workflowName !== undefined)
|
|
18
|
+
conditions.push(`name = ${bind(filter.workflowName)}`);
|
|
19
|
+
if (filter.workflowConfigName !== undefined) {
|
|
20
|
+
conditions.push(`config_name = ${bind(filter.workflowConfigName)}`);
|
|
21
|
+
}
|
|
22
|
+
if (filter.status !== undefined) {
|
|
23
|
+
const statuses = typeof filter.status === "string" ? [filter.status] : [...filter.status];
|
|
24
|
+
conditions.push(`status = ANY (${bind(statuses)}::text[])`);
|
|
25
|
+
}
|
|
26
|
+
const { rows } = await database.query(`SELECT ${COLUMNS} FROM ${schema}.workflow_status
|
|
27
|
+
WHERE ${conditions.join(" AND ")}
|
|
28
|
+
ORDER BY created_at DESC, workflow_uuid
|
|
29
|
+
${filter.limit !== undefined ? `LIMIT ${bind(filter.limit)}` : ""}
|
|
30
|
+
${filter.offset !== undefined ? `OFFSET ${bind(filter.offset)}` : ""}`, values);
|
|
31
|
+
return rows.map(workflowStatus);
|
|
32
|
+
}
|
|
33
|
+
// `created_at` and `updated_at` are `bigint`, which `pg` returns as strings.
|
|
34
|
+
function workflowStatus(row) {
|
|
35
|
+
const { workflow_uuid, status, name, config_name, created_at, updated_at } = row;
|
|
36
|
+
if (typeof workflow_uuid !== "string" || typeof name !== "string" || typeof status !== "string") {
|
|
37
|
+
throw new DurableWorkflowStatusRowError("Vendure Cloud: a durable workflow status row came back in a shape this runtime does not read.\n");
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
workflowID: workflow_uuid,
|
|
41
|
+
status,
|
|
42
|
+
workflowName: name,
|
|
43
|
+
workflowConfigName: typeof config_name === "string" && config_name !== "" ? config_name : null,
|
|
44
|
+
createdAt: Number(created_at),
|
|
45
|
+
updatedAt: updated_at === null || updated_at === undefined ? null : Number(updated_at),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function durableWorkflowSteps(steps) {
|
|
49
|
+
return steps?.map((step) => ({
|
|
50
|
+
name: step.name,
|
|
51
|
+
output: step.output,
|
|
52
|
+
error: step.error,
|
|
53
|
+
startedAtEpochMs: step.startedAtEpochMs ?? null,
|
|
54
|
+
completedAtEpochMs: step.completedAtEpochMs ?? null,
|
|
55
|
+
}));
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=durable-workflow-reads.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"durable-workflow-reads.js","sourceRoot":"","sources":["../src/durable-workflow-reads.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAY/C,MAAM,OAAO,6BAA8B,SAAQ,gBAAgB;CAAG;AAEtE,MAAM,OAAO,GAAG,kEAAkE,CAAC;AACnF,MAAM,KAAK,GAAG,qDAAqD,CAAC;AAEpE,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,QAA8B,EAC9B,MAAc,EACd,eAAuB,EACvB,UAAkB;IAElB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,KAAK,CACnC,UAAU,OAAO,SAAS,MAAM,0BAA0B,KAAK,yBAAyB,EACxF,CAAC,eAAe,EAAE,UAAU,CAAC,CAC9B,CAAC;IACF,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,CAAC,KAAK,UA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I;KACpD,CAAC,CAAC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { CloudConfigError } from "./errors.js";
|
|
2
|
+
export interface DurableWorkflowTransaction {
|
|
3
|
+
readonly queryRunner?: {
|
|
4
|
+
readonly isTransactionActive: boolean;
|
|
5
|
+
connect(): Promise<unknown>;
|
|
6
|
+
} | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface StartDurableWorkflowOptions {
|
|
9
|
+
workflowName: string;
|
|
10
|
+
workflowClassName?: string;
|
|
11
|
+
workflowConfigName?: string;
|
|
12
|
+
workflowId: string;
|
|
13
|
+
}
|
|
14
|
+
export interface SendDurableWorkflowOptions {
|
|
15
|
+
topic?: string;
|
|
16
|
+
idempotencyKey?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const DURABLE_WORKFLOW_STATUS_NAMES: readonly ["ENQUEUED", "DELAYED", "PENDING", "SUCCESS", "ERROR", "MAX_RECOVERY_ATTEMPTS_EXCEEDED", "CANCELLED"];
|
|
19
|
+
export type DurableWorkflowStatusName = (typeof DURABLE_WORKFLOW_STATUS_NAMES)[number];
|
|
20
|
+
export interface DurableWorkflowStatus {
|
|
21
|
+
readonly workflowID: string;
|
|
22
|
+
readonly status: DurableWorkflowStatusName | (string & {});
|
|
23
|
+
readonly workflowName: string;
|
|
24
|
+
readonly workflowConfigName: string | null;
|
|
25
|
+
readonly createdAt: number;
|
|
26
|
+
readonly updatedAt: number | null;
|
|
27
|
+
}
|
|
28
|
+
export interface DurableWorkflowStep {
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly output: unknown;
|
|
31
|
+
readonly error: unknown;
|
|
32
|
+
readonly startedAtEpochMs: number | null;
|
|
33
|
+
readonly completedAtEpochMs: number | null;
|
|
34
|
+
}
|
|
35
|
+
export interface ListDurableWorkflowsFilter {
|
|
36
|
+
workflowName?: string;
|
|
37
|
+
workflowConfigName?: string;
|
|
38
|
+
status?: DurableWorkflowStatusName | readonly DurableWorkflowStatusName[];
|
|
39
|
+
limit?: number;
|
|
40
|
+
offset?: number;
|
|
41
|
+
}
|
|
42
|
+
export interface CancelDurableWorkflowOptions {
|
|
43
|
+
cancelChildren?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface CloudDurableWorkflows {
|
|
46
|
+
start(transaction: DurableWorkflowTransaction, options: StartDurableWorkflowOptions, ...args: unknown[]): Promise<void>;
|
|
47
|
+
send(transaction: DurableWorkflowTransaction, workflowId: string, message: unknown, options?: SendDurableWorkflowOptions): Promise<void>;
|
|
48
|
+
unfinishedRuns(): Promise<Record<string, number>>;
|
|
49
|
+
retrieve(workflowId: string): Promise<DurableWorkflowStatus | undefined>;
|
|
50
|
+
steps(workflowId: string): Promise<readonly DurableWorkflowStep[] | undefined>;
|
|
51
|
+
event<T>(workflowId: string, key: string, options?: {
|
|
52
|
+
timeoutSeconds?: number;
|
|
53
|
+
}): Promise<T | null>;
|
|
54
|
+
result<T>(workflowId: string): Promise<T>;
|
|
55
|
+
list(filter?: ListDurableWorkflowsFilter): Promise<readonly DurableWorkflowStatus[]>;
|
|
56
|
+
cancel(workflowId: string, options?: CancelDurableWorkflowOptions): Promise<void>;
|
|
57
|
+
}
|
|
58
|
+
export declare class DurableWorkflowsUnavailableError extends CloudConfigError {
|
|
59
|
+
constructor();
|
|
60
|
+
}
|
|
61
|
+
export declare class DurableWorkflowNotFoundError extends CloudConfigError {
|
|
62
|
+
readonly workflowId: string;
|
|
63
|
+
constructor(workflowId: string);
|
|
64
|
+
}
|
|
65
|
+
export declare class DurableWorkflowHostOutdatedError extends CloudConfigError {
|
|
66
|
+
readonly method: string;
|
|
67
|
+
constructor(method: string);
|
|
68
|
+
}
|
|
69
|
+
export declare class DurableWorkflowHostInstalledTwiceError extends CloudConfigError {
|
|
70
|
+
constructor();
|
|
71
|
+
}
|
|
72
|
+
export declare function cloudDurableWorkflows(): CloudDurableWorkflows;
|
|
73
|
+
export declare function installCloudDurableWorkflows(host: CloudDurableWorkflows): void;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AE,GACpC,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAGrB,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1C,IAAI,CAAC,MAAM,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,SAAS,qBAAqB,EAAE,CAAC,CAAC;IAIrF,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnF;AAED,qBAAa,gCAAiC,SAAQ,gBAAgB;;CAMrE;AAED,qBAAa,4BAA6B,SAAQ,gBAAgB;IACpD,QAAQ,CAAC,UAAU,EAAE,MAAM;gBAAlB,UAAU,EAAE,MAAM;CAGxC;AAED,qBAAa,gCAAiC,SAAQ,gBAAgB;IACxD,QAAQ,CAAC,MAAM,EAAE,MAAM;gBAAd,MAAM,EAAE,MAAM;CAKpC;AAED,qBAAa,sCAAuC,SAAQ,gBAAgB;;CAM3E;AAKD,wBAAgB,qBAAqB,IAAI,qBAAqB,CAgC7D;AAkBD,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI,CAI9E"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { CloudConfigError } from "./errors.js";
|
|
2
|
+
// How application code starts and signals a durable workflow on Vendure Cloud (ADR-0060). The
|
|
3
|
+
// Vendure Cloud runtime is the only code that configures and launches DBOS in a process, so
|
|
4
|
+
// starting or signalling a workflow goes through the runtime.
|
|
5
|
+
//
|
|
6
|
+
// The runtime installs its implementation here before Vendure's bootstrap begins, so it is present
|
|
7
|
+
// from every plugin's `configure()` onwards. Workflows themselves are registered with standard DBOS
|
|
8
|
+
// registration and are not declared here.
|
|
9
|
+
// A registered symbol, as the cloud config handle's is (ADR-0043): the runtime and the application
|
|
10
|
+
// can hold different copies of this package, and both have to reach one host. Vendure Platform's
|
|
11
|
+
// `WorkflowEnginePlugin` reads this symbol directly to detect hosted mode, so its spelling is a
|
|
12
|
+
// published contract.
|
|
13
|
+
const HOST = Symbol.for("vendure-cloud.durable-workflows");
|
|
14
|
+
// The SDK's run statuses. DELAYED is a queued run waiting out a delay before it starts.
|
|
15
|
+
export const DURABLE_WORKFLOW_STATUS_NAMES = [
|
|
16
|
+
"ENQUEUED",
|
|
17
|
+
"DELAYED",
|
|
18
|
+
"PENDING",
|
|
19
|
+
"SUCCESS",
|
|
20
|
+
"ERROR",
|
|
21
|
+
"MAX_RECOVERY_ATTEMPTS_EXCEEDED",
|
|
22
|
+
"CANCELLED",
|
|
23
|
+
];
|
|
24
|
+
export class DurableWorkflowsUnavailableError extends CloudConfigError {
|
|
25
|
+
constructor() {
|
|
26
|
+
super("Vendure Cloud: this process has no durable workflow host, so a durable workflow cannot be started or signalled here. Durable workflows run in a VC Environment and in the local runtime of `@vendure/cloud`.\n");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export class DurableWorkflowNotFoundError extends CloudConfigError {
|
|
30
|
+
workflowId;
|
|
31
|
+
constructor(workflowId) {
|
|
32
|
+
super(`Vendure Cloud: no durable workflow run has the id ${JSON.stringify(workflowId)}.\n`);
|
|
33
|
+
this.workflowId = workflowId;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
export class DurableWorkflowHostOutdatedError extends CloudConfigError {
|
|
37
|
+
method;
|
|
38
|
+
constructor(method) {
|
|
39
|
+
super(`Vendure Cloud: the Vendure Cloud runtime running this process predates \`cloudDurableWorkflows().${method}()\`. Upgrade \`@vendure/cloud\`, or deploy again so the environment runs a current Cloud Runtime.\n`);
|
|
40
|
+
this.method = method;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export class DurableWorkflowHostInstalledTwiceError extends CloudConfigError {
|
|
44
|
+
constructor() {
|
|
45
|
+
super("Vendure Cloud: a durable workflow host was already installed in this process when the Vendure Cloud runtime installed its own. Only the runtime installs one; remove any call to `installCloudDurableWorkflows` from your application. Refusing to boot.\n");
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
// The runtime and the application can carry different releases of this package, so a host installed
|
|
49
|
+
// by an older runtime may lack a method added since. Only `start` and `send`, which every host has,
|
|
50
|
+
// decide whether a host exists; a missing later method rejects on its own call.
|
|
51
|
+
export function cloudDurableWorkflows() {
|
|
52
|
+
const host = Reflect.get(globalThis, HOST);
|
|
53
|
+
if (typeof host !== "object" ||
|
|
54
|
+
host === null ||
|
|
55
|
+
!hasMethod(host, "start") ||
|
|
56
|
+
!hasMethod(host, "send")) {
|
|
57
|
+
throw new DurableWorkflowsUnavailableError();
|
|
58
|
+
}
|
|
59
|
+
const call = (name) => async (...args) => {
|
|
60
|
+
const found = Reflect.get(host, name);
|
|
61
|
+
if (typeof found !== "function")
|
|
62
|
+
throw new DurableWorkflowHostOutdatedError(name);
|
|
63
|
+
try {
|
|
64
|
+
return await found.apply(host, args);
|
|
65
|
+
}
|
|
66
|
+
catch (error) {
|
|
67
|
+
throw asLocalError(error);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
return {
|
|
71
|
+
start: call("start"),
|
|
72
|
+
send: call("send"),
|
|
73
|
+
unfinishedRuns: call("unfinishedRuns"),
|
|
74
|
+
retrieve: call("retrieve"),
|
|
75
|
+
steps: call("steps"),
|
|
76
|
+
event: call("event"),
|
|
77
|
+
result: call("result"),
|
|
78
|
+
list: call("list"),
|
|
79
|
+
cancel: call("cancel"),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
// The host throws from the runtime's copy of this package, which an application's `instanceof` does
|
|
83
|
+
// not match (ADR-0045), so a host error is rethrown as this copy's class by name.
|
|
84
|
+
function asLocalError(error) {
|
|
85
|
+
if (!(error instanceof Error) || error instanceof DurableWorkflowNotFoundError)
|
|
86
|
+
return error;
|
|
87
|
+
const workflowId = Reflect.get(error, "workflowId");
|
|
88
|
+
if (error.name === "DurableWorkflowNotFoundError" && typeof workflowId === "string") {
|
|
89
|
+
return new DurableWorkflowNotFoundError(workflowId);
|
|
90
|
+
}
|
|
91
|
+
return error;
|
|
92
|
+
}
|
|
93
|
+
function hasMethod(host, method) {
|
|
94
|
+
return typeof Reflect.get(host, method) === "function";
|
|
95
|
+
}
|
|
96
|
+
// Called by the Vendure Cloud runtime, once per process, before bootstrap.
|
|
97
|
+
export function installCloudDurableWorkflows(host) {
|
|
98
|
+
if (Reflect.get(globalThis, HOST) !== undefined)
|
|
99
|
+
throw new DurableWorkflowHostInstalledTwiceError();
|
|
100
|
+
Reflect.set(globalThis, HOST, host);
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=durable-workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"durable-workflows.js","sourceRoot":"","sources":["../src/durable-workflows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,8FAA8F;AAC9F,4FAA4F;AAC5F,8DAA8D;AAC9D,EAAE;AACF,mGAAmG;AACnG,oGAAoG;AACpG,0CAA0C;AAE1C,mGAAmG;AACnG,iGAAiG;AACjG,gGAAgG;AAChG,sBAAsB;AACtB,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;AA+B3D,wFAAwF;AACxF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,UAAU;IACV,SAAS;IACT,SAAS;IACT,SAAS;IACT,OAAO;IACP,gCAAgC;IAChC,WAAW;CACH,CAAC;AA4EX,MAAM,OAAO,gCAAiC,SAAQ,gBAAgB;IACpE;QACE,KAAK,CACH,gNAAgN,CACjN,CAAC;IACJ,CAAC;CACF;AAED,MAAM,OAAO,4BAA6B,SAAQ,gBAAgB;IAC3C;IAArB,YAAqB,UAAkB;QACrC,KAAK,CAAC,qDAAqD,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QADzE,eAAU,GAAV,UAAU,CAAQ;IAEvC,CAAC;C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
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAGA,8BAAsB,gBAAiB,SAAQ,KAAK;gBACtC,OAAO,EAAE,MAAM;CAI5B"}
|
package/dist/errors.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
// Base for the refusals this package raises. `name` is
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// This reads the class name at runtime, so a build that mangles class names would produce a
|
|
5
|
-
// mangled `name`. `errors.test.ts` asserts each name matches its class and would fail such a
|
|
6
|
-
// build rather than shipping errors a customer cannot search for.
|
|
1
|
+
// Base for the refusals this package raises. `name` is the invoked constructor's name, so a renamed
|
|
2
|
+
// subclass keeps a correct name. A build that mangles class names would mangle `name`;
|
|
3
|
+
// `errors.test.ts` asserts each name matches its class.
|
|
7
4
|
export class CloudConfigError extends Error {
|
|
8
5
|
constructor(message) {
|
|
9
6
|
super(message);
|
package/dist/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,uFAAuF;AACvF,wDAAwD;AACxD,MAAM,OAAgB,gBAAiB,SAAQ,KAAK;IAClD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC;IAC9B,CAAC;CACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { defineCloudConfig, isCloudConfigHandle, readCloudConfig, type CloudConfigContents, type CloudConfigHandle, } from "./define-cloud-config.js";
|
|
2
|
-
export { DuplicateVendureExtensionIdError, InvalidVendureExtensionError, defineVendureExtension, isVendureExtension, resolveExtensionMigrations, type CloudPluginEntry, type VendureExtension, type VendureExtensionInput, type VendurePluginEntry, } from "./vendure-extension.js";
|
|
2
|
+
export { DuplicateVendureExtensionIdError, InvalidOutboundHostsError, InvalidVendureExtensionError, defineVendureExtension, isVendureExtension, resolveExtensionMigrations, type CloudPluginEntry, type VendureExtension, type VendureExtensionInput, type VendurePluginEntry, } from "./vendure-extension.js";
|
|
3
3
|
export { InvalidMigrationNameError, MigrationGlobMatchedNoMigrationsError, MigrationNotConstructibleError, type LoadedMigration, type MigrationClass, type MigrationLike, } from "./migrations.js";
|
|
4
4
|
export type { CloudApiOptions, CloudAssetOptions, CloudAuthOptions, CloudConfig, CloudJobQueueOptions, CloudSchedulerOptions, CloudSystemOptions, FlattenedCloudConfig, PlatformOwned, } from "./cloud-config.js";
|
|
5
5
|
export { PLATFORM_OWNED_FIELDS, findPlatformOwnedField, type PlatformOwnedField, type PlatformOwnedFieldPath, } from "./platform-fields.js";
|
|
@@ -13,6 +13,7 @@ export { declareCloudPlugin, isCloudPluginDeclaration, listCloudPluginDeclaratio
|
|
|
13
13
|
export { SUPERSEDED_PLUGINS, SupersededPluginDeclaredError, assertNoSupersededPluginDeclared, findSupersededPlugin, type SupersededPlugin, type SupersededPluginDeclaration, } from "./superseded-plugins.js";
|
|
14
14
|
export { MissingSecretsError, assertNoMissingSecrets, listDeclaredSecrets, listMissingSecrets, redactSecrets, secret, } from "./secrets.js";
|
|
15
15
|
export { installOutboundHostCheck, type OutboundHostCheckOptions, type UndeclaredHostReport, type UndeclaredHostReporter, } from "./outbound-hosts.js";
|
|
16
|
-
export {
|
|
16
|
+
export { DURABLE_WORKFLOW_STATUS_NAMES, DurableWorkflowHostInstalledTwiceError, DurableWorkflowHostOutdatedError, DurableWorkflowNotFoundError, DurableWorkflowsUnavailableError, cloudDurableWorkflows, installCloudDurableWorkflows, type CancelDurableWorkflowOptions, type CloudDurableWorkflows, type DurableWorkflowStatus, type DurableWorkflowStatusName, type DurableWorkflowStep, type ListDurableWorkflowsFilter, type DurableWorkflowTransaction, type SendDurableWorkflowOptions, type StartDurableWorkflowOptions, } from "./durable-workflows.js";
|
|
17
|
+
export { DurableWorkflowStatusRowError, durableWorkflowSteps, listDurableWorkflowStatuses, readDurableWorkflowStatus, type DurableWorkflowQuery, type DurableWorkflowStepRecord, } from "./durable-workflow-reads.js";
|
|
17
18
|
export { CloudConfigError } from "./errors.js";
|
|
18
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,EAC5B,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,GACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,yBAAyB,EACzB,qCAAqC,EACrC,8BAA8B,EAC9B,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,GAC5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gCAAgC,EAChC,8BAA8B,EAC9B,qBAAqB,EACrB,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,GAC/B,MAAM,4BAA4B,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AC7B,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EACtC,gCAAgC,EAChC,4BAA4B,EAC5B,gCAAgC,EAChC,qBAAqB,EACrB,4BAA4B,EAC5B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACpB,2BAA2B,EAC3B,yBAAyB,EACzB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GAC/B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { defineCloudConfig, isCloudConfigHandle, readCloudConfig, } from "./define-cloud-config.js";
|
|
2
|
-
export { DuplicateVendureExtensionIdError, InvalidVendureExtensionError, defineVendureExtension, isVendureExtension, resolveExtensionMigrations, } from "./vendure-extension.js";
|
|
2
|
+
export { DuplicateVendureExtensionIdError, InvalidOutboundHostsError, InvalidVendureExtensionError, defineVendureExtension, isVendureExtension, resolveExtensionMigrations, } from "./vendure-extension.js";
|
|
3
3
|
export { InvalidMigrationNameError, MigrationGlobMatchedNoMigrationsError, MigrationNotConstructibleError, } from "./migrations.js";
|
|
4
4
|
export { PLATFORM_OWNED_FIELDS, findPlatformOwnedField, } from "./platform-fields.js";
|
|
5
5
|
export { DuplicatePlatformCapabilityError, MissingPlatformCapabilityError, PLATFORM_CAPABILITIES, cloudPluginsForCapabilities, } from "./platform-capabilities.js";
|
|
@@ -12,6 +12,7 @@ export { declareCloudPlugin, isCloudPluginDeclaration, listCloudPluginDeclaratio
|
|
|
12
12
|
export { SUPERSEDED_PLUGINS, SupersededPluginDeclaredError, assertNoSupersededPluginDeclared, findSupersededPlugin, } from "./superseded-plugins.js";
|
|
13
13
|
export { MissingSecretsError, assertNoMissingSecrets, listDeclaredSecrets, listMissingSecrets, redactSecrets, secret, } from "./secrets.js";
|
|
14
14
|
export { installOutboundHostCheck, } from "./outbound-hosts.js";
|
|
15
|
-
export {
|
|
15
|
+
export { DURABLE_WORKFLOW_STATUS_NAMES, DurableWorkflowHostInstalledTwiceError, DurableWorkflowHostOutdatedError, DurableWorkflowNotFoundError, DurableWorkflowsUnavailableError, cloudDurableWorkflows, installCloudDurableWorkflows, } from "./durable-workflows.js";
|
|
16
|
+
export { DurableWorkflowStatusRowError, durableWorkflowSteps, listDurableWorkflowStatuses, readDurableWorkflowStatus, } from "./durable-workflow-reads.js";
|
|
16
17
|
export { CloudConfigError } from "./errors.js";
|
|
17
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,GAGhB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,EAC5B,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,GAK3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,yBAAyB,EACzB,qCAAqC,EACrC,8BAA8B,GAI/B,MAAM,iBAAiB,CAAC;AAYzB,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GAGvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gCAAgC,EAChC,8BAA8B,EAC9B,qBAAqB,EACrB,2BAA2B,GAG5B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,6BAA6B,EAC7B,iCAAiC,EACjC,yCAAyC,EACzC,UAAU,EACV,YAA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,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACpB,2BAA2B,EAC3B,yBAAyB,GAG1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
|
package/dist/migrations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../src/migrations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../src/migrations.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,KAAK,gBAAgB,EAAwB,MAAM,wBAAwB,CAAC;AAKrF,MAAM,WAAW,aAAa;IAI5B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,aAAa,CAAC;AAErD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;IAGnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;CACtC;AAaD,qBAAa,qCAAsC,SAAQ,gBAAgB;IACzE,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;gBAE7B,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;CAuB3F;AAYD,qBAAa,8BAA+B,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