jr-common-micro 1.1.44 → 1.1.46
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/coin/analytics_messages_nest.d.ts +15 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +39 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +88 -1
- package/dist/proto/micro/v1/coin/services_connect.d.ts +7 -1
- package/dist/proto/micro/v1/coin/services_connect.js +6 -0
- package/dist/proto/micro/v1/coin/services_nest.d.ts +3 -1
- package/dist/proto/micro/v1/coin/services_nest.js +1 -0
- package/package.json +1 -1
- package/proto/micro/v1/coin/analytics_messages.proto +28 -10
- package/proto/micro/v1/coin/services.proto +1 -0
|
@@ -342,4 +342,19 @@ export interface PaginateRequestCurrency {
|
|
|
342
342
|
first500?: boolean | undefined;
|
|
343
343
|
optimization?: boolean | undefined;
|
|
344
344
|
}
|
|
345
|
+
export interface PassiveCurrenciesRequest {
|
|
346
|
+
page: number;
|
|
347
|
+
per_page: number;
|
|
348
|
+
draw: number;
|
|
349
|
+
}
|
|
350
|
+
export interface PassiveCurrencyItem {
|
|
351
|
+
url_id: string;
|
|
352
|
+
name: string;
|
|
353
|
+
coinmarketcap_id: string;
|
|
354
|
+
}
|
|
355
|
+
export interface PassiveCurrenciesResponse {
|
|
356
|
+
status: ResponseStatus | undefined;
|
|
357
|
+
pagination: PaginationMetaResult | undefined;
|
|
358
|
+
data: PassiveCurrencyItem[];
|
|
359
|
+
}
|
|
345
360
|
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -694,3 +694,42 @@ export declare class PaginateRequestCurrency extends Message<PaginateRequestCurr
|
|
|
694
694
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PaginateRequestCurrency;
|
|
695
695
|
static equals(a: PaginateRequestCurrency | PlainMessage<PaginateRequestCurrency> | undefined, b: PaginateRequestCurrency | PlainMessage<PaginateRequestCurrency> | undefined): boolean;
|
|
696
696
|
}
|
|
697
|
+
export declare class PassiveCurrenciesRequest extends Message<PassiveCurrenciesRequest> {
|
|
698
|
+
page: number;
|
|
699
|
+
perPage: number;
|
|
700
|
+
draw: number;
|
|
701
|
+
constructor(data?: PartialMessage<PassiveCurrenciesRequest>);
|
|
702
|
+
static readonly runtime: typeof proto3;
|
|
703
|
+
static readonly typeName = "micro.v1.coin.PassiveCurrenciesRequest";
|
|
704
|
+
static readonly fields: FieldList;
|
|
705
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesRequest;
|
|
706
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesRequest;
|
|
707
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesRequest;
|
|
708
|
+
static equals(a: PassiveCurrenciesRequest | PlainMessage<PassiveCurrenciesRequest> | undefined, b: PassiveCurrenciesRequest | PlainMessage<PassiveCurrenciesRequest> | undefined): boolean;
|
|
709
|
+
}
|
|
710
|
+
export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
711
|
+
urlId: string;
|
|
712
|
+
name: string;
|
|
713
|
+
coinmarketcapId: string;
|
|
714
|
+
constructor(data?: PartialMessage<PassiveCurrencyItem>);
|
|
715
|
+
static readonly runtime: typeof proto3;
|
|
716
|
+
static readonly typeName = "micro.v1.coin.PassiveCurrencyItem";
|
|
717
|
+
static readonly fields: FieldList;
|
|
718
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrencyItem;
|
|
719
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrencyItem;
|
|
720
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrencyItem;
|
|
721
|
+
static equals(a: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined, b: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined): boolean;
|
|
722
|
+
}
|
|
723
|
+
export declare class PassiveCurrenciesResponse extends Message<PassiveCurrenciesResponse> {
|
|
724
|
+
status?: ResponseStatus;
|
|
725
|
+
pagination?: PaginationMetaResult;
|
|
726
|
+
data: PassiveCurrencyItem[];
|
|
727
|
+
constructor(data?: PartialMessage<PassiveCurrenciesResponse>);
|
|
728
|
+
static readonly runtime: typeof proto3;
|
|
729
|
+
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
730
|
+
static readonly fields: FieldList;
|
|
731
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse;
|
|
732
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse;
|
|
733
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse;
|
|
734
|
+
static equals(a: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined, b: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined): boolean;
|
|
735
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PaginateRequestCurrency = exports.CurrenciesNewsChangeResponse = exports.CurrenciesNewsChangeRequest = exports.CurrenciesNewsChangeRequestData = exports.CurrenciesNewsChangeDto = exports.CurrenciesNewResponse = exports.CurrenciesNewDto = exports.CurrenciesByChainRequest = exports.CurrenciesByCategoryRequest = exports.NavbarDataResponse = exports.NavbarDataDto = exports.AnalyticsCoinsWeeklyDataBulkResponse = exports.CoinsWeeklyDataBulkRequest = exports.AnalyticsCoinWeeklyDataResponse = exports.CoinWeeklyDataDto = exports.AnalyticsExchangeResponse = exports.AnalyticsExchangeDto = exports.AnalyticsHighlightsResponse = exports.AnalyticsHighlightsResponseData = exports.AnalyticsHighlightsDto = exports.HighlightsItem = exports.BlockchainGlobalDataResponse = exports.BlockchainGlobalDataResponseData = exports.AnalyticsCategoriesResponse = exports.CurrenciesByCategoryResponse = exports.CurrenciesByCategoryResponseData = exports.AnalyticsChainsResponse = exports.AnalyticsChainsResponseData = exports.ChainDto = exports.CurrenciesByChainResponse = exports.CurrenciesByChainResponseData = exports.AnalyticsCurrenciesResponse = exports.AnalyticsCurrenciesResponseData = exports.AnalyticsCurrencyItem = exports.CategoriesArr = exports.About = exports.Title = exports.Contract = exports.Info = exports.CoinDetailDto_Converter = exports.CoinDetailDto_Categories = exports.CoinDetailDto_Links = exports.CoinDetailDto_UrlItem = exports.CoinDetailDto_Range = exports.CoinDetailDto_AllTimePrice = exports.CoinDetailDto = exports.AnalyticsHighlightTypeEnum = void 0;
|
|
3
|
+
exports.PassiveCurrenciesResponse = exports.PassiveCurrencyItem = exports.PassiveCurrenciesRequest = exports.PaginateRequestCurrency = exports.CurrenciesNewsChangeResponse = exports.CurrenciesNewsChangeRequest = exports.CurrenciesNewsChangeRequestData = exports.CurrenciesNewsChangeDto = exports.CurrenciesNewResponse = exports.CurrenciesNewDto = exports.CurrenciesByChainRequest = exports.CurrenciesByCategoryRequest = exports.NavbarDataResponse = exports.NavbarDataDto = exports.AnalyticsCoinsWeeklyDataBulkResponse = exports.CoinsWeeklyDataBulkRequest = exports.AnalyticsCoinWeeklyDataResponse = exports.CoinWeeklyDataDto = exports.AnalyticsExchangeResponse = exports.AnalyticsExchangeDto = exports.AnalyticsHighlightsResponse = exports.AnalyticsHighlightsResponseData = exports.AnalyticsHighlightsDto = exports.HighlightsItem = exports.BlockchainGlobalDataResponse = exports.BlockchainGlobalDataResponseData = exports.AnalyticsCategoriesResponse = exports.CurrenciesByCategoryResponse = exports.CurrenciesByCategoryResponseData = exports.AnalyticsChainsResponse = exports.AnalyticsChainsResponseData = exports.ChainDto = exports.CurrenciesByChainResponse = exports.CurrenciesByChainResponseData = exports.AnalyticsCurrenciesResponse = exports.AnalyticsCurrenciesResponseData = exports.AnalyticsCurrencyItem = exports.CategoriesArr = exports.About = exports.Title = exports.Contract = exports.Info = exports.CoinDetailDto_Converter = exports.CoinDetailDto_Categories = exports.CoinDetailDto_Links = exports.CoinDetailDto_UrlItem = exports.CoinDetailDto_Range = exports.CoinDetailDto_AllTimePrice = exports.CoinDetailDto = exports.AnalyticsHighlightTypeEnum = void 0;
|
|
4
4
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
5
|
const general_pb_js_1 = require("../general_pb.js");
|
|
6
6
|
var AnalyticsHighlightTypeEnum;
|
|
@@ -1512,3 +1512,90 @@ class PaginateRequestCurrency extends protobuf_1.Message {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
}
|
|
1514
1514
|
exports.PaginateRequestCurrency = PaginateRequestCurrency;
|
|
1515
|
+
class PassiveCurrenciesRequest extends protobuf_1.Message {
|
|
1516
|
+
page = 0;
|
|
1517
|
+
perPage = 0;
|
|
1518
|
+
draw = 0;
|
|
1519
|
+
constructor(data) {
|
|
1520
|
+
super();
|
|
1521
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1522
|
+
}
|
|
1523
|
+
static runtime = protobuf_1.proto3;
|
|
1524
|
+
static typeName = "micro.v1.coin.PassiveCurrenciesRequest";
|
|
1525
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1526
|
+
{ no: 1, name: "page", kind: "scalar", T: 5 },
|
|
1527
|
+
{ no: 2, name: "per_page", kind: "scalar", T: 5 },
|
|
1528
|
+
{ no: 3, name: "draw", kind: "scalar", T: 5 },
|
|
1529
|
+
]);
|
|
1530
|
+
static fromBinary(bytes, options) {
|
|
1531
|
+
return new PassiveCurrenciesRequest().fromBinary(bytes, options);
|
|
1532
|
+
}
|
|
1533
|
+
static fromJson(jsonValue, options) {
|
|
1534
|
+
return new PassiveCurrenciesRequest().fromJson(jsonValue, options);
|
|
1535
|
+
}
|
|
1536
|
+
static fromJsonString(jsonString, options) {
|
|
1537
|
+
return new PassiveCurrenciesRequest().fromJsonString(jsonString, options);
|
|
1538
|
+
}
|
|
1539
|
+
static equals(a, b) {
|
|
1540
|
+
return protobuf_1.proto3.util.equals(PassiveCurrenciesRequest, a, b);
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
exports.PassiveCurrenciesRequest = PassiveCurrenciesRequest;
|
|
1544
|
+
class PassiveCurrencyItem extends protobuf_1.Message {
|
|
1545
|
+
urlId = "";
|
|
1546
|
+
name = "";
|
|
1547
|
+
coinmarketcapId = "";
|
|
1548
|
+
constructor(data) {
|
|
1549
|
+
super();
|
|
1550
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1551
|
+
}
|
|
1552
|
+
static runtime = protobuf_1.proto3;
|
|
1553
|
+
static typeName = "micro.v1.coin.PassiveCurrencyItem";
|
|
1554
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1555
|
+
{ no: 1, name: "url_id", kind: "scalar", T: 9 },
|
|
1556
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
1557
|
+
{ no: 3, name: "coinmarketcap_id", kind: "scalar", T: 9 },
|
|
1558
|
+
]);
|
|
1559
|
+
static fromBinary(bytes, options) {
|
|
1560
|
+
return new PassiveCurrencyItem().fromBinary(bytes, options);
|
|
1561
|
+
}
|
|
1562
|
+
static fromJson(jsonValue, options) {
|
|
1563
|
+
return new PassiveCurrencyItem().fromJson(jsonValue, options);
|
|
1564
|
+
}
|
|
1565
|
+
static fromJsonString(jsonString, options) {
|
|
1566
|
+
return new PassiveCurrencyItem().fromJsonString(jsonString, options);
|
|
1567
|
+
}
|
|
1568
|
+
static equals(a, b) {
|
|
1569
|
+
return protobuf_1.proto3.util.equals(PassiveCurrencyItem, a, b);
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
exports.PassiveCurrencyItem = PassiveCurrencyItem;
|
|
1573
|
+
class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
1574
|
+
status;
|
|
1575
|
+
pagination;
|
|
1576
|
+
data = [];
|
|
1577
|
+
constructor(data) {
|
|
1578
|
+
super();
|
|
1579
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1580
|
+
}
|
|
1581
|
+
static runtime = protobuf_1.proto3;
|
|
1582
|
+
static typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
1583
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1584
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1585
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
1586
|
+
{ no: 3, name: "data", kind: "message", T: PassiveCurrencyItem, repeated: true },
|
|
1587
|
+
]);
|
|
1588
|
+
static fromBinary(bytes, options) {
|
|
1589
|
+
return new PassiveCurrenciesResponse().fromBinary(bytes, options);
|
|
1590
|
+
}
|
|
1591
|
+
static fromJson(jsonValue, options) {
|
|
1592
|
+
return new PassiveCurrenciesResponse().fromJson(jsonValue, options);
|
|
1593
|
+
}
|
|
1594
|
+
static fromJsonString(jsonString, options) {
|
|
1595
|
+
return new PassiveCurrenciesResponse().fromJsonString(jsonString, options);
|
|
1596
|
+
}
|
|
1597
|
+
static equals(a, b) {
|
|
1598
|
+
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse, a, b);
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
exports.PassiveCurrenciesResponse = PassiveCurrenciesResponse;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_pb.js";
|
|
2
2
|
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, CoinPaginationResponse, CoinPriceAlertPaginationResponse, CoinSingleResponse, CoinSingleResponseWithCoinGeckoId, GetFavoriteCoinsResponse, GetFearGreedHistoryRequest, GetFearGreedHistoryResponse, GetFearGreedIndexResponse, IsFavoriteCoinRequest, IsFavoriteCoinResponse, SaveCoinPriceAlertRequest } from "./coin_messages_pb.js";
|
|
3
3
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
|
-
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency } from "./analytics_messages_pb.js";
|
|
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";
|
|
6
6
|
import { LongShortRatioRequest, LongShortRatioResponse, LongShortRatiosRequest, LongShortRatiosResponse } from "./long_short_ratio_messages_pb.js";
|
|
7
7
|
import { RsiPaginationResponse, RsiStatsRequest, RsiStatsResponse } from "./rsi_messages_pb.js";
|
|
@@ -324,6 +324,12 @@ export declare const PAnalyticsService: {
|
|
|
324
324
|
readonly O: typeof CurrenciesNewResponse;
|
|
325
325
|
readonly kind: MethodKind.ServerStreaming;
|
|
326
326
|
};
|
|
327
|
+
readonly passiveCurrencies: {
|
|
328
|
+
readonly name: "PassiveCurrencies";
|
|
329
|
+
readonly I: typeof PassiveCurrenciesRequest;
|
|
330
|
+
readonly O: typeof PassiveCurrenciesResponse;
|
|
331
|
+
readonly kind: MethodKind.Unary;
|
|
332
|
+
};
|
|
327
333
|
};
|
|
328
334
|
};
|
|
329
335
|
export declare const PCoinAdminService: {
|
|
@@ -327,6 +327,12 @@ exports.PAnalyticsService = {
|
|
|
327
327
|
O: analytics_messages_pb_js_1.CurrenciesNewResponse,
|
|
328
328
|
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
329
329
|
},
|
|
330
|
+
passiveCurrencies: {
|
|
331
|
+
name: "PassiveCurrencies",
|
|
332
|
+
I: analytics_messages_pb_js_1.PassiveCurrenciesRequest,
|
|
333
|
+
O: analytics_messages_pb_js_1.PassiveCurrenciesResponse,
|
|
334
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
335
|
+
},
|
|
330
336
|
}
|
|
331
337
|
};
|
|
332
338
|
exports.PCoinAdminService = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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
|
-
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency } from "./analytics_messages_nest";
|
|
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
5
|
import { CoinAdminStoreRequest, CoinAdminUpdateRequest, 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";
|
|
@@ -129,6 +129,7 @@ export interface PAnalyticsServiceClient {
|
|
|
129
129
|
currenciesNew(request: PaginateRequest, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
130
130
|
currenciesNewsChanges(request: CurrenciesNewsChangeRequest, metadata?: Metadata): Observable<CurrenciesNewsChangeResponse>;
|
|
131
131
|
paginateCurrency(request: PaginateRequestCurrency, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
132
|
+
passiveCurrencies(request: PassiveCurrenciesRequest, metadata?: Metadata): Observable<PassiveCurrenciesResponse>;
|
|
132
133
|
}
|
|
133
134
|
export interface PAnalyticsServiceController {
|
|
134
135
|
currencies(request: PaginateRequest, metadata?: Metadata): Observable<AnalyticsCurrenciesResponse>;
|
|
@@ -145,6 +146,7 @@ export interface PAnalyticsServiceController {
|
|
|
145
146
|
currenciesNew(request: PaginateRequest, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
146
147
|
currenciesNewsChanges(request: CurrenciesNewsChangeRequest, metadata?: Metadata): Observable<CurrenciesNewsChangeResponse>;
|
|
147
148
|
paginateCurrency(request: PaginateRequestCurrency, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
149
|
+
passiveCurrencies(request: PassiveCurrenciesRequest, metadata?: Metadata): Promise<PassiveCurrenciesResponse> | Observable<PassiveCurrenciesResponse> | PassiveCurrenciesResponse;
|
|
148
150
|
}
|
|
149
151
|
export declare function PAnalyticsServiceControllerMethods(): (constructor: Function) => void;
|
|
150
152
|
export declare const P_ANALYTICS_SERVICE_NAME = "PAnalyticsService";
|
|
@@ -155,6 +155,7 @@ function PAnalyticsServiceControllerMethods() {
|
|
|
155
155
|
"currenciesNew",
|
|
156
156
|
"currenciesNewsChanges",
|
|
157
157
|
"paginateCurrency",
|
|
158
|
+
"passiveCurrencies",
|
|
158
159
|
];
|
|
159
160
|
for (const method of grpcMethods) {
|
|
160
161
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
package/package.json
CHANGED
|
@@ -223,15 +223,15 @@ message BlockchainGlobalDataResponse {
|
|
|
223
223
|
//// Highlights
|
|
224
224
|
|
|
225
225
|
enum AnalyticsHighlightTypeEnum {
|
|
226
|
-
trending_coins = 0;
|
|
227
|
-
top_gainers = 1;
|
|
228
|
-
top_losers = 2;
|
|
229
|
-
new_coins = 3;
|
|
230
|
-
most_viewed = 4;
|
|
231
|
-
highest_volume = 5;
|
|
232
|
-
price_change = 6;
|
|
233
|
-
most_voted = 7;
|
|
234
|
-
upcoming_coins = 8;
|
|
226
|
+
trending_coins = 0; //
|
|
227
|
+
top_gainers = 1; //
|
|
228
|
+
top_losers = 2; //
|
|
229
|
+
new_coins = 3; //
|
|
230
|
+
most_viewed = 4; //
|
|
231
|
+
highest_volume = 5; //
|
|
232
|
+
price_change = 6; //
|
|
233
|
+
most_voted = 7; //
|
|
234
|
+
upcoming_coins = 8; //
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
message HighlightsItem {
|
|
@@ -382,4 +382,22 @@ message PaginateRequestCurrency {
|
|
|
382
382
|
optional bool first300 = 12;
|
|
383
383
|
optional bool first500 = 13;
|
|
384
384
|
optional bool optimization = 14;
|
|
385
|
-
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
message PassiveCurrenciesRequest {
|
|
388
|
+
int32 page = 1;
|
|
389
|
+
int32 per_page = 2;
|
|
390
|
+
int32 draw = 3;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
message PassiveCurrencyItem {
|
|
394
|
+
string url_id = 1;
|
|
395
|
+
string name = 2;
|
|
396
|
+
string coinmarketcap_id = 3;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
message PassiveCurrenciesResponse {
|
|
400
|
+
ResponseStatus status = 1;
|
|
401
|
+
PaginationMetaResult pagination = 2;
|
|
402
|
+
repeated PassiveCurrencyItem data = 3;
|
|
403
|
+
}
|
|
@@ -79,6 +79,7 @@ service PAnalyticsService {
|
|
|
79
79
|
rpc CurrenciesNew(PaginateRequest) returns(stream CurrenciesNewResponse) {}
|
|
80
80
|
rpc CurrenciesNewsChanges(CurrenciesNewsChangeRequest) returns(stream CurrenciesNewsChangeResponse) {}
|
|
81
81
|
rpc PaginateCurrency(PaginateRequestCurrency) returns(stream CurrenciesNewResponse) {}
|
|
82
|
+
rpc PassiveCurrencies(PassiveCurrenciesRequest) returns (PassiveCurrenciesResponse) {}
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
// ---> Admin <---
|