@mamindom/contracts 1.0.117 → 1.0.118

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.
@@ -17,6 +17,8 @@ export interface BrandResponse {
17
17
  };
18
18
  guid1c?: string | undefined;
19
19
  imageId?: string | undefined;
20
+ /** Кількість АКТИВНИХ товарів бренду (для shop UI). */
21
+ productCount: number;
20
22
  }
21
23
  export interface BrandResponse_DescriptionEntry {
22
24
  key: string;
@@ -21,14 +21,17 @@ message BrandResponse {
21
21
  string slug = 2;
22
22
  string name = 3;
23
23
  optional string image = 4;
24
-
25
-
24
+
25
+
26
26
  map<string, string> description = 5;
27
27
  map<string, string> meta_title = 6;
28
28
  map<string, string> meta_description = 7;
29
-
29
+
30
30
  optional string guid_1c = 8;
31
31
  optional string image_id = 9;
32
+
33
+ // Кількість АКТИВНИХ товарів бренду (для shop UI).
34
+ int32 product_count = 10;
32
35
  }
33
36
 
34
37
 
package/gen/brand.ts CHANGED
@@ -20,7 +20,11 @@ export interface BrandResponse {
20
20
  metaTitle: { [key: string]: string };
21
21
  metaDescription: { [key: string]: string };
22
22
  guid1c?: string | undefined;
23
- imageId?: string | undefined;
23
+ imageId?:
24
+ | string
25
+ | undefined;
26
+ /** Кількість АКТИВНИХ товарів бренду (для shop UI). */
27
+ productCount: number;
24
28
  }
25
29
 
26
30
  export interface BrandResponse_DescriptionEntry {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mamindom/contracts",
3
3
  "description": "proto",
4
- "version": "1.0.117",
4
+ "version": "1.0.118",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
7
7
  "exports": {
package/proto/brand.proto CHANGED
@@ -21,14 +21,17 @@ message BrandResponse {
21
21
  string slug = 2;
22
22
  string name = 3;
23
23
  optional string image = 4;
24
-
25
-
24
+
25
+
26
26
  map<string, string> description = 5;
27
27
  map<string, string> meta_title = 6;
28
28
  map<string, string> meta_description = 7;
29
-
29
+
30
30
  optional string guid_1c = 8;
31
31
  optional string image_id = 9;
32
+
33
+ // Кількість АКТИВНИХ товарів бренду (для shop UI).
34
+ int32 product_count = 10;
32
35
  }
33
36
 
34
37