@dbos-inc/dbos-sdk 1.11.4-preview → 1.11.6-preview

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/dbos-config.schema.json +1 -4
  2. package/dist/src/communicator.d.ts +1 -1
  3. package/dist/src/communicator.d.ts.map +1 -1
  4. package/dist/src/context.d.ts +2 -0
  5. package/dist/src/context.d.ts.map +1 -1
  6. package/dist/src/context.js +3 -2
  7. package/dist/src/context.js.map +1 -1
  8. package/dist/src/dbos-executor.d.ts +11 -11
  9. package/dist/src/dbos-executor.d.ts.map +1 -1
  10. package/dist/src/dbos-executor.js +3 -11
  11. package/dist/src/dbos-executor.js.map +1 -1
  12. package/dist/src/dbos-runtime/config.d.ts.map +1 -1
  13. package/dist/src/dbos-runtime/config.js +0 -2
  14. package/dist/src/dbos-runtime/config.js.map +1 -1
  15. package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
  16. package/dist/src/dbos-runtime/runtime.js.map +1 -1
  17. package/dist/src/debugger/debug_workflow.d.ts +9 -9
  18. package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
  19. package/dist/src/debugger/debug_workflow.js +2 -4
  20. package/dist/src/debugger/debug_workflow.js.map +1 -1
  21. package/dist/src/httpServer/handler.d.ts +4 -4
  22. package/dist/src/httpServer/handler.d.ts.map +1 -1
  23. package/dist/src/httpServer/handler.js +0 -7
  24. package/dist/src/httpServer/handler.js.map +1 -1
  25. package/dist/src/httpServer/server.js.map +1 -1
  26. package/dist/src/kafka/kafka.js.map +1 -1
  27. package/dist/src/scheduler/scheduler.js.map +1 -1
  28. package/dist/src/system_database.d.ts +17 -15
  29. package/dist/src/system_database.d.ts.map +1 -1
  30. package/dist/src/system_database.js +38 -8
  31. package/dist/src/system_database.js.map +1 -1
  32. package/dist/src/telemetry/logs.d.ts.map +1 -1
  33. package/dist/src/telemetry/logs.js +6 -4
  34. package/dist/src/telemetry/logs.js.map +1 -1
  35. package/dist/src/telemetry/traces.d.ts +1 -0
  36. package/dist/src/telemetry/traces.d.ts.map +1 -1
  37. package/dist/src/telemetry/traces.js +5 -2
  38. package/dist/src/telemetry/traces.js.map +1 -1
  39. package/dist/src/testing/testing_runtime.d.ts +6 -6
  40. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  41. package/dist/src/testing/testing_runtime.js +0 -7
  42. package/dist/src/testing/testing_runtime.js.map +1 -1
  43. package/dist/src/transaction.d.ts +1 -1
  44. package/dist/src/transaction.d.ts.map +1 -1
  45. package/dist/src/transaction.js.map +1 -1
  46. package/dist/src/user_database.d.ts.map +1 -1
  47. package/dist/src/user_database.js +1 -4
  48. package/dist/src/user_database.js.map +1 -1
  49. package/dist/src/workflow.d.ts +19 -19
  50. package/dist/src/workflow.d.ts.map +1 -1
  51. package/dist/src/workflow.js +0 -5
  52. package/dist/src/workflow.js.map +1 -1
  53. package/dist/tsconfig.build.tsbuildinfo +1 -1
  54. package/migrations/20240516004341_application_version.js +23 -0
  55. package/package.json +1 -1
  56. package/dist/src/dbos-runtime/applicationVersion.d.ts +0 -3
  57. package/dist/src/dbos-runtime/applicationVersion.d.ts.map +0 -1
  58. package/dist/src/dbos-runtime/applicationVersion.js +0 -13
  59. package/dist/src/dbos-runtime/applicationVersion.js.map +0 -1
@@ -13,6 +13,7 @@ class Tracer {
13
13
  telemetryCollector;
14
14
  tracer;
15
15
  applicationID;
16
+ applicationVersion;
16
17
  executorID;
17
18
  constructor(telemetryCollector) {
18
19
  this.telemetryCollector = telemetryCollector;
@@ -22,8 +23,9 @@ class Tracer {
22
23
  }),
23
24
  });
24
25
  this.tracer.register();
25
- this.applicationID = process.env.DBOS__APPID || "APP_ID_NOT_DEFINED";
26
- this.executorID = process.env.DBOS__VMID || "VM_ID_NOT_DEFINED";
26
+ this.applicationID = process.env.DBOS__APPID || "";
27
+ this.applicationVersion = process.env.DBOS__APPVERSION || "";
28
+ this.executorID = process.env.DBOS__VMID || "local"; // for consistency with src/context.ts
27
29
  }
28
30
  startSpanWithContext(spanContext, name, attributes) {
29
31
  const tracer = api_1.default.trace.getTracer("dbos-tracer");
@@ -44,6 +46,7 @@ class Tracer {
44
46
  endSpan(span) {
45
47
  span.end((0, core_1.hrTime)(performance.now()));
46
48
  span.attributes.applicationID = this.applicationID;
49
+ span.attributes.applicationVersion = this.applicationVersion;
47
50
  if (!("executorID" in span.attributes)) {
48
51
  span.attributes.executorID = this.executorID;
49
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"traces.js","sourceRoot":"","sources":["../../../src/telemetry/traces.ts"],"names":[],"mappings":";;;;;;AAAA,kEAAwF;AACxF,wDAAoD;AACpD,6DAA4E;AAC5E,8EAAiF;AAEjF,8CAA6C;AAE7C,MAAa,MAAM;IAIY;IAHZ,MAAM,CAAsB;IACpC,aAAa,CAAS;IACtB,UAAU,CAAS;IAC5B,YAA6B,kBAAsC;QAAtC,uBAAkB,GAAlB,kBAAkB,CAAoB;QACjE,IAAI,CAAC,MAAM,GAAG,IAAI,oCAAmB,CAAC;YACpC,QAAQ,EAAE,IAAI,oBAAQ,CAAC;gBACrB,CAAC,iDAA0B,CAAC,YAAY,CAAC,EAAE,MAAM;aAClD,CAAC;SACH,CAAC,CAAC;QACH,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,IAAK,oBAAoB,CAAC;QACtE,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,mBAAmB,CAAC;IAClE,CAAC;IAED,oBAAoB,CAAC,WAAwB,EAAE,IAAY,EAAE,UAAuB;QAClF,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;QAC5D,MAAM,GAAG,GAAG,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,WAAW,CAAC,CAAC;QAC5F,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,E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AAG,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;QAC5D,MAAM,SAAS,GAAG,IAAA,aAAM,EAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC;QAC5C,IAAI,UAAU,EAAE,CAAC;YACf,MAAM,GAAG,GAAG,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,UAAU,CAAC,CAAC;YACpF,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,GAAG,CAAS,CAAC;QAC/F,CAAC;aAAM,CAAC;YACN,OAAO,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,CAAS,CAAC;QAC1F,CAAC;IACH,CAAC;IAED,OAAO,CAAC,IAAU;QAChB,IAAI,CAAC,GAAG,CAAC,IAAA,aAAM,EAAC,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,CAAC,UAAU,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;QACnD,IAAI,CAAC,UAAU,CAAC,kBAAkB,GAAG,IAAI,CAAC,kBAAkB,CAAC;QAC7D,IAAI,CAAC,CAAC,YAAY,IAAI,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YACvC,IAAI,CAAC,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;QAC/C,CAAC;QACD,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAoB,CAAC,CAAC;IACrD,CAAC;CACF;AA3CD,wBA2CC"}
@@ -23,14 +23,14 @@ export interface TestingRuntime {
23
23
  invokeWorkflow<T extends object>(targetClass: T, workflowUUID?: string, params?: WorkflowInvokeParams): SyncHandlerWfFuncs<T>;
24
24
  startWorkflow<T extends object>(targetClass: T, workflowUUID?: string, params?: WorkflowInvokeParams): AsyncHandlerWfFuncs<T>;
25
25
  retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
26
- send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
27
- getEvent<T extends NonNullable<any>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
26
+ send(destinationUUID: string, message: NonNullable<unknown>, topic?: string, idempotencyKey?: string): Promise<void>;
27
+ getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
28
28
  getHandlersCallback(): (req: IncomingMessage | Http2ServerRequest, res: ServerResponse | Http2ServerResponse) => Promise<void>;
29
29
  getAdminCallback(): (req: IncomingMessage | Http2ServerRequest, res: ServerResponse | Http2ServerResponse) => Promise<void>;
30
30
  getConfig<T>(key: string): T | undefined;
31
31
  getConfig<T>(key: string, defaultValue: T): T;
32
32
  setConfig<T>(key: string, newValue: T): void;
33
- queryUserDB<R>(sql: string, ...params: any[]): Promise<R[]>;
33
+ queryUserDB<R>(sql: string, ...params: unknown[]): Promise<R[]>;
34
34
  createUserSchema(): Promise<void>;
35
35
  dropUserSchema(): Promise<void>;
36
36
  destroy(): Promise<void>;
@@ -72,10 +72,10 @@ export declare class TestingRuntimeImpl implements TestingRuntime {
72
72
  */
73
73
  getHandlersCallback(): (req: IncomingMessage | Http2ServerRequest, res: Http2ServerResponse | ServerResponse<IncomingMessage>) => Promise<void>;
74
74
  getAdminCallback(): (req: IncomingMessage | Http2ServerRequest, res: Http2ServerResponse | ServerResponse<IncomingMessage>) => Promise<void>;
75
- send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string, idempotencyKey?: string): Promise<void>;
76
- getEvent<T extends NonNullable<any>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
75
+ send(destinationUUID: string, message: NonNullable<unknown>, topic?: string, idempotencyKey?: string): Promise<void>;
76
+ getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
77
77
  retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
78
- queryUserDB<R>(sql: string, ...params: any[]): Promise<R[]>;
78
+ queryUserDB<R>(sql: string, ...params: unknown[]): Promise<R[]>;
79
79
  createUserSchema(): Promise<void>;
80
80
  dropUserSchema(): Promise<void>;
81
81
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"testing_runtime.d.ts","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE7F,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAY,cAAc,EAAkB,MAAM,aAAa,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAMpD;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,cAAc,GAAE,MAA2B,EAAE,SAAS,GAAE,OAAc,GAAG,OAAO,CAAC,cAAc,CAAC,CAmBjK;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IACvC,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;CAChC;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,CAAC,SAAS,MAAM,EAAE,WAAW,EAAE,CAAC,EAA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CAAC,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,CAAC,CAAC,CAAC;IAIxH,cAAc,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB,GAAG,kBAAkB,CAAC,CAAC,CAAC;IAIxH;;OAEG;IACH,mBAAmB;IAOnB,gBAAgB;IAOV,IAAI,CAAC,eAAe,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIpH,QAAQ,CAAC,CAAC,SAAS,WAAW,CAAC,OAAO,CAAC,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,GAAE,MAAmD,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAIzK,gBAAgB,CAAC,CAAC,EAAE,YAAY,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAItD,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAI/D,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIvC,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,WAAW,IAAI,YAAY;CAM5B"}
@@ -106,22 +106,16 @@ class TestingRuntimeImpl {
106
106
  const wfParams = { workflowUUID: workflowUUID, parentCtx: oc };
107
107
  for (const op of ops) {
108
108
  if (asyncWf) {
109
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
110
109
  proxy[op.name] = op.txnConfig
111
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
112
110
  ? (...args) => dbosExec.transaction(op.registeredFunction, wfParams, ...args)
113
111
  : op.workflowConfig
114
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
115
112
  ? (...args) => dbosExec.workflow(op.registeredFunction, wfParams, ...args)
116
113
  : op.commConfig
117
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
118
114
  ? (...args) => dbosExec.external(op.registeredFunction, wfParams, ...args)
119
115
  : undefined;
120
116
  }
121
117
  else {
122
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
123
118
  proxy[op.name] = op.workflowConfig
124
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
125
119
  ? (...args) => dbosExec.workflow(op.registeredFunction, wfParams, ...args).then((handle) => handle.getResult())
126
120
  : undefined;
127
121
  }
@@ -162,7 +156,6 @@ class TestingRuntimeImpl {
162
156
  return this.getDBOSExec().retrieveWorkflow(workflowUUID);
163
157
  }
164
158
  async queryUserDB(sql, ...params) {
165
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
166
159
  return this.getDBOSExec().userDatabase.query(sql, ...params);
167
160
  }
168
161
  async createUserSchema() {
@@ -1 +1 @@
1
- {"version":3,"file":"testing_runtime.js","sourceRoot":"","sources":["../../../src/testing/testing_runtime.ts"],"names":[],"mappings":";;;AAGA,wCAA0D;AAC1D,8CAAwD;AACxD,oCAA6D;AAE7D,iDAAsD;AACtD,oDAA4D;AAC5D,mDAA6E;AAM7E,mCAAkC;AAClC,2BAA4B;AAC5B,0CAA2C;AAC3C,sDAAuD;AAEvD;;GAEG;AACI,KAAK,UAAU,oBAAoB,CAAC,WAAqB,EAAE,iBAAyB,2BAAkB,EAAE,YAAqB,IAAI;IACtI,MAAM,CAAC,UAAU,CAAC,GAAG,IAAA,wBAAe,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC,CAAC;IAErE,IAAI,SAAS,EAAE,CAAC;QACd,gFAAgF;QAChF,MAAM,cAAc,GAAG,IAAI,WAAM,CAAC;YAChC,IAAI,EAAE,UAAU,CAAC,UAAU,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AAC,IAAI,CAAC,eAAuB,EAAE,OAA6B,EAAE,KAAc,EAAE,cAAuB;QACxG,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,CAAC,CAAC;IAClF,CAAC;IAED,KAAK,CAAC,QAAQ,CAAiC,YAAoB,EAAE,GAAW,EAAE,iBAAyB,4BAAY,CAAC,6BAA6B;QACnJ,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,YAAY,EAAE,GAAG,EAAE,cAAc,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB,CAAI,YAAoB;QACtC,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3D,CAAC;IAED,KAAK,CAAC,WAAW,CAAI,GAAW,EAAE,GAAG,MAAiB;QACpD,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;IACxD,CAAC;IAED,cAAc;QACZ,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,CAAC;IACtD,CAAC;IAED;;OAEG;IACH,WAAW;QACT,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,MAAM,IAAI,iBAAS,CAAC,qEAAqE,CAAC,CAAC;QAC7F,CAAC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;IAC/B,CAAC;CACF;AAvJD,gDAuJC"}
@@ -5,7 +5,7 @@ import { DBOSContext, DBOSContextImpl } from "./context";
5
5
  import { ValuesOf } from "./utils";
6
6
  import { GlobalLogger as Logger } from "./telemetry/logs";
7
7
  import { WorkflowContextDebug } from "./debugger/debug_workflow";
8
- export type Transaction<T extends any[], R> = (ctxt: TransactionContext<any>, ...args: T) => Promise<R>;
8
+ export type Transaction<R> = (ctxt: TransactionContext<UserDatabaseClient>, ...args: unknown[]) => Promise<R>;
9
9
  export interface TransactionConfig {
10
10
  isolationLevel?: IsolationLevel;
11
11
  readOnly?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/transaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,kBAAkB,CAAC,GAAG,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAExG,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC;AACX,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7D,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,kBAAkB,CAAE,SAAQ,WAAW;IACnF,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;CACpB;AAED,qBAAa,sBAAsB,CAAC,CAAC,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,MAAM,WAAW,kBAAkB,CAAC,CAAC,SAAS,kBAAkB,CAAE,SAAQ,WAAW;IACnF,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;CACpB;AAED,qBAAa,sBAAsB,CAAC,CAAC,SAAS,kBAAkB,CAAE,SAAQ,eAAgB,YAAW,kBAAkB,CAAC,CAAC,CAAC;IAEtH,QAAQ,CAAC,UAAU,EAAE,gBAAgB;IACrC,QAAQ,CAAC,MAAM,EAAE,CAAC;IAIlB,QAAQ,CAAC,UAAU,EAAE,MAAM;gBALlB,UAAU,EAAE,gBAAgB,EAC5B,MAAM,EAAE,CAAC,EAClB,eAAe,EAAE,mBAAmB,GAAG,oBAAoB,EAC3D,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACL,UAAU,EAAE,MAAM,EAC3B,aAAa,EAAE,MAAM;CAKxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src/transaction.ts"],"names":[],"mappings":";;;AAIA,uCAAyD;AAa5C,QAAA,cAAc,GAAG;IAC5B,eAAe,EAAE,kBAAkB;IACnC,aAAa,EAAE,gBAAgB;IAC/B,cAAc,EAAE,iBAAiB;IACjC,YAAY,EAAE,cAAc;CACpB,CAAC;AAOX,MAAa,sBAAqD,SAAQ,yBAAe;IAE5E;IACA;IAIA;IANX,YACW,UAA4B,EAC5B,MAAS,EAClB,eAA2D,EAC3D,IAAU,EACV,MAAc,EACL,UAAkB,EAC3B,aAAqB;QAErB,KAAK,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC;QAR3C,eAAU,GAAV,UAAU,CAAkB;QAC5B,WAAM,GAAN,MAAM,CAAG;QAIT,eAAU,GAAV,UAAU,CAAQ;QAI3B,IAAI,CAAC,iBAAiB,GAAG,eAAe,CAAC,iBAAiB,CAAC;IAC7D,CAAC;CACF;AAbD,wDAaC"}
1
+ {"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../src/transaction.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AI,OAAO,CAAC,IAAI,CAAC;IAI9B,OAAO;IAID,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,mBAAmB,EAAE,uBAAuB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAoB1I,aAAa,CAAC,CAAC,SAAS,kBAAkB,EAAE,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,IAAI,EAAE,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAU7H,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAItE,eAAe,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAOrG,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI;IAKnD,2BAA2B,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAIpD,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAKrC,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAI7B,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CAGlC"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.KnexUserDatabase = exports.TypeORMDatabase = exports.PrismaUserDatabase = exports.PGNodeUserDatabase = exports.UserDatabaseName = void 0;
4
- /* eslint-disable @typescript-eslint/no-explicit-any */
5
4
  const pg_1 = require("pg");
6
5
  const user_db_schema_1 = require("../schemas/user_db_schema");
7
6
  const transaction_1 = require("./transaction");
@@ -297,9 +296,7 @@ class KnexUserDatabase {
297
296
  }
298
297
  async queryWithClient(client, sql, ...uparams) {
299
298
  const knexSql = sql.replace(/\$\d+/g, '?'); // Replace $1, $2... with ?
300
- let params = uparams;
301
- // eslint-disable-next-line @typescript-eslint/no-unsafe-return
302
- params = params.map(i => i === undefined ? null : i); // Set undefined parameters to null.
299
+ const params = uparams.map(i => i === undefined ? null : i); // Set undefined parameters to null.
303
300
  const rows = await client.raw(knexSql, params);
304
301
  return rows.rows;
305
302
  }
@@ -1 +1 @@
1
- {"version":3,"file":"user_database.js","sourceRoot":"","sources":["../../src/user_database.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,2BAAoG;AACpG,8DAA0F;AAC1F,+CAAkE;AAmCrD,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAE,SAAS;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACJ,CAAC;AAGX;;GAEG;AACH,MAAa,kBAAkB;IAGR;IAFZ,IAAI,CAAO;IAEpB,YAAqB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QACzC,IAAI,CAAC,IAAI,GAAG,IAAI,SAAI,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,YAAqB,KAAK;QACnC,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,mCAAkB,CAAC,CAAC;YAC1C,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,6BAAY,CAAC,CAAC;YACpC,MAAM,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,4BAAW,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;IAED,KAAK,CAAC,OAAO;QACX,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG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AK,CAAC,KAAK,OAAO,CAAC;IACtD,CAAC;IAED,kBAAkB,CAAC,KAAc;QAC/B,MAAM,GAAG,GAAG,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;QAC7C,OAAO,GAAG,KAAK,OAAO,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,YAAY;QAChB,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC,CAAC;IAC7F,CAAC;IAED,KAAK,CAAC,UAAU;QACd,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC,CAAC;IAC3F,CAAC;CACF;AAlFD,4CAkFC"}
@@ -4,10 +4,10 @@ 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
+ export type Workflow<R> = (ctxt: WorkflowContext, ...args: any[]) => Promise<R>;
8
8
  export type TailParameters<T extends (arg: any, args: any[]) => any> = T extends (arg: any, ...args: infer P) => any ? P : never;
9
- type TxFunc = (ctxt: TransactionContext<any>, ...args: any[]) => Promise<any>;
10
- type CommFunc = (ctxt: CommunicatorContext, ...args: any[]) => Promise<any>;
9
+ type TxFunc = (ctxt: TransactionContext<any>, ...args: any[]) => Promise<unknown>;
10
+ type CommFunc = (ctxt: CommunicatorContext, ...args: any[]) => Promise<unknown>;
11
11
  export type WFInvokeFuncs<T> = {
12
12
  [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
13
  };
@@ -40,13 +40,13 @@ export declare const StatusString: {
40
40
  };
41
41
  export interface WorkflowContext extends DBOSContext {
42
42
  invoke<T extends object>(targetClass: T): WFInvokeFuncs<T>;
43
- 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>>;
46
- send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string): Promise<void>;
47
- recv<T extends NonNullable<any>>(topic?: string, timeoutSeconds?: number): Promise<T | null>;
48
- setEvent<T extends NonNullable<any>>(key: string, value: T): Promise<void>;
49
- getEvent<T extends NonNullable<any>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
43
+ startChildWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<WorkflowHandle<R>>;
44
+ invokeChildWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<R>;
45
+ childWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<WorkflowHandle<R>>;
46
+ send(destinationUUID: string, message: NonNullable<unknown>, topic?: string): Promise<void>;
47
+ recv<T extends NonNullable<unknown>>(topic?: string, timeoutSeconds?: number): Promise<T | null>;
48
+ setEvent(key: string, value: NonNullable<unknown>): Promise<void>;
49
+ getEvent<T extends NonNullable<unknown>>(workflowUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
50
50
  retrieveWorkflow<R>(workflowUUID: string): WorkflowHandle<R>;
51
51
  sleepms(durationMS: number): Promise<void>;
52
52
  sleep(durationSec: number): Promise<void>;
@@ -94,38 +94,38 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
94
94
  * We pass in itself as a parent context and assign the child workflow with a deterministic UUID "this.workflowUUID-functionID".
95
95
  * We also pass in its own workflowUUID and function ID so the invoked handle is deterministic.
96
96
  */
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>>;
97
+ startChildWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<WorkflowHandle<R>>;
98
+ invokeChildWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<R>;
99
+ childWorkflow<R>(wf: Workflow<R>, ...args: unknown[]): Promise<WorkflowHandle<R>>;
100
100
  /**
101
101
  * Execute a transactional function.
102
102
  * The transaction is guaranteed to execute exactly once, even if the workflow is retried with the same UUID.
103
103
  * If the transaction encounters a Postgres serialization error, retry it.
104
104
  * If it encounters any other error, throw it.
105
105
  */
106
- transaction<T extends any[], R>(txn: Transaction<T, R>, ...args: T): Promise<R>;
106
+ transaction<R>(txn: Transaction<R>, ...args: unknown[]): Promise<R>;
107
107
  /**
108
108
  * Execute a communicator function.
109
109
  * 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
110
  * The communicator may execute many times, but once it is complete, it will not re-execute.
111
111
  */
112
- external<T extends any[], R>(commFn: Communicator<T, R>, ...args: T): Promise<R>;
112
+ external<R>(commFn: Communicator<R>, ...args: unknown[]): Promise<R>;
113
113
  /**
114
114
  * Send a message to a workflow identified by a UUID.
115
115
  * The message can optionally be tagged with a topic.
116
116
  */
117
- send<T extends NonNullable<any>>(destinationUUID: string, message: T, topic?: string): Promise<void>;
117
+ send(destinationUUID: string, message: NonNullable<unknown>, topic?: string): Promise<void>;
118
118
  /**
119
119
  * Consume and return the oldest unconsumed message sent to your UUID.
120
120
  * If a topic is specified, retrieve the oldest message tagged with that topic.
121
121
  * Otherwise, retrieve the oldest message with no topic.
122
122
  */
123
- recv<T extends NonNullable<any>>(topic?: string, timeoutSeconds?: number): Promise<T | null>;
123
+ recv<T extends NonNullable<unknown>>(topic?: string, timeoutSeconds?: number): Promise<T | null>;
124
124
  /**
125
125
  * Emit a workflow event, represented as a key-value pair.
126
126
  * Events are immutable once set.
127
127
  */
128
- setEvent<T extends NonNullable<any>>(key: string, value: T): Promise<void>;
128
+ setEvent(key: string, value: NonNullable<unknown>): Promise<void>;
129
129
  /**
130
130
  * Generate a proxy object for the provided class that wraps direct calls (i.e. OpClass.someMethod(param))
131
131
  * to use WorkflowContext.Transaction(OpClass.someMethod, param);
@@ -134,7 +134,7 @@ export declare class WorkflowContextImpl extends DBOSContextImpl implements Work
134
134
  /**
135
135
  * Wait for a workflow to emit an event, then return its value.
136
136
  */
137
- getEvent<T extends NonNullable<any>>(targetUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
137
+ getEvent<T extends NonNullable<unknown>>(targetUUID: string, key: string, timeoutSeconds?: number): Promise<T | null>;
138
138
  /**
139
139
  * Retrieve a handle for a workflow UUID.
140
140
  */
@@ -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,G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AC,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"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RetrievedHandle = exports.InvokedHandle = exports.WorkflowContextImpl = exports.StatusString = void 0;
4
- /* eslint-disable @typescript-eslint/no-explicit-any */
5
4
  const dbos_executor_1 = require("./dbos-executor");
6
5
  const transaction_1 = require("./transaction");
7
6
  const communicator_1 = require("./communicator");
@@ -115,7 +114,6 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
115
114
  values.push(this.workflowUUID, funcID, JSON.stringify(output), JSON.stringify(null), txnSnapshot, createdAt);
116
115
  }
117
116
  this.logger.debug(sqlStmt);
118
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
119
117
  await this.#dbosExec.userDatabase.queryWithClient(client, sqlStmt, ...values);
120
118
  }
121
119
  catch (error) {
@@ -418,12 +416,9 @@ class WorkflowContextImpl extends context_1.DBOSContextImpl {
418
416
  const ops = (0, decorators_1.getRegisteredOperations)(object);
419
417
  const proxy = {};
420
418
  for (const op of ops) {
421
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
422
419
  proxy[op.name] = op.txnConfig
423
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
424
420
  ? (...args) => this.transaction(op.registeredFunction, ...args)
425
421
  : op.commConfig
426
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
427
422
  ? (...args) => this.external(op.registeredFunction, ...args)
428
423
  : undefined;
429
424
  }
@@ -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;IACzE,sBAA8B,EAAE,CAAC,4CAA4C;;QAEtF,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,SAAS,CACpC,YAAY,EACZ;YACE,MAAM,EAAE,oBAAY,CAAC,OAAO;YAC5B,aAAa,EAAE,YAAY;YAC3B,aAAa,EAAE,6BAAa,CAAC,QAAQ;YACrC,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,IAAI,EAAE;YACrD,kBAAkB,EAAE,SAAS,EAAE,kBAAkB,IAAI,EAAE;YACvD,WAAW,EAAE,SAAS,EAAE,WAAW,IAAI,EAAE;YACzC,UAAU,EAAE,SAAS,EAAE,UAAU;SAClC,EACD,SAAS,EAAE,IAAI,CAChB,CAAC;QACF,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,EAAE,SAA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