bruce-models 7.1.36 → 7.1.37
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 -6
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +12 -6
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/assembly/assembly.js +11 -5
- package/dist/lib/assembly/assembly.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/types/assembly/assembly.d.ts +1 -0
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -1926,7 +1926,8 @@
|
|
|
1926
1926
|
parentId: params.parentId,
|
|
1927
1927
|
search: params.search,
|
|
1928
1928
|
withTilesets: params.withTilesets,
|
|
1929
|
-
rootEntityId: params.rootEntityId
|
|
1929
|
+
rootEntityId: params.rootEntityId,
|
|
1930
|
+
entityTypeId: params.entityTypeId
|
|
1930
1931
|
});
|
|
1931
1932
|
assemblies.push(...result.assemblies);
|
|
1932
1933
|
}
|
|
@@ -1960,10 +1961,10 @@
|
|
|
1960
1961
|
for (let i = 0; i < params.ids.length; i++) {
|
|
1961
1962
|
urlParams.append("ID", String(params.ids[i]));
|
|
1962
1963
|
}
|
|
1963
|
-
if (params.pageIndex
|
|
1964
|
+
if (params.pageIndex == null) {
|
|
1964
1965
|
urlParams.append("PageIndex", String(0));
|
|
1965
1966
|
}
|
|
1966
|
-
if (params.pageSize
|
|
1967
|
+
if (params.pageSize == null) {
|
|
1967
1968
|
urlParams.append("PageSize", String(params.ids.length));
|
|
1968
1969
|
}
|
|
1969
1970
|
}
|
|
@@ -1971,13 +1972,18 @@
|
|
|
1971
1972
|
for (let i = 0; i < params.rootEntityId.length; i++) {
|
|
1972
1973
|
urlParams.append("RootEntityID", params.rootEntityId[i]);
|
|
1973
1974
|
}
|
|
1974
|
-
if (params.pageIndex
|
|
1975
|
+
if (params.pageIndex == null) {
|
|
1975
1976
|
urlParams.append("PageIndex", String(0));
|
|
1976
1977
|
}
|
|
1977
|
-
if (params.pageSize
|
|
1978
|
+
if (params.pageSize == null) {
|
|
1978
1979
|
urlParams.append("PageSize", String(params.rootEntityId.length));
|
|
1979
1980
|
}
|
|
1980
1981
|
}
|
|
1982
|
+
if (params.entityTypeId != null) {
|
|
1983
|
+
for (let i = 0; i < params.entityTypeId.length; i++) {
|
|
1984
|
+
urlParams.append("EntityTypeID", params.entityTypeId[i]);
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1981
1987
|
url += "?" + urlParams.toString();
|
|
1982
1988
|
const data = yield api.GET(url, exports.Api.PrepReqParams(reqParams));
|
|
1983
1989
|
const result = {};
|
|
@@ -17910,7 +17916,7 @@
|
|
|
17910
17916
|
})(exports.ChangeSet || (exports.ChangeSet = {}));
|
|
17911
17917
|
|
|
17912
17918
|
// This is updated with the package.json version on build.
|
|
17913
|
-
const VERSION = "7.1.
|
|
17919
|
+
const VERSION = "7.1.37";
|
|
17914
17920
|
|
|
17915
17921
|
exports.VERSION = VERSION;
|
|
17916
17922
|
exports.AbstractApi = AbstractApi;
|