jr-common-micro 1.1.142 → 1.1.144
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/proto/micro/v1/chat/chat_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/chat/chat_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/chat/chat_messages_pb.js +2 -0
- package/dist/proto/micro/v1/coin/analytics_messages_nest.d.ts +3 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +3 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +6 -0
- package/dist/proto/micro/v1/coin/coin_messages_nest.d.ts +27 -0
- package/dist/proto/micro/v1/coin/coin_messages_pb.d.ts +67 -0
- package/dist/proto/micro/v1/coin/coin_messages_pb.js +150 -1
- package/dist/proto/micro/v1/coin/coin_websocket_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.js +2 -0
- package/dist/proto/micro/v1/coin/services_connect.d.ts +13 -1
- package/dist/proto/micro/v1/coin/services_connect.js +12 -0
- package/dist/proto/micro/v1/coin/services_nest.d.ts +5 -1
- package/dist/proto/micro/v1/coin/services_nest.js +10 -1
- package/dist/proto/micro/v1/data/daily_market_data_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_pb.js +2 -0
- package/dist/proto/micro/v1/data/exchanges_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/data/exchanges_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/data/exchanges_messages_pb.js +2 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_nest.d.ts +7 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_pb.d.ts +3 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_pb.js +2 -0
- package/dist/proto/micro/v1/data/homepage_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/data/homepage_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/data/homepage_messages_pb.js +4 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.js +4 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_nest.d.ts +1 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_pb.d.ts +1 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_pb.js +2 -0
- package/dist/proto/micro/v1/data/token_unlocks_nest.d.ts +1 -0
- package/dist/proto/micro/v1/data/token_unlocks_pb.d.ts +1 -0
- package/dist/proto/micro/v1/data/token_unlocks_pb.js +2 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.js +4 -0
- package/package.json +1 -1
- package/proto/micro/v1/chat/chat_messages.proto +2 -0
- package/proto/micro/v1/coin/analytics_messages.proto +4 -0
- package/proto/micro/v1/coin/coin_messages.proto +38 -0
- package/proto/micro/v1/coin/coin_websocket_messages.proto +1 -0
- package/proto/micro/v1/coin/services.proto +2 -0
- package/proto/micro/v1/data/daily_market_data_messages.proto +2 -0
- package/proto/micro/v1/data/exchanges_messages.proto +2 -0
- package/proto/micro/v1/data/funding_rate_messages.proto +2 -0
- package/proto/micro/v1/data/homepage_messages.proto +4 -0
- package/proto/micro/v1/data/inflow_outflow_messages.proto +4 -0
- package/proto/micro/v1/data/rsi_list_messages.proto +2 -0
- package/proto/micro/v1/data/token_unlocks.proto +2 -0
- package/proto/micro/v1/portfolio/portfolio_messages.proto +4 -0
|
@@ -145,6 +145,7 @@ export declare class ChatTickerCardDto extends Message<ChatTickerCardDto> {
|
|
|
145
145
|
change24h: string;
|
|
146
146
|
capturedAt: string;
|
|
147
147
|
coinmarketcapId: string;
|
|
148
|
+
logoUrl?: string;
|
|
148
149
|
constructor(data?: PartialMessage<ChatTickerCardDto>);
|
|
149
150
|
static readonly runtime: typeof proto3;
|
|
150
151
|
static readonly typeName = "micro.v1.chat.ChatTickerCardDto";
|
|
@@ -305,6 +305,7 @@ class ChatTickerCardDto extends protobuf_1.Message {
|
|
|
305
305
|
change24h = "";
|
|
306
306
|
capturedAt = "";
|
|
307
307
|
coinmarketcapId = "";
|
|
308
|
+
logoUrl;
|
|
308
309
|
constructor(data) {
|
|
309
310
|
super();
|
|
310
311
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -319,6 +320,7 @@ class ChatTickerCardDto extends protobuf_1.Message {
|
|
|
319
320
|
{ no: 5, name: "change_24h", kind: "scalar", T: 9 },
|
|
320
321
|
{ no: 6, name: "captured_at", kind: "scalar", T: 9 },
|
|
321
322
|
{ no: 7, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
323
|
+
{ no: 8, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
322
324
|
]);
|
|
323
325
|
static fromBinary(bytes, options) {
|
|
324
326
|
return new ChatTickerCardDto().fromBinary(bytes, options);
|
|
@@ -53,6 +53,7 @@ export interface CoinDetailDto {
|
|
|
53
53
|
title: Title[];
|
|
54
54
|
about: About[];
|
|
55
55
|
info: Info | undefined;
|
|
56
|
+
logo_url?: string | undefined;
|
|
56
57
|
}
|
|
57
58
|
export interface CoinDetailDto_AllTimePrice {
|
|
58
59
|
price: string;
|
|
@@ -176,6 +177,7 @@ export interface ChainDto {
|
|
|
176
177
|
sequence_no: number;
|
|
177
178
|
coingecko_id: string;
|
|
178
179
|
url_id: string;
|
|
180
|
+
logo_url?: string | undefined;
|
|
179
181
|
}
|
|
180
182
|
export interface AnalyticsChainsResponseData {
|
|
181
183
|
items: ChainDto[];
|
|
@@ -306,6 +308,7 @@ export interface CurrenciesNewDto {
|
|
|
306
308
|
coinglass_spot_id: string;
|
|
307
309
|
coinglass_futures_id: string;
|
|
308
310
|
url_id: string;
|
|
311
|
+
logo_url?: string | undefined;
|
|
309
312
|
}
|
|
310
313
|
export interface CurrenciesNewResponse {
|
|
311
314
|
status: ResponseStatus | undefined;
|
|
@@ -53,6 +53,7 @@ export declare class CoinDetailDto extends Message<CoinDetailDto> {
|
|
|
53
53
|
title: Title[];
|
|
54
54
|
about: About[];
|
|
55
55
|
info?: Info;
|
|
56
|
+
logoUrl?: string;
|
|
56
57
|
constructor(data?: PartialMessage<CoinDetailDto>);
|
|
57
58
|
static readonly runtime: typeof proto3;
|
|
58
59
|
static readonly typeName = "micro.v1.coin.CoinDetailDto";
|
|
@@ -296,6 +297,7 @@ export declare class ChainDto extends Message<ChainDto> {
|
|
|
296
297
|
sequenceNo: number;
|
|
297
298
|
coingeckoId: string;
|
|
298
299
|
urlId: string;
|
|
300
|
+
logoUrl?: string;
|
|
299
301
|
constructor(data?: PartialMessage<ChainDto>);
|
|
300
302
|
static readonly runtime: typeof proto3;
|
|
301
303
|
static readonly typeName = "micro.v1.coin.ChainDto";
|
|
@@ -602,6 +604,7 @@ export declare class CurrenciesNewDto extends Message<CurrenciesNewDto> {
|
|
|
602
604
|
coinglassSpotId: string;
|
|
603
605
|
coinglassFuturesId: string;
|
|
604
606
|
urlId: string;
|
|
607
|
+
logoUrl?: string;
|
|
605
608
|
constructor(data?: PartialMessage<CurrenciesNewDto>);
|
|
606
609
|
static readonly runtime: typeof proto3;
|
|
607
610
|
static readonly typeName = "micro.v1.coin.CurrenciesNewDto";
|
|
@@ -63,6 +63,7 @@ class CoinDetailDto extends protobuf_1.Message {
|
|
|
63
63
|
title = [];
|
|
64
64
|
about = [];
|
|
65
65
|
info;
|
|
66
|
+
logoUrl;
|
|
66
67
|
constructor(data) {
|
|
67
68
|
super();
|
|
68
69
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -106,6 +107,7 @@ class CoinDetailDto extends protobuf_1.Message {
|
|
|
106
107
|
{ no: 36, name: "title", kind: "message", T: Title, repeated: true },
|
|
107
108
|
{ no: 37, name: "about", kind: "message", T: About, repeated: true },
|
|
108
109
|
{ no: 38, name: "info", kind: "message", T: Info },
|
|
110
|
+
{ no: 39, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
109
111
|
]);
|
|
110
112
|
static fromBinary(bytes, options) {
|
|
111
113
|
return new CoinDetailDto().fromBinary(bytes, options);
|
|
@@ -615,6 +617,7 @@ class ChainDto extends protobuf_1.Message {
|
|
|
615
617
|
sequenceNo = 0;
|
|
616
618
|
coingeckoId = "";
|
|
617
619
|
urlId = "";
|
|
620
|
+
logoUrl;
|
|
618
621
|
constructor(data) {
|
|
619
622
|
super();
|
|
620
623
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -635,6 +638,7 @@ class ChainDto extends protobuf_1.Message {
|
|
|
635
638
|
{ no: 11, name: "sequence_no", kind: "scalar", T: 5 },
|
|
636
639
|
{ no: 12, name: "coingecko_id", kind: "scalar", T: 9 },
|
|
637
640
|
{ no: 13, name: "url_id", kind: "scalar", T: 9 },
|
|
641
|
+
{ no: 14, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
638
642
|
]);
|
|
639
643
|
static fromBinary(bytes, options) {
|
|
640
644
|
return new ChainDto().fromBinary(bytes, options);
|
|
@@ -1290,6 +1294,7 @@ class CurrenciesNewDto extends protobuf_1.Message {
|
|
|
1290
1294
|
coinglassSpotId = "";
|
|
1291
1295
|
coinglassFuturesId = "";
|
|
1292
1296
|
urlId = "";
|
|
1297
|
+
logoUrl;
|
|
1293
1298
|
constructor(data) {
|
|
1294
1299
|
super();
|
|
1295
1300
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1313,6 +1318,7 @@ class CurrenciesNewDto extends protobuf_1.Message {
|
|
|
1313
1318
|
{ no: 14, name: "coinglass_spot_id", kind: "scalar", T: 9 },
|
|
1314
1319
|
{ no: 15, name: "coinglass_futures_id", kind: "scalar", T: 9 },
|
|
1315
1320
|
{ no: 16, name: "url_id", kind: "scalar", T: 9 },
|
|
1321
|
+
{ no: 17, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
1316
1322
|
]);
|
|
1317
1323
|
static fromBinary(bytes, options) {
|
|
1318
1324
|
return new CurrenciesNewDto().fromBinary(bytes, options);
|
|
@@ -6,6 +6,7 @@ export interface CoinDto {
|
|
|
6
6
|
name: string;
|
|
7
7
|
created_at: string;
|
|
8
8
|
updated_at?: string | undefined;
|
|
9
|
+
logo_url?: string | undefined;
|
|
9
10
|
}
|
|
10
11
|
export interface FavoriteCoinDto {
|
|
11
12
|
id: string;
|
|
@@ -24,6 +25,7 @@ export interface FavoriteCoinDto {
|
|
|
24
25
|
coinglass_futures_id: string;
|
|
25
26
|
created_at: string;
|
|
26
27
|
updated_at?: string | undefined;
|
|
28
|
+
logo_url?: string | undefined;
|
|
27
29
|
}
|
|
28
30
|
export interface GetFavoriteCoinsResponse {
|
|
29
31
|
status: ResponseStatus | undefined;
|
|
@@ -107,4 +109,29 @@ export interface GetFearGreedHistoryResponse {
|
|
|
107
109
|
status: ResponseStatus | undefined;
|
|
108
110
|
data: FearGreedHistoryItem[];
|
|
109
111
|
}
|
|
112
|
+
export interface CoinLogoSearchRequest {
|
|
113
|
+
q: string;
|
|
114
|
+
limit?: number | undefined;
|
|
115
|
+
}
|
|
116
|
+
export interface CoinLogoRow {
|
|
117
|
+
id: string;
|
|
118
|
+
symbol: string;
|
|
119
|
+
name: string;
|
|
120
|
+
url_id: string;
|
|
121
|
+
rank: number;
|
|
122
|
+
logo_url?: string | undefined;
|
|
123
|
+
logo_source?: string | undefined;
|
|
124
|
+
}
|
|
125
|
+
export interface CoinLogoSearchResponse {
|
|
126
|
+
status: ResponseStatus | undefined;
|
|
127
|
+
data: CoinLogoRow[];
|
|
128
|
+
}
|
|
129
|
+
export interface CoinLogoSetRequest {
|
|
130
|
+
id: string;
|
|
131
|
+
logo_url?: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface CoinLogoSetResponse {
|
|
134
|
+
status: ResponseStatus | undefined;
|
|
135
|
+
data: CoinLogoRow | undefined;
|
|
136
|
+
}
|
|
110
137
|
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -7,6 +7,7 @@ export declare class CoinDto extends Message<CoinDto> {
|
|
|
7
7
|
name: string;
|
|
8
8
|
createdAt: string;
|
|
9
9
|
updatedAt?: string;
|
|
10
|
+
logoUrl?: string;
|
|
10
11
|
constructor(data?: PartialMessage<CoinDto>);
|
|
11
12
|
static readonly runtime: typeof proto3;
|
|
12
13
|
static readonly typeName = "micro.v1.coin.CoinDto";
|
|
@@ -33,6 +34,7 @@ export declare class FavoriteCoinDto extends Message<FavoriteCoinDto> {
|
|
|
33
34
|
coinglassFuturesId: string;
|
|
34
35
|
createdAt: string;
|
|
35
36
|
updatedAt?: string;
|
|
37
|
+
logoUrl?: string;
|
|
36
38
|
constructor(data?: PartialMessage<FavoriteCoinDto>);
|
|
37
39
|
static readonly runtime: typeof proto3;
|
|
38
40
|
static readonly typeName = "micro.v1.coin.FavoriteCoinDto";
|
|
@@ -256,3 +258,68 @@ export declare class GetFearGreedHistoryResponse extends Message<GetFearGreedHis
|
|
|
256
258
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFearGreedHistoryResponse;
|
|
257
259
|
static equals(a: GetFearGreedHistoryResponse | PlainMessage<GetFearGreedHistoryResponse> | undefined, b: GetFearGreedHistoryResponse | PlainMessage<GetFearGreedHistoryResponse> | undefined): boolean;
|
|
258
260
|
}
|
|
261
|
+
export declare class CoinLogoSearchRequest extends Message<CoinLogoSearchRequest> {
|
|
262
|
+
q: string;
|
|
263
|
+
limit?: number;
|
|
264
|
+
constructor(data?: PartialMessage<CoinLogoSearchRequest>);
|
|
265
|
+
static readonly runtime: typeof proto3;
|
|
266
|
+
static readonly typeName = "micro.v1.coin.CoinLogoSearchRequest";
|
|
267
|
+
static readonly fields: FieldList;
|
|
268
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinLogoSearchRequest;
|
|
269
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinLogoSearchRequest;
|
|
270
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinLogoSearchRequest;
|
|
271
|
+
static equals(a: CoinLogoSearchRequest | PlainMessage<CoinLogoSearchRequest> | undefined, b: CoinLogoSearchRequest | PlainMessage<CoinLogoSearchRequest> | undefined): boolean;
|
|
272
|
+
}
|
|
273
|
+
export declare class CoinLogoRow extends Message<CoinLogoRow> {
|
|
274
|
+
id: string;
|
|
275
|
+
symbol: string;
|
|
276
|
+
name: string;
|
|
277
|
+
urlId: string;
|
|
278
|
+
rank: number;
|
|
279
|
+
logoUrl?: string;
|
|
280
|
+
logoSource?: string;
|
|
281
|
+
constructor(data?: PartialMessage<CoinLogoRow>);
|
|
282
|
+
static readonly runtime: typeof proto3;
|
|
283
|
+
static readonly typeName = "micro.v1.coin.CoinLogoRow";
|
|
284
|
+
static readonly fields: FieldList;
|
|
285
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinLogoRow;
|
|
286
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinLogoRow;
|
|
287
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinLogoRow;
|
|
288
|
+
static equals(a: CoinLogoRow | PlainMessage<CoinLogoRow> | undefined, b: CoinLogoRow | PlainMessage<CoinLogoRow> | undefined): boolean;
|
|
289
|
+
}
|
|
290
|
+
export declare class CoinLogoSearchResponse extends Message<CoinLogoSearchResponse> {
|
|
291
|
+
status?: ResponseStatus;
|
|
292
|
+
data: CoinLogoRow[];
|
|
293
|
+
constructor(data?: PartialMessage<CoinLogoSearchResponse>);
|
|
294
|
+
static readonly runtime: typeof proto3;
|
|
295
|
+
static readonly typeName = "micro.v1.coin.CoinLogoSearchResponse";
|
|
296
|
+
static readonly fields: FieldList;
|
|
297
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinLogoSearchResponse;
|
|
298
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinLogoSearchResponse;
|
|
299
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinLogoSearchResponse;
|
|
300
|
+
static equals(a: CoinLogoSearchResponse | PlainMessage<CoinLogoSearchResponse> | undefined, b: CoinLogoSearchResponse | PlainMessage<CoinLogoSearchResponse> | undefined): boolean;
|
|
301
|
+
}
|
|
302
|
+
export declare class CoinLogoSetRequest extends Message<CoinLogoSetRequest> {
|
|
303
|
+
id: string;
|
|
304
|
+
logoUrl?: string;
|
|
305
|
+
constructor(data?: PartialMessage<CoinLogoSetRequest>);
|
|
306
|
+
static readonly runtime: typeof proto3;
|
|
307
|
+
static readonly typeName = "micro.v1.coin.CoinLogoSetRequest";
|
|
308
|
+
static readonly fields: FieldList;
|
|
309
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinLogoSetRequest;
|
|
310
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinLogoSetRequest;
|
|
311
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinLogoSetRequest;
|
|
312
|
+
static equals(a: CoinLogoSetRequest | PlainMessage<CoinLogoSetRequest> | undefined, b: CoinLogoSetRequest | PlainMessage<CoinLogoSetRequest> | undefined): boolean;
|
|
313
|
+
}
|
|
314
|
+
export declare class CoinLogoSetResponse extends Message<CoinLogoSetResponse> {
|
|
315
|
+
status?: ResponseStatus;
|
|
316
|
+
data?: CoinLogoRow;
|
|
317
|
+
constructor(data?: PartialMessage<CoinLogoSetResponse>);
|
|
318
|
+
static readonly runtime: typeof proto3;
|
|
319
|
+
static readonly typeName = "micro.v1.coin.CoinLogoSetResponse";
|
|
320
|
+
static readonly fields: FieldList;
|
|
321
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CoinLogoSetResponse;
|
|
322
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CoinLogoSetResponse;
|
|
323
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CoinLogoSetResponse;
|
|
324
|
+
static equals(a: CoinLogoSetResponse | PlainMessage<CoinLogoSetResponse> | undefined, b: CoinLogoSetResponse | PlainMessage<CoinLogoSetResponse> | undefined): boolean;
|
|
325
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetFearGreedHistoryResponse = exports.FearGreedHistoryItem = exports.GetFearGreedHistoryRequest = exports.GetFearGreedIndexResponse = exports.CoinAdminStoreRequest = exports.CoinAdminUpdateRequest = exports.CoinPriceAlertPaginationResponse = exports.CoinPaginationResponse = exports.CoinSingleResponseWithCoinGeckoId = exports.CoinSingleResponse = exports.CoinStoreRequest = exports.CoinDtoWithCoinGeckoId = exports.SaveCoinPriceAlertRequest = exports.CoinPriceAlertDto = exports.IsFavoriteCoinResponse = exports.IsFavoriteCoinRequest = exports.GetFavoriteCoinsResponse = exports.FavoriteCoinDto = exports.CoinDto = void 0;
|
|
3
|
+
exports.CoinLogoSetResponse = exports.CoinLogoSetRequest = exports.CoinLogoSearchResponse = exports.CoinLogoRow = exports.CoinLogoSearchRequest = exports.GetFearGreedHistoryResponse = exports.FearGreedHistoryItem = exports.GetFearGreedHistoryRequest = exports.GetFearGreedIndexResponse = exports.CoinAdminStoreRequest = exports.CoinAdminUpdateRequest = exports.CoinPriceAlertPaginationResponse = exports.CoinPaginationResponse = exports.CoinSingleResponseWithCoinGeckoId = exports.CoinSingleResponse = exports.CoinStoreRequest = exports.CoinDtoWithCoinGeckoId = exports.SaveCoinPriceAlertRequest = exports.CoinPriceAlertDto = exports.IsFavoriteCoinResponse = exports.IsFavoriteCoinRequest = exports.GetFavoriteCoinsResponse = exports.FavoriteCoinDto = exports.CoinDto = void 0;
|
|
4
4
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
5
|
const general_pb_js_1 = require("../general_pb.js");
|
|
6
6
|
class CoinDto extends protobuf_1.Message {
|
|
@@ -9,6 +9,7 @@ class CoinDto extends protobuf_1.Message {
|
|
|
9
9
|
name = "";
|
|
10
10
|
createdAt = "";
|
|
11
11
|
updatedAt;
|
|
12
|
+
logoUrl;
|
|
12
13
|
constructor(data) {
|
|
13
14
|
super();
|
|
14
15
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -21,6 +22,7 @@ class CoinDto extends protobuf_1.Message {
|
|
|
21
22
|
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
22
23
|
{ no: 4, name: "created_at", kind: "scalar", T: 9 },
|
|
23
24
|
{ no: 5, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
25
|
+
{ no: 6, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
24
26
|
]);
|
|
25
27
|
static fromBinary(bytes, options) {
|
|
26
28
|
return new CoinDto().fromBinary(bytes, options);
|
|
@@ -53,6 +55,7 @@ class FavoriteCoinDto extends protobuf_1.Message {
|
|
|
53
55
|
coinglassFuturesId = "";
|
|
54
56
|
createdAt = "";
|
|
55
57
|
updatedAt;
|
|
58
|
+
logoUrl;
|
|
56
59
|
constructor(data) {
|
|
57
60
|
super();
|
|
58
61
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -76,6 +79,7 @@ class FavoriteCoinDto extends protobuf_1.Message {
|
|
|
76
79
|
{ no: 14, name: "coinglass_futures_id", kind: "scalar", T: 9 },
|
|
77
80
|
{ no: 15, name: "created_at", kind: "scalar", T: 9 },
|
|
78
81
|
{ no: 16, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
82
|
+
{ no: 17, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
79
83
|
]);
|
|
80
84
|
static fromBinary(bytes, options) {
|
|
81
85
|
return new FavoriteCoinDto().fromBinary(bytes, options);
|
|
@@ -566,3 +570,148 @@ class GetFearGreedHistoryResponse extends protobuf_1.Message {
|
|
|
566
570
|
}
|
|
567
571
|
}
|
|
568
572
|
exports.GetFearGreedHistoryResponse = GetFearGreedHistoryResponse;
|
|
573
|
+
class CoinLogoSearchRequest extends protobuf_1.Message {
|
|
574
|
+
q = "";
|
|
575
|
+
limit;
|
|
576
|
+
constructor(data) {
|
|
577
|
+
super();
|
|
578
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
579
|
+
}
|
|
580
|
+
static runtime = protobuf_1.proto3;
|
|
581
|
+
static typeName = "micro.v1.coin.CoinLogoSearchRequest";
|
|
582
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
583
|
+
{ no: 1, name: "q", kind: "scalar", T: 9 },
|
|
584
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5, opt: true },
|
|
585
|
+
]);
|
|
586
|
+
static fromBinary(bytes, options) {
|
|
587
|
+
return new CoinLogoSearchRequest().fromBinary(bytes, options);
|
|
588
|
+
}
|
|
589
|
+
static fromJson(jsonValue, options) {
|
|
590
|
+
return new CoinLogoSearchRequest().fromJson(jsonValue, options);
|
|
591
|
+
}
|
|
592
|
+
static fromJsonString(jsonString, options) {
|
|
593
|
+
return new CoinLogoSearchRequest().fromJsonString(jsonString, options);
|
|
594
|
+
}
|
|
595
|
+
static equals(a, b) {
|
|
596
|
+
return protobuf_1.proto3.util.equals(CoinLogoSearchRequest, a, b);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
exports.CoinLogoSearchRequest = CoinLogoSearchRequest;
|
|
600
|
+
class CoinLogoRow extends protobuf_1.Message {
|
|
601
|
+
id = "";
|
|
602
|
+
symbol = "";
|
|
603
|
+
name = "";
|
|
604
|
+
urlId = "";
|
|
605
|
+
rank = 0;
|
|
606
|
+
logoUrl;
|
|
607
|
+
logoSource;
|
|
608
|
+
constructor(data) {
|
|
609
|
+
super();
|
|
610
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
611
|
+
}
|
|
612
|
+
static runtime = protobuf_1.proto3;
|
|
613
|
+
static typeName = "micro.v1.coin.CoinLogoRow";
|
|
614
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
615
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
616
|
+
{ no: 2, name: "symbol", kind: "scalar", T: 9 },
|
|
617
|
+
{ no: 3, name: "name", kind: "scalar", T: 9 },
|
|
618
|
+
{ no: 4, name: "url_id", kind: "scalar", T: 9 },
|
|
619
|
+
{ no: 5, name: "rank", kind: "scalar", T: 5 },
|
|
620
|
+
{ no: 6, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
621
|
+
{ no: 7, name: "logo_source", kind: "scalar", T: 9, opt: true },
|
|
622
|
+
]);
|
|
623
|
+
static fromBinary(bytes, options) {
|
|
624
|
+
return new CoinLogoRow().fromBinary(bytes, options);
|
|
625
|
+
}
|
|
626
|
+
static fromJson(jsonValue, options) {
|
|
627
|
+
return new CoinLogoRow().fromJson(jsonValue, options);
|
|
628
|
+
}
|
|
629
|
+
static fromJsonString(jsonString, options) {
|
|
630
|
+
return new CoinLogoRow().fromJsonString(jsonString, options);
|
|
631
|
+
}
|
|
632
|
+
static equals(a, b) {
|
|
633
|
+
return protobuf_1.proto3.util.equals(CoinLogoRow, a, b);
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
exports.CoinLogoRow = CoinLogoRow;
|
|
637
|
+
class CoinLogoSearchResponse extends protobuf_1.Message {
|
|
638
|
+
status;
|
|
639
|
+
data = [];
|
|
640
|
+
constructor(data) {
|
|
641
|
+
super();
|
|
642
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
643
|
+
}
|
|
644
|
+
static runtime = protobuf_1.proto3;
|
|
645
|
+
static typeName = "micro.v1.coin.CoinLogoSearchResponse";
|
|
646
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
647
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
648
|
+
{ no: 2, name: "data", kind: "message", T: CoinLogoRow, repeated: true },
|
|
649
|
+
]);
|
|
650
|
+
static fromBinary(bytes, options) {
|
|
651
|
+
return new CoinLogoSearchResponse().fromBinary(bytes, options);
|
|
652
|
+
}
|
|
653
|
+
static fromJson(jsonValue, options) {
|
|
654
|
+
return new CoinLogoSearchResponse().fromJson(jsonValue, options);
|
|
655
|
+
}
|
|
656
|
+
static fromJsonString(jsonString, options) {
|
|
657
|
+
return new CoinLogoSearchResponse().fromJsonString(jsonString, options);
|
|
658
|
+
}
|
|
659
|
+
static equals(a, b) {
|
|
660
|
+
return protobuf_1.proto3.util.equals(CoinLogoSearchResponse, a, b);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
exports.CoinLogoSearchResponse = CoinLogoSearchResponse;
|
|
664
|
+
class CoinLogoSetRequest extends protobuf_1.Message {
|
|
665
|
+
id = "";
|
|
666
|
+
logoUrl;
|
|
667
|
+
constructor(data) {
|
|
668
|
+
super();
|
|
669
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
670
|
+
}
|
|
671
|
+
static runtime = protobuf_1.proto3;
|
|
672
|
+
static typeName = "micro.v1.coin.CoinLogoSetRequest";
|
|
673
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
674
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
675
|
+
{ no: 2, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
676
|
+
]);
|
|
677
|
+
static fromBinary(bytes, options) {
|
|
678
|
+
return new CoinLogoSetRequest().fromBinary(bytes, options);
|
|
679
|
+
}
|
|
680
|
+
static fromJson(jsonValue, options) {
|
|
681
|
+
return new CoinLogoSetRequest().fromJson(jsonValue, options);
|
|
682
|
+
}
|
|
683
|
+
static fromJsonString(jsonString, options) {
|
|
684
|
+
return new CoinLogoSetRequest().fromJsonString(jsonString, options);
|
|
685
|
+
}
|
|
686
|
+
static equals(a, b) {
|
|
687
|
+
return protobuf_1.proto3.util.equals(CoinLogoSetRequest, a, b);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
exports.CoinLogoSetRequest = CoinLogoSetRequest;
|
|
691
|
+
class CoinLogoSetResponse extends protobuf_1.Message {
|
|
692
|
+
status;
|
|
693
|
+
data;
|
|
694
|
+
constructor(data) {
|
|
695
|
+
super();
|
|
696
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
697
|
+
}
|
|
698
|
+
static runtime = protobuf_1.proto3;
|
|
699
|
+
static typeName = "micro.v1.coin.CoinLogoSetResponse";
|
|
700
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
701
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
702
|
+
{ no: 2, name: "data", kind: "message", T: CoinLogoRow },
|
|
703
|
+
]);
|
|
704
|
+
static fromBinary(bytes, options) {
|
|
705
|
+
return new CoinLogoSetResponse().fromBinary(bytes, options);
|
|
706
|
+
}
|
|
707
|
+
static fromJson(jsonValue, options) {
|
|
708
|
+
return new CoinLogoSetResponse().fromJson(jsonValue, options);
|
|
709
|
+
}
|
|
710
|
+
static fromJsonString(jsonString, options) {
|
|
711
|
+
return new CoinLogoSetResponse().fromJsonString(jsonString, options);
|
|
712
|
+
}
|
|
713
|
+
static equals(a, b) {
|
|
714
|
+
return protobuf_1.proto3.util.equals(CoinLogoSetResponse, a, b);
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
exports.CoinLogoSetResponse = CoinLogoSetResponse;
|
|
@@ -117,6 +117,7 @@ export declare class CoinLiveData extends Message<CoinLiveData> {
|
|
|
117
117
|
marketCapChangePercentage24h: number;
|
|
118
118
|
coinmarketcapId: string;
|
|
119
119
|
coingeckoId: string;
|
|
120
|
+
logoUrl?: string;
|
|
120
121
|
constructor(data?: PartialMessage<CoinLiveData>);
|
|
121
122
|
static readonly runtime: typeof proto3;
|
|
122
123
|
static readonly typeName = "micro.v1.coin.CoinLiveData";
|
|
@@ -230,6 +230,7 @@ class CoinLiveData extends protobuf_1.Message {
|
|
|
230
230
|
marketCapChangePercentage24h = 0;
|
|
231
231
|
coinmarketcapId = "";
|
|
232
232
|
coingeckoId = "";
|
|
233
|
+
logoUrl;
|
|
233
234
|
constructor(data) {
|
|
234
235
|
super();
|
|
235
236
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -259,6 +260,7 @@ class CoinLiveData extends protobuf_1.Message {
|
|
|
259
260
|
{ no: 20, name: "market_cap_change_percentage_24h", kind: "scalar", T: 1 },
|
|
260
261
|
{ no: 21, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
261
262
|
{ no: 22, name: "coingecko_id", kind: "scalar", T: 9 },
|
|
263
|
+
{ no: 23, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
262
264
|
]);
|
|
263
265
|
static fromBinary(bytes, options) {
|
|
264
266
|
return new CoinLiveData().fromBinary(bytes, options);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_pb.js";
|
|
2
|
-
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, CoinPaginationResponse, CoinPriceAlertPaginationResponse, CoinSingleResponse, CoinSingleResponseWithCoinGeckoId, GetFavoriteCoinsResponse, GetFearGreedHistoryRequest, GetFearGreedHistoryResponse, GetFearGreedIndexResponse, IsFavoriteCoinRequest, IsFavoriteCoinResponse, SaveCoinPriceAlertRequest } from "./coin_messages_pb.js";
|
|
2
|
+
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, CoinLogoSearchRequest, CoinLogoSearchResponse, CoinLogoSetRequest, CoinLogoSetResponse, CoinPaginationResponse, CoinPriceAlertPaginationResponse, CoinSingleResponse, CoinSingleResponseWithCoinGeckoId, GetFavoriteCoinsResponse, GetFearGreedHistoryRequest, GetFearGreedHistoryResponse, GetFearGreedIndexResponse, IsFavoriteCoinRequest, IsFavoriteCoinResponse, SaveCoinPriceAlertRequest } from "./coin_messages_pb.js";
|
|
3
3
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
4
|
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, PassiveCurrenciesRequest, PassiveCurrenciesResponse } from "./analytics_messages_pb.js";
|
|
5
5
|
import { LiveCoinRequest, LiveCoinResponse } from "./coin_websocket_messages_pb.js";
|
|
@@ -371,6 +371,18 @@ export declare const PCoinAdminService: {
|
|
|
371
371
|
readonly O: typeof CoinPaginationResponse;
|
|
372
372
|
readonly kind: MethodKind.ServerStreaming;
|
|
373
373
|
};
|
|
374
|
+
readonly searchLogos: {
|
|
375
|
+
readonly name: "SearchLogos";
|
|
376
|
+
readonly I: typeof CoinLogoSearchRequest;
|
|
377
|
+
readonly O: typeof CoinLogoSearchResponse;
|
|
378
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
379
|
+
};
|
|
380
|
+
readonly setLogo: {
|
|
381
|
+
readonly name: "SetLogo";
|
|
382
|
+
readonly I: typeof CoinLogoSetRequest;
|
|
383
|
+
readonly O: typeof CoinLogoSetResponse;
|
|
384
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
385
|
+
};
|
|
374
386
|
};
|
|
375
387
|
};
|
|
376
388
|
export declare const PCoinCronService: {
|
|
@@ -374,6 +374,18 @@ exports.PCoinAdminService = {
|
|
|
374
374
|
O: coin_messages_pb_js_1.CoinPaginationResponse,
|
|
375
375
|
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
376
376
|
},
|
|
377
|
+
searchLogos: {
|
|
378
|
+
name: "SearchLogos",
|
|
379
|
+
I: coin_messages_pb_js_1.CoinLogoSearchRequest,
|
|
380
|
+
O: coin_messages_pb_js_1.CoinLogoSearchResponse,
|
|
381
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
382
|
+
},
|
|
383
|
+
setLogo: {
|
|
384
|
+
name: "SetLogo",
|
|
385
|
+
I: coin_messages_pb_js_1.CoinLogoSetRequest,
|
|
386
|
+
O: coin_messages_pb_js_1.CoinLogoSetResponse,
|
|
387
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
388
|
+
},
|
|
377
389
|
}
|
|
378
390
|
};
|
|
379
391
|
exports.PCoinCronService = {
|
|
@@ -2,7 +2,7 @@ import type { Metadata } from "@grpc/grpc-js";
|
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_nest";
|
|
4
4
|
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, PassiveCurrenciesRequest, PassiveCurrenciesResponse } from "./analytics_messages_nest";
|
|
5
|
-
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, CoinPaginationResponse, CoinPriceAlertPaginationResponse, CoinSingleResponse, CoinSingleResponseWithCoinGeckoId, GetFavoriteCoinsResponse, GetFearGreedHistoryRequest, GetFearGreedHistoryResponse, GetFearGreedIndexResponse, IsFavoriteCoinRequest, IsFavoriteCoinResponse, SaveCoinPriceAlertRequest } from "./coin_messages_nest";
|
|
5
|
+
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, CoinLogoSearchRequest, CoinLogoSearchResponse, CoinLogoSetRequest, CoinLogoSetResponse, CoinPaginationResponse, CoinPriceAlertPaginationResponse, CoinSingleResponse, CoinSingleResponseWithCoinGeckoId, GetFavoriteCoinsResponse, GetFearGreedHistoryRequest, GetFearGreedHistoryResponse, GetFearGreedIndexResponse, IsFavoriteCoinRequest, IsFavoriteCoinResponse, SaveCoinPriceAlertRequest } from "./coin_messages_nest";
|
|
6
6
|
import { LiveCoinRequest, LiveCoinResponse } from "./coin_websocket_messages_nest";
|
|
7
7
|
import { CoinBalanceRequest, CoinExchangeBalanceFlowResponse, CoinExchangeBalanceResponse, ExchangesAssetsTransparencyResponse } from "./data_general_messages_nest";
|
|
8
8
|
import { GetAllCoinsDbResponse, GetCoinMarketCapRequest, GetCoinMarketCapResponse, GetWithoutAboutCoinsResponse } from "./data_microservice_messages_nest";
|
|
@@ -157,6 +157,8 @@ export interface PCoinAdminServiceClient {
|
|
|
157
157
|
remove(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
158
158
|
paginate(request: PaginateRequest, metadata?: Metadata): Observable<CoinPaginationResponse>;
|
|
159
159
|
paginateFrom(request: PaginateFromRequest, metadata?: Metadata): Observable<CoinPaginationResponse>;
|
|
160
|
+
searchLogos(request: CoinLogoSearchRequest, metadata?: Metadata): Observable<CoinLogoSearchResponse>;
|
|
161
|
+
setLogo(request: CoinLogoSetRequest, metadata?: Metadata): Observable<CoinLogoSetResponse>;
|
|
160
162
|
}
|
|
161
163
|
export interface PCoinAdminServiceController {
|
|
162
164
|
read(request: ByIdRequest, metadata?: Metadata): Observable<CoinSingleResponse>;
|
|
@@ -165,6 +167,8 @@ export interface PCoinAdminServiceController {
|
|
|
165
167
|
remove(request: ByIdRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
166
168
|
paginate(request: PaginateRequest, metadata?: Metadata): Observable<CoinPaginationResponse>;
|
|
167
169
|
paginateFrom(request: PaginateFromRequest, metadata?: Metadata): Observable<CoinPaginationResponse>;
|
|
170
|
+
searchLogos(request: CoinLogoSearchRequest, metadata?: Metadata): Observable<CoinLogoSearchResponse>;
|
|
171
|
+
setLogo(request: CoinLogoSetRequest, metadata?: Metadata): Observable<CoinLogoSetResponse>;
|
|
168
172
|
}
|
|
169
173
|
export declare function PCoinAdminServiceControllerMethods(): (constructor: Function) => void;
|
|
170
174
|
export declare const P_COIN_ADMIN_SERVICE_NAME = "PCoinAdminService";
|
|
@@ -171,7 +171,16 @@ function PAnalyticsServiceControllerMethods() {
|
|
|
171
171
|
exports.P_ANALYTICS_SERVICE_NAME = "PAnalyticsService";
|
|
172
172
|
function PCoinAdminServiceControllerMethods() {
|
|
173
173
|
return function (constructor) {
|
|
174
|
-
const grpcMethods = [
|
|
174
|
+
const grpcMethods = [
|
|
175
|
+
"read",
|
|
176
|
+
"store",
|
|
177
|
+
"update",
|
|
178
|
+
"remove",
|
|
179
|
+
"paginate",
|
|
180
|
+
"paginateFrom",
|
|
181
|
+
"searchLogos",
|
|
182
|
+
"setLogo",
|
|
183
|
+
];
|
|
175
184
|
for (const method of grpcMethods) {
|
|
176
185
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
177
186
|
(0, microservices_1.GrpcMethod)("PCoinAdminService", method)(constructor.prototype[method], method, descriptor);
|
|
@@ -7,6 +7,7 @@ export declare class DailyMarketDataDto extends Message<DailyMarketDataDto> {
|
|
|
7
7
|
status: string;
|
|
8
8
|
coinmarketcapId: string;
|
|
9
9
|
coinRank: string;
|
|
10
|
+
logoUrl?: string;
|
|
10
11
|
constructor(data?: PartialMessage<DailyMarketDataDto>);
|
|
11
12
|
static readonly runtime: typeof proto3;
|
|
12
13
|
static readonly typeName = "micro.v1.data.DailyMarketDataDto";
|
|
@@ -9,6 +9,7 @@ class DailyMarketDataDto extends protobuf_1.Message {
|
|
|
9
9
|
status = "";
|
|
10
10
|
coinmarketcapId = "";
|
|
11
11
|
coinRank = "";
|
|
12
|
+
logoUrl;
|
|
12
13
|
constructor(data) {
|
|
13
14
|
super();
|
|
14
15
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -21,6 +22,7 @@ class DailyMarketDataDto extends protobuf_1.Message {
|
|
|
21
22
|
{ no: 3, name: "status", kind: "scalar", T: 9 },
|
|
22
23
|
{ no: 4, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
23
24
|
{ no: 5, name: "coin_rank", kind: "scalar", T: 9 },
|
|
25
|
+
{ no: 6, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
24
26
|
]);
|
|
25
27
|
static fromBinary(bytes, options) {
|
|
26
28
|
return new DailyMarketDataDto().fromBinary(bytes, options);
|
|
@@ -133,6 +133,7 @@ export declare class ExchangeCoinsDto extends Message<ExchangeCoinsDto> {
|
|
|
133
133
|
spread: string;
|
|
134
134
|
exchangeType: string;
|
|
135
135
|
updatedAt: string;
|
|
136
|
+
logoUrl?: string;
|
|
136
137
|
constructor(data?: PartialMessage<ExchangeCoinsDto>);
|
|
137
138
|
static readonly runtime: typeof proto3;
|
|
138
139
|
static readonly typeName = "micro.v1.data.ExchangeCoinsDto";
|
|
@@ -268,6 +268,7 @@ class ExchangeCoinsDto extends protobuf_1.Message {
|
|
|
268
268
|
spread = "";
|
|
269
269
|
exchangeType = "";
|
|
270
270
|
updatedAt = "";
|
|
271
|
+
logoUrl;
|
|
271
272
|
constructor(data) {
|
|
272
273
|
super();
|
|
273
274
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -292,6 +293,7 @@ class ExchangeCoinsDto extends protobuf_1.Message {
|
|
|
292
293
|
{ no: 15, name: "spread", kind: "scalar", T: 9 },
|
|
293
294
|
{ no: 16, name: "exchange_type", kind: "scalar", T: 9 },
|
|
294
295
|
{ no: 17, name: "updated_at", kind: "scalar", T: 9 },
|
|
296
|
+
{ no: 18, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
295
297
|
]);
|
|
296
298
|
static fromBinary(bytes, options) {
|
|
297
299
|
return new ExchangeCoinsDto().fromBinary(bytes, options);
|
|
@@ -18,6 +18,9 @@ export interface FundingRateTableDto {
|
|
|
18
18
|
[key: string]: FundingRateTableDto_FundingRate;
|
|
19
19
|
};
|
|
20
20
|
next_funding_time: string;
|
|
21
|
+
logos: {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
21
24
|
}
|
|
22
25
|
export interface FundingRateTableDto_FundingRateEntry {
|
|
23
26
|
exchange: string;
|
|
@@ -49,4 +52,8 @@ export interface FundingRateTableDto_TotalEntry {
|
|
|
49
52
|
key: string;
|
|
50
53
|
value: FundingRateTableDto_FundingRate | undefined;
|
|
51
54
|
}
|
|
55
|
+
export interface FundingRateTableDto_LogosEntry {
|
|
56
|
+
key: string;
|
|
57
|
+
value: string;
|
|
58
|
+
}
|
|
52
59
|
export declare const MICRO_V1_DATA_PACKAGE_NAME = "micro.v1.data";
|
|
@@ -27,6 +27,9 @@ export declare class FundingRateTableDto extends Message<FundingRateTableDto> {
|
|
|
27
27
|
[key: string]: FundingRateTableDto_FundingRate;
|
|
28
28
|
};
|
|
29
29
|
nextFundingTime: string;
|
|
30
|
+
logos: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
30
33
|
constructor(data?: PartialMessage<FundingRateTableDto>);
|
|
31
34
|
static readonly runtime: typeof proto3;
|
|
32
35
|
static readonly typeName = "micro.v1.data.FundingRateTableDto";
|
|
@@ -36,6 +36,7 @@ class FundingRateTableDto extends protobuf_1.Message {
|
|
|
36
36
|
usd = {};
|
|
37
37
|
total = {};
|
|
38
38
|
nextFundingTime = "";
|
|
39
|
+
logos = {};
|
|
39
40
|
constructor(data) {
|
|
40
41
|
super();
|
|
41
42
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -48,6 +49,7 @@ class FundingRateTableDto extends protobuf_1.Message {
|
|
|
48
49
|
{ no: 3, name: "usd", kind: "map", K: 9, V: { kind: "message", T: FundingRateTableDto_FundingRate } },
|
|
49
50
|
{ no: 4, name: "total", kind: "map", K: 9, V: { kind: "message", T: FundingRateTableDto_FundingRate } },
|
|
50
51
|
{ no: 5, name: "next_funding_time", kind: "scalar", T: 9 },
|
|
52
|
+
{ no: 6, name: "logos", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
51
53
|
]);
|
|
52
54
|
static fromBinary(bytes, options) {
|
|
53
55
|
return new FundingRateTableDto().fromBinary(bytes, options);
|
|
@@ -8,6 +8,7 @@ export interface IncreasingDecreaseingDataDto {
|
|
|
8
8
|
price: string;
|
|
9
9
|
price_change_percentage_24h: string;
|
|
10
10
|
url_id: string;
|
|
11
|
+
logo_url?: string | undefined;
|
|
11
12
|
}
|
|
12
13
|
export interface IncreasingDecreaseingData {
|
|
13
14
|
increasing: IncreasingDecreaseingDataDto[];
|
|
@@ -24,6 +25,7 @@ export interface TrendCoinDto {
|
|
|
24
25
|
status: string;
|
|
25
26
|
coinmarketcap_id: string;
|
|
26
27
|
coin_rank: string;
|
|
28
|
+
logo_url?: string | undefined;
|
|
27
29
|
}
|
|
28
30
|
export interface TrendCoinDataResponse {
|
|
29
31
|
status: ResponseStatus | undefined;
|
|
@@ -9,6 +9,7 @@ export declare class IncreasingDecreaseingDataDto extends Message<IncreasingDecr
|
|
|
9
9
|
price: string;
|
|
10
10
|
priceChangePercentage24h: string;
|
|
11
11
|
urlId: string;
|
|
12
|
+
logoUrl?: string;
|
|
12
13
|
constructor(data?: PartialMessage<IncreasingDecreaseingDataDto>);
|
|
13
14
|
static readonly runtime: typeof proto3;
|
|
14
15
|
static readonly typeName = "micro.v1.data.IncreasingDecreaseingDataDto";
|
|
@@ -49,6 +50,7 @@ export declare class TrendCoinDto extends Message<TrendCoinDto> {
|
|
|
49
50
|
status: string;
|
|
50
51
|
coinmarketcapId: string;
|
|
51
52
|
coinRank: string;
|
|
53
|
+
logoUrl?: string;
|
|
52
54
|
constructor(data?: PartialMessage<TrendCoinDto>);
|
|
53
55
|
static readonly runtime: typeof proto3;
|
|
54
56
|
static readonly typeName = "micro.v1.data.TrendCoinDto";
|
|
@@ -11,6 +11,7 @@ class IncreasingDecreaseingDataDto extends protobuf_1.Message {
|
|
|
11
11
|
price = "";
|
|
12
12
|
priceChangePercentage24h = "";
|
|
13
13
|
urlId = "";
|
|
14
|
+
logoUrl;
|
|
14
15
|
constructor(data) {
|
|
15
16
|
super();
|
|
16
17
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -25,6 +26,7 @@ class IncreasingDecreaseingDataDto extends protobuf_1.Message {
|
|
|
25
26
|
{ no: 5, name: "price", kind: "scalar", T: 9 },
|
|
26
27
|
{ no: 6, name: "price_change_percentage_24h", kind: "scalar", T: 9 },
|
|
27
28
|
{ no: 7, name: "url_id", kind: "scalar", T: 9 },
|
|
29
|
+
{ no: 8, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
28
30
|
]);
|
|
29
31
|
static fromBinary(bytes, options) {
|
|
30
32
|
return new IncreasingDecreaseingDataDto().fromBinary(bytes, options);
|
|
@@ -102,6 +104,7 @@ class TrendCoinDto extends protobuf_1.Message {
|
|
|
102
104
|
status = "";
|
|
103
105
|
coinmarketcapId = "";
|
|
104
106
|
coinRank = "";
|
|
107
|
+
logoUrl;
|
|
105
108
|
constructor(data) {
|
|
106
109
|
super();
|
|
107
110
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -114,6 +117,7 @@ class TrendCoinDto extends protobuf_1.Message {
|
|
|
114
117
|
{ no: 3, name: "status", kind: "scalar", T: 9 },
|
|
115
118
|
{ no: 4, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
116
119
|
{ no: 5, name: "coin_rank", kind: "scalar", T: 9 },
|
|
120
|
+
{ no: 6, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
117
121
|
]);
|
|
118
122
|
static fromBinary(bytes, options) {
|
|
119
123
|
return new TrendCoinDto().fromBinary(bytes, options);
|
|
@@ -29,6 +29,7 @@ export interface InflowOutflowTableData {
|
|
|
29
29
|
flows_usd_1w: number;
|
|
30
30
|
price_change_percent_1w: number;
|
|
31
31
|
vol_usd_1w: number;
|
|
32
|
+
logo_url?: string | undefined;
|
|
32
33
|
}
|
|
33
34
|
export interface InflowOutflowResponse {
|
|
34
35
|
status: ResponseStatus | undefined;
|
|
@@ -46,6 +47,7 @@ export interface OnChainInflowOutflowTableData {
|
|
|
46
47
|
from: string;
|
|
47
48
|
to: string;
|
|
48
49
|
date: string;
|
|
50
|
+
logo_url?: string | undefined;
|
|
49
51
|
}
|
|
50
52
|
export interface OnChainInflowOutflowResponse {
|
|
51
53
|
status: ResponseStatus | undefined;
|
|
@@ -30,6 +30,7 @@ export declare class InflowOutflowTableData extends Message<InflowOutflowTableDa
|
|
|
30
30
|
flowsUsd1w: number;
|
|
31
31
|
priceChangePercent1w: number;
|
|
32
32
|
volUsd1w: number;
|
|
33
|
+
logoUrl?: string;
|
|
33
34
|
constructor(data?: PartialMessage<InflowOutflowTableData>);
|
|
34
35
|
static readonly runtime: typeof proto3;
|
|
35
36
|
static readonly typeName = "micro.v1.data.InflowOutflowTableData";
|
|
@@ -63,6 +64,7 @@ export declare class OnChainInflowOutflowTableData extends Message<OnChainInflow
|
|
|
63
64
|
from: string;
|
|
64
65
|
to: string;
|
|
65
66
|
date: string;
|
|
67
|
+
logoUrl?: string;
|
|
66
68
|
constructor(data?: PartialMessage<OnChainInflowOutflowTableData>);
|
|
67
69
|
static readonly runtime: typeof proto3;
|
|
68
70
|
static readonly typeName = "micro.v1.data.OnChainInflowOutflowTableData";
|
|
@@ -32,6 +32,7 @@ class InflowOutflowTableData extends protobuf_1.Message {
|
|
|
32
32
|
flowsUsd1w = 0;
|
|
33
33
|
priceChangePercent1w = 0;
|
|
34
34
|
volUsd1w = 0;
|
|
35
|
+
logoUrl;
|
|
35
36
|
constructor(data) {
|
|
36
37
|
super();
|
|
37
38
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -67,6 +68,7 @@ class InflowOutflowTableData extends protobuf_1.Message {
|
|
|
67
68
|
{ no: 26, name: "flows_usd_1w", kind: "scalar", T: 1 },
|
|
68
69
|
{ no: 27, name: "price_change_percent_1w", kind: "scalar", T: 1 },
|
|
69
70
|
{ no: 28, name: "vol_usd_1w", kind: "scalar", T: 1 },
|
|
71
|
+
{ no: 29, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
70
72
|
]);
|
|
71
73
|
static fromBinary(bytes, options) {
|
|
72
74
|
return new InflowOutflowTableData().fromBinary(bytes, options);
|
|
@@ -122,6 +124,7 @@ class OnChainInflowOutflowTableData extends protobuf_1.Message {
|
|
|
122
124
|
from = "";
|
|
123
125
|
to = "";
|
|
124
126
|
date = "";
|
|
127
|
+
logoUrl;
|
|
125
128
|
constructor(data) {
|
|
126
129
|
super();
|
|
127
130
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -139,6 +142,7 @@ class OnChainInflowOutflowTableData extends protobuf_1.Message {
|
|
|
139
142
|
{ no: 8, name: "from", kind: "scalar", T: 9 },
|
|
140
143
|
{ no: 9, name: "to", kind: "scalar", T: 9 },
|
|
141
144
|
{ no: 10, name: "date", kind: "scalar", T: 9 },
|
|
145
|
+
{ no: 11, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
142
146
|
]);
|
|
143
147
|
static fromBinary(bytes, options) {
|
|
144
148
|
return new OnChainInflowOutflowTableData().fromBinary(bytes, options);
|
|
@@ -16,6 +16,7 @@ export declare class RsiListDto extends Message<RsiListDto> {
|
|
|
16
16
|
priceChangePercent24h: number;
|
|
17
17
|
priceChangePercent1w: number;
|
|
18
18
|
price: number;
|
|
19
|
+
logoUrl?: string;
|
|
19
20
|
constructor(data?: PartialMessage<RsiListDto>);
|
|
20
21
|
static readonly runtime: typeof proto3;
|
|
21
22
|
static readonly typeName = "micro.v1.data.RsiListDto";
|
|
@@ -18,6 +18,7 @@ class RsiListDto extends protobuf_1.Message {
|
|
|
18
18
|
priceChangePercent24h = 0;
|
|
19
19
|
priceChangePercent1w = 0;
|
|
20
20
|
price = 0;
|
|
21
|
+
logoUrl;
|
|
21
22
|
constructor(data) {
|
|
22
23
|
super();
|
|
23
24
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -39,6 +40,7 @@ class RsiListDto extends protobuf_1.Message {
|
|
|
39
40
|
{ no: 12, name: "price_change_percent_24h", kind: "scalar", T: 2 },
|
|
40
41
|
{ no: 13, name: "price_change_percent_1w", kind: "scalar", T: 2 },
|
|
41
42
|
{ no: 14, name: "price", kind: "scalar", T: 2 },
|
|
43
|
+
{ no: 15, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
42
44
|
]);
|
|
43
45
|
static fromBinary(bytes, options) {
|
|
44
46
|
return new RsiListDto().fromBinary(bytes, options);
|
|
@@ -16,6 +16,7 @@ export declare class TokenUnlockDto extends Message<TokenUnlockDto> {
|
|
|
16
16
|
unlockProgress: number;
|
|
17
17
|
totalLocked: string;
|
|
18
18
|
totalLockedValue: number;
|
|
19
|
+
logoUrl?: string;
|
|
19
20
|
constructor(data?: PartialMessage<TokenUnlockDto>);
|
|
20
21
|
static readonly runtime: typeof proto3;
|
|
21
22
|
static readonly typeName = "micro.v1.data.TokenUnlockDto";
|
|
@@ -18,6 +18,7 @@ class TokenUnlockDto extends protobuf_1.Message {
|
|
|
18
18
|
unlockProgress = 0;
|
|
19
19
|
totalLocked = "";
|
|
20
20
|
totalLockedValue = 0;
|
|
21
|
+
logoUrl;
|
|
21
22
|
constructor(data) {
|
|
22
23
|
super();
|
|
23
24
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -39,6 +40,7 @@ class TokenUnlockDto extends protobuf_1.Message {
|
|
|
39
40
|
{ no: 12, name: "unlock_progress", kind: "scalar", T: 1 },
|
|
40
41
|
{ no: 13, name: "total_locked", kind: "scalar", T: 9 },
|
|
41
42
|
{ no: 14, name: "total_locked_value", kind: "scalar", T: 1 },
|
|
43
|
+
{ no: 15, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
42
44
|
]);
|
|
43
45
|
static fromBinary(bytes, options) {
|
|
44
46
|
return new TokenUnlockDto().fromBinary(bytes, options);
|
|
@@ -35,6 +35,7 @@ export interface PortfolioCoinDto {
|
|
|
35
35
|
portfolioId: string;
|
|
36
36
|
createdAt: string;
|
|
37
37
|
updatedAt: string;
|
|
38
|
+
logo_url?: string | undefined;
|
|
38
39
|
}
|
|
39
40
|
export interface PortfolioStoreRequest {
|
|
40
41
|
name: string;
|
|
@@ -113,6 +114,7 @@ export interface PortfolioCoinBundleDto {
|
|
|
113
114
|
updatedAt: string;
|
|
114
115
|
chartData: PortfolioCoinChartData[];
|
|
115
116
|
transactions: TransactionDto[];
|
|
117
|
+
logo_url?: string | undefined;
|
|
116
118
|
}
|
|
117
119
|
export interface PortfolioCoinChartData {
|
|
118
120
|
price: string;
|
|
@@ -76,6 +76,7 @@ export declare class PortfolioCoinDto extends Message<PortfolioCoinDto> {
|
|
|
76
76
|
portfolioId: string;
|
|
77
77
|
createdAt: string;
|
|
78
78
|
updatedAt: string;
|
|
79
|
+
logoUrl?: string;
|
|
79
80
|
constructor(data?: PartialMessage<PortfolioCoinDto>);
|
|
80
81
|
static readonly runtime: typeof proto3;
|
|
81
82
|
static readonly typeName = "micro.v1.portfolio.PortfolioCoinDto";
|
|
@@ -242,6 +243,7 @@ export declare class PortfolioCoinBundleDto extends Message<PortfolioCoinBundleD
|
|
|
242
243
|
updatedAt: string;
|
|
243
244
|
chartData: PortfolioCoinChartData[];
|
|
244
245
|
transactions: TransactionDto[];
|
|
246
|
+
logoUrl?: string;
|
|
245
247
|
constructor(data?: PartialMessage<PortfolioCoinBundleDto>);
|
|
246
248
|
static readonly runtime: typeof proto3;
|
|
247
249
|
static readonly typeName = "micro.v1.portfolio.PortfolioCoinBundleDto";
|
|
@@ -159,6 +159,7 @@ class PortfolioCoinDto extends protobuf_1.Message {
|
|
|
159
159
|
portfolioId = "";
|
|
160
160
|
createdAt = "";
|
|
161
161
|
updatedAt = "";
|
|
162
|
+
logoUrl;
|
|
162
163
|
constructor(data) {
|
|
163
164
|
super();
|
|
164
165
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -174,6 +175,7 @@ class PortfolioCoinDto extends protobuf_1.Message {
|
|
|
174
175
|
{ no: 6, name: "portfolioId", kind: "scalar", T: 9 },
|
|
175
176
|
{ no: 7, name: "createdAt", kind: "scalar", T: 9 },
|
|
176
177
|
{ no: 8, name: "updatedAt", kind: "scalar", T: 9 },
|
|
178
|
+
{ no: 9, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
177
179
|
]);
|
|
178
180
|
static fromBinary(bytes, options) {
|
|
179
181
|
return new PortfolioCoinDto().fromBinary(bytes, options);
|
|
@@ -516,6 +518,7 @@ class PortfolioCoinBundleDto extends protobuf_1.Message {
|
|
|
516
518
|
updatedAt = "";
|
|
517
519
|
chartData = [];
|
|
518
520
|
transactions = [];
|
|
521
|
+
logoUrl;
|
|
519
522
|
constructor(data) {
|
|
520
523
|
super();
|
|
521
524
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -539,6 +542,7 @@ class PortfolioCoinBundleDto extends protobuf_1.Message {
|
|
|
539
542
|
{ no: 14, name: "updatedAt", kind: "scalar", T: 9 },
|
|
540
543
|
{ no: 15, name: "chartData", kind: "message", T: PortfolioCoinChartData, repeated: true },
|
|
541
544
|
{ no: 16, name: "transactions", kind: "message", T: TransactionDto, repeated: true },
|
|
545
|
+
{ no: 17, name: "logo_url", kind: "scalar", T: 9, opt: true },
|
|
542
546
|
]);
|
|
543
547
|
static fromBinary(bytes, options) {
|
|
544
548
|
return new PortfolioCoinBundleDto().fromBinary(bytes, options);
|
package/package.json
CHANGED
|
@@ -151,6 +151,8 @@ message ChatTickerCardDto {
|
|
|
151
151
|
// CoinMarketCap id: our own icon set does not cover every coin, CMC's CDN
|
|
152
152
|
// does, so the client can fall back to it.
|
|
153
153
|
string coinmarketcap_id = 7;
|
|
154
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
155
|
+
optional string logo_url = 8;
|
|
154
156
|
}
|
|
155
157
|
|
|
156
158
|
message ChatLinkPreviewDto {
|
|
@@ -85,6 +85,7 @@ message CoinDetailDto {
|
|
|
85
85
|
repeated Title title = 36;
|
|
86
86
|
repeated About about = 37;
|
|
87
87
|
Info info = 38;
|
|
88
|
+
optional string logo_url = 39;
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
message Info {
|
|
@@ -180,6 +181,8 @@ message ChainDto {
|
|
|
180
181
|
int32 sequence_no = 11;
|
|
181
182
|
string coingecko_id = 12;
|
|
182
183
|
string url_id = 13;
|
|
184
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
185
|
+
optional string logo_url = 14;
|
|
183
186
|
}
|
|
184
187
|
message AnalyticsChainsResponseData { repeated ChainDto items = 1; }
|
|
185
188
|
message AnalyticsChainsResponse {
|
|
@@ -341,6 +344,7 @@ message CurrenciesNewDto {
|
|
|
341
344
|
string coinglass_spot_id = 14;
|
|
342
345
|
string coinglass_futures_id = 15;
|
|
343
346
|
string url_id = 16;
|
|
347
|
+
optional string logo_url = 17;
|
|
344
348
|
}
|
|
345
349
|
|
|
346
350
|
message CurrenciesNewResponse {
|
|
@@ -12,6 +12,8 @@ message CoinDto {
|
|
|
12
12
|
|
|
13
13
|
string created_at = 4;
|
|
14
14
|
optional string updated_at = 5;
|
|
15
|
+
// Resolved coin logo (admin upload > our icon > CoinGecko > CMC).
|
|
16
|
+
optional string logo_url = 6;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
message FavoriteCoinDto {
|
|
@@ -31,6 +33,7 @@ message FavoriteCoinDto {
|
|
|
31
33
|
string coinglass_futures_id = 14;
|
|
32
34
|
string created_at = 15;
|
|
33
35
|
optional string updated_at = 16;
|
|
36
|
+
optional string logo_url = 17;
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
message GetFavoriteCoinsResponse {
|
|
@@ -124,3 +127,38 @@ message GetFearGreedHistoryResponse {
|
|
|
124
127
|
ResponseStatus status = 1;
|
|
125
128
|
repeated FearGreedHistoryItem data = 2;
|
|
126
129
|
}
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
// Admin: coin logos. A logo set here wins over the automatic choice
|
|
133
|
+
// (our icon > CoinGecko > CMC) until it is cleared.
|
|
134
|
+
message CoinLogoSearchRequest {
|
|
135
|
+
string q = 1;
|
|
136
|
+
optional int32 limit = 2;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message CoinLogoRow {
|
|
140
|
+
string id = 1;
|
|
141
|
+
string symbol = 2;
|
|
142
|
+
string name = 3;
|
|
143
|
+
string url_id = 4;
|
|
144
|
+
int32 rank = 5;
|
|
145
|
+
optional string logo_url = 6;
|
|
146
|
+
// admin | icon | coingecko | cmc
|
|
147
|
+
optional string logo_source = 7;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
message CoinLogoSearchResponse {
|
|
151
|
+
ResponseStatus status = 1;
|
|
152
|
+
repeated CoinLogoRow data = 2;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
message CoinLogoSetRequest {
|
|
156
|
+
string id = 1;
|
|
157
|
+
// Empty or missing: back to the automatic logo.
|
|
158
|
+
optional string logo_url = 2;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
message CoinLogoSetResponse {
|
|
162
|
+
ResponseStatus status = 1;
|
|
163
|
+
CoinLogoRow data = 2;
|
|
164
|
+
}
|
|
@@ -91,6 +91,8 @@ service PCoinAdminService {
|
|
|
91
91
|
rpc Remove(ByIdRequest) returns(stream EmptyResponse) {}
|
|
92
92
|
rpc Paginate(PaginateRequest) returns(stream CoinPaginationResponse) {}
|
|
93
93
|
rpc PaginateFrom(PaginateFromRequest) returns(stream CoinPaginationResponse) {}
|
|
94
|
+
rpc SearchLogos(CoinLogoSearchRequest) returns(stream CoinLogoSearchResponse) {}
|
|
95
|
+
rpc SetLogo(CoinLogoSetRequest) returns(stream CoinLogoSetResponse) {}
|
|
94
96
|
}
|
|
95
97
|
|
|
96
98
|
service PCoinCronService {
|
|
@@ -10,6 +10,8 @@ message DailyMarketDataDto {
|
|
|
10
10
|
string status = 3;
|
|
11
11
|
string coinmarketcap_id = 4;
|
|
12
12
|
string coin_rank = 5;
|
|
13
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
14
|
+
optional string logo_url = 6;
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
message DailyMarketDataResponse {
|
|
@@ -90,6 +90,8 @@ message ExchangeCoinsDto {
|
|
|
90
90
|
string spread = 15;
|
|
91
91
|
string exchange_type = 16;
|
|
92
92
|
string updated_at = 17;
|
|
93
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
94
|
+
optional string logo_url = 18;
|
|
93
95
|
}
|
|
94
96
|
|
|
95
97
|
message ExchangeCoinsResponse {
|
|
@@ -12,6 +12,8 @@ message IncreasingDecreaseingDataDto {
|
|
|
12
12
|
string price = 5;
|
|
13
13
|
string price_change_percentage_24h = 6;
|
|
14
14
|
string url_id = 7;
|
|
15
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
16
|
+
optional string logo_url = 8;
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
message IncreasingDecreaseingData{
|
|
@@ -31,6 +33,8 @@ message TrendCoinDto {
|
|
|
31
33
|
string status = 3;
|
|
32
34
|
string coinmarketcap_id = 4;
|
|
33
35
|
string coin_rank = 5;
|
|
36
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
37
|
+
optional string logo_url = 6;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
message TrendCoinDataResponse {
|
|
@@ -33,6 +33,8 @@ message InflowOutflowTableData {
|
|
|
33
33
|
double flows_usd_1w = 26;
|
|
34
34
|
double price_change_percent_1w = 27;
|
|
35
35
|
double vol_usd_1w = 28;
|
|
36
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
37
|
+
optional string logo_url = 29;
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
message InflowOutflowResponse {
|
|
@@ -52,6 +54,8 @@ message OnChainInflowOutflowTableData {
|
|
|
52
54
|
string from = 8;
|
|
53
55
|
string to = 9;
|
|
54
56
|
string date = 10;
|
|
57
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
58
|
+
optional string logo_url = 11;
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
message OnChainInflowOutflowResponse {
|
|
@@ -19,6 +19,8 @@ message RsiListDto {
|
|
|
19
19
|
float price_change_percent_24h = 12;
|
|
20
20
|
float price_change_percent_1w = 13;
|
|
21
21
|
float price = 14;
|
|
22
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
23
|
+
optional string logo_url = 15;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
message RsiListResponse {
|
|
@@ -19,6 +19,8 @@ message TokenUnlockDto {
|
|
|
19
19
|
double unlock_progress = 12;
|
|
20
20
|
string total_locked = 13;
|
|
21
21
|
double total_locked_value = 14;
|
|
22
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
23
|
+
optional string logo_url = 15;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
message TokenUnlockDetailDto {
|
|
@@ -47,6 +47,8 @@ message PortfolioCoinDto {
|
|
|
47
47
|
string portfolioId = 6;
|
|
48
48
|
string createdAt = 7;
|
|
49
49
|
string updatedAt = 8;
|
|
50
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
51
|
+
optional string logo_url = 9;
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
message PortfolioStoreRequest {
|
|
@@ -137,6 +139,8 @@ message PortfolioCoinBundleDto {
|
|
|
137
139
|
string updatedAt = 14;
|
|
138
140
|
repeated PortfolioCoinChartData chartData = 15;
|
|
139
141
|
repeated TransactionDto transactions = 16;
|
|
142
|
+
// Coin logo chosen by coin-micro (see its coin-logo-map.ts); empty when unknown.
|
|
143
|
+
optional string logo_url = 17;
|
|
140
144
|
}
|
|
141
145
|
|
|
142
146
|
message PortfolioCoinChartData{
|