@exaudeus/workrail 3.7.4 → 3.8.0
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>WorkRail Console</title>
|
|
7
|
+
<script type="module" crossorigin src="/console/assets/index-CSUqsoQl.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/console/assets/index-C5C4nDs4.css">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div id="root"></div>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
package/dist/manifest.json
CHANGED
|
@@ -358,8 +358,20 @@
|
|
|
358
358
|
"bytes": 1512
|
|
359
359
|
},
|
|
360
360
|
"config/feature-flags.js": {
|
|
361
|
-
"sha256": "
|
|
362
|
-
"bytes":
|
|
361
|
+
"sha256": "aabbaca7582a27fb7e2b47df88218e6e96d26b8fb8799cab6d25808685bd9196",
|
|
362
|
+
"bytes": 7686
|
|
363
|
+
},
|
|
364
|
+
"console/assets/index-C5C4nDs4.css": {
|
|
365
|
+
"sha256": "a3fdfc902967452fbad38abc323e3d164bd4359c3e89c00a6d44052a590fb2e3",
|
|
366
|
+
"bytes": 34096
|
|
367
|
+
},
|
|
368
|
+
"console/assets/index-CSUqsoQl.js": {
|
|
369
|
+
"sha256": "70957146018d67bf1307ca71333f186dccf4348b55b43ef2e5f6701415c05b2e",
|
|
370
|
+
"bytes": 545520
|
|
371
|
+
},
|
|
372
|
+
"console/index.html": {
|
|
373
|
+
"sha256": "202664a02de7ea2820e872fe573dff19f0587b7e18031a7e8780b2ef5ff814e5",
|
|
374
|
+
"bytes": 417
|
|
363
375
|
},
|
|
364
376
|
"core/error-handler.d.ts": {
|
|
365
377
|
"sha256": "80451f12ac8e185133ec3dc4c57285491a785f27525ed21e729db1da3f61010d",
|
|
@@ -2438,8 +2450,8 @@
|
|
|
2438
2450
|
"bytes": 204
|
|
2439
2451
|
},
|
|
2440
2452
|
"v2/usecases/console-routes.js": {
|
|
2441
|
-
"sha256": "
|
|
2442
|
-
"bytes":
|
|
2453
|
+
"sha256": "0a466d35a2b002e87e2ff38f5dd583a4d4d26e66d1732a8ac4f3e303ddad6356",
|
|
2454
|
+
"bytes": 2935
|
|
2443
2455
|
},
|
|
2444
2456
|
"v2/usecases/console-service.d.ts": {
|
|
2445
2457
|
"sha256": "88bf7eb84bad74c048f76038b0d2631d49f2256587e42907fe2df14fc58f67e1",
|
|
@@ -8,12 +8,15 @@ const express_1 = __importDefault(require("express"));
|
|
|
8
8
|
const path_1 = __importDefault(require("path"));
|
|
9
9
|
const fs_1 = __importDefault(require("fs"));
|
|
10
10
|
function resolveConsoleDist() {
|
|
11
|
-
const
|
|
12
|
-
if (fs_1.default.existsSync(
|
|
13
|
-
return
|
|
14
|
-
const
|
|
15
|
-
if (fs_1.default.existsSync(
|
|
16
|
-
return
|
|
11
|
+
const releasedDist = path_1.default.join(__dirname, '../../console');
|
|
12
|
+
if (fs_1.default.existsSync(releasedDist))
|
|
13
|
+
return releasedDist;
|
|
14
|
+
const fromSourceBuild = path_1.default.join(__dirname, '../../../dist/console');
|
|
15
|
+
if (fs_1.default.existsSync(fromSourceBuild))
|
|
16
|
+
return fromSourceBuild;
|
|
17
|
+
const legacyConsoleDist = path_1.default.join(__dirname, '../../../console/dist');
|
|
18
|
+
if (fs_1.default.existsSync(legacyConsoleDist))
|
|
19
|
+
return legacyConsoleDist;
|
|
17
20
|
return null;
|
|
18
21
|
}
|
|
19
22
|
function mountConsoleRoutes(app, consoleService) {
|