jr-common-micro 1.1.46 → 1.1.47
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 +0 -6
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +0 -14
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +2 -33
- package/dist/proto/micro/v1/coin/services_connect.d.ts +2 -2
- package/dist/proto/micro/v1/coin/services_connect.js +1 -1
- package/dist/proto/micro/v1/coin/services_nest.d.ts +3 -3
- package/package.json +1 -1
- package/proto/micro/v1/coin/analytics_messages.proto +1 -8
- package/proto/micro/v1/coin/services.proto +1 -1
|
@@ -342,11 +342,6 @@ 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
345
|
export interface PassiveCurrencyItem {
|
|
351
346
|
url_id: string;
|
|
352
347
|
name: string;
|
|
@@ -354,7 +349,6 @@ export interface PassiveCurrencyItem {
|
|
|
354
349
|
}
|
|
355
350
|
export interface PassiveCurrenciesResponse {
|
|
356
351
|
status: ResponseStatus | undefined;
|
|
357
|
-
pagination: PaginationMetaResult | undefined;
|
|
358
352
|
data: PassiveCurrencyItem[];
|
|
359
353
|
}
|
|
360
354
|
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -694,19 +694,6 @@ 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
697
|
export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
711
698
|
urlId: string;
|
|
712
699
|
name: string;
|
|
@@ -722,7 +709,6 @@ export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
|
722
709
|
}
|
|
723
710
|
export declare class PassiveCurrenciesResponse extends Message<PassiveCurrenciesResponse> {
|
|
724
711
|
status?: ResponseStatus;
|
|
725
|
-
pagination?: PaginationMetaResult;
|
|
726
712
|
data: PassiveCurrencyItem[];
|
|
727
713
|
constructor(data?: PartialMessage<PassiveCurrenciesResponse>);
|
|
728
714
|
static readonly runtime: typeof proto3;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PassiveCurrenciesResponse = exports.PassiveCurrencyItem = exports.
|
|
3
|
+
exports.PassiveCurrenciesResponse = exports.PassiveCurrencyItem = 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,35 +1512,6 @@ 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
1515
|
class PassiveCurrencyItem extends protobuf_1.Message {
|
|
1545
1516
|
urlId = "";
|
|
1546
1517
|
name = "";
|
|
@@ -1572,7 +1543,6 @@ class PassiveCurrencyItem extends protobuf_1.Message {
|
|
|
1572
1543
|
exports.PassiveCurrencyItem = PassiveCurrencyItem;
|
|
1573
1544
|
class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
1574
1545
|
status;
|
|
1575
|
-
pagination;
|
|
1576
1546
|
data = [];
|
|
1577
1547
|
constructor(data) {
|
|
1578
1548
|
super();
|
|
@@ -1582,8 +1552,7 @@ class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
|
1582
1552
|
static typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
1583
1553
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1584
1554
|
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1585
|
-
{ no: 2, name: "
|
|
1586
|
-
{ no: 3, name: "data", kind: "message", T: PassiveCurrencyItem, repeated: true },
|
|
1555
|
+
{ no: 2, name: "data", kind: "message", T: PassiveCurrencyItem, repeated: true },
|
|
1587
1556
|
]);
|
|
1588
1557
|
static fromBinary(bytes, options) {
|
|
1589
1558
|
return new PassiveCurrenciesResponse().fromBinary(bytes, options);
|
|
@@ -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,
|
|
4
|
+
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, 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";
|
|
@@ -326,7 +326,7 @@ export declare const PAnalyticsService: {
|
|
|
326
326
|
};
|
|
327
327
|
readonly passiveCurrencies: {
|
|
328
328
|
readonly name: "PassiveCurrencies";
|
|
329
|
-
readonly I: typeof
|
|
329
|
+
readonly I: typeof EmptyRequest;
|
|
330
330
|
readonly O: typeof PassiveCurrenciesResponse;
|
|
331
331
|
readonly kind: MethodKind.Unary;
|
|
332
332
|
};
|
|
@@ -329,7 +329,7 @@ exports.PAnalyticsService = {
|
|
|
329
329
|
},
|
|
330
330
|
passiveCurrencies: {
|
|
331
331
|
name: "PassiveCurrencies",
|
|
332
|
-
I:
|
|
332
|
+
I: general_pb_js_1.EmptyRequest,
|
|
333
333
|
O: analytics_messages_pb_js_1.PassiveCurrenciesResponse,
|
|
334
334
|
kind: protobuf_1.MethodKind.Unary,
|
|
335
335
|
},
|
|
@@ -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,
|
|
4
|
+
import { AnalyticsCategoriesResponse, AnalyticsChainsResponse, AnalyticsCoinsWeeklyDataBulkResponse, AnalyticsCoinWeeklyDataResponse, AnalyticsCurrenciesResponse, AnalyticsExchangeResponse, AnalyticsHighlightsResponse, BlockchainGlobalDataResponse, CoinsWeeklyDataBulkRequest, CurrenciesByCategoryRequest, CurrenciesByCategoryResponse, CurrenciesByChainRequest, CurrenciesByChainResponse, CurrenciesNewResponse, CurrenciesNewsChangeRequest, CurrenciesNewsChangeResponse, NavbarDataResponse, PaginateRequestCurrency, 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,7 +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:
|
|
132
|
+
passiveCurrencies(request: EmptyRequest, metadata?: Metadata): Observable<PassiveCurrenciesResponse>;
|
|
133
133
|
}
|
|
134
134
|
export interface PAnalyticsServiceController {
|
|
135
135
|
currencies(request: PaginateRequest, metadata?: Metadata): Observable<AnalyticsCurrenciesResponse>;
|
|
@@ -146,7 +146,7 @@ export interface PAnalyticsServiceController {
|
|
|
146
146
|
currenciesNew(request: PaginateRequest, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
147
147
|
currenciesNewsChanges(request: CurrenciesNewsChangeRequest, metadata?: Metadata): Observable<CurrenciesNewsChangeResponse>;
|
|
148
148
|
paginateCurrency(request: PaginateRequestCurrency, metadata?: Metadata): Observable<CurrenciesNewResponse>;
|
|
149
|
-
passiveCurrencies(request:
|
|
149
|
+
passiveCurrencies(request: EmptyRequest, metadata?: Metadata): Promise<PassiveCurrenciesResponse> | Observable<PassiveCurrenciesResponse> | PassiveCurrenciesResponse;
|
|
150
150
|
}
|
|
151
151
|
export declare function PAnalyticsServiceControllerMethods(): (constructor: Function) => void;
|
|
152
152
|
export declare const P_ANALYTICS_SERVICE_NAME = "PAnalyticsService";
|
package/package.json
CHANGED
|
@@ -384,12 +384,6 @@ message PaginateRequestCurrency {
|
|
|
384
384
|
optional bool optimization = 14;
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
-
message PassiveCurrenciesRequest {
|
|
388
|
-
int32 page = 1;
|
|
389
|
-
int32 per_page = 2;
|
|
390
|
-
int32 draw = 3;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
387
|
message PassiveCurrencyItem {
|
|
394
388
|
string url_id = 1;
|
|
395
389
|
string name = 2;
|
|
@@ -398,6 +392,5 @@ message PassiveCurrencyItem {
|
|
|
398
392
|
|
|
399
393
|
message PassiveCurrenciesResponse {
|
|
400
394
|
ResponseStatus status = 1;
|
|
401
|
-
|
|
402
|
-
repeated PassiveCurrencyItem data = 3;
|
|
395
|
+
repeated PassiveCurrencyItem data = 2;
|
|
403
396
|
}
|
|
@@ -79,7 +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(
|
|
82
|
+
rpc PassiveCurrencies(EmptyRequest) returns (PassiveCurrenciesResponse) {}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
// ---> Admin <---
|