@dbos-inc/dbos-sdk 1.24.12-preview.g8bb979d7ca → 1.24.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/schemas/system_db_schema.d.ts +8 -0
- package/dist/schemas/system_db_schema.d.ts.map +1 -1
- package/dist/src/dbos-executor.d.ts +9 -9
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +69 -40
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/cli.js +1 -1
- package/dist/src/dbos-runtime/cli.js.map +1 -1
- package/dist/src/dbos-runtime/migrate.d.ts +2 -2
- package/dist/src/dbos-runtime/runtime.d.ts +1 -0
- package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
- package/dist/src/dbos-runtime/runtime.js +6 -0
- package/dist/src/dbos-runtime/runtime.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +5 -4
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +11 -11
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/decorators.d.ts +4 -4
- package/dist/src/decorators.d.ts.map +1 -1
- package/dist/src/decorators.js +3 -3
- package/dist/src/decorators.js.map +1 -1
- package/dist/src/eventreceiver.d.ts +2 -2
- package/dist/src/eventreceiver.d.ts.map +1 -1
- package/dist/src/httpServer/handler.d.ts +5 -4
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +11 -11
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/index.d.ts +3 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/scheduler/scheduler.d.ts +0 -1
- package/dist/src/scheduler/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler/scheduler.js +0 -3
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/{communicator.d.ts → step.d.ts} +6 -7
- package/dist/src/step.d.ts.map +1 -0
- package/dist/src/{communicator.js → step.js} +4 -4
- package/dist/src/step.js.map +1 -0
- package/dist/src/system_database.d.ts +8 -0
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +106 -7
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +6 -5
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +11 -6
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/wfqueue.d.ts +28 -0
- package/dist/src/wfqueue.d.ts.map +1 -0
- package/dist/src/wfqueue.js +70 -0
- package/dist/src/wfqueue.js.map +1 -0
- package/dist/src/workflow.d.ts +15 -10
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +22 -21
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20240924000000_workflowqueue.js +24 -0
- package/package.json +1 -1
- package/dist/src/communicator.d.ts.map +0 -1
- package/dist/src/communicator.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/dbos-runtime/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAA4D;AAC5D,iDAAsD;AACtD,uCAAyB;AACzB,mCAAkC;AAClC,oCAAuD;AACvD,0DAA6B;AAE7B,6BAAoC;AACpC,sDAAuD;
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/dbos-runtime/runtime.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAA4D;AAC5D,iDAAsD;AACtD,uCAAyB;AACzB,mCAAkC;AAClC,oCAAuD;AACvD,0DAA6B;AAE7B,6BAAoC;AACpC,sDAAuD;AACvD,wCAA2C;AAY9B,QAAA,iBAAiB,GAAG,oBAAoB,CAAC;AAEtD,MAAa,IAAI;IACf,MAAM,CAAC,YAAY,CAAgB;IACnC,MA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AAK,CAAC,OAAO;QACX,MAAM,IAAI,CAAC,SAAS,EAAE,gBAAgB,EAAE,CAAC;QACzC,uBAAa,CAAC,IAAI,EAAE,CAAC;QACrB,MAAM,IAAI,CAAC,aAAa,CAAC;QACzB,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,QAAQ,EAAE,cAAc,IAAI,EAAE,EAAE,CAAC;YAC1D,MAAM,OAAO,CAAC,OAAO,EAAE,CAAC;QAC1B,CAAC;QACD,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;YAC/B,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACnC,CAAC;QACD,MAAM,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACjC,CAAC;CACF;AAxGD,kCAwGC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { DBOSExecutor } from "../dbos-executor";
|
2
2
|
import { Transaction } from "../transaction";
|
3
|
-
import {
|
3
|
+
import { StepFunction } from "../step";
|
4
4
|
import { UserDatabaseClient } from "../user_database";
|
5
5
|
import { DBOSContextImpl } from "../context";
|
6
6
|
import { ConfiguredInstance } from "../decorators";
|
@@ -8,6 +8,7 @@ import { WFInvokeFuncs, WfInvokeWfs, WfInvokeWfsAsync, Workflow, WorkflowConfig,
|
|
8
8
|
import { InvokeFuncsInst } from "../httpServer/handler";
|
9
9
|
import { StoredProcedure } from "../procedure";
|
10
10
|
import { PoolClient } from "pg";
|
11
|
+
import { WorkflowQueue } from "../wfqueue";
|
11
12
|
interface RecordedResult<R> {
|
12
13
|
output: R;
|
13
14
|
txn_snapshot: string;
|
@@ -32,15 +33,15 @@ export declare class WorkflowContextDebug extends DBOSContextImpl implements Wor
|
|
32
33
|
*/
|
33
34
|
transaction<T extends unknown[], R>(txn: Transaction<T, R>, clsinst: ConfiguredInstance | null, ...args: T): Promise<R>;
|
34
35
|
procedure<R>(proc: StoredProcedure<R>, ...args: unknown[]): Promise<R>;
|
35
|
-
external<T extends unknown[], R>(
|
36
|
+
external<T extends unknown[], R>(stepFn: StepFunction<T, R>, _clsinst: ConfiguredInstance | null, ..._args: T): Promise<R>;
|
36
37
|
startChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
|
37
38
|
invokeChildWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, ...args: T): Promise<R>;
|
38
39
|
/**
|
39
40
|
* Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
|
40
41
|
* to use WorkflowContext.Transaction(OpClass.someMethod, param);
|
41
42
|
*/
|
42
|
-
proxyInvokeWF<T extends object>(object: T, workflowUUID: string | undefined, asyncWf: boolean, configuredInstance: ConfiguredInstance | null): WfInvokeWfsAsync<T>;
|
43
|
-
startWorkflow<T extends object>(target: T, workflowUUID?: string): WfInvokeWfsAsync<T>;
|
43
|
+
proxyInvokeWF<T extends object>(object: T, workflowUUID: string | undefined, asyncWf: boolean, configuredInstance: ConfiguredInstance | null, queue?: WorkflowQueue): WfInvokeWfsAsync<T>;
|
44
|
+
startWorkflow<T extends object>(target: T, workflowUUID?: string, queue?: WorkflowQueue): WfInvokeWfsAsync<T>;
|
44
45
|
invokeWorkflow<T extends object>(target: T, workflowUUID?: string): WfInvokeWfs<T>;
|
45
46
|
childWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
|
46
47
|
send<T>(_destinationUUID: string, _message: T, _topic?: string | undefined): Promise<void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"debug_workflow.d.ts","sourceRoot":"","sources":["../../../src/debugger/debug_workflow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqC,MAAM,kBAAkB,CAAC;AAEnF,OAAO,EAAkB,WAAW,EAA0B,MAAM,gBAAgB,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,
|
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E,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAa/G,gBAAgB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAMpD,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjC,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGtC"}
|
@@ -220,19 +220,19 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
|
|
220
220
|
}
|
221
221
|
return check.output; // Always return the recorded result.
|
222
222
|
}
|
223
|
-
async external(
|
224
|
-
const commConfig = this.#dbosExec.
|
223
|
+
async external(stepFn, _clsinst, ..._args) {
|
224
|
+
const commConfig = this.#dbosExec.getStepInfo(stepFn);
|
225
225
|
if (commConfig === undefined) {
|
226
|
-
throw new error_1.DBOSDebuggerError(`
|
226
|
+
throw new error_1.DBOSDebuggerError(`Step ${stepFn.name} not registered!`);
|
227
227
|
}
|
228
228
|
const funcID = this.functionIDGetIncrement();
|
229
|
-
// FIXME: we do not create a span for the replay
|
229
|
+
// FIXME: we do not create a span for the replay step. Do we want to?
|
230
230
|
// Original result must exist during replay.
|
231
231
|
const check = await this.#dbosExec.systemDatabase.checkOperationOutput(this.workflowUUID, funcID);
|
232
232
|
if (check === dbos_executor_1.dbosNull) {
|
233
|
-
throw new error_1.DBOSDebuggerError(`Cannot find recorded
|
233
|
+
throw new error_1.DBOSDebuggerError(`Cannot find recorded step output for ${stepFn.name}. Shouldn't happen in debug mode!`);
|
234
234
|
}
|
235
|
-
this.logger.debug("Use recorded
|
235
|
+
this.logger.debug("Use recorded step output.");
|
236
236
|
return check;
|
237
237
|
}
|
238
238
|
// Invoke the debugWorkflow() function instead.
|
@@ -248,12 +248,12 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
|
|
248
248
|
* Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
|
249
249
|
* to use WorkflowContext.Transaction(OpClass.someMethod, param);
|
250
250
|
*/
|
251
|
-
proxyInvokeWF(object, workflowUUID, asyncWf, configuredInstance) {
|
251
|
+
proxyInvokeWF(object, workflowUUID, asyncWf, configuredInstance, queue) {
|
252
252
|
const ops = (0, decorators_1.getRegisteredOperations)(object);
|
253
253
|
const proxy = {};
|
254
254
|
const funcId = this.functionIDGetIncrement();
|
255
255
|
const childUUID = workflowUUID || (this.workflowUUID + "-" + funcId);
|
256
|
-
const params = { workflowUUID: childUUID, parentCtx: this, configuredInstance };
|
256
|
+
const params = { workflowUUID: childUUID, parentCtx: this, configuredInstance, queueName: queue?.name };
|
257
257
|
for (const op of ops) {
|
258
258
|
if (asyncWf) {
|
259
259
|
proxy[op.name] = op.workflowConfig
|
@@ -269,12 +269,12 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
|
|
269
269
|
}
|
270
270
|
return proxy;
|
271
271
|
}
|
272
|
-
startWorkflow(target, workflowUUID) {
|
272
|
+
startWorkflow(target, workflowUUID, queue) {
|
273
273
|
if (typeof target === 'function') {
|
274
|
-
return this.proxyInvokeWF(target, workflowUUID, true, null);
|
274
|
+
return this.proxyInvokeWF(target, workflowUUID, true, null, queue);
|
275
275
|
}
|
276
276
|
else {
|
277
|
-
return this.proxyInvokeWF(target, workflowUUID, true, target);
|
277
|
+
return this.proxyInvokeWF(target, workflowUUID, true, target, queue);
|
278
278
|
}
|
279
279
|
}
|
280
280
|
invokeWorkflow(target, workflowUUID) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"debug_workflow.js","sourceRoot":"","sources":["../../../src/debugger/debug_workflow.ts"],"names":[],"mappings":";;;;;;AAAA,uDAAuD;AACvD,oDAAmF;AAEnF,gDAAqF;AAErF,oCAA6C;AAC7C,qDAAmD;AAInD,wCAA6C;AAC7C,8CAA4E;AAG5E,oCAAoC;AACpC,4CAA2E;AAE3E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BAAc,GAAd,cAAc,CAAgB;QAAW,iBAAY,GAAZ,YAAY,CAAQ;QAAW,eAAU,GAAV,UAAU,CAAQ;QAAW,qBAAgB,GAAhB,gBAAgB,CAAQ;IAAI,CAAC;IAEvJ,eAAe;QACb,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAED,KAAK,CAAC,SAAS;QACb,4BAA4B;QAC5B,MAAM,KAAK,GAAqC,MAAM,IAAI,CAAC,cAAc,CAAC,oBAAoB,CAAwB,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC9J,IAAI,KAAK,KAAK,wBAAQ,EAAE,CAAC;YACvB,MAAM,IAAI,yBAAiB,CAAC,uEAAuE,CAAC,CAAC;QACvG,CAAC;QACD,OAAO,KAA8B,CAAC;IACxC,CAAC;IAED,KAAK,CAAC,SAAS;QACb,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAI,IAAI,CAAC,YAAY,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,iBAAiB;QACrB,OAAO,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAI,IAAI,CAAC,YAAY,CAAM,CAAC;IAChF,CAAC;CACF"}
|
package/dist/src/decorators.d.ts
CHANGED
@@ -2,7 +2,7 @@ import "reflect-metadata";
|
|
2
2
|
import { TransactionConfig, TransactionContext } from "./transaction";
|
3
3
|
import { WorkflowConfig, WorkflowContext } from "./workflow";
|
4
4
|
import { DBOSContext, InitContext } from "./context";
|
5
|
-
import {
|
5
|
+
import { StepConfig, StepContext } from "./step";
|
6
6
|
import { StoredProcedureConfig, StoredProcedureContext } from "./procedure";
|
7
7
|
import { DBOSEventReceiver } from "./eventreceiver";
|
8
8
|
/**
|
@@ -56,7 +56,7 @@ export interface MethodRegistrationBase {
|
|
56
56
|
getRequiredRoles(): string[];
|
57
57
|
workflowConfig?: WorkflowConfig;
|
58
58
|
txnConfig?: TransactionConfig;
|
59
|
-
commConfig?:
|
59
|
+
commConfig?: StepConfig;
|
60
60
|
procConfig?: TransactionConfig;
|
61
61
|
isInstance: boolean;
|
62
62
|
eventReceiverInfo: Map<DBOSEventReceiver, unknown>;
|
@@ -76,7 +76,7 @@ export declare class MethodRegistration<This, Args extends unknown[], Return> im
|
|
76
76
|
registeredFunction: ((this: This, ...args: Args) => Promise<Return>) | undefined;
|
77
77
|
workflowConfig?: WorkflowConfig;
|
78
78
|
txnConfig?: TransactionConfig;
|
79
|
-
commConfig?:
|
79
|
+
commConfig?: StepConfig;
|
80
80
|
procConfig?: TransactionConfig;
|
81
81
|
eventReceiverInfo: Map<DBOSEventReceiver, unknown>;
|
82
82
|
init: boolean;
|
@@ -145,7 +145,7 @@ export declare function RequiredRole(anyOf: string[]): <This, Ctx extends DBOSCo
|
|
145
145
|
export declare function Workflow(config?: WorkflowConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: WorkflowContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: WorkflowContext, ...args: Args) => Promise<Return>>;
|
146
146
|
export declare function Transaction(config?: TransactionConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: TransactionContext<any>, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: TransactionContext<any>, ...args: Args) => Promise<Return>>;
|
147
147
|
export declare function StoredProcedure(config?: StoredProcedureConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: StoredProcedureContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: StoredProcedureContext, ...args: Args) => Promise<Return>>;
|
148
|
-
export declare function
|
148
|
+
export declare function Step(config?: StepConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: StepContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: StepContext, ...args: Args) => Promise<Return>>;
|
149
149
|
export declare function OrmEntities(entities?: Function[] | {
|
150
150
|
[key: string]: object;
|
151
151
|
}): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../src/decorators.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAmB,WAAW,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../src/decorators.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAmB,WAAW,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE9H,qBAAa,YAAY;IACvB,QAAQ,EAAE,aAAa,CAAU;IACjC,MAAM,EAAE,MAAM,CAAM;IACpB,SAAS,EAAE,MAAM,CAAM;IACvB,KAA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zE;AAED,wBAAgB,eAAe,mDAEnB,MAAM,eACD,MAAM,gBACL,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,QAAQ,MAAM,CAAC,CAAC,+FAO1G;AAGD,wBAAgB,UAAU,mDAEd,MAAM,eACD,MAAM,gBACL,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,IAAI,KAAK,QAAQ,MAAM,CAAC,CAAC,+FAO1G"}
|
package/dist/src/decorators.js
CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.DBOSDeploy = exports.DBOSInitializer = exports.OrmEntities = exports.
|
26
|
+
exports.DBOSDeploy = exports.DBOSInitializer = exports.OrmEntities = exports.Step = exports.StoredProcedure = exports.Transaction = exports.Workflow = exports.RequiredRole = exports.configureInstance = exports.DefaultArgOptional = exports.DefaultArgRequired = exports.DefaultRequiredRole = exports.ArgVarchar = exports.ArgDate = exports.ArgName = exports.LogMask = exports.SkipLogging = exports.ArgOptional = exports.ArgRequired = exports.associateMethodWithEventReceiver = exports.associateClassWithEventReceiver = exports.getOrCreateClassRegistration = exports.getAllRegisteredClasses = exports.registerAndWrapFunction = exports.getOrCreateMethodArgsRegistration = exports.getConfiguredInstance = exports.getRegisteredOperations = exports.getRegisteredMethodName = exports.getRegisteredMethodClassName = exports.ClassRegistration = exports.ConfiguredInstance = exports.MethodRegistration = exports.MethodParameter = exports.ArgRequiredOptions = exports.LogMasks = exports.DBOSDataType = void 0;
|
27
27
|
require("reflect-metadata");
|
28
28
|
const crypto = __importStar(require("crypto"));
|
29
29
|
const error_1 = require("./error");
|
@@ -525,7 +525,7 @@ function StoredProcedure(config = {}) {
|
|
525
525
|
return decorator;
|
526
526
|
}
|
527
527
|
exports.StoredProcedure = StoredProcedure;
|
528
|
-
function
|
528
|
+
function Step(config = {}) {
|
529
529
|
function decorator(target, propertyKey, inDescriptor) {
|
530
530
|
const { descriptor, registration } = registerAndWrapFunction(target, propertyKey, inDescriptor);
|
531
531
|
registration.commConfig = config;
|
@@ -533,7 +533,7 @@ function Communicator(config = {}) {
|
|
533
533
|
}
|
534
534
|
return decorator;
|
535
535
|
}
|
536
|
-
exports.
|
536
|
+
exports.Step = Step;
|
537
537
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
538
538
|
function OrmEntities(entities = []) {
|
539
539
|
function clsdec(ctor) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decorators.js","sourceRoot":"","sources":["../../src/decorators.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4BAA0B;AAE1B,+CAAiC;AAKjC,mCAA4D;AAC5D,uDAAuD;AASvD,MAAa,YAAY;IACvB,QAAQ,GAAkB,MAAM,CAAC;IACjC,MAAM,GAAW,CAAC,CAAC,CAAC;IACpB,SAAS,GAAW,CAAC,CAAC,CAAC;IACvB,KAAK,GAAW,CAAC,CAAC,CAAC;IAEnB,yBAAyB;IACzB,MAAM,CAAC,OAAO,CAAC,MAAc;QAC3B,MAAM,EAAE,GAAG,IAAI,YAAY,EAAE,CAAC;QAC9B,EAAE,CAAC,QAAQ,GAAG,SAAS,CAAC;QACxB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC;QACnB,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,gFAAgF;IAChF,MAAM,CAAC,OAAO,CAAC,SAAiB,EAAE,KAAa;QAC7C,MAAM,EAAE,GAAG,IAAI,YAAY,EAAE,CAAC;QAC9B,EAAE,CAAC,QAAQ,GAAG,SAAS,CAAC;QACxB,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC;QACzB,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;QAEjB,OAAO,EAAE,CAAC;IACZ,CA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AG,IAAI,CAAC;QACzB,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAXD,gCAWC"}
|
@@ -3,7 +3,7 @@ import { GlobalLogger as Logger } from './telemetry/logs';
|
|
3
3
|
import { WorkflowFunction, WorkflowHandle, WorkflowParams } from './workflow';
|
4
4
|
import { TransactionFunction } from './transaction';
|
5
5
|
import { MethodRegistrationBase } from './decorators';
|
6
|
-
import {
|
6
|
+
import { StepFunction } from './step';
|
7
7
|
export interface DBOSExecutorContext {
|
8
8
|
readonly logger: Logger;
|
9
9
|
readonly tracer: Tracer;
|
@@ -16,7 +16,7 @@ export interface DBOSExecutorContext {
|
|
16
16
|
}[];
|
17
17
|
transaction<T extends unknown[], R>(txn: TransactionFunction<T, R>, params: WorkflowParams, ...args: T): Promise<R>;
|
18
18
|
workflow<T extends unknown[], R>(wf: WorkflowFunction<T, R>, params: WorkflowParams, ...args: T): Promise<WorkflowHandle<R>>;
|
19
|
-
external<T extends unknown[], R>(
|
19
|
+
external<T extends unknown[], R>(stepFn: StepFunction<T, R>, params: WorkflowParams, ...args: T): Promise<R>;
|
20
20
|
send<T>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
|
21
21
|
getEvent<T>(workflowUUID: string, key: string, timeoutSeconds: number): Promise<T | null>;
|
22
22
|
retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eventreceiver.d.ts","sourceRoot":"","sources":["../../src/eventreceiver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,O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,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7H,QAAQ,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;IAE7G,IAAI,CAAC,CAAC,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrG,QAAQ,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1F,gBAAgB,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC;CAC9D;AAUD,MAAM,WAAW,iBAAiB;IAE9B,QAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,OAAO,IAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B,UAAU,CAAC,QAAQ,EAAE,mBAAmB,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,sBAAsB,IAAK,IAAI,CAAC;CACnC"}
|
@@ -5,6 +5,7 @@ import Koa from "koa";
|
|
5
5
|
import { TailParameters, WorkflowHandle, WorkflowContext, WFInvokeFuncs, WFInvokeFuncsInst, GetWorkflowsInput, GetWorkflowsOutput } from "../workflow";
|
6
6
|
import { W3CTraceContextPropagator } from "@opentelemetry/core";
|
7
7
|
import { APITypes, ArgSources } from "./handlerTypes";
|
8
|
+
import { WorkflowQueue } from "../wfqueue";
|
8
9
|
type WFFunc = (ctxt: WorkflowContext, ...args: any[]) => Promise<unknown>;
|
9
10
|
export type InvokeFuncs<T> = WFInvokeFuncs<T> & AsyncHandlerWfFuncs<T>;
|
10
11
|
export type InvokeFuncsInst<T> = WFInvokeFuncsInst<T>;
|
@@ -26,8 +27,8 @@ export interface HandlerContext extends DBOSContext {
|
|
26
27
|
invoke<T extends object>(targetClass: T, workflowUUID?: string): InvokeFuncs<T>;
|
27
28
|
invokeWorkflow<T extends ConfiguredInstance>(targetCfg: T, workflowUUID?: string): SyncHandlerWfFuncsInst<T>;
|
28
29
|
invokeWorkflow<T extends object>(targetClass: T, workflowUUID?: string): SyncHandlerWfFuncs<T>;
|
29
|
-
startWorkflow<T extends ConfiguredInstance>(targetCfg: T, workflowUUID?: string): AsyncHandlerWfFuncInst<T>;
|
30
|
-
startWorkflow<T extends object>(targetClass: T, workflowUUID?: string): AsyncHandlerWfFuncs<T>;
|
30
|
+
startWorkflow<T extends ConfiguredInstance>(targetCfg: T, workflowUUID?: string, queue?: WorkflowQueue): AsyncHandlerWfFuncInst<T>;
|
31
|
+
startWorkflow<T extends object>(targetClass: T, workflowUUID?: string, queue?: WorkflowQueue): AsyncHandlerWfFuncs<T>;
|
31
32
|
retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
|
32
33
|
send<T>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
|
33
34
|
getEvent<T>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
|
@@ -46,9 +47,9 @@ export declare class HandlerContextImpl extends DBOSContextImpl implements Handl
|
|
46
47
|
* Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
|
47
48
|
* to use WorkflowContext.Transaction(OpClass.someMethod, param);
|
48
49
|
*/
|
49
|
-
mainInvoke<T extends object>(object: T, workflowUUID: string | undefined, asyncWf: boolean, configuredInstance: ConfiguredInstance | null): InvokeFuncs<T>;
|
50
|
+
mainInvoke<T extends object>(object: T, workflowUUID: string | undefined, asyncWf: boolean, configuredInstance: ConfiguredInstance | null, queue?: WorkflowQueue): InvokeFuncs<T>;
|
50
51
|
invoke<T extends object>(object: T | ConfiguredInstance, workflowUUID?: string): InvokeFuncs<T> | InvokeFuncsInst<T>;
|
51
|
-
startWorkflow<T extends object>(object: T | ConfiguredInstance, workflowUUID?: string): AsyncHandlerWfFuncs<T> | AsyncHandlerWfFuncInst<T>;
|
52
|
+
startWorkflow<T extends object>(object: T | ConfiguredInstance, workflowUUID?: string, queue?: WorkflowQueue): AsyncHandlerWfFuncs<T> | AsyncHandlerWfFuncInst<T>;
|
52
53
|
invokeWorkflow<T extends object>(object: T | ConfiguredInstance, workflowUUID?: string): SyncHandlerWfFuncs<T> | SyncHandlerWfFuncsInst<T>;
|
53
54
|
getWorkflows(input: GetWorkflowsInput): Promise<GetWorkflowsOutput>;
|
54
55
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA8D,sBAAsB,EAA2B,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACjL,OAAO,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,GAAG,MAAM,KAAK,CAAC;AACtB,OAAO,EAAY,cAAc,EAAE,cAAc,EAAkB,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjL,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAKhE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EA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,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,kBAAkB,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,GAAG,mBAAmB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC;IAUjK,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,kBAAkB,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC;IAUpI,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAuB1E;AAED,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gBAAgB,EAAE,CAAC;CAC1B;AAED,qBAAa,gBAAiB,SAAQ,eAAe;IACnD,SAAS,EAAE,UAAU,CAAsB;gBAG/B,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ;CAGtC;AAqBD,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,8RAEjC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,8RAElC;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,8RAEjC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,8RAEnC;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,8RAEpC;AAMD,wBAAgB,SAAS,CAAC,MAAM,EAAE,UAAU,YACjB,MAAM,eAAe,MAAM,GAAG,MAAM,kBAAkB,MAAM,UAMtF"}
|
@@ -81,10 +81,10 @@ class HandlerContextImpl extends context_1.DBOSContextImpl {
|
|
81
81
|
* Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
|
82
82
|
* to use WorkflowContext.Transaction(OpClass.someMethod, param);
|
83
83
|
*/
|
84
|
-
mainInvoke(object, workflowUUID, asyncWf, configuredInstance) {
|
84
|
+
mainInvoke(object, workflowUUID, asyncWf, configuredInstance, queue) {
|
85
85
|
const ops = (0, decorators_1.getRegisteredOperations)(object);
|
86
86
|
const proxy = {};
|
87
|
-
const params = { workflowUUID: workflowUUID, parentCtx: this, configuredInstance };
|
87
|
+
const params = { workflowUUID: workflowUUID, parentCtx: this, configuredInstance, queueName: queue?.name };
|
88
88
|
for (const op of ops) {
|
89
89
|
if (asyncWf) {
|
90
90
|
proxy[op.name] = op.txnConfig
|
@@ -107,29 +107,29 @@ class HandlerContextImpl extends context_1.DBOSContextImpl {
|
|
107
107
|
}
|
108
108
|
invoke(object, workflowUUID) {
|
109
109
|
if (typeof object === 'function') {
|
110
|
-
return this.mainInvoke(object, workflowUUID, true, null);
|
110
|
+
return this.mainInvoke(object, workflowUUID, true, null, undefined);
|
111
111
|
}
|
112
112
|
else {
|
113
113
|
const targetInst = object;
|
114
|
-
return this.mainInvoke(targetInst, workflowUUID, true, targetInst);
|
114
|
+
return this.mainInvoke(targetInst, workflowUUID, true, targetInst, undefined);
|
115
115
|
}
|
116
116
|
}
|
117
|
-
startWorkflow(object, workflowUUID) {
|
117
|
+
startWorkflow(object, workflowUUID, queue) {
|
118
118
|
if (typeof object === 'function') {
|
119
|
-
return this.mainInvoke(object, workflowUUID, true, null);
|
119
|
+
return this.mainInvoke(object, workflowUUID, true, null, queue);
|
120
120
|
}
|
121
121
|
else {
|
122
122
|
const targetInst = object;
|
123
|
-
return this.mainInvoke(targetInst, workflowUUID, true, targetInst);
|
123
|
+
return this.mainInvoke(targetInst, workflowUUID, true, targetInst, queue);
|
124
124
|
}
|
125
125
|
}
|
126
126
|
invokeWorkflow(object, workflowUUID) {
|
127
127
|
if (typeof object === 'function') {
|
128
|
-
return this.mainInvoke(object, workflowUUID, false, null);
|
128
|
+
return this.mainInvoke(object, workflowUUID, false, null, undefined);
|
129
129
|
}
|
130
130
|
else {
|
131
131
|
const targetInst = object;
|
132
|
-
return this.mainInvoke(targetInst, workflowUUID, false, targetInst);
|
132
|
+
return this.mainInvoke(targetInst, workflowUUID, false, targetInst, undefined);
|
133
133
|
}
|
134
134
|
}
|
135
135
|
async getWorkflows(input) {
|
@@ -144,8 +144,8 @@ class HandlerContextImpl extends context_1.DBOSContextImpl {
|
|
144
144
|
async #transaction(txn, params, ...args) {
|
145
145
|
return this.#dbosExec.transaction(txn, params, ...args);
|
146
146
|
}
|
147
|
-
async #external(
|
148
|
-
return this.#dbosExec.external(
|
147
|
+
async #external(stepFn, params, ...args) {
|
148
|
+
return this.#dbosExec.external(stepFn, params, ...args);
|
149
149
|
}
|
150
150
|
async #procedure(proc, params, ...args) {
|
151
151
|
return this.#dbosExec.procedure(proc, params, ...args);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":";;;AAAA,8CAAiL;AACjL,oDAA+D;AAC/D,wCAA0D;AAI1D,8CAAgE;AAChE,4CAA+E;AAE/E,+BAAoC;AAEpC,iDAAsD;
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../src/httpServer/handler.ts"],"names":[],"mappings":";;;AAAA,8CAAiL;AACjL,oDAA+D;AAC/D,wCAA0D;AAI1D,8CAAgE;AAChE,4CAA+E;AAE/E,+BAAoC;AAEpC,iDAAsD;AAqDzC,QAAA,eAAe,GAAG,cAAc,CAAC;AAC9C,SAAS,sBAAsB,CAAC,GAAgB;IAC9C,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,uBAAe,CAAC,CAAC;IACvC,IAAI,KAAK,EAAE,CAAC;QACV,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,KAAK,GAAG,IAAA,SAAM,GAAE,CAAC;IACvB,GAAG,CAAC,GAAG,CAAC,uBAAe,EAAE,KAAK,CAAC,CAAC;IAChC,OAAO,KAAK,CAAC;AACf,CAA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AEnC,SAAgB,SAAS,CAAC,MAAkB;IAC1C,OAAO,UAAU,MAAc,EAAE,WAA4B,EAAE,cAAsB;QACnF,MAAM,kBAAkB,GAAG,IAAA,8CAAiC,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC;QAElF,MAAM,QAAQ,GAAG,kBAAkB,CAAC,cAAc,CAAqB,CAAC;QACxE,QAAQ,CAAC,SAAS,GAAG,MAAM,CAAC;IAC9B,CAAC,CAAC;AACJ,CAAC;AAPD,8BAOC"}
|
package/dist/src/index.d.ts
CHANGED
@@ -3,10 +3,10 @@ export { DBOSContext, InitContext, } from './context';
|
|
3
3
|
export { TransactionContext, TransactionConfig, TransactionFunction, } from './transaction';
|
4
4
|
export { StoredProcedureContext, StoredProcedureConfig, } from './procedure';
|
5
5
|
export { WorkflowContext, WorkflowConfig, WorkflowHandle, WorkflowFunction, StatusString, GetWorkflowsInput, GetWorkflowsOutput, } from './workflow';
|
6
|
-
export { CommunicatorContext, CommunicatorConfig, CommunicatorFunction, } from './
|
6
|
+
export { StepContext as CommunicatorContext, StepConfig as CommunicatorConfig, StepFunction as CommunicatorFunction, StepContext, StepConfig, StepFunction, } from './step';
|
7
7
|
export * as Error from './error';
|
8
8
|
export { DBOSResponseError } from './error';
|
9
|
-
export { LogMasks, ArgRequired, ArgOptional, SkipLogging, LogMask, ArgName, ArgDate, ArgVarchar, DefaultRequiredRole, DefaultArgRequired, DefaultArgOptional, OrmEntities, ConfiguredInstance, configureInstance, Transaction, Workflow, Communicator, StoredProcedure, RequiredRole, DBOSInitializer, DBOSDeploy, associateMethodWithEventReceiver, associateClassWithEventReceiver, } from "./decorators";
|
9
|
+
export { LogMasks, ArgRequired, ArgOptional, SkipLogging, LogMask, ArgName, ArgDate, ArgVarchar, DefaultRequiredRole, DefaultArgRequired, DefaultArgOptional, OrmEntities, ConfiguredInstance, configureInstance, Transaction, Workflow, Step, Step as Communicator, StoredProcedure, RequiredRole, DBOSInitializer, DBOSDeploy, associateMethodWithEventReceiver, associateClassWithEventReceiver, } from "./decorators";
|
10
10
|
export { ArgSources, } from "./httpServer/handlerTypes";
|
11
11
|
export { HandlerContext, ArgSource, GetApi, PostApi, PatchApi, PutApi, DeleteApi } from "./httpServer/handler";
|
12
12
|
export { DBOSHttpAuthMiddleware, DBOSHttpAuthReturn, MiddlewareContext, Authentication, KoaBodyParser, KoaCors, KoaGlobalMiddleware, KoaMiddleware, OpenApiSecurityScheme } from "./httpServer/middleware";
|
@@ -16,4 +16,5 @@ export { DBOSEventReceiver, DBOSExecutorContext, } from "./eventreceiver";
|
|
16
16
|
export { ParseOptions, parseConfigFile, } from "./dbos-runtime/config";
|
17
17
|
export { DBOSRuntimeConfig, DBOS, } from "./dbos-runtime/runtime";
|
18
18
|
export { DBOSConfig, } from "./dbos-executor";
|
19
|
+
export { WorkflowQueue, } from "./wfqueue";
|
19
20
|
//# sourceMappingURL=index.d.ts.map
|