@punks/backend-entity-manager 0.0.144 → 0.0.145
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/cjs/index.js +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/integrations/repository/typeorm/facets.d.ts +0 -1
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/integrations/repository/typeorm/facets.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -22247,8 +22247,10 @@ class TypeOrmQueryBuilder extends QueryBuilderBase {
|
|
|
22247
22247
|
.orderBy(field)
|
|
22248
22248
|
.getRawMany();
|
|
22249
22249
|
return {
|
|
22250
|
-
|
|
22251
|
-
|
|
22250
|
+
values: results.map((x) => ({
|
|
22251
|
+
value: x.value,
|
|
22252
|
+
count: Number(x.count),
|
|
22253
|
+
})),
|
|
22252
22254
|
};
|
|
22253
22255
|
}
|
|
22254
22256
|
async calculateStringFieldFacets(field, request, context) {
|