jr-common-micro 1.1.47 → 1.1.49
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 +6 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +14 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +33 -2
- 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/dist/proto/micro/v1/news/news_messages_nest.d.ts +3 -0
- package/dist/proto/micro/v1/news/news_messages_pb.d.ts +11 -0
- package/dist/proto/micro/v1/news/news_messages_pb.js +26 -1
- package/dist/proto/micro/v1/news/services_connect.d.ts +7 -1
- package/dist/proto/micro/v1/news/services_connect.js +6 -0
- package/dist/proto/micro/v1/news/services_nest.d.ts +3 -1
- package/dist/proto/micro/v1/news/services_nest.js +8 -1
- package/dist/proto/micro/v1/user/index.d.ts +1 -0
- package/dist/proto/micro/v1/user/index.js +2 -1
- package/dist/proto/micro/v1/user/profile_messages_nest.d.ts +64 -0
- package/dist/proto/micro/v1/user/profile_messages_nest.js +5 -0
- package/dist/proto/micro/v1/user/profile_messages_pb.d.ts +152 -0
- package/dist/proto/micro/v1/user/profile_messages_pb.js +336 -0
- package/dist/proto/micro/v1/user/services_connect.d.ts +72 -0
- package/dist/proto/micro/v1/user/services_connect.js +73 -1
- package/dist/proto/micro/v1/user/services_nest.d.ts +29 -0
- package/dist/proto/micro/v1/user/services_nest.js +29 -1
- package/package.json +1 -1
- package/proto/micro/v1/coin/analytics_messages.proto +8 -1
- package/proto/micro/v1/coin/services.proto +1 -1
- package/proto/micro/v1/news/news_messages.proto +2 -0
- package/proto/micro/v1/news/services.proto +1 -0
- package/proto/micro/v1/user/profile_messages.proto +80 -0
- package/proto/micro/v1/user/services.proto +15 -0
|
@@ -342,6 +342,11 @@ 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
|
+
}
|
|
345
350
|
export interface PassiveCurrencyItem {
|
|
346
351
|
url_id: string;
|
|
347
352
|
name: string;
|
|
@@ -349,6 +354,7 @@ export interface PassiveCurrencyItem {
|
|
|
349
354
|
}
|
|
350
355
|
export interface PassiveCurrenciesResponse {
|
|
351
356
|
status: ResponseStatus | undefined;
|
|
357
|
+
pagination: PaginationMetaResult | undefined;
|
|
352
358
|
data: PassiveCurrencyItem[];
|
|
353
359
|
}
|
|
354
360
|
export declare const MICRO_V1_COIN_PACKAGE_NAME = "micro.v1.coin";
|
|
@@ -694,6 +694,19 @@ 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
|
+
}
|
|
697
710
|
export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
698
711
|
urlId: string;
|
|
699
712
|
name: string;
|
|
@@ -709,6 +722,7 @@ export declare class PassiveCurrencyItem extends Message<PassiveCurrencyItem> {
|
|
|
709
722
|
}
|
|
710
723
|
export declare class PassiveCurrenciesResponse extends Message<PassiveCurrenciesResponse> {
|
|
711
724
|
status?: ResponseStatus;
|
|
725
|
+
pagination?: PaginationMetaResult;
|
|
712
726
|
data: PassiveCurrencyItem[];
|
|
713
727
|
constructor(data?: PartialMessage<PassiveCurrenciesResponse>);
|
|
714
728
|
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.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,6 +1512,35 @@ 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;
|
|
1515
1544
|
class PassiveCurrencyItem extends protobuf_1.Message {
|
|
1516
1545
|
urlId = "";
|
|
1517
1546
|
name = "";
|
|
@@ -1543,6 +1572,7 @@ class PassiveCurrencyItem extends protobuf_1.Message {
|
|
|
1543
1572
|
exports.PassiveCurrencyItem = PassiveCurrencyItem;
|
|
1544
1573
|
class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
1545
1574
|
status;
|
|
1575
|
+
pagination;
|
|
1546
1576
|
data = [];
|
|
1547
1577
|
constructor(data) {
|
|
1548
1578
|
super();
|
|
@@ -1552,7 +1582,8 @@ class PassiveCurrenciesResponse extends protobuf_1.Message {
|
|
|
1552
1582
|
static typeName = "micro.v1.coin.PassiveCurrenciesResponse";
|
|
1553
1583
|
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1554
1584
|
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1555
|
-
{ no: 2, name: "
|
|
1585
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
1586
|
+
{ no: 3, name: "data", kind: "message", T: PassiveCurrencyItem, repeated: true },
|
|
1556
1587
|
]);
|
|
1557
1588
|
static fromBinary(bytes, options) {
|
|
1558
1589
|
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, PassiveCurrenciesResponse } 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";
|
|
@@ -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 PassiveCurrenciesRequest;
|
|
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: analytics_messages_pb_js_1.PassiveCurrenciesRequest,
|
|
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, PassiveCurrenciesResponse } 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,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: PassiveCurrenciesRequest, 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: PassiveCurrenciesRequest, 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";
|
|
@@ -247,6 +247,9 @@ export interface NewsReadCategory_CategoryEntry {
|
|
|
247
247
|
export interface NewsReadCategories {
|
|
248
248
|
category: NewsReadCategory[];
|
|
249
249
|
}
|
|
250
|
+
export interface NewsReadTickers {
|
|
251
|
+
tickers: string[];
|
|
252
|
+
}
|
|
250
253
|
export interface TranslateRequest {
|
|
251
254
|
id: string;
|
|
252
255
|
language: string;
|
|
@@ -372,6 +372,17 @@ export declare class NewsReadCategories extends Message<NewsReadCategories> {
|
|
|
372
372
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewsReadCategories;
|
|
373
373
|
static equals(a: NewsReadCategories | PlainMessage<NewsReadCategories> | undefined, b: NewsReadCategories | PlainMessage<NewsReadCategories> | undefined): boolean;
|
|
374
374
|
}
|
|
375
|
+
export declare class NewsReadTickers extends Message<NewsReadTickers> {
|
|
376
|
+
tickers: string[];
|
|
377
|
+
constructor(data?: PartialMessage<NewsReadTickers>);
|
|
378
|
+
static readonly runtime: typeof proto3;
|
|
379
|
+
static readonly typeName = "micro.v1.news.NewsReadTickers";
|
|
380
|
+
static readonly fields: FieldList;
|
|
381
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NewsReadTickers;
|
|
382
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NewsReadTickers;
|
|
383
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NewsReadTickers;
|
|
384
|
+
static equals(a: NewsReadTickers | PlainMessage<NewsReadTickers> | undefined, b: NewsReadTickers | PlainMessage<NewsReadTickers> | undefined): boolean;
|
|
385
|
+
}
|
|
375
386
|
export declare class TranslateRequest extends Message<TranslateRequest> {
|
|
376
387
|
id: string;
|
|
377
388
|
language: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NewsAdminPaginateRequest = exports.OnlyTranslateRequest = exports.TranslateRequest = exports.NewsReadCategories = exports.NewsReadCategory = exports.NewsReadSlots = exports.NewsReadSlot = exports.NewsUpdateRequest = exports.NewsPublishRequest = exports.ReadRequest = exports.NewsStoreRequest = exports.OnlyTranslateResponse = exports.NewsReadCoin = exports.NewsReadCoins = exports.PublishedNewsPaginationAdminResponse = exports.PublishedNewsSingleAdminResponse = exports.NewsPaginateDateAdminResponse = exports.NewsPaginationAdminResponse = exports.NewsSingleAdminResponse = exports.CategoryNews = exports.SlotNews = exports.PublishedNewsAdminDto = exports.NewsPaginateDateAdminDto = exports.NewsAdminDto = exports.NewsPaginationResponse = exports.NewsSingleResponse = exports.NewsDto = void 0;
|
|
3
|
+
exports.NewsAdminPaginateRequest = exports.OnlyTranslateRequest = exports.TranslateRequest = exports.NewsReadTickers = exports.NewsReadCategories = exports.NewsReadCategory = exports.NewsReadSlots = exports.NewsReadSlot = exports.NewsUpdateRequest = exports.NewsPublishRequest = exports.ReadRequest = exports.NewsStoreRequest = exports.OnlyTranslateResponse = exports.NewsReadCoin = exports.NewsReadCoins = exports.PublishedNewsPaginationAdminResponse = exports.PublishedNewsSingleAdminResponse = exports.NewsPaginateDateAdminResponse = exports.NewsPaginationAdminResponse = exports.NewsSingleAdminResponse = exports.CategoryNews = exports.SlotNews = exports.PublishedNewsAdminDto = exports.NewsPaginateDateAdminDto = exports.NewsAdminDto = exports.NewsPaginationResponse = exports.NewsSingleResponse = exports.NewsDto = void 0;
|
|
4
4
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
5
|
const general_pb_js_1 = require("../general_pb.js");
|
|
6
6
|
class NewsDto extends protobuf_1.Message {
|
|
@@ -749,6 +749,31 @@ class NewsReadCategories extends protobuf_1.Message {
|
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
751
|
exports.NewsReadCategories = NewsReadCategories;
|
|
752
|
+
class NewsReadTickers extends protobuf_1.Message {
|
|
753
|
+
tickers = [];
|
|
754
|
+
constructor(data) {
|
|
755
|
+
super();
|
|
756
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
757
|
+
}
|
|
758
|
+
static runtime = protobuf_1.proto3;
|
|
759
|
+
static typeName = "micro.v1.news.NewsReadTickers";
|
|
760
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
761
|
+
{ no: 1, name: "tickers", kind: "scalar", T: 9, repeated: true },
|
|
762
|
+
]);
|
|
763
|
+
static fromBinary(bytes, options) {
|
|
764
|
+
return new NewsReadTickers().fromBinary(bytes, options);
|
|
765
|
+
}
|
|
766
|
+
static fromJson(jsonValue, options) {
|
|
767
|
+
return new NewsReadTickers().fromJson(jsonValue, options);
|
|
768
|
+
}
|
|
769
|
+
static fromJsonString(jsonString, options) {
|
|
770
|
+
return new NewsReadTickers().fromJsonString(jsonString, options);
|
|
771
|
+
}
|
|
772
|
+
static equals(a, b) {
|
|
773
|
+
return protobuf_1.proto3.util.equals(NewsReadTickers, a, b);
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
exports.NewsReadTickers = NewsReadTickers;
|
|
752
777
|
class TranslateRequest extends protobuf_1.Message {
|
|
753
778
|
id = "";
|
|
754
779
|
language = "";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ByIdRequest, EmptyRequest, EmptyResponse, PaginateFromRequest, PaginateRequest } from "../general_pb.js";
|
|
2
2
|
import { SundownPaginationResponse, SundownSingleResponse } from "./sundown_messages_pb.js";
|
|
3
3
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
|
-
import { NewsAdminPaginateRequest, NewsPaginateDateAdminResponse, NewsPaginationAdminResponse, NewsPaginationResponse, NewsPublishRequest, NewsReadCategories, NewsReadCoins, NewsReadSlots, NewsSingleAdminResponse, NewsSingleResponse, NewsStoreRequest, NewsUpdateRequest, OnlyTranslateRequest, OnlyTranslateResponse, ReadRequest, TranslateRequest } from "./news_messages_pb.js";
|
|
4
|
+
import { NewsAdminPaginateRequest, NewsPaginateDateAdminResponse, NewsPaginationAdminResponse, NewsPaginationResponse, NewsPublishRequest, NewsReadCategories, NewsReadCoins, NewsReadSlots, NewsReadTickers, NewsSingleAdminResponse, NewsSingleResponse, NewsStoreRequest, NewsUpdateRequest, OnlyTranslateRequest, OnlyTranslateResponse, ReadRequest, TranslateRequest } from "./news_messages_pb.js";
|
|
5
5
|
import { BlogPaginateDateAdminResponse, BlogPaginationAdminResponse, BlogPaginationResponse, BlogPublishRequest, BlogReadCategories, BlogReadSlots, BlogSingleAdminResponse, BlogSingleResponse, BlogUpdateRequest } from "./blog_messages_pb.js";
|
|
6
6
|
import { CalendarPaginateDateResponse, CalendarPaginationResponse, CalendarSingleResponse, CalendarStoreRequest } from "./calendar_messages_pb.js";
|
|
7
7
|
import { EconomicCalendarResponse, StoreEconomicCalendarRequest } from "./economic_calendar_messages_pb.js";
|
|
@@ -63,6 +63,12 @@ export declare const PNewsService: {
|
|
|
63
63
|
readonly O: typeof NewsReadCategories;
|
|
64
64
|
readonly kind: MethodKind.ServerStreaming;
|
|
65
65
|
};
|
|
66
|
+
readonly readTickers: {
|
|
67
|
+
readonly name: "ReadTickers";
|
|
68
|
+
readonly I: typeof EmptyRequest;
|
|
69
|
+
readonly O: typeof NewsReadTickers;
|
|
70
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
71
|
+
};
|
|
66
72
|
};
|
|
67
73
|
};
|
|
68
74
|
export declare const PBlogService: {
|
|
@@ -66,6 +66,12 @@ exports.PNewsService = {
|
|
|
66
66
|
O: news_messages_pb_js_1.NewsReadCategories,
|
|
67
67
|
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
68
68
|
},
|
|
69
|
+
readTickers: {
|
|
70
|
+
name: "ReadTickers",
|
|
71
|
+
I: general_pb_js_1.EmptyRequest,
|
|
72
|
+
O: news_messages_pb_js_1.NewsReadTickers,
|
|
73
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
74
|
+
},
|
|
69
75
|
}
|
|
70
76
|
};
|
|
71
77
|
exports.PBlogService = {
|
|
@@ -6,7 +6,7 @@ import { BlogPaginateDateAdminResponse, BlogPaginationAdminResponse, BlogPaginat
|
|
|
6
6
|
import { CalendarPaginateDateResponse, CalendarPaginationResponse, CalendarSingleResponse, CalendarStoreRequest } from "./calendar_messages_nest";
|
|
7
7
|
import { EconomicCalendarResponse, StoreEconomicCalendarRequest } from "./economic_calendar_messages_nest";
|
|
8
8
|
import { CheckSeoRequest, CheckSeoResponse, CheckSlugRequest, CheckSlugResponse, GenerateAiContentOnlyRequest, GenerateAiContentOnlyResponse, GenerateAiContentRequest, GenerateAiContentResponse, GenerateAiMetaOnlyRequest, GenerateAiMetaOnlyResponse, JrBlogCategoryCreateRequest, JrBlogCategoryResponse, JrBlogCreateRequest, JrBlogEditRequest, JrBlogListRequest, JrBlogListResponse, JrBlogPublishRequest, JrBlogReadCategories, JrBlogReadSlots, JrBlogSingleResponse, JrBlogSlotCreateRequest, JrBlogSlotResponse, SeoRequirementsResponse } from "./jr_blog_messages_nest";
|
|
9
|
-
import { NewsAdminPaginateRequest, NewsPaginateDateAdminResponse, NewsPaginationAdminResponse, NewsPaginationResponse, NewsPublishRequest, NewsReadCategories, NewsReadCoins, NewsReadSlots, NewsSingleAdminResponse, NewsSingleResponse, NewsStoreRequest, NewsUpdateRequest, OnlyTranslateRequest, OnlyTranslateResponse, ReadRequest, TranslateRequest } from "./news_messages_nest";
|
|
9
|
+
import { NewsAdminPaginateRequest, NewsPaginateDateAdminResponse, NewsPaginationAdminResponse, NewsPaginationResponse, NewsPublishRequest, NewsReadCategories, NewsReadCoins, NewsReadSlots, NewsReadTickers, NewsSingleAdminResponse, NewsSingleResponse, NewsStoreRequest, NewsUpdateRequest, OnlyTranslateRequest, OnlyTranslateResponse, ReadRequest, TranslateRequest } from "./news_messages_nest";
|
|
10
10
|
import { SundownPaginationResponse, SundownSingleResponse } from "./sundown_messages_nest";
|
|
11
11
|
export declare const protobufPackage = "micro.v1.news";
|
|
12
12
|
export declare const MICRO_V1_NEWS_PACKAGE_NAME = "micro.v1.news";
|
|
@@ -28,6 +28,7 @@ export interface PNewsServiceClient {
|
|
|
28
28
|
paginateFrom(request: PaginateFromRequest, metadata?: Metadata): Observable<NewsPaginationResponse>;
|
|
29
29
|
readAllByCoin(request: PaginateRequest, metadata?: Metadata): Observable<NewsPaginationResponse>;
|
|
30
30
|
readCategories(request: EmptyRequest, metadata?: Metadata): Observable<NewsReadCategories>;
|
|
31
|
+
readTickers(request: EmptyRequest, metadata?: Metadata): Observable<NewsReadTickers>;
|
|
31
32
|
}
|
|
32
33
|
export interface PNewsServiceController {
|
|
33
34
|
read(request: ByIdRequest, metadata?: Metadata): Observable<NewsSingleResponse>;
|
|
@@ -35,6 +36,7 @@ export interface PNewsServiceController {
|
|
|
35
36
|
paginateFrom(request: PaginateFromRequest, metadata?: Metadata): Observable<NewsPaginationResponse>;
|
|
36
37
|
readAllByCoin(request: PaginateRequest, metadata?: Metadata): Observable<NewsPaginationResponse>;
|
|
37
38
|
readCategories(request: EmptyRequest, metadata?: Metadata): Observable<NewsReadCategories>;
|
|
39
|
+
readTickers(request: EmptyRequest, metadata?: Metadata): Observable<NewsReadTickers>;
|
|
38
40
|
}
|
|
39
41
|
export declare function PNewsServiceControllerMethods(): (constructor: Function) => void;
|
|
40
42
|
export declare const P_NEWS_SERVICE_NAME = "PNewsService";
|
|
@@ -33,7 +33,14 @@ function PSundownServiceControllerMethods() {
|
|
|
33
33
|
exports.P_SUNDOWN_SERVICE_NAME = "PSundownService";
|
|
34
34
|
function PNewsServiceControllerMethods() {
|
|
35
35
|
return function (constructor) {
|
|
36
|
-
const grpcMethods = [
|
|
36
|
+
const grpcMethods = [
|
|
37
|
+
"read",
|
|
38
|
+
"paginate",
|
|
39
|
+
"paginateFrom",
|
|
40
|
+
"readAllByCoin",
|
|
41
|
+
"readCategories",
|
|
42
|
+
"readTickers",
|
|
43
|
+
];
|
|
37
44
|
for (const method of grpcMethods) {
|
|
38
45
|
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
39
46
|
(0, microservices_1.GrpcMethod)("PNewsService", method)(constructor.prototype[method], method, descriptor);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as auth_messages_nest from './auth_messages_nest';
|
|
2
2
|
export * as authorization_messages_nest from './authorization_messages_nest';
|
|
3
|
+
export * as profile_messages_nest from './profile_messages_nest';
|
|
3
4
|
export * as services_connect from './services_connect';
|
|
4
5
|
export * as services_nest from './services_nest';
|
|
5
6
|
export * as site_settings_messages_nest from './site_settings_messages_nest';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.user_messages_nest = exports.site_settings_messages_nest = exports.services_nest = exports.services_connect = exports.authorization_messages_nest = exports.auth_messages_nest = void 0;
|
|
3
|
+
exports.user_messages_nest = exports.site_settings_messages_nest = exports.services_nest = exports.services_connect = exports.profile_messages_nest = exports.authorization_messages_nest = exports.auth_messages_nest = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
exports.auth_messages_nest = tslib_1.__importStar(require("./auth_messages_nest"));
|
|
6
6
|
exports.authorization_messages_nest = tslib_1.__importStar(require("./authorization_messages_nest"));
|
|
7
|
+
exports.profile_messages_nest = tslib_1.__importStar(require("./profile_messages_nest"));
|
|
7
8
|
exports.services_connect = tslib_1.__importStar(require("./services_connect"));
|
|
8
9
|
exports.services_nest = tslib_1.__importStar(require("./services_nest"));
|
|
9
10
|
exports.site_settings_messages_nest = tslib_1.__importStar(require("./site_settings_messages_nest"));
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { PaginationMetaResult, ResponseStatus } from "../general_nest";
|
|
2
|
+
export declare const protobufPackage = "micro.v1.user";
|
|
3
|
+
export interface ProfileDto {
|
|
4
|
+
user_id: string;
|
|
5
|
+
username: string;
|
|
6
|
+
bio: string;
|
|
7
|
+
avatar_id: string;
|
|
8
|
+
link_x: string;
|
|
9
|
+
link_instagram: string;
|
|
10
|
+
link_youtube: string;
|
|
11
|
+
link_telegram: string;
|
|
12
|
+
role: string;
|
|
13
|
+
follower_count: number;
|
|
14
|
+
following_count: number;
|
|
15
|
+
like_count: number;
|
|
16
|
+
is_following: boolean;
|
|
17
|
+
is_liked: boolean;
|
|
18
|
+
is_me: boolean;
|
|
19
|
+
member_since: string;
|
|
20
|
+
}
|
|
21
|
+
export interface UsernameAvailableRequest {
|
|
22
|
+
username: string;
|
|
23
|
+
}
|
|
24
|
+
export interface UsernameAvailableResponse {
|
|
25
|
+
status: ResponseStatus | undefined;
|
|
26
|
+
available: boolean;
|
|
27
|
+
reason: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ClaimUsernameRequest {
|
|
30
|
+
username: string;
|
|
31
|
+
}
|
|
32
|
+
export interface ProfileUpdateRequest {
|
|
33
|
+
bio?: string | undefined;
|
|
34
|
+
avatar_id?: string | undefined;
|
|
35
|
+
link_x?: string | undefined;
|
|
36
|
+
link_instagram?: string | undefined;
|
|
37
|
+
link_youtube?: string | undefined;
|
|
38
|
+
link_telegram?: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export interface ProfileByUsernameRequest {
|
|
41
|
+
username: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ProfileSingleResponse {
|
|
44
|
+
status: ResponseStatus | undefined;
|
|
45
|
+
data: ProfileDto | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface FollowRequest {
|
|
48
|
+
username: string;
|
|
49
|
+
}
|
|
50
|
+
export interface LikeRequest {
|
|
51
|
+
username: string;
|
|
52
|
+
}
|
|
53
|
+
export interface ProfileListItemDto {
|
|
54
|
+
user_id: string;
|
|
55
|
+
username: string;
|
|
56
|
+
avatar_id: string;
|
|
57
|
+
role: string;
|
|
58
|
+
}
|
|
59
|
+
export interface ProfileListResponse {
|
|
60
|
+
status: ResponseStatus | undefined;
|
|
61
|
+
pagination: PaginationMetaResult | undefined;
|
|
62
|
+
data: ProfileListItemDto[];
|
|
63
|
+
}
|
|
64
|
+
export declare const MICRO_V1_USER_PACKAGE_NAME = "micro.v1.user";
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { PaginationMetaResult, ResponseStatus } from "../general_pb.js";
|
|
4
|
+
export declare class ProfileDto extends Message<ProfileDto> {
|
|
5
|
+
userId: string;
|
|
6
|
+
username: string;
|
|
7
|
+
bio: string;
|
|
8
|
+
avatarId: string;
|
|
9
|
+
linkX: string;
|
|
10
|
+
linkInstagram: string;
|
|
11
|
+
linkYoutube: string;
|
|
12
|
+
linkTelegram: string;
|
|
13
|
+
role: string;
|
|
14
|
+
followerCount: number;
|
|
15
|
+
followingCount: number;
|
|
16
|
+
likeCount: number;
|
|
17
|
+
isFollowing: boolean;
|
|
18
|
+
isLiked: boolean;
|
|
19
|
+
isMe: boolean;
|
|
20
|
+
memberSince: string;
|
|
21
|
+
constructor(data?: PartialMessage<ProfileDto>);
|
|
22
|
+
static readonly runtime: typeof proto3;
|
|
23
|
+
static readonly typeName = "micro.v1.user.ProfileDto";
|
|
24
|
+
static readonly fields: FieldList;
|
|
25
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProfileDto;
|
|
26
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProfileDto;
|
|
27
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProfileDto;
|
|
28
|
+
static equals(a: ProfileDto | PlainMessage<ProfileDto> | undefined, b: ProfileDto | PlainMessage<ProfileDto> | undefined): boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare class UsernameAvailableRequest extends Message<UsernameAvailableRequest> {
|
|
31
|
+
username: string;
|
|
32
|
+
constructor(data?: PartialMessage<UsernameAvailableRequest>);
|
|
33
|
+
static readonly runtime: typeof proto3;
|
|
34
|
+
static readonly typeName = "micro.v1.user.UsernameAvailableRequest";
|
|
35
|
+
static readonly fields: FieldList;
|
|
36
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UsernameAvailableRequest;
|
|
37
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UsernameAvailableRequest;
|
|
38
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UsernameAvailableRequest;
|
|
39
|
+
static equals(a: UsernameAvailableRequest | PlainMessage<UsernameAvailableRequest> | undefined, b: UsernameAvailableRequest | PlainMessage<UsernameAvailableRequest> | undefined): boolean;
|
|
40
|
+
}
|
|
41
|
+
export declare class UsernameAvailableResponse extends Message<UsernameAvailableResponse> {
|
|
42
|
+
status?: ResponseStatus;
|
|
43
|
+
available: boolean;
|
|
44
|
+
reason: string;
|
|
45
|
+
constructor(data?: PartialMessage<UsernameAvailableResponse>);
|
|
46
|
+
static readonly runtime: typeof proto3;
|
|
47
|
+
static readonly typeName = "micro.v1.user.UsernameAvailableResponse";
|
|
48
|
+
static readonly fields: FieldList;
|
|
49
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UsernameAvailableResponse;
|
|
50
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UsernameAvailableResponse;
|
|
51
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UsernameAvailableResponse;
|
|
52
|
+
static equals(a: UsernameAvailableResponse | PlainMessage<UsernameAvailableResponse> | undefined, b: UsernameAvailableResponse | PlainMessage<UsernameAvailableResponse> | undefined): boolean;
|
|
53
|
+
}
|
|
54
|
+
export declare class ClaimUsernameRequest extends Message<ClaimUsernameRequest> {
|
|
55
|
+
username: string;
|
|
56
|
+
constructor(data?: PartialMessage<ClaimUsernameRequest>);
|
|
57
|
+
static readonly runtime: typeof proto3;
|
|
58
|
+
static readonly typeName = "micro.v1.user.ClaimUsernameRequest";
|
|
59
|
+
static readonly fields: FieldList;
|
|
60
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClaimUsernameRequest;
|
|
61
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClaimUsernameRequest;
|
|
62
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClaimUsernameRequest;
|
|
63
|
+
static equals(a: ClaimUsernameRequest | PlainMessage<ClaimUsernameRequest> | undefined, b: ClaimUsernameRequest | PlainMessage<ClaimUsernameRequest> | undefined): boolean;
|
|
64
|
+
}
|
|
65
|
+
export declare class ProfileUpdateRequest extends Message<ProfileUpdateRequest> {
|
|
66
|
+
bio?: string;
|
|
67
|
+
avatarId?: string;
|
|
68
|
+
linkX?: string;
|
|
69
|
+
linkInstagram?: string;
|
|
70
|
+
linkYoutube?: string;
|
|
71
|
+
linkTelegram?: string;
|
|
72
|
+
constructor(data?: PartialMessage<ProfileUpdateRequest>);
|
|
73
|
+
static readonly runtime: typeof proto3;
|
|
74
|
+
static readonly typeName = "micro.v1.user.ProfileUpdateRequest";
|
|
75
|
+
static readonly fields: FieldList;
|
|
76
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProfileUpdateRequest;
|
|
77
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProfileUpdateRequest;
|
|
78
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProfileUpdateRequest;
|
|
79
|
+
static equals(a: ProfileUpdateRequest | PlainMessage<ProfileUpdateRequest> | undefined, b: ProfileUpdateRequest | PlainMessage<ProfileUpdateRequest> | undefined): boolean;
|
|
80
|
+
}
|
|
81
|
+
export declare class ProfileByUsernameRequest extends Message<ProfileByUsernameRequest> {
|
|
82
|
+
username: string;
|
|
83
|
+
constructor(data?: PartialMessage<ProfileByUsernameRequest>);
|
|
84
|
+
static readonly runtime: typeof proto3;
|
|
85
|
+
static readonly typeName = "micro.v1.user.ProfileByUsernameRequest";
|
|
86
|
+
static readonly fields: FieldList;
|
|
87
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProfileByUsernameRequest;
|
|
88
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProfileByUsernameRequest;
|
|
89
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProfileByUsernameRequest;
|
|
90
|
+
static equals(a: ProfileByUsernameRequest | PlainMessage<ProfileByUsernameRequest> | undefined, b: ProfileByUsernameRequest | PlainMessage<ProfileByUsernameRequest> | undefined): boolean;
|
|
91
|
+
}
|
|
92
|
+
export declare class ProfileSingleResponse extends Message<ProfileSingleResponse> {
|
|
93
|
+
status?: ResponseStatus;
|
|
94
|
+
data?: ProfileDto;
|
|
95
|
+
constructor(data?: PartialMessage<ProfileSingleResponse>);
|
|
96
|
+
static readonly runtime: typeof proto3;
|
|
97
|
+
static readonly typeName = "micro.v1.user.ProfileSingleResponse";
|
|
98
|
+
static readonly fields: FieldList;
|
|
99
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProfileSingleResponse;
|
|
100
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProfileSingleResponse;
|
|
101
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProfileSingleResponse;
|
|
102
|
+
static equals(a: ProfileSingleResponse | PlainMessage<ProfileSingleResponse> | undefined, b: ProfileSingleResponse | PlainMessage<ProfileSingleResponse> | undefined): boolean;
|
|
103
|
+
}
|
|
104
|
+
export declare class FollowRequest extends Message<FollowRequest> {
|
|
105
|
+
username: string;
|
|
106
|
+
constructor(data?: PartialMessage<FollowRequest>);
|
|
107
|
+
static readonly runtime: typeof proto3;
|
|
108
|
+
static readonly typeName = "micro.v1.user.FollowRequest";
|
|
109
|
+
static readonly fields: FieldList;
|
|
110
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FollowRequest;
|
|
111
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FollowRequest;
|
|
112
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FollowRequest;
|
|
113
|
+
static equals(a: FollowRequest | PlainMessage<FollowRequest> | undefined, b: FollowRequest | PlainMessage<FollowRequest> | undefined): boolean;
|
|
114
|
+
}
|
|
115
|
+
export declare class LikeRequest extends Message<LikeRequest> {
|
|
116
|
+
username: string;
|
|
117
|
+
constructor(data?: PartialMessage<LikeRequest>);
|
|
118
|
+
static readonly runtime: typeof proto3;
|
|
119
|
+
static readonly typeName = "micro.v1.user.LikeRequest";
|
|
120
|
+
static readonly fields: FieldList;
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LikeRequest;
|
|
122
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LikeRequest;
|
|
123
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LikeRequest;
|
|
124
|
+
static equals(a: LikeRequest | PlainMessage<LikeRequest> | undefined, b: LikeRequest | PlainMessage<LikeRequest> | undefined): boolean;
|
|
125
|
+
}
|
|
126
|
+
export declare class ProfileListItemDto extends Message<ProfileListItemDto> {
|
|
127
|
+
userId: string;
|
|
128
|
+
username: string;
|
|
129
|
+
avatarId: string;
|
|
130
|
+
role: string;
|
|
131
|
+
constructor(data?: PartialMessage<ProfileListItemDto>);
|
|
132
|
+
static readonly runtime: typeof proto3;
|
|
133
|
+
static readonly typeName = "micro.v1.user.ProfileListItemDto";
|
|
134
|
+
static readonly fields: FieldList;
|
|
135
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProfileListItemDto;
|
|
136
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProfileListItemDto;
|
|
137
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProfileListItemDto;
|
|
138
|
+
static equals(a: ProfileListItemDto | PlainMessage<ProfileListItemDto> | undefined, b: ProfileListItemDto | PlainMessage<ProfileListItemDto> | undefined): boolean;
|
|
139
|
+
}
|
|
140
|
+
export declare class ProfileListResponse extends Message<ProfileListResponse> {
|
|
141
|
+
status?: ResponseStatus;
|
|
142
|
+
pagination?: PaginationMetaResult;
|
|
143
|
+
data: ProfileListItemDto[];
|
|
144
|
+
constructor(data?: PartialMessage<ProfileListResponse>);
|
|
145
|
+
static readonly runtime: typeof proto3;
|
|
146
|
+
static readonly typeName = "micro.v1.user.ProfileListResponse";
|
|
147
|
+
static readonly fields: FieldList;
|
|
148
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProfileListResponse;
|
|
149
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProfileListResponse;
|
|
150
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProfileListResponse;
|
|
151
|
+
static equals(a: ProfileListResponse | PlainMessage<ProfileListResponse> | undefined, b: ProfileListResponse | PlainMessage<ProfileListResponse> | undefined): boolean;
|
|
152
|
+
}
|