@qodalis/cli-server-jobs 2.0.0-beta.17 → 2.0.0-beta.19
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/package.json +2 -2
- package/public-api.d.mts +18 -2
- package/public-api.d.ts +18 -2
- package/public-api.js +454 -253
- package/public-api.js.map +1 -1
- package/public-api.mjs +455 -254
- package/public-api.mjs.map +1 -1
- package/umd/index.global.js +712 -319
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qodalis/cli-server-jobs",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.19",
|
|
4
4
|
"description": "Background job management",
|
|
5
5
|
"author": "Qodalis Solutions",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"umd": "./umd/index.global.js",
|
|
19
19
|
"unpkg": "./umd/index.global.js",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@qodalis/cli-core": "2.0.0-beta.
|
|
21
|
+
"@qodalis/cli-core": "2.0.0-beta.19"
|
|
22
22
|
},
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"main": "./public-api.js",
|
package/public-api.d.mts
CHANGED
|
@@ -10,10 +10,25 @@ declare class CliJobsCommandProcessor implements ICliCommandProcessor {
|
|
|
10
10
|
processCommand(_cmd: CliProcessCommand, _context: ICliExecutionContext): Promise<void>;
|
|
11
11
|
private handleList;
|
|
12
12
|
private handleInfo;
|
|
13
|
+
/**
|
|
14
|
+
* Without --server the action applies to every connected server that has
|
|
15
|
+
* the job, each reported on its own line. When several servers have it,
|
|
16
|
+
* a note says so (and how to target one).
|
|
17
|
+
*/
|
|
13
18
|
private handleAction;
|
|
14
19
|
private handleHistory;
|
|
15
20
|
private handleLogs;
|
|
21
|
+
/**
|
|
22
|
+
* Prompt for each setting; Enter keeps the current value. Ctrl+C or
|
|
23
|
+
* Escape at any prompt (the reader resolves null) cancels the whole edit
|
|
24
|
+
* and nothing is sent. A job on several servers needs --server.
|
|
25
|
+
*/
|
|
16
26
|
private handleEdit;
|
|
27
|
+
/**
|
|
28
|
+
* Stream job events until Ctrl+C (context.onAbort / context.signal) or
|
|
29
|
+
* until every watched server has closed its connection. On exit the
|
|
30
|
+
* sockets are closed and every subscription and listener is removed.
|
|
31
|
+
*/
|
|
17
32
|
private handleWatch;
|
|
18
33
|
}
|
|
19
34
|
|
|
@@ -104,9 +119,10 @@ declare class CliJobsService {
|
|
|
104
119
|
getExecution(jobId: string, execId: string): Promise<JobExecutionDto>;
|
|
105
120
|
}
|
|
106
121
|
|
|
107
|
-
declare const LIBRARY_VERSION = "2.0.0-beta.
|
|
122
|
+
declare const LIBRARY_VERSION = "2.0.0-beta.19";
|
|
108
123
|
declare const API_VERSION = 2;
|
|
109
124
|
|
|
110
125
|
declare const jobsModule: ICliModule;
|
|
111
126
|
|
|
112
|
-
export { API_VERSION, CliJobNameCompletionProvider, CliJobsCommandProcessor, CliJobsService,
|
|
127
|
+
export { API_VERSION, CliJobNameCompletionProvider, CliJobsCommandProcessor, CliJobsService, LIBRARY_VERSION, jobsModule };
|
|
128
|
+
export type { JobDto, JobExecutionDto, JobHistoryResponse, JobLogEntryDto, UpdateJobRequest };
|
package/public-api.d.ts
CHANGED
|
@@ -10,10 +10,25 @@ declare class CliJobsCommandProcessor implements ICliCommandProcessor {
|
|
|
10
10
|
processCommand(_cmd: CliProcessCommand, _context: ICliExecutionContext): Promise<void>;
|
|
11
11
|
private handleList;
|
|
12
12
|
private handleInfo;
|
|
13
|
+
/**
|
|
14
|
+
* Without --server the action applies to every connected server that has
|
|
15
|
+
* the job, each reported on its own line. When several servers have it,
|
|
16
|
+
* a note says so (and how to target one).
|
|
17
|
+
*/
|
|
13
18
|
private handleAction;
|
|
14
19
|
private handleHistory;
|
|
15
20
|
private handleLogs;
|
|
21
|
+
/**
|
|
22
|
+
* Prompt for each setting; Enter keeps the current value. Ctrl+C or
|
|
23
|
+
* Escape at any prompt (the reader resolves null) cancels the whole edit
|
|
24
|
+
* and nothing is sent. A job on several servers needs --server.
|
|
25
|
+
*/
|
|
16
26
|
private handleEdit;
|
|
27
|
+
/**
|
|
28
|
+
* Stream job events until Ctrl+C (context.onAbort / context.signal) or
|
|
29
|
+
* until every watched server has closed its connection. On exit the
|
|
30
|
+
* sockets are closed and every subscription and listener is removed.
|
|
31
|
+
*/
|
|
17
32
|
private handleWatch;
|
|
18
33
|
}
|
|
19
34
|
|
|
@@ -104,9 +119,10 @@ declare class CliJobsService {
|
|
|
104
119
|
getExecution(jobId: string, execId: string): Promise<JobExecutionDto>;
|
|
105
120
|
}
|
|
106
121
|
|
|
107
|
-
declare const LIBRARY_VERSION = "2.0.0-beta.
|
|
122
|
+
declare const LIBRARY_VERSION = "2.0.0-beta.19";
|
|
108
123
|
declare const API_VERSION = 2;
|
|
109
124
|
|
|
110
125
|
declare const jobsModule: ICliModule;
|
|
111
126
|
|
|
112
|
-
export { API_VERSION, CliJobNameCompletionProvider, CliJobsCommandProcessor, CliJobsService,
|
|
127
|
+
export { API_VERSION, CliJobNameCompletionProvider, CliJobsCommandProcessor, CliJobsService, LIBRARY_VERSION, jobsModule };
|
|
128
|
+
export type { JobDto, JobExecutionDto, JobHistoryResponse, JobLogEntryDto, UpdateJobRequest };
|