@punks/backend-entity-manager 0.0.317 → 0.0.318

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.
@@ -2,6 +2,7 @@ import { SortingType } from "./common";
2
2
  import { IEntitySearchParameters } from "./searchParameters";
3
3
  export interface IEntityFacetValue<T> {
4
4
  value: T;
5
+ label: string;
5
6
  count: number;
6
7
  }
7
8
  export interface IEntityFacet<T> {
@@ -1,6 +1,7 @@
1
1
  import { IEntityFacet, IEntityFacetValue } from "../../../../../../abstractions";
2
2
  export declare class NumericFacetValue implements IEntityFacetValue<number> {
3
3
  value: number;
4
+ label: string;
4
5
  count: number;
5
6
  }
6
7
  export declare class NumericFacets implements IEntityFacet<number> {
@@ -8,6 +9,7 @@ export declare class NumericFacets implements IEntityFacet<number> {
8
9
  }
9
10
  export declare class BooleanFacetValue implements IEntityFacetValue<boolean> {
10
11
  value: boolean;
12
+ label: string;
11
13
  count: number;
12
14
  }
13
15
  export declare class BooleanFacet implements IEntityFacet<boolean> {
@@ -15,6 +17,7 @@ export declare class BooleanFacet implements IEntityFacet<boolean> {
15
17
  }
16
18
  export declare class StringFacetValue implements IEntityFacetValue<string> {
17
19
  value: string;
20
+ label: string;
18
21
  count: number;
19
22
  }
20
23
  export declare class StringFacets implements IEntityFacet<string> {
@@ -2,6 +2,7 @@ import { SortingType } from "./common";
2
2
  import { IEntitySearchParameters } from "./searchParameters";
3
3
  export interface IEntityFacetValue<T> {
4
4
  value: T;
5
+ label: string;
5
6
  count: number;
6
7
  }
7
8
  export interface IEntityFacet<T> {
@@ -1,6 +1,7 @@
1
1
  import { IEntityFacet, IEntityFacetValue } from "../../../../../../abstractions";
2
2
  export declare class NumericFacetValue implements IEntityFacetValue<number> {
3
3
  value: number;
4
+ label: string;
4
5
  count: number;
5
6
  }
6
7
  export declare class NumericFacets implements IEntityFacet<number> {
@@ -8,6 +9,7 @@ export declare class NumericFacets implements IEntityFacet<number> {
8
9
  }
9
10
  export declare class BooleanFacetValue implements IEntityFacetValue<boolean> {
10
11
  value: boolean;
12
+ label: string;
11
13
  count: number;
12
14
  }
13
15
  export declare class BooleanFacet implements IEntityFacet<boolean> {
@@ -15,6 +17,7 @@ export declare class BooleanFacet implements IEntityFacet<boolean> {
15
17
  }
16
18
  export declare class StringFacetValue implements IEntityFacetValue<string> {
17
19
  value: string;
20
+ label: string;
18
21
  count: number;
19
22
  }
20
23
  export declare class StringFacets implements IEntityFacet<string> {
package/dist/index.d.ts CHANGED
@@ -312,6 +312,7 @@ interface IEntityUpsertByCommand<TEntity, TEntityFilters extends ISearchFilters>
312
312
 
313
313
  interface IEntityFacetValue<T> {
314
314
  value: T;
315
+ label: string;
315
316
  count: number;
316
317
  }
317
318
  interface IEntityFacet<T> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.317",
3
+ "version": "0.0.318",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",