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

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 +0 -2
  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 +11 -27
  7. package/dist/src/dbos-executor.d.ts.map +1 -1
  8. package/dist/src/dbos-executor.js +46 -139
  9. package/dist/src/dbos-executor.js.map +1 -1
  10. package/dist/src/debugger/debug_workflow.d.ts +5 -14
  11. package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
  12. package/dist/src/debugger/debug_workflow.js +18 -74
  13. package/dist/src/debugger/debug_workflow.js.map +1 -1
  14. package/dist/src/decorators.d.ts +2 -19
  15. package/dist/src/decorators.d.ts.map +1 -1
  16. package/dist/src/decorators.js +27 -104
  17. package/dist/src/decorators.js.map +1 -1
  18. package/dist/src/httpServer/handler.d.ts +15 -22
  19. package/dist/src/httpServer/handler.d.ts.map +1 -1
  20. package/dist/src/httpServer/handler.js +35 -44
  21. package/dist/src/httpServer/handler.js.map +1 -1
  22. package/dist/src/httpServer/handlerTypes.d.ts +1 -4
  23. package/dist/src/httpServer/handlerTypes.d.ts.map +1 -1
  24. package/dist/src/httpServer/handlerTypes.js +0 -3
  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 +10 -34
  28. package/dist/src/httpServer/server.js.map +1 -1
  29. package/dist/src/index.d.ts +2 -2
  30. package/dist/src/index.d.ts.map +1 -1
  31. package/dist/src/index.js +1 -7
  32. package/dist/src/index.js.map +1 -1
  33. package/dist/src/kafka/kafka.d.ts +3 -2
  34. package/dist/src/kafka/kafka.d.ts.map +1 -1
  35. package/dist/src/kafka/kafka.js +13 -2
  36. package/dist/src/kafka/kafka.js.map +1 -1
  37. package/dist/src/scheduler/scheduler.d.ts +8 -4
  38. package/dist/src/scheduler/scheduler.d.ts.map +1 -1
  39. package/dist/src/scheduler/scheduler.js +9 -2
  40. package/dist/src/scheduler/scheduler.js.map +1 -1
  41. package/dist/src/system_database.d.ts +0 -2
  42. package/dist/src/system_database.d.ts.map +1 -1
  43. package/dist/src/system_database.js +4 -61
  44. package/dist/src/system_database.js.map +1 -1
  45. package/dist/src/testing/testing_runtime.d.ts +5 -9
  46. package/dist/src/testing/testing_runtime.d.ts.map +1 -1
  47. package/dist/src/testing/testing_runtime.js +12 -24
  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 +0 -1
  52. package/dist/src/utils.d.ts.map +1 -1
  53. package/dist/src/utils.js +1 -5
  54. package/dist/src/utils.js.map +1 -1
  55. package/dist/src/workflow.d.ts +10 -46
  56. package/dist/src/workflow.d.ts.map +1 -1
  57. package/dist/src/workflow.js +20 -72
  58. package/dist/src/workflow.js.map +1 -1
  59. package/dist/tsconfig.build.tsbuildinfo +1 -1
  60. package/package.json +2 -2
  61. package/migrations/20240517000000_status_class_config.js +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/dbos-sdk",
3
- "version": "1.12.11",
3
+ "version": "1.12.13-preview.g7a8a447e44",
4
4
  "description": "A Typescript framework built on the database",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -71,7 +71,7 @@
71
71
  "lodash": "4.17.21",
72
72
  "openapi-types": "12.1.3",
73
73
  "pg": "8.11.3",
74
- "reflect-metadata": "^0.2.2",
74
+ "reflect-metadata": "0.2.2",
75
75
  "serialize-error": "8.1.0",
76
76
  "uuid": "9.0.1",
77
77
  "winston": "3.12.0",
@@ -1,18 +0,0 @@
1
- exports.up = function(knex) {
2
- return knex.schema.withSchema('dbos')
3
- .table('workflow_status', function(table) {
4
- table.string('class_name')
5
- .defaultTo(null);
6
-
7
- table.string('config_name')
8
- .defaultTo(null);
9
- });
10
- };
11
-
12
- exports.down = function(knex) {
13
- return knex.schema.withSchema('dbos')
14
- .table('workflow_status', function(table) {
15
- table.dropColumn('class_name');
16
- table.dropColumn('config_name');
17
- });
18
- };