bruce-models 7.1.66 → 7.1.67
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 +10 -4
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +10 -4
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/client-file/client-file.js +9 -3
- package/dist/lib/client-file/client-file.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -8770,12 +8770,12 @@
|
|
|
8770
8770
|
if (cache === null || cache === void 0 ? void 0 : cache.found) {
|
|
8771
8771
|
return cache.data;
|
|
8772
8772
|
}
|
|
8773
|
+
// Hack: API isn't returning the right file so we're adding to page size and filtering again on client. Patch ASAP.
|
|
8773
8774
|
const prom = (() => __awaiter(this, void 0, void 0, function* () {
|
|
8774
|
-
var _a;
|
|
8775
8775
|
const res = yield GetList({
|
|
8776
8776
|
api,
|
|
8777
8777
|
filter: {
|
|
8778
|
-
PageSize:
|
|
8778
|
+
PageSize: 300,
|
|
8779
8779
|
PageIndex: 0,
|
|
8780
8780
|
Purpose: "Polygon Texture",
|
|
8781
8781
|
FilterRows: [
|
|
@@ -8801,7 +8801,13 @@
|
|
|
8801
8801
|
},
|
|
8802
8802
|
req: reqParams
|
|
8803
8803
|
});
|
|
8804
|
-
|
|
8804
|
+
const match = (res.clientFiles || []).find((file) => {
|
|
8805
|
+
var _a;
|
|
8806
|
+
const generation = (_a = file === null || file === void 0 ? void 0 : file.Data) === null || _a === void 0 ? void 0 : _a.generation;
|
|
8807
|
+
return ((generation === null || generation === void 0 ? void 0 : generation["EntityType.Source.ID"]) === entityTypeSourceId &&
|
|
8808
|
+
(generation === null || generation === void 0 ? void 0 : generation.Attribute) === attribute);
|
|
8809
|
+
});
|
|
8810
|
+
return match || null;
|
|
8805
8811
|
}))();
|
|
8806
8812
|
api.SetCacheItem({
|
|
8807
8813
|
key,
|
|
@@ -19228,7 +19234,7 @@
|
|
|
19228
19234
|
})(exports.UrlUtils || (exports.UrlUtils = {}));
|
|
19229
19235
|
|
|
19230
19236
|
// This is updated with the package.json version on build.
|
|
19231
|
-
const VERSION = "7.1.
|
|
19237
|
+
const VERSION = "7.1.67";
|
|
19232
19238
|
|
|
19233
19239
|
exports.VERSION = VERSION;
|
|
19234
19240
|
exports.AbstractApi = AbstractApi;
|