@opentap/runner-client 2.23.0 → 2.24.0-alpha.1.1.11012517457
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/cjs/SystemClient.js
CHANGED
|
@@ -35,13 +35,6 @@ var SystemClient = /** @class */ (function (_super) {
|
|
|
35
35
|
function SystemClient(baseSubject, options) {
|
|
36
36
|
return _super.call(this, baseSubject, options) || this;
|
|
37
37
|
}
|
|
38
|
-
SystemClient.prototype.changeIdleSession = function (request) {
|
|
39
|
-
return this.request("".concat(this.baseSubject, ".RunnerRegistry.Request.ChangeIdleSession"), request, {
|
|
40
|
-
fullSubject: true,
|
|
41
|
-
})
|
|
42
|
-
.then(this.success())
|
|
43
|
-
.catch(this.error());
|
|
44
|
-
};
|
|
45
38
|
/**
|
|
46
39
|
* Subscribe to the lifetime event.
|
|
47
40
|
* @param listener
|
package/dist/mjs/DTOs.d.ts
CHANGED
|
@@ -1145,10 +1145,6 @@ export interface IMetricValue {
|
|
|
1145
1145
|
time: number;
|
|
1146
1146
|
value: boolean | number | string | object;
|
|
1147
1147
|
}
|
|
1148
|
-
export interface ChangeIdleSessionRequest {
|
|
1149
|
-
runnerId: string;
|
|
1150
|
-
sessionId: string;
|
|
1151
|
-
}
|
|
1152
1148
|
export declare class SessionEvent implements ISessionEvent {
|
|
1153
1149
|
eventType?: SessionEventType;
|
|
1154
1150
|
sessionId?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConnectionOptions, Subscription, SubscriptionOptions } from 'nats.ws';
|
|
2
|
-
import {
|
|
2
|
+
import { ErrorResponse, RunnerEvent, TestPlanRunCompletedEventArgs, TestPlanRunStartEventArgs, TestStepRunCompletedEventArgs, TestStepRunStartEventArgs } from './DTOs';
|
|
3
3
|
import { BaseClient } from './BaseClient';
|
|
4
4
|
export interface RunnerLifetimeEvent {
|
|
5
5
|
RunnerId: string;
|
|
@@ -8,7 +8,6 @@ export interface RunnerLifetimeEvent {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class SystemClient extends BaseClient {
|
|
10
10
|
constructor(baseSubject: string, options: ConnectionOptions);
|
|
11
|
-
changeIdleSession(request: ChangeIdleSessionRequest): Promise<void>;
|
|
12
11
|
/**
|
|
13
12
|
* Subscribe to the lifetime event.
|
|
14
13
|
* @param listener
|
package/dist/mjs/SystemClient.js
CHANGED
|
@@ -5,13 +5,6 @@ export class SystemClient extends BaseClient {
|
|
|
5
5
|
constructor(baseSubject, options) {
|
|
6
6
|
super(baseSubject, options);
|
|
7
7
|
}
|
|
8
|
-
changeIdleSession(request) {
|
|
9
|
-
return this.request(`${this.baseSubject}.RunnerRegistry.Request.ChangeIdleSession`, request, {
|
|
10
|
-
fullSubject: true,
|
|
11
|
-
})
|
|
12
|
-
.then(this.success())
|
|
13
|
-
.catch(this.error());
|
|
14
|
-
}
|
|
15
8
|
/**
|
|
16
9
|
* Subscribe to the lifetime event.
|
|
17
10
|
* @param listener
|
package/package.json
CHANGED