bruce-models 4.4.6 → 4.4.7
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/bruce-models.es5.js +12 -4
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +12 -4
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/data-lab/data-lab.js +11 -3
- package/dist/lib/data-lab/data-lab.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/data-lab/data-lab.d.ts +3 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -12398,7 +12398,7 @@
|
|
|
12398
12398
|
*/
|
|
12399
12399
|
function Run(params) {
|
|
12400
12400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12401
|
-
let { api, query, key, skip, load, req: reqParams, migrated } = params;
|
|
12401
|
+
let { api, query, key, skip, load, req: reqParams, migrated, analysis } = params;
|
|
12402
12402
|
if (!api) {
|
|
12403
12403
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
12404
12404
|
}
|
|
@@ -12411,12 +12411,20 @@
|
|
|
12411
12411
|
if (!load) {
|
|
12412
12412
|
load = 50;
|
|
12413
12413
|
}
|
|
12414
|
-
|
|
12414
|
+
let url = null;
|
|
12415
|
+
if (analysis) {
|
|
12416
|
+
url = "entities/datalab/getMatchesCount/PrimarySelection";
|
|
12417
|
+
}
|
|
12418
|
+
else {
|
|
12419
|
+
url = `entities/datalab/getMatchingEntities/${key}?skip=${skip}&load=${load}&hasMigrated=${Boolean(migrated)}`;
|
|
12420
|
+
}
|
|
12421
|
+
const req = api.POST(url, query, exports.Api.PrepReqParams(reqParams));
|
|
12415
12422
|
const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
|
|
12416
12423
|
try {
|
|
12417
12424
|
const data = yield req;
|
|
12418
12425
|
res({
|
|
12419
|
-
entities: data.Items
|
|
12426
|
+
entities: data.Items,
|
|
12427
|
+
totalCount: data.MatchesCount
|
|
12420
12428
|
});
|
|
12421
12429
|
}
|
|
12422
12430
|
catch (e) {
|
|
@@ -13349,7 +13357,7 @@
|
|
|
13349
13357
|
})(exports.DataSource || (exports.DataSource = {}));
|
|
13350
13358
|
|
|
13351
13359
|
// This is updated with the package.json version on build.
|
|
13352
|
-
const VERSION = "4.4.
|
|
13360
|
+
const VERSION = "4.4.7";
|
|
13353
13361
|
|
|
13354
13362
|
exports.VERSION = VERSION;
|
|
13355
13363
|
exports.AbstractApi = AbstractApi;
|