bruce-models 6.7.5 → 6.7.6
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 -2
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +12 -2
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/project/project-view.js +11 -1
- package/dist/lib/project/project-view.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
|
@@ -10972,6 +10972,10 @@
|
|
|
10972
10972
|
if (!api) {
|
|
10973
10973
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
10974
10974
|
}
|
|
10975
|
+
// Same thing but keeps cache keys consistent.
|
|
10976
|
+
if (expand === true) {
|
|
10977
|
+
expand = "*";
|
|
10978
|
+
}
|
|
10975
10979
|
const key = GetCacheKey(viewId, bookmarkId, expand);
|
|
10976
10980
|
const cache = api.GetCacheItem(key, reqParams);
|
|
10977
10981
|
if (cache === null || cache === void 0 ? void 0 : cache.found) {
|
|
@@ -10983,8 +10987,14 @@
|
|
|
10983
10987
|
if (viewId) {
|
|
10984
10988
|
url += viewId;
|
|
10985
10989
|
}
|
|
10986
|
-
|
|
10990
|
+
let added = false;
|
|
10991
|
+
if (bookmarkId) {
|
|
10987
10992
|
url += "?SlideID=" + encodeURIComponent(bookmarkId);
|
|
10993
|
+
added = true;
|
|
10994
|
+
}
|
|
10995
|
+
if (expand) {
|
|
10996
|
+
url += (added ? "&" : "?") + "Expand=" + encodeURIComponent(expand);
|
|
10997
|
+
added = true;
|
|
10988
10998
|
}
|
|
10989
10999
|
const data = yield api.GET(url, exports.Api.PrepReqParams(reqParams));
|
|
10990
11000
|
res({
|
|
@@ -16127,7 +16137,7 @@
|
|
|
16127
16137
|
})(exports.Tracking || (exports.Tracking = {}));
|
|
16128
16138
|
|
|
16129
16139
|
// This is updated with the package.json version on build.
|
|
16130
|
-
const VERSION = "6.7.
|
|
16140
|
+
const VERSION = "6.7.6";
|
|
16131
16141
|
|
|
16132
16142
|
exports.VERSION = VERSION;
|
|
16133
16143
|
exports.AbstractApi = AbstractApi;
|