@dbos-inc/dbos-sdk 1.11.5-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/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.map +1 -1
- package/dist/src/dbos-executor.js +4 -5
- 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/system_database.d.ts +2 -0
- package/dist/src/system_database.d.ts.map +1 -1
- package/dist/src/system_database.js +38 -7
- 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/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"}
|