@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.
- package/dbos-config.schema.json +1 -4
- package/dist/src/communicator.d.ts +1 -1
- package/dist/src/communicator.d.ts.map +1 -1
- package/dist/src/context.d.ts +2 -0
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +3 -2
- package/dist/src/context.js.map +1 -1
- package/dist/src/dbos-executor.d.ts +11 -11
- package/dist/src/dbos-executor.d.ts.map +1 -1
- package/dist/src/dbos-executor.js +3 -11
- package/dist/src/dbos-executor.js.map +1 -1
- package/dist/src/dbos-runtime/config.d.ts.map +1 -1
- package/dist/src/dbos-runtime/config.js +0 -2
- package/dist/src/dbos-runtime/config.js.map +1 -1
- package/dist/src/dbos-runtime/runtime.d.ts.map +1 -1
- package/dist/src/dbos-runtime/runtime.js.map +1 -1
- package/dist/src/debugger/debug_workflow.d.ts +9 -9
- package/dist/src/debugger/debug_workflow.d.ts.map +1 -1
- package/dist/src/debugger/debug_workflow.js +2 -4
- package/dist/src/debugger/debug_workflow.js.map +1 -1
- package/dist/src/httpServer/handler.d.ts +4 -4
- package/dist/src/httpServer/handler.d.ts.map +1 -1
- package/dist/src/httpServer/handler.js +0 -7
- package/dist/src/httpServer/handler.js.map +1 -1
- package/dist/src/httpServer/server.js.map +1 -1
- package/dist/src/kafka/kafka.js.map +1 -1
- package/dist/src/scheduler/scheduler.js.map +1 -1
- package/dist/src/system_database.d.ts +17 -15
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +38 -8
- package/dist/src/system_database.js.map +1 -1
- package/dist/src/telemetry/logs.d.ts.map +1 -1
- package/dist/src/telemetry/logs.js +6 -4
- package/dist/src/telemetry/logs.js.map +1 -1
- package/dist/src/telemetry/traces.d.ts +1 -0
- package/dist/src/telemetry/traces.d.ts.map +1 -1
- package/dist/src/telemetry/traces.js +5 -2
- package/dist/src/telemetry/traces.js.map +1 -1
- package/dist/src/testing/testing_runtime.d.ts +6 -6
- package/dist/src/testing/testing_runtime.d.ts.map +1 -1
- package/dist/src/testing/testing_runtime.js +0 -7
- package/dist/src/testing/testing_runtime.js.map +1 -1
- package/dist/src/transaction.d.ts +1 -1
- package/dist/src/transaction.d.ts.map +1 -1
- package/dist/src/transaction.js.map +1 -1
- package/dist/src/user_database.d.ts.map +1 -1
- package/dist/src/user_database.js +1 -4
- package/dist/src/user_database.js.map +1 -1
- package/dist/src/workflow.d.ts +19 -19
- package/dist/src/workflow.d.ts.map +1 -1
- package/dist/src/workflow.js +0 -5
- package/dist/src/workflow.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/migrations/20240516004341_application_version.js +23 -0
- package/package.json +1 -1
- package/dist/src/dbos-runtime/applicationVersion.d.ts +0 -3
- package/dist/src/dbos-runtime/applicationVersion.d.ts.map +0 -1
- package/dist/src/dbos-runtime/applicationVersion.js +0 -13
- package/dist/src/dbos-runtime/applicationVersion.js.map +0 -1
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* @param { import("knex").Knex } knex
|
3
|
+
* @returns { Promise<void> }
|
4
|
+
*/
|
5
|
+
exports.up = function(knex) {
|
6
|
+
return knex.schema.withSchema('dbos')
|
7
|
+
.alterTable('workflow_status', function(table) {
|
8
|
+
table.text('application_version');
|
9
|
+
table.text('application_id');
|
10
|
+
})
|
11
|
+
};
|
12
|
+
|
13
|
+
/**
|
14
|
+
* @param { import("knex").Knex } knex
|
15
|
+
* @returns { Promise<void> }
|
16
|
+
*/
|
17
|
+
exports.down = function(knex) {
|
18
|
+
return knex.schema.withSchema('dbos')
|
19
|
+
.alterTable('workflow_status', function(table) {
|
20
|
+
table.dropColumn('application_version');
|
21
|
+
table.dropColumn('application_id');
|
22
|
+
})
|
23
|
+
};
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"applicationVersion.d.ts","sourceRoot":"","sources":["../../../src/dbos-runtime/applicationVersion.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,IAAI,MAAM,GAAG,SAAS,CAE1D;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE3D"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.setApplicationVersion = exports.getApplicationVersion = void 0;
|
4
|
-
function getApplicationVersion() {
|
5
|
-
return applicationVersion;
|
6
|
-
}
|
7
|
-
exports.getApplicationVersion = getApplicationVersion;
|
8
|
-
function setApplicationVersion(version) {
|
9
|
-
applicationVersion = version;
|
10
|
-
}
|
11
|
-
exports.setApplicationVersion = setApplicationVersion;
|
12
|
-
let applicationVersion = undefined;
|
13
|
-
//# sourceMappingURL=applicationVersion.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"applicationVersion.js","sourceRoot":"","sources":["../../../src/dbos-runtime/applicationVersion.ts"],"names":[],"mappings":";;;AAAA,SAAgB,qBAAqB;IACjC,OAAO,kBAAkB,CAAC;AAC9B,CAAC;AAFD,sDAEC;AAED,SAAgB,qBAAqB,CAAC,OAAe;IACjD,kBAAkB,GAAG,OAAO,CAAC;AACjC,CAAC;AAFD,sDAEC;AAED,IAAI,kBAAkB,GAAuB,SAAS,CAAC"}
|