@dbos-inc/dbos-sdk 1.12.13-preview.g7a8a447e44 → 1.13.2-preview

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/dist/schemas/system_db_schema.d.ts +2 -0
  2. package/dist/schemas/system_db_schema.d.ts.map +1 -1
  3. package/dist/src/communicator.d.ts +1 -1
  4. package/dist/src/communicator.d.ts.map +1 -1
  5. package/dist/src/communicator.js.map +1 -1
  6. package/dist/src/dbos-executor.d.ts +27 -11
  7. package/dist/src/dbos-executor.d.ts.map +1 -1
  8. package/dist/src/dbos-executor.js +139 -46
  9. package/dist/src/dbos-executor.js.map +1 -1
  10. package/dist/src/debugger/debug_workflow.d.ts +14 -5
  11. package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
  12. package/dist/src/debugger/debug_workflow.js +74 -18
  13. package/dist/src/debugger/debug_workflow.js.map +1 -1
  14. package/dist/src/decorators.d.ts +19 -2
  15. package/dist/src/decorators.d.ts.map +1 -1
  16. package/dist/src/decorators.js +104 -27
  17. package/dist/src/decorators.js.map +1 -1
  18. package/dist/src/httpServer/handler.d.ts +22 -15
  19. package/dist/src/httpServer/handler.d.ts.map +1 -1
  20. package/dist/src/httpServer/handler.js +44 -35
  21. package/dist/src/httpServer/handler.js.map +1 -1
  22. package/dist/src/httpServer/handlerTypes.d.ts +4 -1
  23. package/dist/src/httpServer/handlerTypes.d.ts.map +1 -1
  24. package/dist/src/httpServer/handlerTypes.js +3 -0
  25. package/dist/src/httpServer/handlerTypes.js.map +1 -1
  26. package/dist/src/httpServer/server.d.ts.map +1 -1
  27. package/dist/src/httpServer/server.js +34 -10
  28. package/dist/src/httpServer/server.js.map +1 -1
  29. package/dist/src/index.d.ts +1 -1
  30. package/dist/src/index.d.ts.map +1 -1
  31. package/dist/src/index.js +4 -1
  32. package/dist/src/index.js.map +1 -1
  33. package/dist/src/kafka/kafka.d.ts +2 -3
  34. package/dist/src/kafka/kafka.d.ts.map +1 -1
  35. package/dist/src/kafka/kafka.js +2 -13
  36. package/dist/src/kafka/kafka.js.map +1 -1
  37. package/dist/src/scheduler/scheduler.d.ts +4 -8
  38. package/dist/src/scheduler/scheduler.d.ts.map +1 -1
  39. package/dist/src/scheduler/scheduler.js +2 -9
  40. package/dist/src/scheduler/scheduler.js.map +1 -1
  41. package/dist/src/system_database.d.ts +2 -0
  42. package/dist/src/system_database.d.ts.map +1 -1
  43. package/dist/src/system_database.js +61 -4
  44. package/dist/src/system_database.js.map +1 -1
  45. package/dist/src/testing/testing_runtime.d.ts +9 -5
  46. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  47. package/dist/src/testing/testing_runtime.js +24 -12
  48. package/dist/src/testing/testing_runtime.js.map +1 -1
  49. package/dist/src/transaction.d.ts +1 -1
  50. package/dist/src/transaction.d.ts.map +1 -1
  51. package/dist/src/utils.d.ts +1 -0
  52. package/dist/src/utils.d.ts.map +1 -1
  53. package/dist/src/utils.js +5 -1
  54. package/dist/src/utils.js.map +1 -1
  55. package/dist/src/workflow.d.ts +46 -10
  56. package/dist/src/workflow.d.ts.map +1 -1
  57. package/dist/src/workflow.js +72 -20
  58. package/dist/src/workflow.js.map +1 -1
  59. package/dist/tsconfig.build.tsbuildinfo +1 -1
  60. package/migrations/20240517000000_status_class_config.js +18 -0
  61. package/package.json +2 -2
package/dist/src/utils.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.DBOSReviver = exports.DBOSReplacer = exports.findPackageRoot = exports.sleepms = exports.readFileSync = void 0;
6
+ exports.exhaustiveCheckGuard = exports.DBOSReviver = exports.DBOSReplacer = exports.findPackageRoot = exports.sleepms = exports.readFileSync = void 0;
7
7
  const fs_1 = __importDefault(require("fs"));
8
8
  const path_1 = __importDefault(require("path"));
9
9
  /*
@@ -70,4 +70,8 @@ function DBOSReviver(_key, value) {
70
70
  return value;
71
71
  }
72
72
  exports.DBOSReviver = DBOSReviver;
73
+ function exhaustiveCheckGuard(_) {
74
+ throw new Error('Exaustive matching is not applied');
75
+ }
76
+ exports.exhaustiveCheckGuard = exhaustiveCheckGuard;
73
77
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AAExB;;;;;IAKI;AACJ,SAAgB,YAAY,CAAC,IAAY,EAAE,WAA2B,MAAM;IAC1E,wBAAwB;IACxB,YAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAmC,EAAE,KAAe,EAAE,EAAE;QACrE,IAAI,KAAK,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,eAAe,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;QACxE,CAAC;aAAM,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,eAAe,IAAI,gBAAgB,CAAC,CAAC;QACvD,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,yBAAyB;IACzB,OAAO,YAAE,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAE,CAAC;AAC9C,CAAC;AAZD,oCAYC;AAEM,MAAM,OAAO,GAAG,CAAC,EAAU,EAAE,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AAAhE,QAAA,OAAO,WAAyD;AAI7E,6EAA6E;AAC7E,SAAgB,eAAe,CAAC,KAAwB;IACpD,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5B,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,cAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5B,KAAK,IAAI,c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,GAAG,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC;QAChD,OAAO,GAAG,CAAC;IACf,CAAC;IAED,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAClC,CAAC;AApBD,0CAoBC;AAED;;;;;;;;;;GAUG;AAEH,SAAgB,YAAY,CAAC,IAAY,EAAE,KAAc;IACvD,OAAO,KAAK,CAAC;AACf,CAAC;AAFD,oCAEC;AAOD,SAAgB,WAAW,CAAC,IAAY,EAAE,KAAc;IACtD,MAAM,SAAS,GAAG,KAAyB,CAAC;IAC5C,IAAI,SAAS,IAAI,SAAS,CAAC,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9E,OAAO,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAND,kCAMC;AAED,SAAgB,oBAAoB,CAAC,CAAQ;IAC3C,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;AACvD,CAAC;AAFD,oDAEC"}
@@ -4,22 +4,30 @@ import { Communicator, CommunicatorContext } from "./communicator";
4
4
  import { SystemDatabase } from "./system_database";
5
5
  import { UserDatabaseClient } from "./user_database";
6
6
  import { HTTPRequest, DBOSContext, DBOSContextImpl } from './context';
7
- export type Workflow<T extends any[], R> = (ctxt: WorkflowContext, ...args: T) => Promise<R>;
7
+ import { ConfiguredInstance } from "./decorators";
8
+ import { InvokeFuncsInst } from "./httpServer/handler";
9
+ export type Workflow<T extends unknown[], R> = (ctxt: WorkflowContext, ...args: T) => Promise<R>;
8
10
  export type TailParameters<T extends (arg: any, args: any[]) => any> = T extends (arg: any, ...args: infer P) => any ? P : never;
9
11
  type TxFunc = (ctxt: TransactionContext<any>, ...args: any[]) => Promise<any>;
10
12
  type CommFunc = (ctxt: CommunicatorContext, ...args: any[]) => Promise<any>;
11
- export type WFInvokeFuncs<T> = {
13
+ export type WFInvokeFuncs<T> = T extends ConfiguredInstance ? never : {
12
14
  [P in keyof T as T[P] extends TxFunc | CommFunc ? P : never]: T[P] extends TxFunc | CommFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
13
15
  };
16
+ export type WFInvokeFuncsInst<T> = T extends ConfiguredInstance ? {
17
+ [P in keyof T as T[P] extends TxFunc | CommFunc ? P : never]: T[P] extends TxFunc | CommFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
18
+ } : never;
14
19
  export interface WorkflowParams {
15
20
  workflowUUID?: string;
16
21
  parentCtx?: DBOSContextImpl;
22
+ configuredInstance?: ConfiguredInstance | null;
17
23
  }
18
24
  export interface WorkflowConfig {
19
25
  }
20
26
  export interface WorkflowStatus {
21
27
  readonly status: string;
22
28
  readonly workflowName: string;
29
+ readonly workflowClassName: string;
30
+ readonly workflowConfigName: string;
23
31
  readonly authenticatedUser: string;
24
32
  readonly assumedRole: string;
25
33
  readonly authenticatedRoles: string[];
@@ -38,11 +46,32 @@ export declare const StatusString: {
38
46
  readonly SUCCESS: "SUCCESS";
39
47
  readonly ERROR: "ERROR";
40
48
  };
49
+ type WFFunc = (ctxt: WorkflowContext, ...args: any[]) => Promise<unknown>;
50
+ export type WfInvokeWfs<T> = {
51
+ [P in keyof T]: T[P] extends WFFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
52
+ };
53
+ export type WfInvokeWfsAsync<T> = {
54
+ [P in keyof T]: T[P] extends WFFunc ? (...args: TailParameters<T[P]>) => Promise<WorkflowHandle<Awaited<ReturnType<T[P]>>>> : never;
55
+ };
56
+ export type WfInvokeWfsInst<T> = T extends ConfiguredInstance ? {
57
+ [P in keyof T]: T[P] extends WFFunc ? (...args: TailParameters<T[P]>) => ReturnType<T[P]> : never;
58
+ } : never;
59
+ export type WfInvokeWfsInstAsync<T> = T extends ConfiguredInstance ? {
60
+ [P in keyof T]: T[P] extends WFFunc ? (...args: TailParameters<T[P]>) => Promise<WorkflowHandle<Awaited<ReturnType<T[P]>>>> : never;
61
+ } : never;
41
62
  export interface WorkflowContext extends DBOSContext {
63
+ invoke<T extends ConfiguredInstance>(targetCfg: T): InvokeFuncsInst<T>;
42
64
  invoke<T extends object>(targetClass: T): WFInvokeFuncs<T>;
65
+ /** @deprecated See startWorkflow */
43
66
  startChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
44
- invokeChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<R>;
45
- childWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
67
+ /** @deprecated See invokeWorkflow */
68
+ invokeChildWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, ...args: T): Promise<R>;
69
+ /** @deprecated calls startWorkflow */
70
+ childWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
71
+ invokeWorkflow<T extends ConfiguredInstance>(targetClass: T): WfInvokeWfsInst<T>;
72
+ invokeWorkflow<T extends object>(targetClass: T): WfInvokeWfs<T>;
73
+ startWorkflow<T extends ConfiguredInstance>(targetClass: T): WfInvokeWfsInstAsync<T>;
74
+ startWorkflow<T extends object>(targetClass: T): WfInvokeWfsAsync<T>;
46
75
  send<T>(destinationUUID: string, message: T, topic?: string): Promise<void>;
47
76
  recv<T>(topic?: string, timeoutSeconds?: number): Promise<T | null>;
48
77
  setEvent<T>(key: string, value: T): Promise<void>;
@@ -94,22 +123,29 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
94
123
  * We pass in itself as a parent context and assign the child workflow with a deterministic UUID "this.workflowUUID-functionID".
95
124
  * We also pass in its own workflowUUID and function ID so the invoked handle is deterministic.
96
125
  */
97
- startChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
98
- invokeChildWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<R>;
99
- childWorkflow<T extends any[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
126
+ startChildWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
127
+ invokeChildWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, ...args: T): Promise<R>;
128
+ /**
129
+ * Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
130
+ * to use WorkflowContext.Transaction(OpClass.someMethod, param);
131
+ */
132
+ proxyInvokeWF<T extends object>(object: T, workflowUUID: string | undefined, asyncWf: boolean, configuredInstance: ConfiguredInstance | null): WfInvokeWfsAsync<T>;
133
+ startWorkflow<T extends object>(target: T, workflowUUID?: string): WfInvokeWfsAsync<T>;
134
+ invokeWorkflow<T extends object>(target: T, workflowUUID?: string): WfInvokeWfs<T>;
135
+ childWorkflow<T extends unknown[], R>(wf: Workflow<T, R>, ...args: T): Promise<WorkflowHandle<R>>;
100
136
  /**
101
137
  * Execute a transactional function.
102
138
  * The transaction is guaranteed to execute exactly once, even if the workflow is retried with the same UUID.
103
139
  * If the transaction encounters a Postgres serialization error, retry it.
104
140
  * If it encounters any other error, throw it.
105
141
  */
106
- transaction<T extends any[], R>(txn: Transaction<T, R>, ...args: T): Promise<R>;
142
+ transaction<T extends unknown[], R>(txn: Transaction<T, R>, clsinst: ConfiguredInstance | null, ...args: T): Promise<R>;
107
143
  /**
108
144
  * Execute a communicator function.
109
145
  * If it encounters any error, retry according to its configured retry policy until the maximum number of attempts is reached, then throw an DBOSError.
110
146
  * The communicator may execute many times, but once it is complete, it will not re-execute.
111
147
  */
112
- external<T extends any[], R>(commFn: Communicator<T, R>, ...args: T): Promise<R>;
148
+ external<T extends unknown[], R>(commFn: Communicator<T, R>, clsInst: ConfiguredInstance | null, ...args: T): Promise<R>;
113
149
  /**
114
150
  * Send a message to a workflow identified by a UUID.
115
151
  * The message can optionally be tagged with a topic.
@@ -130,7 +166,7 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
130
166
  * Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
131
167
  * to use WorkflowContext.Transaction(OpClass.someMethod, param);
132
168
  */
133
- invoke<T extends object>(object: T): WFInvokeFuncs<T>;
169
+ invoke<T extends object>(object: T | ConfiguredInstance): WFInvokeFuncs<T> | InvokeFuncsInst<T>;
134
170
  /**
135
171
  * Wait for a workflow to emit an event, then return its value.
136
172
  */
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/workflow.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqC,MAAM,iBAAiB,CAAC;AAElF,OAAO,EAAkB,WAAW,EAAE,kBAAkB,EAA0B,MAAM,eAAe,CAAC;AACxG,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAA2B,MAAM,gBAAgB,CAAC;AAI5F,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAGtE,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAG7F,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,KAAK,CAAC;AAGjI,KAAK,MAAM,GAAG,CAAC,IAAI,EAAE,kBAAkB,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,KA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MAAM;IACrJ,QAAQ,CAAC,UAAU,CAAC;IAAU,QAAQ,CAAC,gBAAgB,CAAC;gBADrC,cAAc,EAAE,cAAc,EAAW,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,EAAW,YAAY,EAAE,MAAM,EAAW,YAAY,EAAE,MAAM,EAC5I,UAAU,CAAC,oBAAQ,EAAW,gBAAgB,CAAC,oBAAQ;IAElE,eAAe,IAAI,MAAM;IAInB,SAAS,IAAI,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAI3C,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC;CAG9B;AAED;;GAEG;AACH,qBAAa,eAAe,CAAC,CAAC,CAAE,YAAW,cAAc,CAAC,CAAC,CAAC;IAC9C,QAAQ,CAAC,cAAc,EAAE,cAAc;IAAE,QAAQ,CAAC,YAAY,EAAE,MAAM;IAAE,QAAQ,CAAC,UAAU,CAAC;IAAU,QAAQ,CAAC,gBAAgB,CAAC;gBAAvH,cAAc,EAAE,cAAc,EAAW,YAAY,EAAE,MAAM,EAAW,UAAU,CAAC,oBAAQ,EAAW,gBAAgB,CAAC,oBAAQ;IAEpJ,eAAe,IAAI,MAAM;IAInB,SAAS,IAAI,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAI3C,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC;CAG9B"}
@@ -180,7 +180,47 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
180
180
  async invokeChildWorkflow(wf, ...args) {
181
181
  return this.startChildWorkflow(wf, ...args).then((handle) => handle.getResult());
182
182
  }
183
- // Deprecated
183
+ /**
184
+ * Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
185
+ * to use WorkflowContext.Transaction(OpClass.someMethod, param);
186
+ */
187
+ proxyInvokeWF(object, workflowUUID, asyncWf, configuredInstance) {
188
+ const ops = (0, decorators_1.getRegisteredOperations)(object);
189
+ const proxy = {};
190
+ const funcId = this.functionIDGetIncrement();
191
+ const childUUID = workflowUUID || (this.workflowUUID + "-" + funcId);
192
+ const params = { workflowUUID: childUUID, parentCtx: this, configuredInstance };
193
+ for (const op of ops) {
194
+ if (asyncWf) {
195
+ proxy[op.name] = op.workflowConfig
196
+ ? (...args) => this.#dbosExec.internalWorkflow(op.registeredFunction, params, this.workflowUUID, funcId, ...args)
197
+ : undefined;
198
+ }
199
+ else {
200
+ proxy[op.name] = op.workflowConfig
201
+ ? (...args) => this.#dbosExec.internalWorkflow(op.registeredFunction, params, this.workflowUUID, funcId, ...args)
202
+ .then((handle) => handle.getResult())
203
+ : undefined;
204
+ }
205
+ }
206
+ return proxy;
207
+ }
208
+ startWorkflow(target, workflowUUID) {
209
+ if (typeof target === 'function') {
210
+ return this.proxyInvokeWF(target, workflowUUID, true, null);
211
+ }
212
+ else {
213
+ return this.proxyInvokeWF(target, workflowUUID, true, target);
214
+ }
215
+ }
216
+ invokeWorkflow(target, workflowUUID) {
217
+ if (typeof target === 'function') {
218
+ return this.proxyInvokeWF(target, workflowUUID, false, null);
219
+ }
220
+ else {
221
+ return this.proxyInvokeWF(target, workflowUUID, false, target);
222
+ }
223
+ }
184
224
  async childWorkflow(wf, ...args) {
185
225
  return this.startChildWorkflow(wf, ...args);
186
226
  }
@@ -190,8 +230,8 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
190
230
  * If the transaction encounters a Postgres serialization error, retry it.
191
231
  * If it encounters any other error, throw it.
192
232
  */
193
- async transaction(txn, ...args) {
194
- const txnInfo = this.#dbosExec.transactionInfoMap.get(txn.name);
233
+ async transaction(txn, clsinst, ...args) {
234
+ const txnInfo = this.#dbosExec.getTransactionInfo(txn);
195
235
  if (txnInfo === undefined) {
196
236
  throw new error_1.DBOSNotRegisteredError(txn.name);
197
237
  }
@@ -236,7 +276,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
236
276
  await this.flushResultBuffer(client);
237
277
  }
238
278
  // Execute the user's transaction.
239
- const result = await txn(tCtxt, ...args);
279
+ const result = await txn.call(clsinst, tCtxt, ...args);
240
280
  // Record the execution, commit, and return.
241
281
  if (readOnly) {
242
282
  // Buffer the output of read-only transactions instead of synchronously writing it.
@@ -289,8 +329,8 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
289
329
  * If it encounters any error, retry according to its configured retry policy until the maximum number of attempts is reached, then throw an DBOSError.
290
330
  * The communicator may execute many times, but once it is complete, it will not re-execute.
291
331
  */
292
- async external(commFn, ...args) {
293
- const commInfo = this.#dbosExec.communicatorInfoMap.get(commFn.name);
332
+ async external(commFn, clsInst, ...args) {
333
+ const commInfo = this.#dbosExec.getCommunicatorInfo(commFn);
294
334
  if (commInfo === undefined) {
295
335
  throw new error_1.DBOSNotRegisteredError(commFn.name);
296
336
  }
@@ -333,7 +373,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
333
373
  }
334
374
  while (result === dbos_executor_1.dbosNull && numAttempts++ < ctxt.maxAttempts) {
335
375
  try {
336
- result = await commFn(ctxt, ...args);
376
+ result = await commFn.call(clsInst, ctxt, ...args);
337
377
  }
338
378
  catch (error) {
339
379
  this.logger.error(error);
@@ -350,7 +390,7 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
350
390
  }
351
391
  else {
352
392
  try {
353
- result = await commFn(ctxt, ...args);
393
+ result = await commFn.call(clsInst, ctxt, ...args);
354
394
  }
355
395
  catch (error) {
356
396
  err = error;
@@ -415,19 +455,31 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
415
455
  * to use WorkflowContext.Transaction(OpClass.someMethod, param);
416
456
  */
417
457
  invoke(object) {
418
- const ops = (0, decorators_1.getRegisteredOperations)(object);
419
- const proxy = {};
420
- for (const op of ops) {
421
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
422
- proxy[op.name] = op.txnConfig
423
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
424
- ? (...args) => this.transaction(op.registeredFunction, ...args)
425
- : op.commConfig
426
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
427
- ? (...args) => this.external(op.registeredFunction, ...args)
428
- : undefined;
458
+ if (typeof object === 'function') {
459
+ const ops = (0, decorators_1.getRegisteredOperations)(object);
460
+ const proxy = {};
461
+ for (const op of ops) {
462
+ proxy[op.name] = op.txnConfig
463
+ ? (...args) => this.transaction(op.registeredFunction, null, ...args)
464
+ : op.commConfig
465
+ ? (...args) => this.external(op.registeredFunction, null, ...args)
466
+ : undefined;
467
+ }
468
+ return proxy;
469
+ }
470
+ else {
471
+ const targetInst = object;
472
+ const ops = (0, decorators_1.getRegisteredOperations)(targetInst);
473
+ const proxy = {};
474
+ for (const op of ops) {
475
+ proxy[op.name] = op.txnConfig
476
+ ? (...args) => this.transaction(op.registeredFunction, targetInst, ...args)
477
+ : op.commConfig
478
+ ? (...args) => this.external(op.registeredFunction, targetInst, ...args)
479
+ : undefined;
480
+ }
481
+ return proxy;
429
482
  }
430
- return proxy;
431
483
  }
432
484
  /**
433
485
  * Wait for a workflow to emit an event, then return its value.
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/workflow.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,mDAAkF;AAElF,+CAAwG;AACxG,iDAA4F;AAC5F,mCAA2F;AAC3F,qDAAmE;AACnE,mCAAkC;AAGlC,4CAAoD;AAEpD,uCAAsE;AACtE,6CAAuD;AA2C1C,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACN,CAAC;AAmBX,MAAa,mBAAoB,SAAQ,yBAAe;IAU3C;IAEA;IACA;IACA;IAbX,UAAU,GAAW,CAAC,CAAC;IACd,SAAS,CAAC;IACV,YAAY,GAAgC,IAAI,GAAG,EAA0B,CAAC;IAC9E,cAAc,CAAU;IAEjC,YACE,QAAsB,EACtB,SAAsC,EACtC,YAAoB,EACX,cAA8B,EACvC,YAAoB,EACX,UAAmB,EACnB,sBAA8B,EAAE,EAAE,uCAAuC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