@nsshunt/stsrunnerframework 1.0.50 → 1.0.52
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/stsrunnerframework.mjs +8 -8
- package/dist/stsrunnerframework.mjs.map +1 -1
- package/dist/stsrunnerframework.umd.js +8 -8
- package/dist/stsrunnerframework.umd.js.map +1 -1
- package/package.json +2 -2
- package/types/commonTypes.d.ts +3 -2
- package/types/commonTypes.d.ts.map +1 -1
- package/types/rest01Client.d.ts.map +1 -1
|
@@ -7752,7 +7752,7 @@ class STSRest01Client {
|
|
|
7752
7752
|
});
|
|
7753
7753
|
__publicField$1(this, "PostEntity", async (resourceEntity, errorCb) => {
|
|
7754
7754
|
var _a;
|
|
7755
|
-
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7755
|
+
return ((_a = await this.PostEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7756
7756
|
});
|
|
7757
7757
|
__publicField$1(this, "PutEntityAR", async (entity, errorCb) => {
|
|
7758
7758
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${entity.resname}/entities/${entity.entname}`;
|
|
@@ -7764,7 +7764,7 @@ class STSRest01Client {
|
|
|
7764
7764
|
});
|
|
7765
7765
|
__publicField$1(this, "PutEntity", async (resourceEntity, errorCb) => {
|
|
7766
7766
|
var _a;
|
|
7767
|
-
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7767
|
+
return ((_a = await this.PutEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7768
7768
|
});
|
|
7769
7769
|
__publicField$1(this, "PatchEntityAR", async (resourceEntity, errorCb) => {
|
|
7770
7770
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
@@ -7776,7 +7776,7 @@ class STSRest01Client {
|
|
|
7776
7776
|
});
|
|
7777
7777
|
__publicField$1(this, "PatchEntity", async (resourceEntity, errorCb) => {
|
|
7778
7778
|
var _a;
|
|
7779
|
-
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7779
|
+
return ((_a = await this.PatchEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7780
7780
|
});
|
|
7781
7781
|
__publicField$1(this, "DeleteEntityAR", async (resourceEntity, errorCb) => {
|
|
7782
7782
|
const url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
@@ -7788,7 +7788,7 @@ class STSRest01Client {
|
|
|
7788
7788
|
});
|
|
7789
7789
|
__publicField$1(this, "DeleteEntity", async (resourceEntity, errorCb) => {
|
|
7790
7790
|
var _a;
|
|
7791
|
-
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.
|
|
7791
|
+
return ((_a = await this.DeleteEntityDBR(resourceEntity, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7792
7792
|
});
|
|
7793
7793
|
__publicField$1(this, "GetEntityAR", async (resourceEntity, filters, errorCb) => {
|
|
7794
7794
|
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resourceEntity.resname}/entities/${resourceEntity.entname}`;
|
|
@@ -7803,7 +7803,7 @@ class STSRest01Client {
|
|
|
7803
7803
|
});
|
|
7804
7804
|
__publicField$1(this, "GetEntity", async (resourceEntity, filters, errorCb) => {
|
|
7805
7805
|
var _a;
|
|
7806
|
-
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.
|
|
7806
|
+
return ((_a = await this.GetEntityDBR(resourceEntity, filters, errorCb)) == null ? void 0 : _a.entvalue) ?? null;
|
|
7807
7807
|
});
|
|
7808
7808
|
__publicField$1(this, "GetEntitiesAR", async (resource, filters, errorCb) => {
|
|
7809
7809
|
let url = `${__privateGet$1(this, _options2$1).endpoint}${goptions$1.rest01apiroot}/resources/${resource.resname}/entities`;
|
|
@@ -7818,7 +7818,7 @@ class STSRest01Client {
|
|
|
7818
7818
|
});
|
|
7819
7819
|
__publicField$1(this, "GetEntities", async (resource, filters, errorCb) => {
|
|
7820
7820
|
var _a;
|
|
7821
|
-
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.
|
|
7821
|
+
return ((_a = await this.GetEntitiesDBR(resource, filters, errorCb)) == null ? void 0 : _a.map((r) => r.entvalue)) ?? null;
|
|
7822
7822
|
});
|
|
7823
7823
|
__privateSet$1(this, _options2$1, options);
|
|
7824
7824
|
__privateSet$1(this, _axiosClient, new AxiosClient({
|
|
@@ -22962,7 +22962,7 @@ class Rest01Client {
|
|
|
22962
22962
|
const resourceTestRunnerMetadata = {
|
|
22963
22963
|
lastRefresh: Math.floor(Date.now() / 1e3),
|
|
22964
22964
|
resname: `${STS_RF_RES_PREFIX}${worker.id}`,
|
|
22965
|
-
data:
|
|
22965
|
+
data: worker.workerThreadWorkerOptions
|
|
22966
22966
|
};
|
|
22967
22967
|
return await __privateGet(this, _rest01Client).PostResource(resourceTestRunnerMetadata, (error) => {
|
|
22968
22968
|
defaultLogger.error(`Rest01Client:AddResource.PostResource.Error(): [${error}]`);
|
|
@@ -22973,7 +22973,7 @@ class Rest01Client {
|
|
|
22973
22973
|
lastRefresh: Math.floor(Date.now() / 1e3),
|
|
22974
22974
|
resname: `${STS_RF_RES_PREFIX}${workerId}`,
|
|
22975
22975
|
entname: `${STS_RF_RES_ENT_PREFIX}${runner.id}`,
|
|
22976
|
-
data:
|
|
22976
|
+
data: runner.asyncRunnerContext
|
|
22977
22977
|
};
|
|
22978
22978
|
return await __privateGet(this, _rest01Client).PostEntity(resourceEntityTestRunnerMetadata, (error) => {
|
|
22979
22979
|
defaultLogger.error(`WorkerInstance: #AddRunner.PostEntity.Error(): [${error}]`);
|