@nsshunt/ststestrunner 1.0.39 → 1.0.40
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/ststestrunner.mjs
CHANGED
|
@@ -20191,6 +20191,13 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
|
|
|
20191
20191
|
raw.serviceDetails = gzipSync(strToU8(JSON.stringify(raw.serviceDetails)));
|
|
20192
20192
|
return raw;
|
|
20193
20193
|
});
|
|
20194
|
+
__publicField(this, "GetServiceNoZip", async () => {
|
|
20195
|
+
const raw = __privateGet(this, _EmitEvent).call(this, "GetService", __privateGet(this, _LogPayloadEventRetVal).call(this, {
|
|
20196
|
+
...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetService, IEventReturnValueBaseType.serviceDetails),
|
|
20197
|
+
serviceDetails: await __privateGet(this, _options5).GetServiceDetails()
|
|
20198
|
+
}));
|
|
20199
|
+
return raw;
|
|
20200
|
+
});
|
|
20194
20201
|
__privateAdd(this, _EmitStateChange, (runnerEx) => {
|
|
20195
20202
|
__privateGet(this, _debug5).call(this, chalk$1.rgb(10, 50, 200)` ==>> Runner State Change: [${runnerEx.workerId}] RunnerId: [${runnerEx.id}] State: [${runnerEx.state}]`);
|
|
20196
20203
|
const stateChangeRetVal = {
|
|
@@ -20310,6 +20317,13 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
|
|
|
20310
20317
|
raw.archiveList = gzipSync(strToU8(JSON.stringify(raw.archiveList)));
|
|
20311
20318
|
return raw;
|
|
20312
20319
|
});
|
|
20320
|
+
__publicField(this, "GetArchiveListNoZip", async (runnerSearchFilters) => {
|
|
20321
|
+
const raw = __privateGet(this, _EmitEvent).call(this, "GetArchiveList", __privateGet(this, _LogPayloadEventRetVal).call(this, {
|
|
20322
|
+
...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetArchiveList, IEventReturnValueBaseType.archiveList),
|
|
20323
|
+
archiveList: await __privateGet(this, _wm).GetArchiveList(runnerSearchFilters)
|
|
20324
|
+
}));
|
|
20325
|
+
return raw;
|
|
20326
|
+
});
|
|
20313
20327
|
// d.workers = JSON.parse(strFromU8(decompressSync(d.workers as any)));
|
|
20314
20328
|
__publicField(this, "GetWorkers", async () => {
|
|
20315
20329
|
const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkers", __privateGet(this, _LogPayloadEventRetVal).call(this, {
|
|
@@ -20319,6 +20333,13 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
|
|
|
20319
20333
|
raw.workers = gzipSync(strToU8(JSON.stringify(raw.workers)));
|
|
20320
20334
|
return raw;
|
|
20321
20335
|
});
|
|
20336
|
+
__publicField(this, "GetWorkersNoZip", async () => {
|
|
20337
|
+
const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkers", __privateGet(this, _LogPayloadEventRetVal).call(this, {
|
|
20338
|
+
...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetWorkers, IEventReturnValueBaseType.workers),
|
|
20339
|
+
workers: await __privateGet(this, _wm).GetWorkers()
|
|
20340
|
+
}));
|
|
20341
|
+
return raw;
|
|
20342
|
+
});
|
|
20322
20343
|
// d.workers = JSON.parse(strFromU8(decompressSync(d.workers as any)));
|
|
20323
20344
|
__publicField(this, "GetWorkersSmall", async (states) => {
|
|
20324
20345
|
const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkersSmall", __privateGet(this, _LogPayloadEventRetVal).call(this, {
|
|
@@ -20328,6 +20349,13 @@ class ServiceInstance extends tinyEmitterExports.TinyEmitter {
|
|
|
20328
20349
|
raw.workers = gzipSync(strToU8(JSON.stringify(raw.workers)));
|
|
20329
20350
|
return raw;
|
|
20330
20351
|
});
|
|
20352
|
+
__publicField(this, "GetWorkersSmallNoZip", async (states) => {
|
|
20353
|
+
const raw = __privateGet(this, _EmitEvent).call(this, "GetWorkersSmall", __privateGet(this, _LogPayloadEventRetVal).call(this, {
|
|
20354
|
+
...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.GetWorkersSmall, IEventReturnValueBaseType.workers),
|
|
20355
|
+
workers: await __privateGet(this, _wm).GetWorkersSmall(states)
|
|
20356
|
+
}));
|
|
20357
|
+
return raw;
|
|
20358
|
+
});
|
|
20331
20359
|
__publicField(this, "StartWorkers", async (workerIds) => {
|
|
20332
20360
|
return __privateGet(this, _EmitEvent).call(this, "StartWorkers", __privateGet(this, _LogPayloadEventRetVal).call(this, {
|
|
20333
20361
|
...__privateGet(this, _GetKeyPayloadData).call(this, IEventRequestCommand.StartWorkers, IEventReturnValueBaseType.executeWorkerActionResult),
|