@barumetric/contracts 1.3.1 → 1.3.2
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 +2 -8
- package/package.json +1 -1
- package/proto/categories.proto +10 -16
package/gen/ts/categories.ts
CHANGED
|
@@ -96,6 +96,7 @@ export interface CreateCategoryResponse {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export interface UpdateCategoryRequest {
|
|
99
|
+
id: string;
|
|
99
100
|
name: string;
|
|
100
101
|
slug: string;
|
|
101
102
|
description?: string | undefined;
|
|
@@ -111,14 +112,7 @@ export interface UpdateCategoryResponse {
|
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
export interface DeleteCategoryRequest {
|
|
114
|
-
|
|
115
|
-
slug: string;
|
|
116
|
-
description?: string | undefined;
|
|
117
|
-
parentId?: string | undefined;
|
|
118
|
-
sortOrder: number;
|
|
119
|
-
isActive: boolean;
|
|
120
|
-
iconUrl?: string | undefined;
|
|
121
|
-
bannerUrl?: string | undefined;
|
|
115
|
+
id: string;
|
|
122
116
|
}
|
|
123
117
|
|
|
124
118
|
export interface DeleteCategoryResponse {
|
package/package.json
CHANGED
package/proto/categories.proto
CHANGED
|
@@ -85,14 +85,15 @@ message CreateCategoryResponse {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
message UpdateCategoryRequest {
|
|
88
|
-
string
|
|
89
|
-
string
|
|
90
|
-
|
|
91
|
-
optional string
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
optional string
|
|
88
|
+
string id = 1;
|
|
89
|
+
string name = 2;
|
|
90
|
+
string slug = 3;
|
|
91
|
+
optional string description = 4;
|
|
92
|
+
optional string parent_id = 5;
|
|
93
|
+
int32 sort_order = 6;
|
|
94
|
+
bool is_active = 7;
|
|
95
|
+
optional string icon_url = 8;
|
|
96
|
+
optional string banner_url = 9;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
message UpdateCategoryResponse {
|
|
@@ -100,14 +101,7 @@ message UpdateCategoryResponse {
|
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
message DeleteCategoryRequest {
|
|
103
|
-
string
|
|
104
|
-
string slug = 2;
|
|
105
|
-
optional string description = 3;
|
|
106
|
-
optional string parent_id = 4;
|
|
107
|
-
int32 sort_order = 5;
|
|
108
|
-
bool is_active = 6;
|
|
109
|
-
optional string icon_url = 7;
|
|
110
|
-
optional string banner_url = 8;
|
|
104
|
+
string id = 1;
|
|
111
105
|
}
|
|
112
106
|
|
|
113
107
|
message DeleteCategoryResponse {
|