jr-common-micro 1.0.4 → 1.0.5
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/package.json +5 -4
- package/proto/micro/v1/coin/analytics_messages.proto +373 -0
- package/proto/micro/v1/coin/coin_messages.proto +126 -0
- package/proto/micro/v1/coin/coin_websocket_messages.proto +86 -0
- package/proto/micro/v1/coin/data_general_messages.proto +72 -0
- package/proto/micro/v1/coin/data_microservice_messages.proto +53 -0
- package/proto/micro/v1/coin/etf_messages.proto +125 -0
- package/proto/micro/v1/coin/long_short_ratio_messages.proto +56 -0
- package/proto/micro/v1/coin/rsi_messages.proto +45 -0
- package/proto/micro/v1/coin/services.proto +109 -0
- package/proto/micro/v1/coin/token_unlocks_messages.proto +51 -0
- package/proto/micro/v1/data/daily_market_data_messages.proto +23 -0
- package/proto/micro/v1/data/dominance_messages.proto +42 -0
- package/proto/micro/v1/data/exchanges_messages.proto +158 -0
- package/proto/micro/v1/data/funding_rate_messages.proto +33 -0
- package/proto/micro/v1/data/global_stats_messages.proto +19 -0
- package/proto/micro/v1/data/homepage_messages.proto +44 -0
- package/proto/micro/v1/data/inflow_outflow_messages.proto +84 -0
- package/proto/micro/v1/data/liquidation_heat_map_m2_messages.proto +52 -0
- package/proto/micro/v1/data/liquidation_v1_messages.proto +40 -0
- package/proto/micro/v1/data/mvrvz_score_messages.proto +13 -0
- package/proto/micro/v1/data/puell_multiple_messages.proto +18 -0
- package/proto/micro/v1/data/puppeteer_messages.proto +29 -0
- package/proto/micro/v1/data/rainbow_messages.proto +14 -0
- package/proto/micro/v1/data/rsi_list_messages.proto +27 -0
- package/proto/micro/v1/data/scrape_assets_messages.proto +25 -0
- package/proto/micro/v1/data/scrape_treasuries_messages.proto +44 -0
- package/proto/micro/v1/data/services.proto +115 -0
- package/proto/micro/v1/data/token_unlocks.proto +65 -0
- package/proto/micro/v1/data/two_hundred_week_moving_average_messages.proto +18 -0
- package/proto/micro/v1/data/two_year_ma_multipler_messages.proto +20 -0
- package/proto/micro/v1/education/education_messages.proto +294 -0
- package/proto/micro/v1/education/services.proto +94 -0
- package/proto/micro/v1/general.proto +114 -0
- package/proto/micro/v1/media/media_messages.proto +108 -0
- package/proto/micro/v1/media/services.proto +22 -0
- package/proto/micro/v1/news/app_version_message.proto +35 -0
- package/proto/micro/v1/news/blog_messages.proto +110 -0
- package/proto/micro/v1/news/calendar_messages.proto +46 -0
- package/proto/micro/v1/news/economic_calendar_messages.proto +28 -0
- package/proto/micro/v1/news/jr_blog_messages.proto +216 -0
- package/proto/micro/v1/news/news_messages.proto +193 -0
- package/proto/micro/v1/news/services.proto +148 -0
- package/proto/micro/v1/news/sundown_messages.proto +61 -0
- package/proto/micro/v1/notification/mail_messages.proto +40 -0
- package/proto/micro/v1/notification/notification_messages.proto +198 -0
- package/proto/micro/v1/notification/services.proto +35 -0
- package/proto/micro/v1/portfolio/portfolio_coin_messages.proto +22 -0
- package/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages.proto +43 -0
- package/proto/micro/v1/portfolio/portfolio_messages.proto +187 -0
- package/proto/micro/v1/portfolio/services.proto +37 -0
- package/proto/micro/v1/puppeteer/puppeteer_messages.proto +0 -0
- package/proto/micro/v1/puppeteer/services.proto +27 -0
- package/proto/micro/v1/user/auth_messages.proto +91 -0
- package/proto/micro/v1/user/authorization_messages.proto +58 -0
- package/proto/micro/v1/user/services.proto +86 -0
- package/proto/micro/v1/user/site_settings_messages.proto +19 -0
- package/proto/micro/v1/user/user_messages.proto +228 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.news;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
//test
|
|
7
|
+
message BlogDto {
|
|
8
|
+
string id = 1;
|
|
9
|
+
map<string, string> title = 2;
|
|
10
|
+
map<string, string> content = 3;
|
|
11
|
+
map<string, string> image = 4;
|
|
12
|
+
string author = 5;
|
|
13
|
+
string date = 6;
|
|
14
|
+
repeated Category category = 7;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message BlogSingleResponse {
|
|
18
|
+
ResponseStatus status = 1;
|
|
19
|
+
BlogDto data = 2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message BlogPaginationResponse {
|
|
23
|
+
ResponseStatus status = 1;
|
|
24
|
+
PaginationMetaResult pagination = 2;
|
|
25
|
+
repeated BlogDto data = 3;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message BlogAdminDto {
|
|
29
|
+
string id = 1;
|
|
30
|
+
map<string, string> title = 2;
|
|
31
|
+
map<string, string> content = 3;
|
|
32
|
+
map<string, string> image = 4;
|
|
33
|
+
string author = 5;
|
|
34
|
+
string create_date = 6;
|
|
35
|
+
string publish_date = 7;
|
|
36
|
+
repeated Slot slot = 8;
|
|
37
|
+
repeated Category category = 9;
|
|
38
|
+
bool is_advised = 10;
|
|
39
|
+
bool is_without_image = 11;
|
|
40
|
+
bool is_notification = 12;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
message BlogAdminPaginateDateDto {
|
|
44
|
+
string id = 1;
|
|
45
|
+
map<string, string> title = 2;
|
|
46
|
+
repeated Category category = 3;
|
|
47
|
+
repeated Slot slot = 4;
|
|
48
|
+
string publish_date = 5;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
message Slot {
|
|
52
|
+
map<string, string> slot = 1;
|
|
53
|
+
string name = 2;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message Category {
|
|
57
|
+
map<string, string> category = 1;
|
|
58
|
+
string name = 2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message BlogSingleAdminResponse {
|
|
62
|
+
ResponseStatus status = 1;
|
|
63
|
+
BlogAdminDto data = 2;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
message BlogPaginationAdminResponse {
|
|
67
|
+
ResponseStatus status = 1;
|
|
68
|
+
PaginationMetaResult pagination = 2;
|
|
69
|
+
repeated BlogAdminDto data = 3;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
message BlogPaginateDateAdminResponse {
|
|
73
|
+
ResponseStatus status = 1;
|
|
74
|
+
PaginationMetaResult pagination = 2;
|
|
75
|
+
repeated BlogAdminPaginateDateDto data = 3;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message BlogPublishRequest {
|
|
79
|
+
string id = 1;
|
|
80
|
+
repeated string slot = 2;
|
|
81
|
+
repeated string category = 3;
|
|
82
|
+
bool is_notification = 4;
|
|
83
|
+
bool is_without_image = 5;
|
|
84
|
+
string date = 6;
|
|
85
|
+
string time = 7;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
message BlogUpdateRequest {
|
|
89
|
+
string id = 1;
|
|
90
|
+
repeated string slot = 2;
|
|
91
|
+
repeated string category = 3;
|
|
92
|
+
bool is_notification = 4;
|
|
93
|
+
bool is_without_image = 5;
|
|
94
|
+
string date = 6;
|
|
95
|
+
string time = 7;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
message BlogReadSlot {
|
|
99
|
+
map<string, string> slot = 1;
|
|
100
|
+
string name = 2;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message BlogReadSlots { repeated BlogReadSlot slot = 1; }
|
|
104
|
+
|
|
105
|
+
message BlogReadCategory {
|
|
106
|
+
map<string, string> category = 1;
|
|
107
|
+
string title = 2;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
message BlogReadCategories { repeated BlogReadCategory category = 1; }
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.news;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message CalendarDto {
|
|
8
|
+
string id = 1;
|
|
9
|
+
string coin = 2;
|
|
10
|
+
string symbol = 3;
|
|
11
|
+
map<string, string> title = 4;
|
|
12
|
+
map<string, string> content = 5;
|
|
13
|
+
string date_start = 6;
|
|
14
|
+
string date_end = 7;
|
|
15
|
+
string date_public = 8;
|
|
16
|
+
string image = 9;
|
|
17
|
+
map<string, string> category = 10;
|
|
18
|
+
bool is_trustable = 11;
|
|
19
|
+
int32 rating = 12;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message CalendarPaginateDateDto {
|
|
23
|
+
string id = 1;
|
|
24
|
+
map<string, string> title = 2;
|
|
25
|
+
map<string, string> category = 3;
|
|
26
|
+
string date_public = 4;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message CalendarSingleResponse {
|
|
30
|
+
ResponseStatus status = 1;
|
|
31
|
+
CalendarDto data = 2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message CalendarPaginationResponse {
|
|
35
|
+
ResponseStatus status = 1;
|
|
36
|
+
PaginationMetaResult pagination = 2;
|
|
37
|
+
repeated CalendarDto data = 3;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message CalendarPaginateDateResponse {
|
|
41
|
+
ResponseStatus status = 1;
|
|
42
|
+
PaginationMetaResult pagination = 2;
|
|
43
|
+
repeated CalendarPaginateDateDto data = 3;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
message CalendarStoreRequest { string date = 1; }
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.news;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message EconomicCalendarResponse {
|
|
8
|
+
ResponseStatus status = 1;
|
|
9
|
+
PaginationMetaResult pagination = 2;
|
|
10
|
+
repeated EconomicCalendarEvent data = 3;
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message StoreEconomicCalendarRequest {
|
|
15
|
+
repeated EconomicCalendarEvent data = 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message EconomicCalendarEvent {
|
|
19
|
+
int32 id = 1;
|
|
20
|
+
string time = 2;
|
|
21
|
+
string country = 3;
|
|
22
|
+
string currency = 4;
|
|
23
|
+
map<string, string> event = 5;
|
|
24
|
+
string impact = 6;
|
|
25
|
+
string actual = 7;
|
|
26
|
+
string forecast = 8;
|
|
27
|
+
string previous = 9;
|
|
28
|
+
}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.news;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message JrBlogDto {
|
|
8
|
+
string id = 1;
|
|
9
|
+
map<string, string> title = 2;
|
|
10
|
+
map<string, string> content = 3;
|
|
11
|
+
map<string, string> image = 4;
|
|
12
|
+
map<string, MetaData> meta = 5;
|
|
13
|
+
map<string, string> slug = 6;
|
|
14
|
+
string author = 7;
|
|
15
|
+
string status = 8;
|
|
16
|
+
string created_at = 9;
|
|
17
|
+
optional string published_at = 10;
|
|
18
|
+
repeated JrCategory categories = 11;
|
|
19
|
+
repeated JrSlot slots = 12;
|
|
20
|
+
int32 view_count = 13;
|
|
21
|
+
string author_name = 14;
|
|
22
|
+
int32 seo_score = 15;
|
|
23
|
+
optional string related_coin = 16;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message JrSlot {
|
|
27
|
+
map<string, string> slot = 1;
|
|
28
|
+
string name = 2;
|
|
29
|
+
string id = 3;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message JrCategory {
|
|
33
|
+
map<string, string> category = 1;
|
|
34
|
+
string name = 2;
|
|
35
|
+
string id = 3;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message MetaData {
|
|
39
|
+
string title = 1;
|
|
40
|
+
string description = 2;
|
|
41
|
+
repeated string keywords = 3;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message JrBlogCreateRequest {
|
|
45
|
+
map<string, string> title = 1;
|
|
46
|
+
map<string, string> content = 2;
|
|
47
|
+
map<string, string> image = 3;
|
|
48
|
+
map<string, MetaData> meta = 4;
|
|
49
|
+
map<string, string> slug = 5;
|
|
50
|
+
repeated string categories = 6;
|
|
51
|
+
repeated string slots = 7;
|
|
52
|
+
optional bool skipSeoCheck = 8;
|
|
53
|
+
optional string related_coin = 9;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message JrBlogEditRequest {
|
|
57
|
+
string id = 1;
|
|
58
|
+
map<string, string> title = 2;
|
|
59
|
+
map<string, string> content = 3;
|
|
60
|
+
map<string, string> image = 4;
|
|
61
|
+
map<string, MetaData> meta = 5;
|
|
62
|
+
map<string, string> slug = 6;
|
|
63
|
+
repeated string categories = 7;
|
|
64
|
+
repeated string slots = 8;
|
|
65
|
+
optional string related_coin = 9;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
message JrBlogPublishRequest {
|
|
69
|
+
string id = 1;
|
|
70
|
+
string schedule_date = 2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
message JrBlogSearchFilter {
|
|
74
|
+
string query = 1;
|
|
75
|
+
string language = 2;
|
|
76
|
+
string field = 3;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message JrBlogSingleResponse {
|
|
80
|
+
ResponseStatus status = 1;
|
|
81
|
+
JrBlogDto data = 2;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message JrBlogPaginationResponse {
|
|
85
|
+
ResponseStatus status = 1;
|
|
86
|
+
PaginationMetaResult pagination = 2;
|
|
87
|
+
repeated JrBlogDto data = 3;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
message JrBlogReadCategories {
|
|
91
|
+
ResponseStatus status = 1;
|
|
92
|
+
repeated JrCategory category = 2;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
message JrBlogReadSlots {
|
|
96
|
+
ResponseStatus status = 1;
|
|
97
|
+
repeated JrSlot slot = 2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
message JrBlogListRequest {
|
|
101
|
+
optional string status = 1;
|
|
102
|
+
optional string category = 2;
|
|
103
|
+
optional string slot = 3;
|
|
104
|
+
optional string language = 4;
|
|
105
|
+
optional string search = 5;
|
|
106
|
+
optional int32 page = 6;
|
|
107
|
+
optional int32 per_page = 7;
|
|
108
|
+
optional string sort_by = 8;
|
|
109
|
+
optional string sort_direction = 9;
|
|
110
|
+
optional bool optimized = 10;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
message JrBlogListResponse {
|
|
114
|
+
ResponseStatus status = 1;
|
|
115
|
+
PaginationMetaResult pagination = 2;
|
|
116
|
+
repeated JrBlogDto data = 3;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message CheckSlugRequest {
|
|
120
|
+
string slug = 1;
|
|
121
|
+
string language = 2;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
message CheckSlugResponse {
|
|
125
|
+
ResponseStatus status = 1;
|
|
126
|
+
bool exists = 2;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
message JrBlogCategoryCreateRequest {
|
|
130
|
+
map<string, string> category = 1;
|
|
131
|
+
string name = 2;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
message JrBlogSlotCreateRequest {
|
|
135
|
+
map<string, string> slot = 1;
|
|
136
|
+
string name = 2;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message JrBlogCategoryResponse {
|
|
140
|
+
ResponseStatus status = 1;
|
|
141
|
+
JrCategory data = 2;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
message JrBlogSlotResponse {
|
|
145
|
+
ResponseStatus status = 1;
|
|
146
|
+
JrSlot data = 2;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
message CheckSeoRequest {
|
|
150
|
+
map<string, string> title = 1;
|
|
151
|
+
map<string, string> content = 2;
|
|
152
|
+
map<string, MetaData> meta = 3;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
message SeoIssue {
|
|
156
|
+
string type = 1;
|
|
157
|
+
string message = 2;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
message CheckSeoResponse {
|
|
161
|
+
ResponseStatus status = 1;
|
|
162
|
+
int32 score = 2;
|
|
163
|
+
repeated SeoIssue issues = 3;
|
|
164
|
+
bool passed = 4;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
message GenerateAiContentRequest {
|
|
168
|
+
string title = 1;
|
|
169
|
+
string language = 2;
|
|
170
|
+
string content_type = 3;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
message GenerateAiContentResponse {
|
|
174
|
+
ResponseStatus status = 1;
|
|
175
|
+
string title = 2;
|
|
176
|
+
string content = 3;
|
|
177
|
+
string meta_title = 4;
|
|
178
|
+
string meta_description = 5;
|
|
179
|
+
repeated string keywords = 6;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
message GenerateAiContentOnlyRequest {
|
|
183
|
+
string title = 1;
|
|
184
|
+
string language = 2;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
message GenerateAiContentOnlyResponse {
|
|
188
|
+
ResponseStatus status = 1;
|
|
189
|
+
string title = 2;
|
|
190
|
+
string content = 3;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
message GenerateAiMetaOnlyRequest {
|
|
194
|
+
string title = 1;
|
|
195
|
+
string language = 2;
|
|
196
|
+
string content = 3;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
message GenerateAiMetaOnlyResponse {
|
|
200
|
+
ResponseStatus status = 1;
|
|
201
|
+
string meta_title = 2;
|
|
202
|
+
string meta_description = 3;
|
|
203
|
+
repeated string keywords = 4;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
message SeoRequirement {
|
|
207
|
+
string type = 1;
|
|
208
|
+
map<string, string> name = 2;
|
|
209
|
+
string description = 3;
|
|
210
|
+
string category = 4;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
message SeoRequirementsResponse {
|
|
214
|
+
ResponseStatus status = 1;
|
|
215
|
+
repeated SeoRequirement requirements = 2;
|
|
216
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package micro.v1.news;
|
|
4
|
+
|
|
5
|
+
import "micro/v1/general.proto";
|
|
6
|
+
|
|
7
|
+
message NewsDto {
|
|
8
|
+
string id = 1;
|
|
9
|
+
map<string, string> title = 2;
|
|
10
|
+
map<string, string> content = 3;
|
|
11
|
+
repeated CategoryNews categories = 4;
|
|
12
|
+
repeated string coin = 5;
|
|
13
|
+
string date = 6;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message NewsSingleResponse {
|
|
17
|
+
ResponseStatus status = 1;
|
|
18
|
+
NewsDto data = 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message NewsPaginationResponse {
|
|
22
|
+
ResponseStatus status = 1;
|
|
23
|
+
PaginationMetaResult pagination = 2;
|
|
24
|
+
repeated NewsDto data = 3;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message NewsAdminDto {
|
|
28
|
+
string id = 1;
|
|
29
|
+
string api_id = 2;
|
|
30
|
+
map<string, string> title = 3;
|
|
31
|
+
map<string, string> content = 4;
|
|
32
|
+
string url = 5;
|
|
33
|
+
string image = 6;
|
|
34
|
+
string type = 7;
|
|
35
|
+
string date = 8;
|
|
36
|
+
repeated CategoryNews category = 9;
|
|
37
|
+
repeated SlotNews slot = 10;
|
|
38
|
+
repeated string coin = 11;
|
|
39
|
+
string rank = 12;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message NewsPaginateDateAdminDto {
|
|
43
|
+
string id = 1;
|
|
44
|
+
map<string, string> title = 2;
|
|
45
|
+
repeated CategoryNews category = 3;
|
|
46
|
+
repeated SlotNews slot = 4;
|
|
47
|
+
repeated string coin = 5;
|
|
48
|
+
string date = 6;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
message PublishedNewsAdminDto {
|
|
52
|
+
string id = 1;
|
|
53
|
+
string api_id = 2;
|
|
54
|
+
map<string, string> title = 3;
|
|
55
|
+
map<string, string> content = 4;
|
|
56
|
+
string url = 5;
|
|
57
|
+
string image = 6;
|
|
58
|
+
string type = 7;
|
|
59
|
+
string date = 8;
|
|
60
|
+
repeated string category = 9;
|
|
61
|
+
repeated string coin = 10;
|
|
62
|
+
string rank = 11;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
message SlotNews {
|
|
66
|
+
map<string, string> slot = 1;
|
|
67
|
+
string name = 2;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message CategoryNews {
|
|
71
|
+
map<string, string> category = 1;
|
|
72
|
+
string name = 2;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
message NewsSingleAdminResponse {
|
|
76
|
+
ResponseStatus status = 1;
|
|
77
|
+
NewsAdminDto data = 2;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
message NewsPaginationAdminResponse {
|
|
81
|
+
ResponseStatus status = 1;
|
|
82
|
+
PaginationMetaResult pagination = 2;
|
|
83
|
+
repeated NewsAdminDto data = 3;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
message NewsPaginateDateAdminResponse {
|
|
87
|
+
ResponseStatus status = 1;
|
|
88
|
+
PaginationMetaResult pagination = 2;
|
|
89
|
+
repeated NewsPaginateDateAdminDto data = 3;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
message PublishedNewsSingleAdminResponse {
|
|
95
|
+
ResponseStatus status = 1;
|
|
96
|
+
PublishedNewsAdminDto data = 2;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
message PublishedNewsPaginationAdminResponse {
|
|
100
|
+
ResponseStatus status = 1;
|
|
101
|
+
PaginationMetaResult pagination = 2;
|
|
102
|
+
repeated PublishedNewsAdminDto data = 3;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
message NewsReadCoins { repeated NewsReadCoin coin = 1; }
|
|
106
|
+
|
|
107
|
+
message NewsReadCoin {
|
|
108
|
+
string symbol = 1;
|
|
109
|
+
string name = 2;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
message OnlyTranslateResponse {
|
|
113
|
+
map<string, string> title = 1;
|
|
114
|
+
map<string, string> content = 2;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
message NewsStoreRequest {
|
|
118
|
+
map<string, string> title = 1;
|
|
119
|
+
map<string, string> content = 2;
|
|
120
|
+
repeated string category = 3;
|
|
121
|
+
repeated string coin = 4;
|
|
122
|
+
string date = 5;
|
|
123
|
+
string time = 6;
|
|
124
|
+
string image = 7;
|
|
125
|
+
repeated string slot = 8;
|
|
126
|
+
string rank = 9;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
message ReadRequest {
|
|
130
|
+
string id = 1;
|
|
131
|
+
string news_type = 2;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
message NewsPublishRequest {
|
|
135
|
+
string id = 1;
|
|
136
|
+
repeated string slot = 2;
|
|
137
|
+
repeated string category = 3;
|
|
138
|
+
repeated string coin = 4;
|
|
139
|
+
string date = 5;
|
|
140
|
+
string time = 6;
|
|
141
|
+
bool notification = 7;
|
|
142
|
+
string rank = 8;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
message NewsUpdateRequest {
|
|
146
|
+
string id = 1;
|
|
147
|
+
map<string, string> title = 2;
|
|
148
|
+
map<string, string> content = 3;
|
|
149
|
+
optional string date = 4;
|
|
150
|
+
repeated string category = 5;
|
|
151
|
+
optional string time = 6;
|
|
152
|
+
repeated string coin = 7;
|
|
153
|
+
string news_type = 8;
|
|
154
|
+
repeated string slot = 9;
|
|
155
|
+
optional string rank = 10;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
message NewsReadSlot {
|
|
159
|
+
map<string, string> slot = 1;
|
|
160
|
+
string name = 2;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
message NewsReadSlots { repeated NewsReadSlot slot = 1; }
|
|
164
|
+
|
|
165
|
+
message NewsReadCategory {
|
|
166
|
+
map<string, string> category = 1;
|
|
167
|
+
string name = 2;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
message NewsReadCategories { repeated NewsReadCategory category = 1; }
|
|
171
|
+
|
|
172
|
+
message TranslateRequest {
|
|
173
|
+
string id = 1;
|
|
174
|
+
string language = 2;
|
|
175
|
+
string title = 3;
|
|
176
|
+
optional string content = 4;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
message OnlyTranslateRequest {
|
|
180
|
+
string language = 1;
|
|
181
|
+
string title = 2;
|
|
182
|
+
optional string content = 3;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
message NewsAdminPaginateRequest{
|
|
186
|
+
int32 page = 1;
|
|
187
|
+
int32 per_page = 2;
|
|
188
|
+
optional int32 draw = 3;
|
|
189
|
+
repeated Filter filters = 4;
|
|
190
|
+
repeated Sort sort = 5;
|
|
191
|
+
repeated string columns = 6;
|
|
192
|
+
string news_type = 7;
|
|
193
|
+
}
|