@dbos-inc/dbos-enterprise 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +5 -0
- package/README.md +10 -2
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +6 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/scratch.d.ts +9 -0
- package/dist/src/scratch.d.ts.map +1 -0
- package/dist/src/scratch.js +15 -0
- package/dist/src/scratch.js.map +1 -0
- package/package.json +56 -4
package/LICENSE
ADDED
package/README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DBOS Enterprise for TypeScript
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Closed-source extension of [DBOS Transact](https://github.com/dbos-inc/dbos-transact-ts).
|
|
4
|
+
Requires a DBOS Conductor API key.
|
|
5
|
+
Licensed under the [DBOS Conductor Software License](https://www.dbos.dev/conductor-license).
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npm install @dbos-inc/dbos-sdk @dbos-inc/dbos-enterprise
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
See [DEVELOPING.md](./DEVELOPING.md) to work on this repo.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.describeExecutor = void 0;
|
|
4
|
+
var scratch_1 = require("./scratch");
|
|
5
|
+
Object.defineProperty(exports, "describeExecutor", { enumerable: true, get: function () { return scratch_1.describeExecutor; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,qCAA2D;AAAlD,2GAAA,gBAAgB,OAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ExecutorInfo {
|
|
2
|
+
appName: string | undefined;
|
|
3
|
+
appVersion: string;
|
|
4
|
+
executorID: string;
|
|
5
|
+
dbosVersion: string;
|
|
6
|
+
}
|
|
7
|
+
/** Report the identity core assigns this process at launch. */
|
|
8
|
+
export declare function describeExecutor(): ExecutorInfo;
|
|
9
|
+
//# sourceMappingURL=scratch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratch.d.ts","sourceRoot":"","sources":["../../src/scratch.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,+DAA+D;AAC/D,wBAAgB,gBAAgB,IAAI,YAAY,CAO/C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Scratch code proving the package can reach core internals. Delete when real code lands.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.describeExecutor = describeExecutor;
|
|
5
|
+
const utils_1 = require("@dbos-inc/dbos-sdk/internal/utils");
|
|
6
|
+
/** Report the identity core assigns this process at launch. */
|
|
7
|
+
function describeExecutor() {
|
|
8
|
+
return {
|
|
9
|
+
appName: utils_1.globalParams.appName,
|
|
10
|
+
appVersion: utils_1.globalParams.appVersion,
|
|
11
|
+
executorID: utils_1.globalParams.executorID,
|
|
12
|
+
dbosVersion: utils_1.globalParams.dbosVersion,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=scratch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scratch.js","sourceRoot":"","sources":["../../src/scratch.ts"],"names":[],"mappings":";AAAA,0FAA0F;;AAY1F,4CAOC;AAjBD,6DAAiE;AASjE,+DAA+D;AAC/D,SAAgB,gBAAgB;IAC9B,OAAO;QACL,OAAO,EAAE,oBAAY,CAAC,OAAO;QAC7B,UAAU,EAAE,oBAAY,CAAC,UAAU;QACnC,UAAU,EAAE,oBAAY,CAAC,UAAU;QACnC,WAAW,EAAE,oBAAY,CAAC,WAAW;KACtC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dbos-inc/dbos-enterprise",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Enterprise extension for DBOS Transact",
|
|
5
|
+
"license": "DBOS Conductor Software License (https://www.dbos.dev/conductor-license)",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/dbos-inc/dbos-enterprise-ts"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://docs.dbos.dev/",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=20"
|
|
13
|
+
},
|
|
14
|
+
"main": "dist/src/index.js",
|
|
15
|
+
"types": "dist/src/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/src/index.d.ts",
|
|
19
|
+
"import": "./dist/src/index.js",
|
|
20
|
+
"require": "./dist/src/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist/src"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc --build",
|
|
28
|
+
"prepack": "rm -rf dist && npm run build",
|
|
29
|
+
"lint": "eslint .",
|
|
30
|
+
"test": "jest --detectOpenHandles && node --test publish/core_peer.test.mjs",
|
|
31
|
+
"check:package": "npm run build && publint && attw --pack .",
|
|
32
|
+
"release": "node publish/make_release.mjs",
|
|
33
|
+
"prepare": "husky"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@dbos-inc/dbos-sdk": "*"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@arethetypeswrong/cli": "^0.18.4",
|
|
40
|
+
"@dbos-inc/dbos-sdk": "file:../dbos-transact-ts",
|
|
41
|
+
"@eslint/js": "^9.22.0",
|
|
42
|
+
"@types/jest": "^30.0.0",
|
|
43
|
+
"@types/node": "^20.19.1",
|
|
44
|
+
"eslint": "^9.22.0",
|
|
45
|
+
"globals": "^16.0.0",
|
|
46
|
+
"husky": "^9.1.7",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"lint-staged": "^15.4.3",
|
|
49
|
+
"prettier": "^3.4.2",
|
|
50
|
+
"publint": "^0.3.21",
|
|
51
|
+
"ts-jest": "^29.2.4",
|
|
52
|
+
"typescript": "^5.4.5",
|
|
53
|
+
"typescript-eslint": "^8.26.1"
|
|
54
|
+
},
|
|
55
|
+
"lint-staged": {
|
|
56
|
+
"*.{js,cjs,mjs,ts,json,md,yml}": "prettier --write"
|
|
57
|
+
}
|
|
58
|
+
}
|