@mamindom/contracts 1.0.67 → 1.0.68

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.
@@ -14,5 +14,7 @@ export interface PaginationMeta {
14
14
  totalPages: number;
15
15
  currentPage: number;
16
16
  perPage: number;
17
+ priceMin?: number | undefined;
18
+ priceMax?: number | undefined;
17
19
  }
18
20
  export declare const CATALOG_V1_PACKAGE_NAME = "catalog.v1";
@@ -17,8 +17,10 @@ message PaginationRequest {
17
17
  }
18
18
 
19
19
  message PaginationMeta {
20
- int32 total_items = 1;
21
- int32 total_pages = 2;
20
+ int32 total_items = 1;
21
+ int32 total_pages = 2;
22
22
  int32 current_page = 3;
23
- int32 per_page = 4;
23
+ int32 per_page = 4;
24
+ optional double price_min = 5;
25
+ optional double price_max = 6;
24
26
  }
package/gen/common.ts CHANGED
@@ -26,6 +26,8 @@ export interface PaginationMeta {
26
26
  totalPages: number;
27
27
  currentPage: number;
28
28
  perPage: number;
29
+ priceMin?: number | undefined;
30
+ priceMax?: number | undefined;
29
31
  }
30
32
 
31
33
  export const CATALOG_V1_PACKAGE_NAME = "catalog.v1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.67",
4
+ "version": "1.0.68",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
@@ -17,8 +17,10 @@ message PaginationRequest {
17
17
  }
18
18
 
19
19
  message PaginationMeta {
20
- int32 total_items = 1;
21
- int32 total_pages = 2;
20
+ int32 total_items = 1;
21
+ int32 total_pages = 2;
22
22
  int32 current_page = 3;
23
- int32 per_page = 4;
23
+ int32 per_page = 4;
24
+ optional double price_min = 5;
25
+ optional double price_max = 6;
24
26
  }