@backstage/plugin-catalog-backend 1.1.2-next.0 → 1.1.2-next.1
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/CHANGELOG.md +8 -0
- package/alpha/package.json +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-backend
|
|
2
2
|
|
|
3
|
+
## 1.1.2-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1ccbe081cc: Minor internal tweak to support TypeScript 4.6
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @backstage/backend-common@0.13.3-next.1
|
|
10
|
+
|
|
3
11
|
## 1.1.2-next.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/alpha/package.json
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -2079,11 +2079,11 @@ class DefaultEntitiesCatalog {
|
|
|
2079
2079
|
}
|
|
2080
2080
|
async entities(request) {
|
|
2081
2081
|
const db = this.database;
|
|
2082
|
-
let entitiesQuery = db("final_entities");
|
|
2082
|
+
let entitiesQuery = db("final_entities").select("final_entities.*");
|
|
2083
2083
|
if (request == null ? void 0 : request.filter) {
|
|
2084
2084
|
entitiesQuery = parseFilter(request.filter, entitiesQuery, db);
|
|
2085
2085
|
}
|
|
2086
|
-
entitiesQuery = entitiesQuery.
|
|
2086
|
+
entitiesQuery = entitiesQuery.whereNotNull("final_entities.final_entity").orderBy("entity_id", "asc");
|
|
2087
2087
|
const { limit, offset } = parsePagination(request == null ? void 0 : request.pagination);
|
|
2088
2088
|
if (limit !== void 0) {
|
|
2089
2089
|
entitiesQuery = entitiesQuery.limit(limit + 1);
|