@ciganov/contracts 1.1.23 → 1.1.25
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/odd.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export interface CreateCategoryRequest {
|
|
|
23
23
|
name: string;
|
|
24
24
|
slug: string;
|
|
25
25
|
description: string;
|
|
26
|
+
image: string;
|
|
27
|
+
badgeColor: string;
|
|
26
28
|
}
|
|
27
29
|
export interface CreateCategoryResponse {
|
|
28
30
|
ok: boolean;
|
|
@@ -101,6 +103,8 @@ export interface Category {
|
|
|
101
103
|
slug: string;
|
|
102
104
|
isActive: boolean;
|
|
103
105
|
description: string;
|
|
106
|
+
image: string;
|
|
107
|
+
badgeColor: string;
|
|
104
108
|
}
|
|
105
109
|
export interface Outcome {
|
|
106
110
|
id: string;
|
|
@@ -118,6 +122,8 @@ export interface Event {
|
|
|
118
122
|
end: Timestamp | undefined;
|
|
119
123
|
isLive: boolean;
|
|
120
124
|
outcomes: Outcome[];
|
|
125
|
+
categoryTitle: string;
|
|
126
|
+
badgeColor: string;
|
|
121
127
|
}
|
|
122
128
|
export declare const ODD_V1_PACKAGE_NAME = "odd.v1";
|
|
123
129
|
export interface OddServiceClient {
|
|
@@ -37,6 +37,8 @@ message CreateCategoryRequest {
|
|
|
37
37
|
string name = 1;
|
|
38
38
|
string slug = 2;
|
|
39
39
|
string description = 3;
|
|
40
|
+
string image = 4;
|
|
41
|
+
string badge_color = 5;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
message CreateCategoryResponse {
|
|
@@ -139,6 +141,8 @@ message Category {
|
|
|
139
141
|
string slug = 3;
|
|
140
142
|
bool is_active = 4;
|
|
141
143
|
string description = 5;
|
|
144
|
+
string image = 6;
|
|
145
|
+
string badge_color = 7;
|
|
142
146
|
}
|
|
143
147
|
|
|
144
148
|
message Outcome {
|
|
@@ -158,6 +162,8 @@ message Event {
|
|
|
158
162
|
google.protobuf.Timestamp end = 6;
|
|
159
163
|
bool is_live = 7;
|
|
160
164
|
repeated Outcome outcomes = 8;
|
|
165
|
+
string category_title = 9;
|
|
166
|
+
string badge_color = 10;
|
|
161
167
|
}
|
|
162
168
|
|
|
163
169
|
enum EventStatus {
|