@mamindom/contracts 1.0.176 → 1.0.178
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/gen/attribute.d.ts +4 -0
- package/dist/gen/shop_filters.d.ts +3 -0
- package/dist/proto/attribute.proto +4 -0
- package/dist/proto/brand.proto +2 -2
- package/dist/proto/category.proto +3 -3
- package/dist/proto/shop_filters.proto +4 -0
- package/gen/attribute.ts +4 -0
- package/gen/shop_filters.ts +6 -1
- package/package.json +1 -1
- package/proto/attribute.proto +4 -0
- package/proto/brand.proto +2 -2
- package/proto/category.proto +3 -3
- package/proto/shop_filters.proto +4 -0
package/dist/gen/attribute.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface AttributeSyncItem {
|
|
|
18
18
|
};
|
|
19
19
|
isColor: boolean;
|
|
20
20
|
values: AttributeSyncValueItem[];
|
|
21
|
+
isSize: boolean;
|
|
21
22
|
}
|
|
22
23
|
export interface AttributeSyncItem_NameEntry {
|
|
23
24
|
key: string;
|
|
@@ -117,6 +118,7 @@ export interface AttributeResponse {
|
|
|
117
118
|
sortOrder: number;
|
|
118
119
|
guid1c?: string | undefined;
|
|
119
120
|
isFilterable: boolean;
|
|
121
|
+
kind: string;
|
|
120
122
|
}
|
|
121
123
|
export interface AttributeResponse_NameEntry {
|
|
122
124
|
key: string;
|
|
@@ -144,6 +146,7 @@ export interface CreateAttributeRequest {
|
|
|
144
146
|
sortOrder: number;
|
|
145
147
|
guid1c?: string | undefined;
|
|
146
148
|
isFilterable: boolean;
|
|
149
|
+
kind?: string | undefined;
|
|
147
150
|
}
|
|
148
151
|
export interface CreateAttributeRequest_NameEntry {
|
|
149
152
|
key: string;
|
|
@@ -159,6 +162,7 @@ export interface UpdateAttributeRequest {
|
|
|
159
162
|
displayType?: string | undefined;
|
|
160
163
|
sortOrder?: number | undefined;
|
|
161
164
|
isFilterable?: boolean | undefined;
|
|
165
|
+
kind?: string | undefined;
|
|
162
166
|
}
|
|
163
167
|
export interface UpdateAttributeRequest_NameEntry {
|
|
164
168
|
key: string;
|
|
@@ -35,6 +35,9 @@ export interface ShopFilterOption {
|
|
|
35
35
|
label: string;
|
|
36
36
|
count: number;
|
|
37
37
|
slug?: string | undefined;
|
|
38
|
+
/** Для розмірів: атрибут-джерело значення (вкладки у фільтрі «Розмір»). */
|
|
39
|
+
groupSlug?: string | undefined;
|
|
40
|
+
groupLabel?: string | undefined;
|
|
38
41
|
}
|
|
39
42
|
export interface ShopFilterColorOption {
|
|
40
43
|
value: string;
|
|
@@ -40,6 +40,7 @@ message AttributeSyncItem {
|
|
|
40
40
|
map<string, string> name = 2;
|
|
41
41
|
bool is_color = 3;
|
|
42
42
|
repeated AttributeSyncValueItem values = 4;
|
|
43
|
+
bool is_size = 5;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
message UpsertAttributesRequest {
|
|
@@ -122,6 +123,7 @@ message AttributeResponse {
|
|
|
122
123
|
int32 sort_order = 6;
|
|
123
124
|
optional string guid1c = 7;
|
|
124
125
|
bool is_filterable = 8;
|
|
126
|
+
string kind = 9;
|
|
125
127
|
}
|
|
126
128
|
|
|
127
129
|
message GetAttributesRequest {
|
|
@@ -147,6 +149,7 @@ message CreateAttributeRequest {
|
|
|
147
149
|
int32 sort_order = 5;
|
|
148
150
|
optional string guid1c = 6;
|
|
149
151
|
bool is_filterable = 7;
|
|
152
|
+
optional string kind = 8;
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
message UpdateAttributeRequest {
|
|
@@ -157,6 +160,7 @@ message UpdateAttributeRequest {
|
|
|
157
160
|
optional string display_type = 5;
|
|
158
161
|
optional int32 sort_order = 6;
|
|
159
162
|
optional bool is_filterable = 7;
|
|
163
|
+
optional string kind = 8;
|
|
160
164
|
}
|
|
161
165
|
|
|
162
166
|
message DeleteAttributeRequest {
|
package/dist/proto/brand.proto
CHANGED
|
@@ -46,7 +46,7 @@ message BrandResponse {
|
|
|
46
46
|
map<string, string> meta_title = 6;
|
|
47
47
|
map<string, string> meta_description = 7;
|
|
48
48
|
|
|
49
|
-
optional string
|
|
49
|
+
optional string guid1c = 8;
|
|
50
50
|
optional string image_id = 9;
|
|
51
51
|
|
|
52
52
|
int32 product_count = 10;
|
|
@@ -77,7 +77,7 @@ message CreateBrandRequest {
|
|
|
77
77
|
map<string, string> meta_title = 5;
|
|
78
78
|
map<string, string> meta_description = 6;
|
|
79
79
|
|
|
80
|
-
optional string
|
|
80
|
+
optional string guid1c = 7;
|
|
81
81
|
optional string image_id = 8;
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -59,7 +59,7 @@ message CategoryLight {
|
|
|
59
59
|
int32 sort_order = 6;
|
|
60
60
|
map<string, string> name = 7;
|
|
61
61
|
optional string image_id = 8;
|
|
62
|
-
optional string
|
|
62
|
+
optional string guid1c = 9;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
message GetAllCategoriesLightResponse {
|
|
@@ -98,7 +98,7 @@ message CategoryResponse {
|
|
|
98
98
|
map<string, string> meta_keywords = 11;
|
|
99
99
|
map<string, string> meta_h1 = 12;
|
|
100
100
|
|
|
101
|
-
optional string
|
|
101
|
+
optional string guid1c = 13;
|
|
102
102
|
optional string image_id = 14;
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -122,7 +122,7 @@ message CreateCategoryRequest {
|
|
|
122
122
|
map<string, string> meta_keywords = 10;
|
|
123
123
|
map<string, string> meta_h1 = 11;
|
|
124
124
|
|
|
125
|
-
optional string
|
|
125
|
+
optional string guid1c = 12;
|
|
126
126
|
optional string image_id = 13;
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -62,6 +62,10 @@ message ShopFilterOption {
|
|
|
62
62
|
int32 count = 3;
|
|
63
63
|
|
|
64
64
|
optional string slug = 4;
|
|
65
|
+
|
|
66
|
+
// Для розмірів: атрибут-джерело значення (вкладки у фільтрі «Розмір»).
|
|
67
|
+
optional string group_slug = 5;
|
|
68
|
+
optional string group_label = 6;
|
|
65
69
|
}
|
|
66
70
|
|
|
67
71
|
message ShopFilterColorOption {
|
package/gen/attribute.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface AttributeSyncItem {
|
|
|
26
26
|
name: { [key: string]: string };
|
|
27
27
|
isColor: boolean;
|
|
28
28
|
values: AttributeSyncValueItem[];
|
|
29
|
+
isSize: boolean;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export interface AttributeSyncItem_NameEntry {
|
|
@@ -134,6 +135,7 @@ export interface AttributeResponse {
|
|
|
134
135
|
sortOrder: number;
|
|
135
136
|
guid1c?: string | undefined;
|
|
136
137
|
isFilterable: boolean;
|
|
138
|
+
kind: string;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
export interface AttributeResponse_NameEntry {
|
|
@@ -164,6 +166,7 @@ export interface CreateAttributeRequest {
|
|
|
164
166
|
sortOrder: number;
|
|
165
167
|
guid1c?: string | undefined;
|
|
166
168
|
isFilterable: boolean;
|
|
169
|
+
kind?: string | undefined;
|
|
167
170
|
}
|
|
168
171
|
|
|
169
172
|
export interface CreateAttributeRequest_NameEntry {
|
|
@@ -179,6 +182,7 @@ export interface UpdateAttributeRequest {
|
|
|
179
182
|
displayType?: string | undefined;
|
|
180
183
|
sortOrder?: number | undefined;
|
|
181
184
|
isFilterable?: boolean | undefined;
|
|
185
|
+
kind?: string | undefined;
|
|
182
186
|
}
|
|
183
187
|
|
|
184
188
|
export interface UpdateAttributeRequest_NameEntry {
|
package/gen/shop_filters.ts
CHANGED
|
@@ -47,7 +47,12 @@ export interface ShopFilterOption {
|
|
|
47
47
|
value: string;
|
|
48
48
|
label: string;
|
|
49
49
|
count: number;
|
|
50
|
-
slug?:
|
|
50
|
+
slug?:
|
|
51
|
+
| string
|
|
52
|
+
| undefined;
|
|
53
|
+
/** Для розмірів: атрибут-джерело значення (вкладки у фільтрі «Розмір»). */
|
|
54
|
+
groupSlug?: string | undefined;
|
|
55
|
+
groupLabel?: string | undefined;
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
export interface ShopFilterColorOption {
|
package/package.json
CHANGED
package/proto/attribute.proto
CHANGED
|
@@ -40,6 +40,7 @@ message AttributeSyncItem {
|
|
|
40
40
|
map<string, string> name = 2;
|
|
41
41
|
bool is_color = 3;
|
|
42
42
|
repeated AttributeSyncValueItem values = 4;
|
|
43
|
+
bool is_size = 5;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
message UpsertAttributesRequest {
|
|
@@ -122,6 +123,7 @@ message AttributeResponse {
|
|
|
122
123
|
int32 sort_order = 6;
|
|
123
124
|
optional string guid1c = 7;
|
|
124
125
|
bool is_filterable = 8;
|
|
126
|
+
string kind = 9;
|
|
125
127
|
}
|
|
126
128
|
|
|
127
129
|
message GetAttributesRequest {
|
|
@@ -147,6 +149,7 @@ message CreateAttributeRequest {
|
|
|
147
149
|
int32 sort_order = 5;
|
|
148
150
|
optional string guid1c = 6;
|
|
149
151
|
bool is_filterable = 7;
|
|
152
|
+
optional string kind = 8;
|
|
150
153
|
}
|
|
151
154
|
|
|
152
155
|
message UpdateAttributeRequest {
|
|
@@ -157,6 +160,7 @@ message UpdateAttributeRequest {
|
|
|
157
160
|
optional string display_type = 5;
|
|
158
161
|
optional int32 sort_order = 6;
|
|
159
162
|
optional bool is_filterable = 7;
|
|
163
|
+
optional string kind = 8;
|
|
160
164
|
}
|
|
161
165
|
|
|
162
166
|
message DeleteAttributeRequest {
|
package/proto/brand.proto
CHANGED
|
@@ -46,7 +46,7 @@ message BrandResponse {
|
|
|
46
46
|
map<string, string> meta_title = 6;
|
|
47
47
|
map<string, string> meta_description = 7;
|
|
48
48
|
|
|
49
|
-
optional string
|
|
49
|
+
optional string guid1c = 8;
|
|
50
50
|
optional string image_id = 9;
|
|
51
51
|
|
|
52
52
|
int32 product_count = 10;
|
|
@@ -77,7 +77,7 @@ message CreateBrandRequest {
|
|
|
77
77
|
map<string, string> meta_title = 5;
|
|
78
78
|
map<string, string> meta_description = 6;
|
|
79
79
|
|
|
80
|
-
optional string
|
|
80
|
+
optional string guid1c = 7;
|
|
81
81
|
optional string image_id = 8;
|
|
82
82
|
}
|
|
83
83
|
|
package/proto/category.proto
CHANGED
|
@@ -59,7 +59,7 @@ message CategoryLight {
|
|
|
59
59
|
int32 sort_order = 6;
|
|
60
60
|
map<string, string> name = 7;
|
|
61
61
|
optional string image_id = 8;
|
|
62
|
-
optional string
|
|
62
|
+
optional string guid1c = 9;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
message GetAllCategoriesLightResponse {
|
|
@@ -98,7 +98,7 @@ message CategoryResponse {
|
|
|
98
98
|
map<string, string> meta_keywords = 11;
|
|
99
99
|
map<string, string> meta_h1 = 12;
|
|
100
100
|
|
|
101
|
-
optional string
|
|
101
|
+
optional string guid1c = 13;
|
|
102
102
|
optional string image_id = 14;
|
|
103
103
|
}
|
|
104
104
|
|
|
@@ -122,7 +122,7 @@ message CreateCategoryRequest {
|
|
|
122
122
|
map<string, string> meta_keywords = 10;
|
|
123
123
|
map<string, string> meta_h1 = 11;
|
|
124
124
|
|
|
125
|
-
optional string
|
|
125
|
+
optional string guid1c = 12;
|
|
126
126
|
optional string image_id = 13;
|
|
127
127
|
}
|
|
128
128
|
|
package/proto/shop_filters.proto
CHANGED
|
@@ -62,6 +62,10 @@ message ShopFilterOption {
|
|
|
62
62
|
int32 count = 3;
|
|
63
63
|
|
|
64
64
|
optional string slug = 4;
|
|
65
|
+
|
|
66
|
+
// Для розмірів: атрибут-джерело значення (вкладки у фільтрі «Розмір»).
|
|
67
|
+
optional string group_slug = 5;
|
|
68
|
+
optional string group_label = 6;
|
|
65
69
|
}
|
|
66
70
|
|
|
67
71
|
message ShopFilterColorOption {
|