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