verteilen-core 1.4.26 → 1.4.28
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/dist/computed.d.ts +16 -16
- package/dist/computed.js +19 -39
- package/dist/computed.js.map +1 -1
- package/dist/interface.d.ts +8 -8
- package/dist/interface.js +9 -9
- package/dist/interface.js.map +1 -1
- package/dist/server/server.d.ts +2 -2
- package/dist/server/server.js.map +1 -1
- package/package.json +4 -2
- package/src/computed.ts +16 -16
- package/src/interface.ts +8 -8
- package/src/server/server.ts +2 -2
- package/tsconfig.json +1 -1
- package/index.js +0 -1
package/dist/computed.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export *
|
|
2
|
-
export *
|
|
3
|
-
export *
|
|
4
|
-
export *
|
|
5
|
-
export *
|
|
6
|
-
export *
|
|
7
|
-
export *
|
|
8
|
-
export *
|
|
9
|
-
export *
|
|
10
|
-
export *
|
|
11
|
-
export *
|
|
12
|
-
export *
|
|
13
|
-
export *
|
|
14
|
-
export *
|
|
15
|
-
export *
|
|
16
|
-
export *
|
|
1
|
+
export * from './client/analysis';
|
|
2
|
+
export * from './client/client';
|
|
3
|
+
export * from './client/cluster';
|
|
4
|
+
export * from './client/execute';
|
|
5
|
+
export * from './client/job_execute';
|
|
6
|
+
export * from './client/job_database';
|
|
7
|
+
export * from './client/http';
|
|
8
|
+
export * from './client/javascript';
|
|
9
|
+
export * from './client/os';
|
|
10
|
+
export * from './client/database';
|
|
11
|
+
export * from './client/resource';
|
|
12
|
+
export * from './client/shell';
|
|
13
|
+
export * from './script/webhook_server_manager';
|
|
14
|
+
export * from './server/server2';
|
|
15
|
+
export * from './server/io2';
|
|
16
|
+
export * from './server/module/account';
|
package/dist/computed.js
CHANGED
|
@@ -10,44 +10,24 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
35
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
exports.ServerModule_Account = __importStar(require("./server/module/account"));
|
|
17
|
+
__exportStar(require("./client/analysis"), exports);
|
|
18
|
+
__exportStar(require("./client/client"), exports);
|
|
19
|
+
__exportStar(require("./client/cluster"), exports);
|
|
20
|
+
__exportStar(require("./client/execute"), exports);
|
|
21
|
+
__exportStar(require("./client/job_execute"), exports);
|
|
22
|
+
__exportStar(require("./client/job_database"), exports);
|
|
23
|
+
__exportStar(require("./client/http"), exports);
|
|
24
|
+
__exportStar(require("./client/javascript"), exports);
|
|
25
|
+
__exportStar(require("./client/os"), exports);
|
|
26
|
+
__exportStar(require("./client/database"), exports);
|
|
27
|
+
__exportStar(require("./client/resource"), exports);
|
|
28
|
+
__exportStar(require("./client/shell"), exports);
|
|
29
|
+
__exportStar(require("./script/webhook_server_manager"), exports);
|
|
30
|
+
__exportStar(require("./server/server2"), exports);
|
|
31
|
+
__exportStar(require("./server/io2"), exports);
|
|
32
|
+
__exportStar(require("./server/module/account"), exports);
|
|
53
33
|
//# sourceMappingURL=computed.js.map
|
package/dist/computed.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computed.js","sourceRoot":"","sources":["../src/computed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"computed.js","sourceRoot":"","sources":["../src/computed.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,oDAAiC;AACjC,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC;AAChC,uDAAoC;AACpC,wDAAqC;AACrC,gDAA6B;AAC7B,sDAAmC;AACnC,8CAA2B;AAC3B,oDAAiC;AACjC,oDAAiC;AACjC,iDAA8B;AAI9B,kEAA+C;AAI/C,mDAAgC;AAChC,+CAA4B;AAC5B,0DAAuC"}
|
package/dist/interface.d.ts
CHANGED
|
@@ -23,11 +23,11 @@ export * from './interface/ui';
|
|
|
23
23
|
export * from './interface/plugin';
|
|
24
24
|
export * from './interface/log';
|
|
25
25
|
export * as I18N from './plugins/i18n';
|
|
26
|
-
export *
|
|
27
|
-
export *
|
|
28
|
-
export *
|
|
29
|
-
export *
|
|
30
|
-
export *
|
|
31
|
-
export *
|
|
32
|
-
export *
|
|
33
|
-
export *
|
|
26
|
+
export * from './script/execute';
|
|
27
|
+
export * from './script/console_manager';
|
|
28
|
+
export * from './script/console_server_manager';
|
|
29
|
+
export * from './script/execute_manager';
|
|
30
|
+
export * from './script/socket_manager';
|
|
31
|
+
export * from './script/webhook_manager';
|
|
32
|
+
export * from './server/detail/console_handle';
|
|
33
|
+
export * from './server/detail/log_handle';
|
package/dist/interface.js
CHANGED
|
@@ -36,7 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.I18N = exports.MONGODB_NAME = exports.DATA_FOLDER = exports.IGNORE_CHARACTER = exports.ENV_CHARACTER = exports.SCROLL_LIMIT = exports.RENDER_FILE_UPDATETICK = exports.RENDER_UPDATETICK = exports.CLIENT_UPDATETICK = exports.MESSAGE_LIMIT = exports.WebHookPORT = exports.WebPORT = exports.PORT = exports.SERECT = void 0;
|
|
40
40
|
const DefaultSerect = "aVdWN1gWTTUsAQ06aZHyyLMXo0kEJYhU";
|
|
41
41
|
exports.SERECT = typeof process !== 'undefined' ? (process.env.SERECT || DefaultSerect) : DefaultSerect;
|
|
42
42
|
exports.PORT = 12080;
|
|
@@ -63,12 +63,12 @@ __exportStar(require("./interface/ui"), exports);
|
|
|
63
63
|
__exportStar(require("./interface/plugin"), exports);
|
|
64
64
|
__exportStar(require("./interface/log"), exports);
|
|
65
65
|
exports.I18N = __importStar(require("./plugins/i18n"));
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
__exportStar(require("./script/execute"), exports);
|
|
67
|
+
__exportStar(require("./script/console_manager"), exports);
|
|
68
|
+
__exportStar(require("./script/console_server_manager"), exports);
|
|
69
|
+
__exportStar(require("./script/execute_manager"), exports);
|
|
70
|
+
__exportStar(require("./script/socket_manager"), exports);
|
|
71
|
+
__exportStar(require("./script/webhook_manager"), exports);
|
|
72
|
+
__exportStar(require("./server/detail/console_handle"), exports);
|
|
73
|
+
__exportStar(require("./server/detail/log_handle"), exports);
|
|
74
74
|
//# sourceMappingURL=interface.js.map
|
package/dist/interface.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,aAAa,GAAG,kCAAkC,CAAA;AAC3C,QAAA,MAAM,GAAG,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa,CAAA;AAI/F,QAAA,IAAI,GAAG,KAAK,CAAA;AAIZ,QAAA,OAAO,GAAG,KAAK,CAAA;AAIf,QAAA,WAAW,GAAG,KAAK,CAAA;AAInB,QAAA,aAAa,GAAG,GAAG,CAAA;AAInB,QAAA,iBAAiB,GAAG,IAAI,CAAA;AAIxB,QAAA,iBAAiB,GAAG,EAAE,CAAA;AACtB,QAAA,sBAAsB,GAAG,IAAI,CAAA;AAC7B,QAAA,YAAY,GAAG,GAAG,CAAA;AAKlB,QAAA,aAAa,GAAG,GAAG,CAAA;AACnB,QAAA,gBAAgB,GAAG,GAAG,CAAA;AACtB,QAAA,WAAW,GAAG,YAAY,CAAA;AAC1B,QAAA,YAAY,GAAG,WAAW,CAAA;AAEvC,mDAAgC;AAChC,kDAA+B;AAC/B,mDAAgC;AAChC,sDAAmC;AACnC,qDAAkC;AAClC,qDAAkC;AAClC,qDAAkC;AAClC,oDAAiC;AACjC,iDAA8B;AAC9B,qDAAkC;AAClC,kDAA+B;AAK/B,uDAAsC;AAItC,
|
|
1
|
+
{"version":3,"file":"interface.js","sourceRoot":"","sources":["../src/interface.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAM,aAAa,GAAG,kCAAkC,CAAA;AAC3C,QAAA,MAAM,GAAG,OAAO,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,aAAa,CAAA;AAI/F,QAAA,IAAI,GAAG,KAAK,CAAA;AAIZ,QAAA,OAAO,GAAG,KAAK,CAAA;AAIf,QAAA,WAAW,GAAG,KAAK,CAAA;AAInB,QAAA,aAAa,GAAG,GAAG,CAAA;AAInB,QAAA,iBAAiB,GAAG,IAAI,CAAA;AAIxB,QAAA,iBAAiB,GAAG,EAAE,CAAA;AACtB,QAAA,sBAAsB,GAAG,IAAI,CAAA;AAC7B,QAAA,YAAY,GAAG,GAAG,CAAA;AAKlB,QAAA,aAAa,GAAG,GAAG,CAAA;AACnB,QAAA,gBAAgB,GAAG,GAAG,CAAA;AACtB,QAAA,WAAW,GAAG,YAAY,CAAA;AAC1B,QAAA,YAAY,GAAG,WAAW,CAAA;AAEvC,mDAAgC;AAChC,kDAA+B;AAC/B,mDAAgC;AAChC,sDAAmC;AACnC,qDAAkC;AAClC,qDAAkC;AAClC,qDAAkC;AAClC,oDAAiC;AACjC,iDAA8B;AAC9B,qDAAkC;AAClC,kDAA+B;AAK/B,uDAAsC;AAItC,mDAAgC;AAChC,2DAAwC;AACxC,kEAA+C;AAC/C,2DAAwC;AACxC,0DAAuC;AACvC,2DAAwC;AAIxC,iEAA8C;AAC9C,6DAA0C"}
|
package/dist/server/server.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ConsoleServerManager, PluginPageData } from "../interface";
|
|
2
2
|
import { ServerDetail } from "./detail";
|
|
3
3
|
import { MemoryData, RecordIOBase, RecordLoader } from "./io";
|
|
4
4
|
import { Project_Module } from "./module/project";
|
|
@@ -16,7 +16,7 @@ export interface PluginFeedback {
|
|
|
16
16
|
socket: Caller_Socket | undefined;
|
|
17
17
|
}
|
|
18
18
|
export declare class ServerBase {
|
|
19
|
-
manager: Array<
|
|
19
|
+
manager: Array<ConsoleServerManager>;
|
|
20
20
|
memory: MemoryData;
|
|
21
21
|
plugin: PluginPageData;
|
|
22
22
|
io: RecordIOBase | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/server/server.ts"],"names":[],"mappings":";;;AAOA,6BAAgG;AAChG,8CAAkD;AA0BlD,MAAa,UAAU;IAuBnB;QAtBA,YAAO,
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/server/server.ts"],"names":[],"mappings":";;;AAOA,6BAAgG;AAChG,8CAAkD;AA0BlD,MAAa,UAAU;IAuBnB;QAtBA,YAAO,GAA+B,EAAE,CAAA;QACxC,WAAM,GAAe;YACjB,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,EAAE;YACT,IAAI,EAAE,EAAE;YACR,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,EAAE;YACT,IAAI,EAAE,EAAE;YACR,IAAI,EAAE,EAAE;YACR,IAAI,EAAE,EAAE;SACX,CAAA;QACD,WAAM,GAAmB;YACrB,OAAO,EAAE,EAAE;SACd,CAAA;QACD,OAAE,GAA4B,SAAS,CAAA;QACvC,WAAM,GAA4B,SAAS,CAAA;QAE3C,kBAAa,GAA6B,SAAS,CAAA;QAmBnD,iBAAY,GAAG,GAAiC,EAAE;YAC9C,MAAM,EAAE,GAAG;gBACP,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,SAAS,EAAE;gBACvC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,EAAE;gBACpC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,SAAS,EAAE;gBACnC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,EAAE;gBACxC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,EAAE;gBACpC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,SAAS,EAAE;gBACnC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,SAAS,EAAE;gBACnC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,EAAE;aACvC,CAAA;YACD,OAAO,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;QAC1B,CAAC,CAAA;QAOD,iBAAY,GAAG,CAAC,IAAW,EAAE,IAAQ,EAAE,EAAE;YACrC,MAAM,CAAC,GAAU;gBACb,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,IAAI;aACb,CAAA;YACD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;gBACrB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;YAChC,CAAC,CAAC,CAAA;QACN,CAAC,CAAA;QAxCG,IAAI,CAAC,aAAa,GAAG,IAAA,qCAAgC,EAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAClE,IAAI,CAAC,cAAc,GAAG,IAAI,wBAAc,CAAC,IAAI,CAAC,CAAA;IAClD,CAAC;IAED,IAAW,cAAc;QACrB,IAAG,IAAI,CAAC,MAAM;YAAE,OAAO,IAAI,CAAC,MAAM,CAAA;QAClC,OAAO,IAAI,CAAC,aAAa,CAAA;IAC7B,CAAC;CAkCJ;AAjED,gCAiEC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verteilen-core",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.28",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://verteilen.github.io/wiki/",
|
|
6
6
|
"author": "Elly",
|
|
7
7
|
"repository": "https://github.com/Verteilen/Verteilen-Core",
|
|
8
8
|
"description": "The core library help verteilen software to work",
|
|
9
|
-
"
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
|
+
"main": "dist/index.js",
|
|
11
|
+
"type": "commonjs",
|
|
10
12
|
"bugs": {
|
|
11
13
|
"url": "https://github.com/Verteilen/Verteilen-Core/issues"
|
|
12
14
|
},
|
package/src/computed.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Client
|
|
3
3
|
*/
|
|
4
|
-
export *
|
|
5
|
-
export *
|
|
6
|
-
export *
|
|
7
|
-
export *
|
|
8
|
-
export *
|
|
9
|
-
export *
|
|
10
|
-
export *
|
|
11
|
-
export *
|
|
12
|
-
export *
|
|
13
|
-
export *
|
|
14
|
-
export *
|
|
15
|
-
export *
|
|
4
|
+
export * from './client/analysis'
|
|
5
|
+
export * from './client/client'
|
|
6
|
+
export * from './client/cluster'
|
|
7
|
+
export * from './client/execute'
|
|
8
|
+
export * from './client/job_execute'
|
|
9
|
+
export * from './client/job_database'
|
|
10
|
+
export * from './client/http'
|
|
11
|
+
export * from './client/javascript'
|
|
12
|
+
export * from './client/os'
|
|
13
|
+
export * from './client/database'
|
|
14
|
+
export * from './client/resource'
|
|
15
|
+
export * from './client/shell'
|
|
16
16
|
/**
|
|
17
17
|
* Scripts
|
|
18
18
|
*/
|
|
19
|
-
export *
|
|
19
|
+
export * from './script/webhook_server_manager'
|
|
20
20
|
/**
|
|
21
21
|
* Server
|
|
22
22
|
*/
|
|
23
|
-
export *
|
|
24
|
-
export *
|
|
25
|
-
export *
|
|
23
|
+
export * from './server/server2'
|
|
24
|
+
export * from './server/io2'
|
|
25
|
+
export * from './server/module/account'
|
package/src/interface.ts
CHANGED
|
@@ -59,14 +59,14 @@ export * as I18N from './plugins/i18n'
|
|
|
59
59
|
/**
|
|
60
60
|
* Scripts
|
|
61
61
|
*/
|
|
62
|
-
export *
|
|
63
|
-
export *
|
|
64
|
-
export *
|
|
65
|
-
export *
|
|
66
|
-
export *
|
|
67
|
-
export *
|
|
62
|
+
export * from './script/execute'
|
|
63
|
+
export * from './script/console_manager'
|
|
64
|
+
export * from './script/console_server_manager'
|
|
65
|
+
export * from './script/execute_manager'
|
|
66
|
+
export * from './script/socket_manager'
|
|
67
|
+
export * from './script/webhook_manager'
|
|
68
68
|
/**
|
|
69
69
|
* Util
|
|
70
70
|
*/
|
|
71
|
-
export *
|
|
72
|
-
export *
|
|
71
|
+
export * from './server/detail/console_handle'
|
|
72
|
+
export * from './server/detail/log_handle'
|
package/src/server/server.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Share Codebase
|
|
4
4
|
//
|
|
5
5
|
// ========================
|
|
6
|
-
import {
|
|
6
|
+
import { ConsoleServerManager, Header, PluginPageData } from "../interface";
|
|
7
7
|
import { ServerDetail } from "./detail";
|
|
8
8
|
import { CreateRecordMemoryLoader_Browser, MemoryData, RecordIOBase, RecordLoader } from "./io";
|
|
9
9
|
import { Project_Module } from "./module/project";
|
|
@@ -33,7 +33,7 @@ export interface PluginFeedback {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export class ServerBase {
|
|
36
|
-
manager:Array<
|
|
36
|
+
manager:Array<ConsoleServerManager> = []
|
|
37
37
|
memory: MemoryData = {
|
|
38
38
|
projects: [],
|
|
39
39
|
tasks: [],
|
package/tsconfig.json
CHANGED
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./dist"
|