jr-common-micro 1.1.45 → 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.
|
@@ -353,19 +353,8 @@ export interface PassiveCurrencyItem {
|
|
|
353
353
|
coinmarketcap_id: string;
|
|
354
354
|
}
|
|
355
355
|
export interface PassiveCurrenciesResponse {
|
|
356
|
-
|
|
357
|
-
pagination:
|
|
358
|
-
|
|
359
|
-
}
|
|
360
|
-
export interface PassiveCurrenciesResponse_Data {
|
|
361
|
-
items: PassiveCurrencyItem[];
|
|
362
|
-
}
|
|
363
|
-
export interface PassiveCurrenciesResponse_Pagination {
|
|
364
|
-
draw: number;
|
|
365
|
-
records_filtered: number;
|
|
366
|
-
records_total: number;
|
|
367
|
-
}
|
|
368
|
-
export interface PassiveCurrenciesResponse_Status {
|
|
369
|
-
code: number;
|
|
356
|
+
status: ResponseStatus | undefined;
|
|
357
|
+
pagination: PaginationMetaResult | undefined;
|
|
358
|
+
data: PassiveCurrencyItem[];
|
|
370
359
|
}
|
|
371
360
|
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -721,9 +721,9 @@ export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
|
721
721
|
static equals(a: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined, b: PassiveCurrencyItem | PlainMessage<PassiveCurrencyItem> | undefined): boolean;
|
|
722
722
|
}
|
|
723
723
|
export declare class PassiveCurrenciesResponse extends Message<PassiveCurrenciesResponse> {
|
|
724
|
-
|
|
725
|
-
pagination?:
|
|
726
|
-
|
|
724
|
+
status?: ResponseStatus;
|
|
725
|
+
pagination?: PaginationMetaResult;
|
|
726
|
+
data: PassiveCurrencyItem[];
|
|
727
727
|
constructor(data?: PartialMessage<PassiveCurrenciesResponse>);
|
|
728
728
|
static readonly runtime: typeof proto3;
|
|
729
729
|
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
@@ -733,38 +733,3 @@ export declare class PassiveCurrenciesResponse extends Message<PassiveCurrencies
|
|
|
733
733
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse;
|
|
734
734
|
static equals(a: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined, b: PassiveCurrenciesResponse | PlainMessage<PassiveCurrenciesResponse> | undefined): boolean;
|
|
735
735
|
}
|
|
736
|
-
export declare class PassiveCurrenciesResponse_Data extends Message<PassiveCurrenciesResponse_Data> {
|
|
737
|
-
items: PassiveCurrencyItem[];
|
|
738
|
-
constructor(data?: PartialMessage<PassiveCurrenciesResponse_Data>);
|
|
739
|
-
static readonly runtime: typeof proto3;
|
|
740
|
-
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse.Data";
|
|
741
|
-
static readonly fields: FieldList;
|
|
742
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse_Data;
|
|
743
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Data;
|
|
744
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Data;
|
|
745
|
-
static equals(a: PassiveCurrenciesResponse_Data | PlainMessage<PassiveCurrenciesResponse_Data> | undefined, b: PassiveCurrenciesResponse_Data | PlainMessage<PassiveCurrenciesResponse_Data> | undefined): boolean;
|
|
746
|
-
}
|
|
747
|
-
export declare class PassiveCurrenciesResponse_Pagination extends Message<PassiveCurrenciesResponse_Pagination> {
|
|
748
|
-
draw: number;
|
|
749
|
-
recordsFiltered: number;
|
|
750
|
-
recordsTotal: number;
|
|
751
|
-
constructor(data?: PartialMessage<PassiveCurrenciesResponse_Pagination>);
|
|
752
|
-
static readonly runtime: typeof proto3;
|
|
753
|
-
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse.Pagination";
|
|
754
|
-
static readonly fields: FieldList;
|
|
755
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse_Pagination;
|
|
756
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Pagination;
|
|
757
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Pagination;
|
|
758
|
-
static equals(a: PassiveCurrenciesResponse_Pagination | PlainMessage<PassiveCurrenciesResponse_Pagination> | undefined, b: PassiveCurrenciesResponse_Pagination | PlainMessage<PassiveCurrenciesResponse_Pagination> | undefined): boolean;
|
|
759
|
-
}
|
|
760
|
-
export declare class PassiveCurrenciesResponse_Status extends Message<PassiveCurrenciesResponse_Status> {
|
|
761
|
-
code: number;
|
|
762
|
-
constructor(data?: PartialMessage<PassiveCurrenciesResponse_Status>);
|
|
763
|
-
static readonly runtime: typeof proto3;
|
|
764
|
-
static readonly typeName = "micro.v1.coin.PassiveCurrenciesResponse.Status";
|
|
765
|
-
static readonly fields: FieldList;
|
|
766
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PassiveCurrenciesResponse_Status;
|
|
767
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Status;
|
|
768
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PassiveCurrenciesResponse_Status;
|
|
769
|
-
static equals(a: PassiveCurrenciesResponse_Status | PlainMessage<PassiveCurrenciesResponse_Status> | undefined, b: PassiveCurrenciesResponse_Status | PlainMessage<PassiveCurrenciesResponse_Status> | undefined): boolean;
|
|
770
|
-
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
|
-
exports.PassiveCurrenciesResponse_Status = exports.PassiveCurrenciesResponse_Pagination = exports.PassiveCurrenciesResponse_Data = void 0;
|
|
5
4
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
6
5
|
const general_pb_js_1 = require("../general_pb.js");
|
|
7
6
|
var AnalyticsHighlightTypeEnum;
|
|
@@ -1572,9 +1571,9 @@ class PassiveCurrencyItem extends protobuf_1.Message {
|
|
|
1572
1571
|
}
|
|
1573
1572
|
exports.PassiveCurrencyItem = PassiveCurrencyItem;
|
|
1574
1573
|
class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
1575
|
-
data;
|
|
1576
|
-
pagination;
|
|
1577
1574
|
status;
|
|
1575
|
+
pagination;
|
|
1576
|
+
data = [];
|
|
1578
1577
|
constructor(data) {
|
|
1579
1578
|
super();
|
|
1580
1579
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1582,9 +1581,9 @@ class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
|
1582
1581
|
static runtime = protobuf_1.proto3;
|
|
1583
1582
|
static typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
1584
1583
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1585
|
-
{ no: 1, name: "
|
|
1586
|
-
{ no: 2, name: "pagination", kind: "message", T:
|
|
1587
|
-
{ no: 3, name: "
|
|
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 },
|
|
1588
1587
|
]);
|
|
1589
1588
|
static fromBinary(bytes, options) {
|
|
1590
1589
|
return new PassiveCurrenciesResponse().fromBinary(bytes, options);
|
|
@@ -1600,82 +1599,3 @@ class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
|
1600
1599
|
}
|
|
1601
1600
|
}
|
|
1602
1601
|
exports.PassiveCurrenciesResponse = PassiveCurrenciesResponse;
|
|
1603
|
-
class PassiveCurrenciesResponse_Data extends protobuf_1.Message {
|
|
1604
|
-
items = [];
|
|
1605
|
-
constructor(data) {
|
|
1606
|
-
super();
|
|
1607
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1608
|
-
}
|
|
1609
|
-
static runtime = protobuf_1.proto3;
|
|
1610
|
-
static typeName = "micro.v1.coin.PassiveCurrenciesResponse.Data";
|
|
1611
|
-
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1612
|
-
{ no: 1, name: "items", kind: "message", T: PassiveCurrencyItem, repeated: true },
|
|
1613
|
-
]);
|
|
1614
|
-
static fromBinary(bytes, options) {
|
|
1615
|
-
return new PassiveCurrenciesResponse_Data().fromBinary(bytes, options);
|
|
1616
|
-
}
|
|
1617
|
-
static fromJson(jsonValue, options) {
|
|
1618
|
-
return new PassiveCurrenciesResponse_Data().fromJson(jsonValue, options);
|
|
1619
|
-
}
|
|
1620
|
-
static fromJsonString(jsonString, options) {
|
|
1621
|
-
return new PassiveCurrenciesResponse_Data().fromJsonString(jsonString, options);
|
|
1622
|
-
}
|
|
1623
|
-
static equals(a, b) {
|
|
1624
|
-
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse_Data, a, b);
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
exports.PassiveCurrenciesResponse_Data = PassiveCurrenciesResponse_Data;
|
|
1628
|
-
class PassiveCurrenciesResponse_Pagination extends protobuf_1.Message {
|
|
1629
|
-
draw = 0;
|
|
1630
|
-
recordsFiltered = 0;
|
|
1631
|
-
recordsTotal = 0;
|
|
1632
|
-
constructor(data) {
|
|
1633
|
-
super();
|
|
1634
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1635
|
-
}
|
|
1636
|
-
static runtime = protobuf_1.proto3;
|
|
1637
|
-
static typeName = "micro.v1.coin.PassiveCurrenciesResponse.Pagination";
|
|
1638
|
-
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1639
|
-
{ no: 1, name: "draw", kind: "scalar", T: 5 },
|
|
1640
|
-
{ no: 2, name: "records_filtered", kind: "scalar", T: 5 },
|
|
1641
|
-
{ no: 3, name: "records_total", kind: "scalar", T: 5 },
|
|
1642
|
-
]);
|
|
1643
|
-
static fromBinary(bytes, options) {
|
|
1644
|
-
return new PassiveCurrenciesResponse_Pagination().fromBinary(bytes, options);
|
|
1645
|
-
}
|
|
1646
|
-
static fromJson(jsonValue, options) {
|
|
1647
|
-
return new PassiveCurrenciesResponse_Pagination().fromJson(jsonValue, options);
|
|
1648
|
-
}
|
|
1649
|
-
static fromJsonString(jsonString, options) {
|
|
1650
|
-
return new PassiveCurrenciesResponse_Pagination().fromJsonString(jsonString, options);
|
|
1651
|
-
}
|
|
1652
|
-
static equals(a, b) {
|
|
1653
|
-
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse_Pagination, a, b);
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
exports.PassiveCurrenciesResponse_Pagination = PassiveCurrenciesResponse_Pagination;
|
|
1657
|
-
class PassiveCurrenciesResponse_Status extends protobuf_1.Message {
|
|
1658
|
-
code = 0;
|
|
1659
|
-
constructor(data) {
|
|
1660
|
-
super();
|
|
1661
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
1662
|
-
}
|
|
1663
|
-
static runtime = protobuf_1.proto3;
|
|
1664
|
-
static typeName = "micro.v1.coin.PassiveCurrenciesResponse.Status";
|
|
1665
|
-
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1666
|
-
{ no: 1, name: "code", kind: "scalar", T: 5 },
|
|
1667
|
-
]);
|
|
1668
|
-
static fromBinary(bytes, options) {
|
|
1669
|
-
return new PassiveCurrenciesResponse_Status().fromBinary(bytes, options);
|
|
1670
|
-
}
|
|
1671
|
-
static fromJson(jsonValue, options) {
|
|
1672
|
-
return new PassiveCurrenciesResponse_Status().fromJson(jsonValue, options);
|
|
1673
|
-
}
|
|
1674
|
-
static fromJsonString(jsonString, options) {
|
|
1675
|
-
return new PassiveCurrenciesResponse_Status().fromJsonString(jsonString, options);
|
|
1676
|
-
}
|
|
1677
|
-
static equals(a, b) {
|
|
1678
|
-
return protobuf_1.proto3.util.equals(PassiveCurrenciesResponse_Status, a, b);
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
exports.PassiveCurrenciesResponse_Status = PassiveCurrenciesResponse_Status;
|
package/package.json
CHANGED
|
@@ -397,21 +397,7 @@ message PassiveCurrencyItem {
|
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
message PassiveCurrenciesResponse {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
message Pagination {
|
|
405
|
-
int32 draw = 1;
|
|
406
|
-
int32 records_filtered = 2;
|
|
407
|
-
int32 records_total = 3;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
message Status {
|
|
411
|
-
int32 code = 1;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
Data data = 1;
|
|
415
|
-
Pagination pagination = 2;
|
|
416
|
-
Status status = 3;
|
|
400
|
+
ResponseStatus status = 1;
|
|
401
|
+
PaginationMetaResult pagination = 2;
|
|
402
|
+
repeated PassiveCurrencyItem data = 3;
|
|
417
403
|
}
|