@dbos-inc/dbos-sdk 1.17.11-preview.g5f42092e6b → 1.17.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/dist/src/context.d.ts +3 -0
  2. package/dist/src/context.d.ts.map +1 -1
  3. package/dist/src/data_validation.js +2 -1
  4. package/dist/src/data_validation.js.map +1 -1
  5. package/dist/src/dbos-executor.d.ts +1 -0
  6. package/dist/src/dbos-executor.d.ts.map +1 -1
  7. package/dist/src/dbos-runtime/cli.js +2 -1
  8. package/dist/src/dbos-runtime/cli.js.map +1 -1
  9. package/dist/src/dbos-runtime/config.js +6 -6
  10. package/dist/src/dbos-runtime/config.js.map +1 -1
  11. package/dist/src/dbos-runtime/configure.js +2 -1
  12. package/dist/src/dbos-runtime/configure.js.map +1 -1
  13. package/dist/src/dbos-runtime/debug.js +2 -1
  14. package/dist/src/dbos-runtime/debug.js.map +1 -1
  15. package/dist/src/dbos-runtime/migrate.js +4 -3
  16. package/dist/src/dbos-runtime/migrate.js.map +1 -1
  17. package/dist/src/dbos-runtime/workflow_management.js +5 -4
  18. package/dist/src/dbos-runtime/workflow_management.js.map +1 -1
  19. package/dist/src/decorators.d.ts +2 -6
  20. package/dist/src/decorators.d.ts.map +1 -1
  21. package/dist/src/decorators.js +30 -30
  22. package/dist/src/decorators.js.map +1 -1
  23. package/dist/src/error.d.ts +1 -1
  24. package/dist/src/error.d.ts.map +1 -1
  25. package/dist/src/error.js +2 -2
  26. package/dist/src/error.js.map +1 -1
  27. package/dist/src/httpServer/handler.d.ts.map +1 -1
  28. package/dist/src/httpServer/handler.js +7 -7
  29. package/dist/src/httpServer/handler.js.map +1 -1
  30. package/dist/src/httpServer/middleware.d.ts +5 -15
  31. package/dist/src/httpServer/middleware.d.ts.map +1 -1
  32. package/dist/src/httpServer/middleware.js +6 -6
  33. package/dist/src/httpServer/middleware.js.map +1 -1
  34. package/dist/src/httpServer/server.d.ts +3 -0
  35. package/dist/src/httpServer/server.d.ts.map +1 -1
  36. package/dist/src/kafka/kafka.d.ts +1 -3
  37. package/dist/src/kafka/kafka.d.ts.map +1 -1
  38. package/dist/src/kafka/kafka.js +3 -3
  39. package/dist/src/kafka/kafka.js.map +1 -1
  40. package/dist/src/scheduler/crontab.js +4 -4
  41. package/dist/src/scheduler/crontab.js.map +1 -1
  42. package/dist/src/scheduler/scheduler.d.ts.map +1 -1
  43. package/dist/src/scheduler/scheduler.js +2 -2
  44. package/dist/src/scheduler/scheduler.js.map +1 -1
  45. package/dist/src/system_database.js +2 -2
  46. package/dist/src/system_database.js.map +1 -1
  47. package/dist/src/telemetry/collector.d.ts.map +1 -1
  48. package/dist/src/telemetry/index.js +3 -2
  49. package/dist/src/telemetry/index.js.map +1 -1
  50. package/dist/src/telemetry/logs.d.ts.map +1 -1
  51. package/dist/src/testing/testing_runtime.d.ts +5 -2
  52. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  53. package/dist/src/testing/testing_runtime.js +3 -3
  54. package/dist/src/testing/testing_runtime.js.map +1 -1
  55. package/dist/src/user_database.js +2 -2
  56. package/dist/src/user_database.js.map +1 -1
  57. package/dist/src/utils.d.ts +1 -0
  58. package/dist/src/utils.d.ts.map +1 -1
  59. package/dist/src/utils.js +6 -6
  60. package/dist/src/utils.js.map +1 -1
  61. package/dist/src/workflow.d.ts.map +1 -1
  62. package/dist/tsconfig.build.tsbuildinfo +1 -1
  63. package/package.json +1 -1
@@ -1,3 +1,6 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ /// <reference types="node/http" />
1
4
  import { Span } from "@opentelemetry/sdk-trace-base";
2
5
  import { GlobalLogger as Logger, Logger as DBOSLogger } from "./telemetry/logs";
3
6
  import { IncomingHttpHeaders } from "http";
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,IAA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M3C,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAKjC,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAK/B,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC;IAI/D,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IACxC,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,CAAC;CAS9C"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateMethodArgs = validateMethodArgs;
3
+ exports.validateMethodArgs = void 0;
4
4
  const decorators_1 = require("./decorators");
5
5
  const error_1 = require("./error");
6
6
  function validateMethodArgs(methReg, args) {
@@ -164,4 +164,5 @@ function validateMethodArgs(methReg, args) {
164
164
  });
165
165
  return args;
166
166
  }
167
+ exports.validateMethodArgs = validateMethodArgs;
167
168
  //# sourceMappingURL=data_validation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"data_validation.js","sourceRoot":"","sources":["../../src/data_validation.ts"],"names":[],"mappings":";;AAIA,gDA4KC;AAhLD,6CAA0E;AAE1E,mCAAkD;AAElD,SAAgB,kBAAkB,CAAyB,OAA+B,EAAE,IAAU;IAElG,IAAI,KAAK,GAAiC,SAAS,CAAC;IAEpD,MAAM,eAAe,GAAG,CAAC,GAAU,EAAE,EAAE;QACnC,MAAM,GAAG,GAAG,IAAI,+BAAuB,CAAC,GAAG,CAAC,CAAC;QAC7C,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,qBAAqB,EAAE,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;QACtE,OAAO,GAAG,CAAC;IACf,CAAC,CAAA;IAED,mBAAmB;IACnB,OAAO,CAAC,IAAI,CAAC,OAAO,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,EAAE,CAAC;YAC/C,qDAAqD;YACrD,+FAA+F;YAC/F,iCAAiC;YACjC,IAAI,CAAC,+EAA+E,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;gBAC5G,MAAM,eAAe,CAAC,YAAY,aAAa,CAAC,IAAI,OAAO,OAAO,CAAC,IAAI,uBAAuB,aAAa,CAAC,QAAQ,CAAC,QAAQ,2BAA2B,CAAC,CAAC;YAC5J,CAAC;QACH,CAAC;QACD,sFAAsF;IAC1F,CAAC,CAAC,CAAC;IACH,OAAO,IAAI,CAAC;AAChB,CAAC;AA5KD,gDA4KC"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { Workflow, WorkflowConfig, WorkflowHandle, WorkflowParams, WorkflowStatus, BufferedResult } from './workflow';
2
3
  import { Transaction, TransactionConfig } from './transaction';
3
4
  import { CommunicatorConfig, Communicator } from './communicator';
@@ -1 +1 @@
1
- {"version":3,"file":"dbos-executor.d.ts","sourceRoot":"","sources":["../../src/dbos-executor.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,QAAQ,EACR,cAAc,EAEd,cAAc,EACd,cAAc,EAGd,cAAc,EAEd,cAAc,EACf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAkB,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAClE,OAAO,EAAE,cAAc,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G,SAAS;CAQ3D"}
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.runAndLog = runAndLog;
4
+ exports.runAndLog = void 0;
5
5
  const runtime_1 = require("./runtime");
6
6
  const config_1 = require("./config");
7
7
  const commander_1 = require("commander");
@@ -186,4 +186,5 @@ async function runAndLog(action) {
186
186
  }
187
187
  terminate(returnCode);
188
188
  }
189
+ exports.runAndLog = runAndLog;
189
190
  //# sourceMappingURL=cli.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../../src/dbos-runtime/cli.ts"],"names":[],"mappings":";;;AAyMA,8BA2BC;AAnOD,uCAA2D;AAC3D,qCAA2F;AAC3F,yCAAoC;AAEpC,mCAAwC;AACxC,uCAAuD;AACvD,4CAAiD;AACjD,sDAA4D;AAC5D,sDAA2D;AAC3D,2CAAwC;AACxC,+DAAsG;AACtG,0BAAqD;AACrD,+CAAoC;AAEpC,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AA4B9B,iEAAiE;AACjE,MAAM,WAAW,GAAG,OAAO,CAAC,uBAAuB,CAAwB,CAAC;AAC5E,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AAErC,OAAO;KACJ,OAAO,CAAC,OAAO,CAAC;KAChB,WAAW,CAAC,kBAAkB,CAAC;KAC/B,MAAM,CAAC,qBAAqB,EAAE,yBAAyB,CAAC;KACxD,MAAM,CAAC,yBAAyB,EAAE,mBAAmB,CAAC;KACtD,MAAM,CAAC,2BAA2B,EAAE,2CAA2C,CAAC;KAChF,MAAM,CAAC,uBAAuB,EAAE,wCAAwC,CAAC;KACzE,MAAM,CAAC,wBAAwB,EAAE,gDAAgD,CAAC;KAClF,MAAM,CAAC,kBAAkB,EAAE,8CAA8C,CAAC;KAC1E,MAAM,CAAC,KAAK,EAAE,OAA4B,EAAE,EAAE;IAC7C,IAA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CAAC,IAAY,EAAE,EAAE;YAC3B,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrB,CAAC,CAAC;IACJ,CAAC;IACD,IAAI,UAAU,GAAG,CAAC,CAAC;IACnB,IAAI,CAAC;QACH,UAAU,GAAG,MAAM,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,SAAS,CAAC,UAAU,CAAC,CAAC;AACxB,CAAC;AA3BD,8BA2BC"}
@@ -3,12 +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.dbosConfigFilePath = void 0;
7
- exports.substituteEnvVars = substituteEnvVars;
8
- exports.loadConfigFile = loadConfigFile;
9
- exports.writeConfigFile = writeConfigFile;
10
- exports.constructPoolConfig = constructPoolConfig;
11
- exports.parseConfigFile = parseConfigFile;
6
+ exports.parseConfigFile = exports.constructPoolConfig = exports.writeConfigFile = exports.loadConfigFile = exports.substituteEnvVars = exports.dbosConfigFilePath = void 0;
12
7
  const error_1 = require("../error");
13
8
  const utils_1 = require("../utils");
14
9
  const yaml_1 = __importDefault(require("yaml"));
@@ -32,6 +27,7 @@ function substituteEnvVars(content) {
32
27
  return process.env[g1] || ""; // If the env variable is not set, return an empty string.
33
28
  });
34
29
  }
30
+ exports.substituteEnvVars = substituteEnvVars;
35
31
  function loadConfigFile(configFilePath) {
36
32
  try {
37
33
  const configFileContent = (0, utils_1.readFileSync)(configFilePath);
@@ -48,6 +44,7 @@ function loadConfigFile(configFilePath) {
48
44
  }
49
45
  }
50
46
  }
47
+ exports.loadConfigFile = loadConfigFile;
51
48
  function writeConfigFile(configFile, configFilePath) {
52
49
  try {
53
50
  const configFileContent = yaml_1.default.stringify(configFile);
@@ -62,6 +59,7 @@ function writeConfigFile(configFile, configFilePath) {
62
59
  }
63
60
  }
64
61
  }
62
+ exports.writeConfigFile = writeConfigFile;
65
63
  function constructPoolConfig(configFile) {
66
64
  const poolConfig = {
67
65
  host: configFile.database.hostname,
@@ -93,6 +91,7 @@ function constructPoolConfig(configFile) {
93
91
  }
94
92
  return poolConfig;
95
93
  }
94
+ exports.constructPoolConfig = constructPoolConfig;
96
95
  function prettyPrintAjvErrors(validate) {
97
96
  return validate.errors.map(error => {
98
97
  let message = `Error: ${error.message}`;
@@ -192,6 +191,7 @@ function parseConfigFile(cliOptions, useProxy = false) {
192
191
  };
193
192
  return [dbosConfig, runtimeConfig];
194
193
  }
194
+ exports.parseConfigFile = parseConfigFile;
195
195
  function getAppVersion(appVersion) {
196
196
  if (typeof appVersion === "string") {
197
197
  return appVersion;
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../src/dbos-runtime/config.ts"],"names":[],"mappings":";;;;;;AAgDA,8CAKC;AAED,wCAaC;AAED,0CAWC;AAED,kDA6BC;AA4BD,0CAsFC;AAlOD,oCAAmD;AACnD,oCAAmE;AAGnE,gDAAwB;AACxB,uCAAiE;AACjE,oDAAoD;AAEpD,2BAAmC;AACnC,8CAA4C;AAC5C,gDAAwB;AAEX,QAAA,kBAAkB,GAAG,kBAAkB,CAAC;AACrD,MAAM,oBAAoB,GAAG,cAAI,CAAC,IAAI,CAAC,IAAA,uBAAe,EAAC,SAAS,CAAC,EAAE,yBAAyB,CAAC,CAAC;AAC9F,MAAM,gBAAgB,GAAG,gBAAQ,CAAC,KAAK,CAAC,IAAA,oBAAY,EAAC,oBAAoB,CAAC,CAAW,CAAC;AACtF,MAAM,GAAG,GAAG,IAAI,aAAG,CAAC,EAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC,CAAC;AA4BtD;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,OAAe;IAC/C,MAAM,KAAK,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AC;IAC/C,OAAO,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;AACtC,CAAC"}
@@ -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.configure = configure;
6
+ exports.configure = void 0;
7
7
  const inquirer_1 = __importDefault(require("inquirer"));
8
8
  const utils_1 = require("../utils");
9
9
  const config_1 = require("./config");
@@ -52,4 +52,5 @@ async function configure(host, port, username) {
52
52
  config.database.username = username;
53
53
  (0, config_1.writeConfigFile)(config, config_1.dbosConfigFilePath);
54
54
  }
55
+ exports.configure = configure;
55
56
  //# sourceMappingURL=configure.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"configure.js","sourceRoot":"","sources":["../../../src/dbos-runtime/configure.ts"],"names":[],"mappings":";;;;;AAKA,8BAgDC;AArDD,wDAAgC;AAChC,oCAAwC;AACxC,qCAA2E;AAC3E,gDAAwB;AAEjB,KAAK,UAAU,SAAS,CAAC,IAAwB,EAAE,IAAwB,EAAE,QAA4B;IAC9G,MAAM,iBAAiB,GAAG,IAAA,oBAAY,EAAC,2BAAkB,CAAC,CAAC;IAC3D,MAAM,MAAM,GAAG,cAAI,CAAC,KAAK,CAAC,iBAAiB,CAAe,CAAC;IAE3D,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,MAAM,GAAG,MAAM,kBAAQ,CAAC,MAAM,CAAC;YACnC;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,+CAA+C;gBACxD,4BAA4B;gBAC5B,OAAO,EAAE,WAAW;aACrB;SACF,CAAqB,CAAC;QACvB,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACrB,CAAC;IAED,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,MAAM,GAAG,MAAM,kBAAQ,CAAC,MAAM,CAAC;YACnC;gBACE,I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E,MAAM;gBACZ,OAAO,EAAE,+CAA+C;gBACxD,4BAA4B;gBAC5B,OAAO,EAAE,WAAW;aACrB;SACF,CAAqB,CAAC;QACvB,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IACrB,CAAC;IAED,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,MAAM,MAAM,GAAG,MAAM,kBAAQ,CAAC,MAAM,CAAC;YACnC;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,2CAA2C;gBACpD,4BAA4B;gBAC5B,OAAO,EAAE,IAAI;aACd;SACF,CAAqB,CAAC;QACvB,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,MAAM,GAAG,MAAM,kBAAQ,CAAC,MAAM,CAAC;YACnC;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,UAAU;gBAChB,OAAO,EAAE,iCAAiC;gBAC1C,4BAA4B;gBAC5B,OAAO,EAAE,UAAU;aACpB;SACF,CAAyB,CAAC;QAC3B,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC7B,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAC;IAChC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC;IAC5B,MAAM,CAAC,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAEpC,IAAA,wBAAe,EAAC,MAAM,EAAE,2BAAkB,CAAC,CAAA;AAC7C,CAAC;AAhDD,8BAgDC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.debugWorkflow = debugWorkflow;
3
+ exports.debugWorkflow = void 0;
4
4
  const dbos_executor_1 = require("../dbos-executor");
5
5
  const error_1 = require("../error");
6
6
  const logs_1 = require("../telemetry/logs");
@@ -50,4 +50,5 @@ async function debugWorkflow(dbosConfig, runtimeConfig, workflowUUID, proxy) {
50
50
  }
51
51
  return;
52
52
  }
53
+ exports.debugWorkflow = debugWorkflow;
53
54
  //# sourceMappingURL=debug.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"debug.js","sourceRoot":"","sources":["../../../src/dbos-runtime/debug.ts"],"names":[],"mappings":";;AAKA,sCAyCC;AA9CD,oDAA4D;AAC5D,oCAAwG;AACxG,4CAAiD;AACjD,uCAA2D;AAEpD,KAAK,UAAU,aAAa,CAAC,UAAsB,EAAE,aAAgC,EAAE,YAAoB,EAAE,KAAc;IAChI,UAAU,GAAG,EAAE,GAAG,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IACnE,MAAM,MAAM,GAAG,IAAI,mBAAY,EAAE,CAAC;IAClC,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,IAAI,4BAAY,CAAC,UAAU,CAAC,CAAC;QAC9C,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,qCAAqC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;QACxG,MAAM,OAAO,GAAG,MAAM,qBAAW,CAAC,WAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QACzE,MAAM,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAE7B,qCAAqC;QACrC,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC;QAChE,MAAM,MAAM,CAAC,SAAS,EAAE,CAAC;QAEzB,2BAA2B;QAC3B,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,MAAM,UAAU,GAAG,kBAAkB,CAAC;QACtC,MAAM,CAAC,KAAK,CAAC,GAAG,UAAU,KAAM,CAAW,CAAC,OAAO,EAAE,CAAC,CAAC;QACv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F,CAAC;yBAAM,CAAC;wBACN,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,0BAA0B,UAAU,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC;oBAC/F,CAAC;oBACD,MAAM;gBACR,CAAC;YACH,CAAC;QACH,CAAC;aAAM,IAAI,CAAC,YAAY,mCAA2B,EAAE,CAAC;YACpD,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,2EAA2E,CAAC,CAAC;QAClH,CAAC;aAAM,IAAI,CAAC,YAAY,8BAAsB,EAAE,CAAC;YAC/C,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,sJAAsJ,CAAC,CAAC;QAC7L,CAAC;aAAM,IAAI,CAAC,YAAY,+BAAuB,EAAE,CAAC;YAChD,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,oDAAoD,CAAC,CAAC;QAC3F,CAAC;QACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,OAAO;AACT,CAAC;AAzCD,sCAyCC"}
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.migrate = migrate;
4
- exports.checkDatabaseExists = checkDatabaseExists;
5
- exports.rollbackMigration = rollbackMigration;
3
+ exports.rollbackMigration = exports.checkDatabaseExists = exports.migrate = void 0;
6
4
  const child_process_1 = require("child_process");
7
5
  const logs_1 = require("../telemetry/logs");
8
6
  const config_1 = require("./config");
@@ -73,6 +71,7 @@ async function migrate(configFile, logger) {
73
71
  logger.info("Migration successful!");
74
72
  return 0;
75
73
  }
74
+ exports.migrate = migrate;
76
75
  async function checkDatabaseExists(configFile, logger) {
77
76
  const pgUserConfig = (0, config_1.constructPoolConfig)(configFile);
78
77
  const pgUserClient = new pg_1.Client(pgUserConfig);
@@ -87,6 +86,7 @@ async function checkDatabaseExists(configFile, logger) {
87
86
  return false; // If connection fails, return false
88
87
  }
89
88
  }
89
+ exports.checkDatabaseExists = checkDatabaseExists;
90
90
  function rollbackMigration(configFile, logger) {
91
91
  logger.info("Starting Migration Rollback");
92
92
  let dbType = configFile.database.app_db_client;
@@ -107,6 +107,7 @@ function rollbackMigration(configFile, logger) {
107
107
  }
108
108
  return 0;
109
109
  }
110
+ exports.rollbackMigration = rollbackMigration;
110
111
  // Create DBOS system DB and tables.
111
112
  // TODO: replace this with knex to manage schema.
112
113
  async function createDBOSTables(configFile) {
@@ -1 +1 @@
1
- {"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../src/dbos-runtime/migrate.ts"],"names":[],"mappings":";;AAQA,0BA4DC;AAED,kDAaC;AAED,8CAqBC;AA1GD,iDAA2D;AAC3D,4CAAiD;AACjD,qCAA2D;AAC3D,2BAAwC;AACxC,iEAA6F;AAC7F,wDAA2E;AAC3E,oDAA2G;AAEpG,KAAK,UAAU,OAAO,CAAC,UAAsB,EAAE,MAAoB;IACxE,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;QAClC,MAAM,CAAC,KAAK,CAAC,iGAAiG,CAAC,CAAC;QAChH,OAAO,CAAC,CAAC;IACX,CAAC;IACD,MAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC;IACnD,MAAM,CAAC,IAAI,CAAC,yCAAyC,UAAU,uBAAuB,CAAC,CAAC;IAExF,IAAI,CAAC,CAAC,MAAM,mBAAmB,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;QACrD,MAAM,cAAc,GAAe,IAAA,4BAAmB,EAAC,UAAU,CAAC,CAAA;QAClE,cAAc,CAAC,QAAQ,GAAG,UAAU,CAAA;QACpC,MAAM,cAAc,GAAG,IAAI,WAAM,CAAC,cAAc,CAAC,CAAC;QAClD,IAAI,iBAAiB,GAAG,IAAI,CAAC;QAC7B,IAAI,CAAC;YACH,MAAM,cAAc,CAAC,OAAO,EAAE,CAAA;YAC9B,iBAAiB,GAAG,KAAK,CAAC;YAC1B,MAAM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CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IACpB,IAAI,CAAC,YAAY,KAAK,IAAI,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7C,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACxB,IAAI,CAAC,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACxB,MAAM,CAAC,KAAK,CAAC,mBAAmB,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC9D,CAAC;QACD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;QACxB,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACtB,MAAM,CAAC,KAAK,CAAC,oBAAoB,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC/D,CAAC;QACD,IAAI,CAAC,CAAC,OAAO,EAAE,CAAC;YACd,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QAC1B,CAAC;QACD,IAAI,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;YACrB,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.listWorkflows = listWorkflows;
4
- exports.getWorkflow = getWorkflow;
5
- exports.cancelWorkflow = cancelWorkflow;
6
- exports.reattemptWorkflow = reattemptWorkflow;
3
+ exports.reattemptWorkflow = exports.cancelWorkflow = exports.getWorkflow = exports.listWorkflows = void 0;
7
4
  const winston_1 = require("winston");
8
5
  const __1 = require("..");
9
6
  const system_database_1 = require("../system_database");
@@ -17,6 +14,7 @@ async function listWorkflows(config, input, getRequest) {
17
14
  await systemDatabase.destroy();
18
15
  return workflowInfos;
19
16
  }
17
+ exports.listWorkflows = listWorkflows;
20
18
  async function getWorkflowInfo(systemDatabase, workflowUUID, getRequest) {
21
19
  const info = await systemDatabase.getWorkflowStatus(workflowUUID);
22
20
  info.workflowUUID = workflowUUID;
@@ -46,12 +44,14 @@ async function getWorkflow(config, workflowUUID, getRequest) {
46
44
  await systemDatabase.destroy();
47
45
  return info;
48
46
  }
47
+ exports.getWorkflow = getWorkflow;
49
48
  // Cancelling a workflow prevents it from being automatically recovered, but active executions are not halted.
50
49
  async function cancelWorkflow(config, workflowUUID) {
51
50
  const systemDatabase = new system_database_1.PostgresSystemDatabase(config.poolConfig, config.system_database, (0, winston_1.createLogger)());
52
51
  await systemDatabase.setWorkflowStatus(workflowUUID, __1.StatusString.CANCELLED, false);
53
52
  await systemDatabase.destroy();
54
53
  }
54
+ exports.cancelWorkflow = cancelWorkflow;
55
55
  async function reattemptWorkflow(config, runtimeConfig, workflowUUID, startNewWorkflow) {
56
56
  const dbosExec = new dbos_executor_1.DBOSExecutor(config);
57
57
  const classes = runtimeConfig !== null ? await runtime_1.DBOSRuntime.loadClasses(runtimeConfig.entrypoints) : [];
@@ -68,4 +68,5 @@ async function reattemptWorkflow(config, runtimeConfig, workflowUUID, startNewWo
68
68
  await dbosExec.destroy();
69
69
  return output;
70
70
  }
71
+ exports.reattemptWorkflow = reattemptWorkflow;
71
72
  //# sourceMappingURL=workflow_management.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow_management.js","sourceRoot":"","sources":["../../../src/dbos-runtime/workflow_management.ts"],"names":[],"mappings":";;AAUA,sCAMC;AAiCD,kCAKC;AAGD,wCAIC;AAED,8CAcC;AA7ED,qCAAuC;AACvC,0BAAiE;AACjE,wDAA4E;AAI5E,oDAAgD;AAChD,uCAA2D;AAC3D,8CAAwD;AAEjD,KAAK,UAAU,aAAa,CAAC,MAAkB,EAAE,KAAwB,EAAE,UAAmB;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C,CAAC;IAC5F,CAAC;IACD,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,mBAAmB,CAAC,YAAY,EAAE,gBAAgB,CAAC,CAAC;IAClF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,EAAE,CAAC;IACxC,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;IACzB,OAAO,MAAM,CAAC;AAChB,CAAC;AAdD,8CAcC"}
@@ -131,9 +131,7 @@ export declare function LogMask(mask: LogMasks): (target: object, propertyKey: s
131
131
  export declare function ArgName(name: string): (target: object, propertyKey: string | symbol, parameterIndex: number) => void;
132
132
  export declare function ArgDate(): (target: object, propertyKey: string | symbol, parameterIndex: number) => void;
133
133
  export declare function ArgVarchar(length: number): (target: object, propertyKey: string | symbol, parameterIndex: number) => void;
134
- export declare function DefaultRequiredRole(anyOf: string[]): <T extends {
135
- new (...args: unknown[]): object;
136
- }>(ctor: T) => void;
134
+ export declare function DefaultRequiredRole(anyOf: string[]): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
137
135
  export declare function DefaultArgRequired<T extends {
138
136
  new (...args: unknown[]): object;
139
137
  }>(ctor: T): void;
@@ -146,9 +144,7 @@ export declare function Workflow(config?: WorkflowConfig): <This, Args extends u
146
144
  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
145
  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
146
  export declare function Communicator(config?: CommunicatorConfig): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: CommunicatorContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: CommunicatorContext, ...args: Args) => Promise<Return>>;
149
- export declare function OrmEntities(entities: Function[]): <T extends {
150
- new (...args: unknown[]): object;
151
- }>(ctor: T) => void;
147
+ export declare function OrmEntities(entities: Function[]): <T extends new (...args: unknown[]) => object>(ctor: T) => void;
152
148
  export declare function DBOSInitializer(): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: InitContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: InitContext, ...args: Args) => Promise<Return>>;
153
149
  export declare function DBOSDeploy(): <This, Args extends unknown[], Return>(target: object, propertyKey: string, inDescriptor: TypedPropertyDescriptor<(this: This, ctx: InitContext, ...args: Args) => Promise<Return>>) => TypedPropertyDescriptor<(this: This, ctx: InitContext, ...args: Args) => Promise<Return>>;
154
150
  export {};
@@ -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,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAGzE,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,GAA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