@barumetric/contracts 1.2.3 → 1.2.4
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/gen/ts/categories.ts +0 -4
- package/package.json +2 -2
- package/proto/categories.proto +0 -2
package/gen/ts/categories.ts
CHANGED
|
@@ -35,10 +35,6 @@ export interface GetCategoryRequest {
|
|
|
35
35
|
export interface GetCategoryAttributesRequest {
|
|
36
36
|
/** ID категории */
|
|
37
37
|
categoryId: string;
|
|
38
|
-
/** Только фильтруемые атрибуты (для фильтров на фронте) */
|
|
39
|
-
onlyFilterable: boolean;
|
|
40
|
-
/** Включить наследуемые атрибуты от родительских категорий */
|
|
41
|
-
includeInherited: boolean;
|
|
42
38
|
}
|
|
43
39
|
|
|
44
40
|
/** Ответы */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@barumetric/contracts",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Protobuf definitions and generated TypeScript types",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"dist",
|
|
13
13
|
"proto",
|
|
14
14
|
"gen"
|
|
15
|
-
|
|
16
15
|
],
|
|
17
16
|
"publishConfig": {
|
|
18
17
|
"access": "public"
|
|
19
18
|
},
|
|
20
19
|
"dependencies": {
|
|
20
|
+
"@barumetric/contracts": "^1.2.3",
|
|
21
21
|
"@nestjs/microservices": "^11.1.9",
|
|
22
22
|
"rxjs": "^7.8.2",
|
|
23
23
|
"ts-proto": "^2.8.3"
|
package/proto/categories.proto
CHANGED
|
@@ -22,8 +22,6 @@ message GetCategoryRequest {
|
|
|
22
22
|
|
|
23
23
|
message GetCategoryAttributesRequest {
|
|
24
24
|
string category_id = 1; // ID категории
|
|
25
|
-
bool only_filterable = 2; // Только фильтруемые атрибуты (для фильтров на фронте)
|
|
26
|
-
bool include_inherited = 3; // Включить наследуемые атрибуты от родительских категорий
|
|
27
25
|
}
|
|
28
26
|
|
|
29
27
|
// Ответы
|