jr-common-micro 0.6.1-dev
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/README.md +33 -0
- package/dist/common/dto/by_id_request_dto.d.ts +11 -0
- package/dist/common/dto/by_id_request_dto.js +10 -0
- package/dist/common/dto/index.d.ts +3 -0
- package/dist/common/dto/index.js +7 -0
- package/dist/common/dto/paginate_from_request_dto.d.ts +58 -0
- package/dist/common/dto/paginate_from_request_dto.js +22 -0
- package/dist/common/dto/paginate_request_dto.d.ts +23 -0
- package/dist/common/dto/paginate_request_dto.js +14 -0
- package/dist/common/exception/base_exception.d.ts +4 -0
- package/dist/common/exception/base_exception.js +14 -0
- package/dist/common/exception/index.d.ts +1 -0
- package/dist/common/exception/index.js +5 -0
- package/dist/common/factory/grpc_options_factory.d.ts +15 -0
- package/dist/common/factory/grpc_options_factory.js +63 -0
- package/dist/common/factory/index.d.ts +5 -0
- package/dist/common/factory/index.js +9 -0
- package/dist/common/factory/logger/index.d.ts +2 -0
- package/dist/common/factory/logger/index.js +6 -0
- package/dist/common/factory/logger/kafka_transport.d.ts +16 -0
- package/dist/common/factory/logger/kafka_transport.js +54 -0
- package/dist/common/factory/logger/winston_config.d.ts +22 -0
- package/dist/common/factory/logger/winston_config.js +141 -0
- package/dist/common/factory/module_metadata_factory.d.ts +24 -0
- package/dist/common/factory/module_metadata_factory.js +186 -0
- package/dist/common/factory/redis_client_factory.d.ts +5 -0
- package/dist/common/factory/redis_client_factory.js +22 -0
- package/dist/common/factory/redis_cluster_factory.d.ts +5 -0
- package/dist/common/factory/redis_cluster_factory.js +25 -0
- package/dist/common/filters/grpc_exceptions_filter.d.ts +6 -0
- package/dist/common/filters/grpc_exceptions_filter.js +26 -0
- package/dist/common/filters/index.d.ts +1 -0
- package/dist/common/filters/index.js +5 -0
- package/dist/common/guards/app_auth_guard.d.ts +5 -0
- package/dist/common/guards/app_auth_guard.js +38 -0
- package/dist/common/guards/app_internal_guard.d.ts +5 -0
- package/dist/common/guards/app_internal_guard.js +38 -0
- package/dist/common/guards/app_role_guard.d.ts +5 -0
- package/dist/common/guards/app_role_guard.js +43 -0
- package/dist/common/guards/index.d.ts +4 -0
- package/dist/common/guards/index.js +8 -0
- package/dist/common/guards/jwt_auth_user_decorator.d.ts +1 -0
- package/dist/common/guards/jwt_auth_user_decorator.js +31 -0
- package/dist/common/index.d.ts +8 -0
- package/dist/common/index.js +12 -0
- package/dist/common/interceptors/grpc/grpc_error_interceptors.d.ts +7 -0
- package/dist/common/interceptors/grpc/grpc_error_interceptors.js +35 -0
- package/dist/common/interceptors/grpc/index.d.ts +1 -0
- package/dist/common/interceptors/grpc/index.js +5 -0
- package/dist/common/interceptors/http/http_error_interceptors.d.ts +7 -0
- package/dist/common/interceptors/http/http_error_interceptors.js +30 -0
- package/dist/common/interceptors/http/http_response_interceptors.d.ts +7 -0
- package/dist/common/interceptors/http/http_response_interceptors.js +20 -0
- package/dist/common/interceptors/http/index.d.ts +2 -0
- package/dist/common/interceptors/http/index.js +6 -0
- package/dist/common/interceptors/index.d.ts +2 -0
- package/dist/common/interceptors/index.js +6 -0
- package/dist/common/kafka/index.d.ts +3 -0
- package/dist/common/kafka/index.js +7 -0
- package/dist/common/kafka/kafka_admin_service.d.ts +13 -0
- package/dist/common/kafka/kafka_admin_service.js +64 -0
- package/dist/common/kafka/kafka_consumer_service.d.ts +19 -0
- package/dist/common/kafka/kafka_consumer_service.js +80 -0
- package/dist/common/kafka/kafka_producer_service.d.ts +14 -0
- package/dist/common/kafka/kafka_producer_service.js +49 -0
- package/dist/common/service/crud/crud_service_interface.d.ts +20 -0
- package/dist/common/service/crud/crud_service_interface.js +2 -0
- package/dist/common/service/crud/index.d.ts +1 -0
- package/dist/common/service/crud/index.js +5 -0
- package/dist/common/service/index.d.ts +1 -0
- package/dist/common/service/index.js +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -0
- package/dist/proto/index.d.ts +1 -0
- package/dist/proto/index.js +5 -0
- package/dist/proto/micro/index.d.ts +1 -0
- package/dist/proto/micro/index.js +5 -0
- package/dist/proto/micro/v1/coin/analytics_messages_nest.d.ts +335 -0
- package/dist/proto/micro/v1/coin/analytics_messages_nest.js +18 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.d.ts +670 -0
- package/dist/proto/micro/v1/coin/analytics_messages_pb.js +1456 -0
- package/dist/proto/micro/v1/coin/coin_messages_nest.d.ts +110 -0
- package/dist/proto/micro/v1/coin/coin_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/coin_messages_pb.d.ts +258 -0
- package/dist/proto/micro/v1/coin/coin_messages_pb.js +568 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_nest.d.ts +72 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.d.ts +128 -0
- package/dist/proto/micro/v1/coin/coin_websocket_messages_pb.js +276 -0
- package/dist/proto/micro/v1/coin/data_general_messages_nest.d.ts +54 -0
- package/dist/proto/micro/v1/coin/data_general_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/data_general_messages_pb.d.ts +118 -0
- package/dist/proto/micro/v1/coin/data_general_messages_pb.js +259 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_nest.d.ts +43 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_pb.d.ts +91 -0
- package/dist/proto/micro/v1/coin/data_microservice_messages_pb.js +199 -0
- package/dist/proto/micro/v1/coin/etf_messages_nest.d.ts +98 -0
- package/dist/proto/micro/v1/coin/etf_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/etf_messages_pb.d.ts +226 -0
- package/dist/proto/micro/v1/coin/etf_messages_pb.js +499 -0
- package/dist/proto/micro/v1/coin/index.d.ts +11 -0
- package/dist/proto/micro/v1/coin/index.js +15 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_nest.d.ts +55 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_pb.d.ts +115 -0
- package/dist/proto/micro/v1/coin/long_short_ratio_messages_pb.js +249 -0
- package/dist/proto/micro/v1/coin/rsi_messages_nest.d.ts +42 -0
- package/dist/proto/micro/v1/coin/rsi_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/rsi_messages_pb.d.ts +98 -0
- package/dist/proto/micro/v1/coin/rsi_messages_pb.js +216 -0
- package/dist/proto/micro/v1/coin/services_connect.d.ts +413 -0
- package/dist/proto/micro/v1/coin/services_connect.js +416 -0
- package/dist/proto/micro/v1/coin/services_nest.d.ts +200 -0
- package/dist/proto/micro/v1/coin/services_nest.js +244 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_nest.d.ts +53 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_nest.js +5 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_pb.d.ts +101 -0
- package/dist/proto/micro/v1/coin/token_unlocks_messages_pb.js +214 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_nest.d.ts +18 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_pb.d.ts +42 -0
- package/dist/proto/micro/v1/data/daily_market_data_messages_pb.js +92 -0
- package/dist/proto/micro/v1/data/dominance_messages_nest.d.ts +35 -0
- package/dist/proto/micro/v1/data/dominance_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/dominance_messages_pb.d.ts +75 -0
- package/dist/proto/micro/v1/data/dominance_messages_pb.js +164 -0
- package/dist/proto/micro/v1/data/exchanges_messages_nest.d.ts +153 -0
- package/dist/proto/micro/v1/data/exchanges_messages_nest.js +11 -0
- package/dist/proto/micro/v1/data/exchanges_messages_pb.d.ts +256 -0
- package/dist/proto/micro/v1/data/exchanges_messages_pb.js +546 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_nest.d.ts +52 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_pb.d.ts +68 -0
- package/dist/proto/micro/v1/data/funding_rate_messages_pb.js +131 -0
- package/dist/proto/micro/v1/data/global_stats_messages_nest.d.ts +17 -0
- package/dist/proto/micro/v1/data/global_stats_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/global_stats_messages_pb.d.ts +25 -0
- package/dist/proto/micro/v1/data/global_stats_messages_pb.js +53 -0
- package/dist/proto/micro/v1/data/homepage_messages_nest.d.ts +35 -0
- package/dist/proto/micro/v1/data/homepage_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/homepage_messages_pb.d.ts +83 -0
- package/dist/proto/micro/v1/data/homepage_messages_pb.js +183 -0
- package/dist/proto/micro/v1/data/index.d.ts +22 -0
- package/dist/proto/micro/v1/data/index.js +26 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_nest.d.ts +72 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.d.ts +136 -0
- package/dist/proto/micro/v1/data/inflow_outflow_messages_pb.js +295 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_nest.d.ts +44 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_pb.d.ts +100 -0
- package/dist/proto/micro/v1/data/liquidation_heat_map_m2_messages_pb.js +221 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_nest.d.ts +34 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_pb.d.ts +82 -0
- package/dist/proto/micro/v1/data/liquidation_v1_messages_pb.js +181 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_nest.d.ts +10 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_pb.d.ts +26 -0
- package/dist/proto/micro/v1/data/mvrvz_score_messages_pb.js +58 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_nest.d.ts +14 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_pb.d.ts +30 -0
- package/dist/proto/micro/v1/data/puell_multiple_messages_pb.js +65 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_nest.d.ts +24 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_pb.d.ts +40 -0
- package/dist/proto/micro/v1/data/puppeteer_messages_pb.js +84 -0
- package/dist/proto/micro/v1/data/rainbow_messages_nest.d.ts +10 -0
- package/dist/proto/micro/v1/data/rainbow_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/rainbow_messages_pb.d.ts +26 -0
- package/dist/proto/micro/v1/data/rainbow_messages_pb.js +57 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_nest.d.ts +23 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_pb.d.ts +39 -0
- package/dist/proto/micro/v1/data/rsi_list_messages_pb.js +83 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_nest.d.ts +20 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_pb.d.ts +36 -0
- package/dist/proto/micro/v1/data/scrape_assets_messages_pb.js +77 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_nest.d.ts +37 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_pb.d.ts +69 -0
- package/dist/proto/micro/v1/data/scrape_treasuries_messages_pb.js +149 -0
- package/dist/proto/micro/v1/data/services_connect.d.ts +325 -0
- package/dist/proto/micro/v1/data/services_connect.js +328 -0
- package/dist/proto/micro/v1/data/services_nest.d.ts +207 -0
- package/dist/proto/micro/v1/data/services_nest.js +326 -0
- package/dist/proto/micro/v1/data/token_unlocks_connect.d.ts +19 -0
- package/dist/proto/micro/v1/data/token_unlocks_connect.js +22 -0
- package/dist/proto/micro/v1/data/token_unlocks_nest.d.ts +69 -0
- package/dist/proto/micro/v1/data/token_unlocks_nest.js +22 -0
- package/dist/proto/micro/v1/data/token_unlocks_pb.d.ts +109 -0
- package/dist/proto/micro/v1/data/token_unlocks_pb.js +234 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_nest.d.ts +15 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_pb.d.ts +31 -0
- package/dist/proto/micro/v1/data/two_hundred_week_moving_average_messages_pb.js +68 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_nest.d.ts +15 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_nest.js +5 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_pb.d.ts +31 -0
- package/dist/proto/micro/v1/data/two_year_ma_multipler_messages_pb.js +67 -0
- package/dist/proto/micro/v1/education/education_messages_nest.d.ts +370 -0
- package/dist/proto/micro/v1/education/education_messages_nest.js +5 -0
- package/dist/proto/micro/v1/education/education_messages_pb.d.ts +610 -0
- package/dist/proto/micro/v1/education/education_messages_pb.js +1264 -0
- package/dist/proto/micro/v1/education/index.d.ts +3 -0
- package/dist/proto/micro/v1/education/index.js +7 -0
- package/dist/proto/micro/v1/education/services_connect.d.ts +375 -0
- package/dist/proto/micro/v1/education/services_connect.js +378 -0
- package/dist/proto/micro/v1/education/services_nest.d.ts +182 -0
- package/dist/proto/micro/v1/education/services_nest.js +198 -0
- package/dist/proto/micro/v1/general_nest.d.ts +115 -0
- package/dist/proto/micro/v1/general_nest.js +51 -0
- package/dist/proto/micro/v1/general_pb.d.ts +211 -0
- package/dist/proto/micro/v1/general_pb.js +460 -0
- package/dist/proto/micro/v1/index.d.ts +10 -0
- package/dist/proto/micro/v1/index.js +14 -0
- package/dist/proto/micro/v1/media/index.d.ts +3 -0
- package/dist/proto/micro/v1/media/index.js +7 -0
- package/dist/proto/micro/v1/media/media_messages_nest.d.ts +92 -0
- package/dist/proto/micro/v1/media/media_messages_nest.js +21 -0
- package/dist/proto/micro/v1/media/media_messages_pb.d.ts +202 -0
- package/dist/proto/micro/v1/media/media_messages_pb.js +447 -0
- package/dist/proto/micro/v1/media/services_connect.d.ts +55 -0
- package/dist/proto/micro/v1/media/services_connect.js +58 -0
- package/dist/proto/micro/v1/media/services_nest.d.ts +32 -0
- package/dist/proto/micro/v1/media/services_nest.js +45 -0
- package/dist/proto/micro/v1/news/app_version_message_nest.d.ts +40 -0
- package/dist/proto/micro/v1/news/app_version_message_nest.js +5 -0
- package/dist/proto/micro/v1/news/app_version_message_pb.d.ts +72 -0
- package/dist/proto/micro/v1/news/app_version_message_pb.js +150 -0
- package/dist/proto/micro/v1/news/blog_messages_nest.d.ts +162 -0
- package/dist/proto/micro/v1/news/blog_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/blog_messages_pb.d.ts +246 -0
- package/dist/proto/micro/v1/news/blog_messages_pb.js +495 -0
- package/dist/proto/micro/v1/news/calendar_messages_nest.d.ts +70 -0
- package/dist/proto/micro/v1/news/calendar_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/calendar_messages_pb.d.ts +98 -0
- package/dist/proto/micro/v1/news/calendar_messages_pb.js +193 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_nest.d.ts +28 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_pb.d.ts +48 -0
- package/dist/proto/micro/v1/news/economic_calendar_messages_pb.js +100 -0
- package/dist/proto/micro/v1/news/index.d.ts +9 -0
- package/dist/proto/micro/v1/news/index.js +13 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_nest.d.ts +321 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_pb.d.ts +477 -0
- package/dist/proto/micro/v1/news/jr_blog_messages_pb.js +954 -0
- package/dist/proto/micro/v1/news/news_messages_nest.d.ts +270 -0
- package/dist/proto/micro/v1/news/news_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/news_messages_pb.d.ts +418 -0
- package/dist/proto/micro/v1/news/news_messages_pb.js +848 -0
- package/dist/proto/micro/v1/news/services_connect.d.ts +549 -0
- package/dist/proto/micro/v1/news/services_connect.js +552 -0
- package/dist/proto/micro/v1/news/services_nest.d.ts +244 -0
- package/dist/proto/micro/v1/news/services_nest.js +261 -0
- package/dist/proto/micro/v1/news/sundown_messages_nest.d.ts +99 -0
- package/dist/proto/micro/v1/news/sundown_messages_nest.js +5 -0
- package/dist/proto/micro/v1/news/sundown_messages_pb.d.ts +131 -0
- package/dist/proto/micro/v1/news/sundown_messages_pb.js +253 -0
- package/dist/proto/micro/v1/notification/index.d.ts +4 -0
- package/dist/proto/micro/v1/notification/index.js +8 -0
- package/dist/proto/micro/v1/notification/mail_messages_nest.d.ts +31 -0
- package/dist/proto/micro/v1/notification/mail_messages_nest.js +5 -0
- package/dist/proto/micro/v1/notification/mail_messages_pb.d.ts +63 -0
- package/dist/proto/micro/v1/notification/mail_messages_pb.js +138 -0
- package/dist/proto/micro/v1/notification/notification_messages_nest.d.ts +164 -0
- package/dist/proto/micro/v1/notification/notification_messages_nest.js +5 -0
- package/dist/proto/micro/v1/notification/notification_messages_pb.d.ts +356 -0
- package/dist/proto/micro/v1/notification/notification_messages_pb.js +783 -0
- package/dist/proto/micro/v1/notification/services_connect.d.ts +139 -0
- package/dist/proto/micro/v1/notification/services_connect.js +142 -0
- package/dist/proto/micro/v1/notification/services_nest.d.ts +65 -0
- package/dist/proto/micro/v1/notification/services_nest.js +70 -0
- package/dist/proto/micro/v1/portfolio/index.d.ts +5 -0
- package/dist/proto/micro/v1/portfolio/index.js +9 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_nest.d.ts +17 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_nest.js +5 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_pb.d.ts +41 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_messages_pb.js +89 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_nest.d.ts +34 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_nest.js +5 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_pb.d.ts +82 -0
- package/dist/proto/micro/v1/portfolio/portfolio_coin_trasaction_messages_pb.js +180 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_nest.d.ts +154 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_nest.js +5 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.d.ts +370 -0
- package/dist/proto/micro/v1/portfolio/portfolio_messages_pb.js +820 -0
- package/dist/proto/micro/v1/portfolio/services_connect.d.ts +140 -0
- package/dist/proto/micro/v1/portfolio/services_connect.js +143 -0
- package/dist/proto/micro/v1/portfolio/services_nest.d.ts +66 -0
- package/dist/proto/micro/v1/portfolio/services_nest.js +74 -0
- package/dist/proto/micro/v1/puppeteer/index.d.ts +3 -0
- package/dist/proto/micro/v1/puppeteer/index.js +7 -0
- package/dist/proto/micro/v1/puppeteer/puppeteer_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/puppeteer/puppeteer_messages_nest.js +5 -0
- package/dist/proto/micro/v1/puppeteer/services_connect.d.ts +89 -0
- package/dist/proto/micro/v1/puppeteer/services_connect.js +92 -0
- package/dist/proto/micro/v1/puppeteer/services_nest.d.ts +47 -0
- package/dist/proto/micro/v1/puppeteer/services_nest.js +63 -0
- package/dist/proto/micro/v1/user/auth_messages_nest.d.ts +87 -0
- package/dist/proto/micro/v1/user/auth_messages_nest.js +5 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.d.ts +263 -0
- package/dist/proto/micro/v1/user/auth_messages_pb.js +590 -0
- package/dist/proto/micro/v1/user/authorization_messages_nest.d.ts +47 -0
- package/dist/proto/micro/v1/user/authorization_messages_nest.js +5 -0
- package/dist/proto/micro/v1/user/authorization_messages_pb.d.ts +111 -0
- package/dist/proto/micro/v1/user/authorization_messages_pb.js +245 -0
- package/dist/proto/micro/v1/user/index.d.ts +6 -0
- package/dist/proto/micro/v1/user/index.js +10 -0
- package/dist/proto/micro/v1/user/services_connect.d.ts +315 -0
- package/dist/proto/micro/v1/user/services_connect.js +318 -0
- package/dist/proto/micro/v1/user/services_nest.d.ts +151 -0
- package/dist/proto/micro/v1/user/services_nest.js +172 -0
- package/dist/proto/micro/v1/user/site_settings_messages_nest.d.ts +19 -0
- package/dist/proto/micro/v1/user/site_settings_messages_nest.js +12 -0
- package/dist/proto/micro/v1/user/site_settings_messages_pb.d.ts +42 -0
- package/dist/proto/micro/v1/user/site_settings_messages_pb.js +93 -0
- package/dist/proto/micro/v1/user/user_messages_nest.d.ts +175 -0
- package/dist/proto/micro/v1/user/user_messages_nest.js +12 -0
- package/dist/proto/micro/v1/user/user_messages_pb.d.ts +358 -0
- package/dist/proto/micro/v1/user/user_messages_pb.js +784 -0
- package/dist/utils/constants.d.ts +45 -0
- package/dist/utils/constants.js +48 -0
- package/dist/utils/functions.d.ts +70 -0
- package/dist/utils/functions.js +425 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.js +9 -0
- package/dist/utils/logger_names.d.ts +8 -0
- package/dist/utils/logger_names.js +41 -0
- package/dist/utils/minimatch/assert_valid_pattern.d.ts +1 -0
- package/dist/utils/minimatch/assert_valid_pattern.js +13 -0
- package/dist/utils/minimatch/ast.d.ts +19 -0
- package/dist/utils/minimatch/ast.js +446 -0
- package/dist/utils/minimatch/balanced_match.d.ts +2 -0
- package/dist/utils/minimatch/balanced_match.js +57 -0
- package/dist/utils/minimatch/brace_expansion.d.ts +1 -0
- package/dist/utils/minimatch/brace_expansion.js +181 -0
- package/dist/utils/minimatch/brace_expressions.d.ts +7 -0
- package/dist/utils/minimatch/brace_expressions.js +119 -0
- package/dist/utils/minimatch/escape.d.ts +2 -0
- package/dist/utils/minimatch/escape.js +9 -0
- package/dist/utils/minimatch/index.d.ts +93 -0
- package/dist/utils/minimatch/index.js +788 -0
- package/dist/utils/minimatch/matcher_collection.d.ts +9 -0
- package/dist/utils/minimatch/matcher_collection.js +30 -0
- package/dist/utils/minimatch/unescape.d.ts +2 -0
- package/dist/utils/minimatch/unescape.js +11 -0
- package/dist/utils/types.d.ts +70 -0
- package/dist/utils/types.js +22 -0
- package/dist/utils/walk_sync.d.ts +25 -0
- package/dist/utils/walk_sync.js +184 -0
- package/package.json +87 -0
|
@@ -0,0 +1,848 @@
|
|
|
1
|
+
"use strict";
|
|
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;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
class NewsDto extends protobuf_1.Message {
|
|
7
|
+
id = "";
|
|
8
|
+
title = {};
|
|
9
|
+
content = {};
|
|
10
|
+
categories = [];
|
|
11
|
+
coin = [];
|
|
12
|
+
date = "";
|
|
13
|
+
constructor(data) {
|
|
14
|
+
super();
|
|
15
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
16
|
+
}
|
|
17
|
+
static runtime = protobuf_1.proto3;
|
|
18
|
+
static typeName = "micro.v1.news.NewsDto";
|
|
19
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
20
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
21
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
22
|
+
{ no: 3, name: "content", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
23
|
+
{ no: 4, name: "categories", kind: "message", T: CategoryNews, repeated: true },
|
|
24
|
+
{ no: 5, name: "coin", kind: "scalar", T: 9, repeated: true },
|
|
25
|
+
{ no: 6, name: "date", kind: "scalar", T: 9 },
|
|
26
|
+
]);
|
|
27
|
+
static fromBinary(bytes, options) {
|
|
28
|
+
return new NewsDto().fromBinary(bytes, options);
|
|
29
|
+
}
|
|
30
|
+
static fromJson(jsonValue, options) {
|
|
31
|
+
return new NewsDto().fromJson(jsonValue, options);
|
|
32
|
+
}
|
|
33
|
+
static fromJsonString(jsonString, options) {
|
|
34
|
+
return new NewsDto().fromJsonString(jsonString, options);
|
|
35
|
+
}
|
|
36
|
+
static equals(a, b) {
|
|
37
|
+
return protobuf_1.proto3.util.equals(NewsDto, a, b);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.NewsDto = NewsDto;
|
|
41
|
+
class NewsSingleResponse extends protobuf_1.Message {
|
|
42
|
+
status;
|
|
43
|
+
data;
|
|
44
|
+
constructor(data) {
|
|
45
|
+
super();
|
|
46
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
47
|
+
}
|
|
48
|
+
static runtime = protobuf_1.proto3;
|
|
49
|
+
static typeName = "micro.v1.news.NewsSingleResponse";
|
|
50
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
51
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
52
|
+
{ no: 2, name: "data", kind: "message", T: NewsDto },
|
|
53
|
+
]);
|
|
54
|
+
static fromBinary(bytes, options) {
|
|
55
|
+
return new NewsSingleResponse().fromBinary(bytes, options);
|
|
56
|
+
}
|
|
57
|
+
static fromJson(jsonValue, options) {
|
|
58
|
+
return new NewsSingleResponse().fromJson(jsonValue, options);
|
|
59
|
+
}
|
|
60
|
+
static fromJsonString(jsonString, options) {
|
|
61
|
+
return new NewsSingleResponse().fromJsonString(jsonString, options);
|
|
62
|
+
}
|
|
63
|
+
static equals(a, b) {
|
|
64
|
+
return protobuf_1.proto3.util.equals(NewsSingleResponse, a, b);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.NewsSingleResponse = NewsSingleResponse;
|
|
68
|
+
class NewsPaginationResponse extends protobuf_1.Message {
|
|
69
|
+
status;
|
|
70
|
+
pagination;
|
|
71
|
+
data = [];
|
|
72
|
+
constructor(data) {
|
|
73
|
+
super();
|
|
74
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
75
|
+
}
|
|
76
|
+
static runtime = protobuf_1.proto3;
|
|
77
|
+
static typeName = "micro.v1.news.NewsPaginationResponse";
|
|
78
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
79
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
80
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
81
|
+
{ no: 3, name: "data", kind: "message", T: NewsDto, repeated: true },
|
|
82
|
+
]);
|
|
83
|
+
static fromBinary(bytes, options) {
|
|
84
|
+
return new NewsPaginationResponse().fromBinary(bytes, options);
|
|
85
|
+
}
|
|
86
|
+
static fromJson(jsonValue, options) {
|
|
87
|
+
return new NewsPaginationResponse().fromJson(jsonValue, options);
|
|
88
|
+
}
|
|
89
|
+
static fromJsonString(jsonString, options) {
|
|
90
|
+
return new NewsPaginationResponse().fromJsonString(jsonString, options);
|
|
91
|
+
}
|
|
92
|
+
static equals(a, b) {
|
|
93
|
+
return protobuf_1.proto3.util.equals(NewsPaginationResponse, a, b);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.NewsPaginationResponse = NewsPaginationResponse;
|
|
97
|
+
class NewsAdminDto extends protobuf_1.Message {
|
|
98
|
+
id = "";
|
|
99
|
+
apiId = "";
|
|
100
|
+
title = {};
|
|
101
|
+
content = {};
|
|
102
|
+
url = "";
|
|
103
|
+
image = "";
|
|
104
|
+
type = "";
|
|
105
|
+
date = "";
|
|
106
|
+
category = [];
|
|
107
|
+
slot = [];
|
|
108
|
+
coin = [];
|
|
109
|
+
rank = "";
|
|
110
|
+
constructor(data) {
|
|
111
|
+
super();
|
|
112
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
113
|
+
}
|
|
114
|
+
static runtime = protobuf_1.proto3;
|
|
115
|
+
static typeName = "micro.v1.news.NewsAdminDto";
|
|
116
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
117
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
118
|
+
{ no: 2, name: "api_id", kind: "scalar", T: 9 },
|
|
119
|
+
{ no: 3, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
120
|
+
{ no: 4, name: "content", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
121
|
+
{ no: 5, name: "url", kind: "scalar", T: 9 },
|
|
122
|
+
{ no: 6, name: "image", kind: "scalar", T: 9 },
|
|
123
|
+
{ no: 7, name: "type", kind: "scalar", T: 9 },
|
|
124
|
+
{ no: 8, name: "date", kind: "scalar", T: 9 },
|
|
125
|
+
{ no: 9, name: "category", kind: "message", T: CategoryNews, repeated: true },
|
|
126
|
+
{ no: 10, name: "slot", kind: "message", T: SlotNews, repeated: true },
|
|
127
|
+
{ no: 11, name: "coin", kind: "scalar", T: 9, repeated: true },
|
|
128
|
+
{ no: 12, name: "rank", kind: "scalar", T: 9 },
|
|
129
|
+
]);
|
|
130
|
+
static fromBinary(bytes, options) {
|
|
131
|
+
return new NewsAdminDto().fromBinary(bytes, options);
|
|
132
|
+
}
|
|
133
|
+
static fromJson(jsonValue, options) {
|
|
134
|
+
return new NewsAdminDto().fromJson(jsonValue, options);
|
|
135
|
+
}
|
|
136
|
+
static fromJsonString(jsonString, options) {
|
|
137
|
+
return new NewsAdminDto().fromJsonString(jsonString, options);
|
|
138
|
+
}
|
|
139
|
+
static equals(a, b) {
|
|
140
|
+
return protobuf_1.proto3.util.equals(NewsAdminDto, a, b);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
exports.NewsAdminDto = NewsAdminDto;
|
|
144
|
+
class NewsPaginateDateAdminDto extends protobuf_1.Message {
|
|
145
|
+
id = "";
|
|
146
|
+
title = {};
|
|
147
|
+
category = [];
|
|
148
|
+
slot = [];
|
|
149
|
+
coin = [];
|
|
150
|
+
date = "";
|
|
151
|
+
constructor(data) {
|
|
152
|
+
super();
|
|
153
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
154
|
+
}
|
|
155
|
+
static runtime = protobuf_1.proto3;
|
|
156
|
+
static typeName = "micro.v1.news.NewsPaginateDateAdminDto";
|
|
157
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
158
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
159
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
160
|
+
{ no: 3, name: "category", kind: "message", T: CategoryNews, repeated: true },
|
|
161
|
+
{ no: 4, name: "slot", kind: "message", T: SlotNews, repeated: true },
|
|
162
|
+
{ no: 5, name: "coin", kind: "scalar", T: 9, repeated: true },
|
|
163
|
+
{ no: 6, name: "date", kind: "scalar", T: 9 },
|
|
164
|
+
]);
|
|
165
|
+
static fromBinary(bytes, options) {
|
|
166
|
+
return new NewsPaginateDateAdminDto().fromBinary(bytes, options);
|
|
167
|
+
}
|
|
168
|
+
static fromJson(jsonValue, options) {
|
|
169
|
+
return new NewsPaginateDateAdminDto().fromJson(jsonValue, options);
|
|
170
|
+
}
|
|
171
|
+
static fromJsonString(jsonString, options) {
|
|
172
|
+
return new NewsPaginateDateAdminDto().fromJsonString(jsonString, options);
|
|
173
|
+
}
|
|
174
|
+
static equals(a, b) {
|
|
175
|
+
return protobuf_1.proto3.util.equals(NewsPaginateDateAdminDto, a, b);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
exports.NewsPaginateDateAdminDto = NewsPaginateDateAdminDto;
|
|
179
|
+
class PublishedNewsAdminDto extends protobuf_1.Message {
|
|
180
|
+
id = "";
|
|
181
|
+
apiId = "";
|
|
182
|
+
title = {};
|
|
183
|
+
content = {};
|
|
184
|
+
url = "";
|
|
185
|
+
image = "";
|
|
186
|
+
type = "";
|
|
187
|
+
date = "";
|
|
188
|
+
category = [];
|
|
189
|
+
coin = [];
|
|
190
|
+
rank = "";
|
|
191
|
+
constructor(data) {
|
|
192
|
+
super();
|
|
193
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
194
|
+
}
|
|
195
|
+
static runtime = protobuf_1.proto3;
|
|
196
|
+
static typeName = "micro.v1.news.PublishedNewsAdminDto";
|
|
197
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
198
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
199
|
+
{ no: 2, name: "api_id", kind: "scalar", T: 9 },
|
|
200
|
+
{ no: 3, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
201
|
+
{ no: 4, name: "content", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
202
|
+
{ no: 5, name: "url", kind: "scalar", T: 9 },
|
|
203
|
+
{ no: 6, name: "image", kind: "scalar", T: 9 },
|
|
204
|
+
{ no: 7, name: "type", kind: "scalar", T: 9 },
|
|
205
|
+
{ no: 8, name: "date", kind: "scalar", T: 9 },
|
|
206
|
+
{ no: 9, name: "category", kind: "scalar", T: 9, repeated: true },
|
|
207
|
+
{ no: 10, name: "coin", kind: "scalar", T: 9, repeated: true },
|
|
208
|
+
{ no: 11, name: "rank", kind: "scalar", T: 9 },
|
|
209
|
+
]);
|
|
210
|
+
static fromBinary(bytes, options) {
|
|
211
|
+
return new PublishedNewsAdminDto().fromBinary(bytes, options);
|
|
212
|
+
}
|
|
213
|
+
static fromJson(jsonValue, options) {
|
|
214
|
+
return new PublishedNewsAdminDto().fromJson(jsonValue, options);
|
|
215
|
+
}
|
|
216
|
+
static fromJsonString(jsonString, options) {
|
|
217
|
+
return new PublishedNewsAdminDto().fromJsonString(jsonString, options);
|
|
218
|
+
}
|
|
219
|
+
static equals(a, b) {
|
|
220
|
+
return protobuf_1.proto3.util.equals(PublishedNewsAdminDto, a, b);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
exports.PublishedNewsAdminDto = PublishedNewsAdminDto;
|
|
224
|
+
class SlotNews extends protobuf_1.Message {
|
|
225
|
+
slot = {};
|
|
226
|
+
name = "";
|
|
227
|
+
constructor(data) {
|
|
228
|
+
super();
|
|
229
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
230
|
+
}
|
|
231
|
+
static runtime = protobuf_1.proto3;
|
|
232
|
+
static typeName = "micro.v1.news.SlotNews";
|
|
233
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
234
|
+
{ no: 1, name: "slot", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
235
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
236
|
+
]);
|
|
237
|
+
static fromBinary(bytes, options) {
|
|
238
|
+
return new SlotNews().fromBinary(bytes, options);
|
|
239
|
+
}
|
|
240
|
+
static fromJson(jsonValue, options) {
|
|
241
|
+
return new SlotNews().fromJson(jsonValue, options);
|
|
242
|
+
}
|
|
243
|
+
static fromJsonString(jsonString, options) {
|
|
244
|
+
return new SlotNews().fromJsonString(jsonString, options);
|
|
245
|
+
}
|
|
246
|
+
static equals(a, b) {
|
|
247
|
+
return protobuf_1.proto3.util.equals(SlotNews, a, b);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
exports.SlotNews = SlotNews;
|
|
251
|
+
class CategoryNews extends protobuf_1.Message {
|
|
252
|
+
category = {};
|
|
253
|
+
name = "";
|
|
254
|
+
constructor(data) {
|
|
255
|
+
super();
|
|
256
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
257
|
+
}
|
|
258
|
+
static runtime = protobuf_1.proto3;
|
|
259
|
+
static typeName = "micro.v1.news.CategoryNews";
|
|
260
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
261
|
+
{ no: 1, name: "category", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
262
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
263
|
+
]);
|
|
264
|
+
static fromBinary(bytes, options) {
|
|
265
|
+
return new CategoryNews().fromBinary(bytes, options);
|
|
266
|
+
}
|
|
267
|
+
static fromJson(jsonValue, options) {
|
|
268
|
+
return new CategoryNews().fromJson(jsonValue, options);
|
|
269
|
+
}
|
|
270
|
+
static fromJsonString(jsonString, options) {
|
|
271
|
+
return new CategoryNews().fromJsonString(jsonString, options);
|
|
272
|
+
}
|
|
273
|
+
static equals(a, b) {
|
|
274
|
+
return protobuf_1.proto3.util.equals(CategoryNews, a, b);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
exports.CategoryNews = CategoryNews;
|
|
278
|
+
class NewsSingleAdminResponse extends protobuf_1.Message {
|
|
279
|
+
status;
|
|
280
|
+
data;
|
|
281
|
+
constructor(data) {
|
|
282
|
+
super();
|
|
283
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
284
|
+
}
|
|
285
|
+
static runtime = protobuf_1.proto3;
|
|
286
|
+
static typeName = "micro.v1.news.NewsSingleAdminResponse";
|
|
287
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
288
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
289
|
+
{ no: 2, name: "data", kind: "message", T: NewsAdminDto },
|
|
290
|
+
]);
|
|
291
|
+
static fromBinary(bytes, options) {
|
|
292
|
+
return new NewsSingleAdminResponse().fromBinary(bytes, options);
|
|
293
|
+
}
|
|
294
|
+
static fromJson(jsonValue, options) {
|
|
295
|
+
return new NewsSingleAdminResponse().fromJson(jsonValue, options);
|
|
296
|
+
}
|
|
297
|
+
static fromJsonString(jsonString, options) {
|
|
298
|
+
return new NewsSingleAdminResponse().fromJsonString(jsonString, options);
|
|
299
|
+
}
|
|
300
|
+
static equals(a, b) {
|
|
301
|
+
return protobuf_1.proto3.util.equals(NewsSingleAdminResponse, a, b);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
exports.NewsSingleAdminResponse = NewsSingleAdminResponse;
|
|
305
|
+
class NewsPaginationAdminResponse extends protobuf_1.Message {
|
|
306
|
+
status;
|
|
307
|
+
pagination;
|
|
308
|
+
data = [];
|
|
309
|
+
constructor(data) {
|
|
310
|
+
super();
|
|
311
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
312
|
+
}
|
|
313
|
+
static runtime = protobuf_1.proto3;
|
|
314
|
+
static typeName = "micro.v1.news.NewsPaginationAdminResponse";
|
|
315
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
316
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
317
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
318
|
+
{ no: 3, name: "data", kind: "message", T: NewsAdminDto, repeated: true },
|
|
319
|
+
]);
|
|
320
|
+
static fromBinary(bytes, options) {
|
|
321
|
+
return new NewsPaginationAdminResponse().fromBinary(bytes, options);
|
|
322
|
+
}
|
|
323
|
+
static fromJson(jsonValue, options) {
|
|
324
|
+
return new NewsPaginationAdminResponse().fromJson(jsonValue, options);
|
|
325
|
+
}
|
|
326
|
+
static fromJsonString(jsonString, options) {
|
|
327
|
+
return new NewsPaginationAdminResponse().fromJsonString(jsonString, options);
|
|
328
|
+
}
|
|
329
|
+
static equals(a, b) {
|
|
330
|
+
return protobuf_1.proto3.util.equals(NewsPaginationAdminResponse, a, b);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
exports.NewsPaginationAdminResponse = NewsPaginationAdminResponse;
|
|
334
|
+
class NewsPaginateDateAdminResponse extends protobuf_1.Message {
|
|
335
|
+
status;
|
|
336
|
+
pagination;
|
|
337
|
+
data = [];
|
|
338
|
+
constructor(data) {
|
|
339
|
+
super();
|
|
340
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
341
|
+
}
|
|
342
|
+
static runtime = protobuf_1.proto3;
|
|
343
|
+
static typeName = "micro.v1.news.NewsPaginateDateAdminResponse";
|
|
344
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
345
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
346
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
347
|
+
{ no: 3, name: "data", kind: "message", T: NewsPaginateDateAdminDto, repeated: true },
|
|
348
|
+
]);
|
|
349
|
+
static fromBinary(bytes, options) {
|
|
350
|
+
return new NewsPaginateDateAdminResponse().fromBinary(bytes, options);
|
|
351
|
+
}
|
|
352
|
+
static fromJson(jsonValue, options) {
|
|
353
|
+
return new NewsPaginateDateAdminResponse().fromJson(jsonValue, options);
|
|
354
|
+
}
|
|
355
|
+
static fromJsonString(jsonString, options) {
|
|
356
|
+
return new NewsPaginateDateAdminResponse().fromJsonString(jsonString, options);
|
|
357
|
+
}
|
|
358
|
+
static equals(a, b) {
|
|
359
|
+
return protobuf_1.proto3.util.equals(NewsPaginateDateAdminResponse, a, b);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
exports.NewsPaginateDateAdminResponse = NewsPaginateDateAdminResponse;
|
|
363
|
+
class PublishedNewsSingleAdminResponse extends protobuf_1.Message {
|
|
364
|
+
status;
|
|
365
|
+
data;
|
|
366
|
+
constructor(data) {
|
|
367
|
+
super();
|
|
368
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
369
|
+
}
|
|
370
|
+
static runtime = protobuf_1.proto3;
|
|
371
|
+
static typeName = "micro.v1.news.PublishedNewsSingleAdminResponse";
|
|
372
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
373
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
374
|
+
{ no: 2, name: "data", kind: "message", T: PublishedNewsAdminDto },
|
|
375
|
+
]);
|
|
376
|
+
static fromBinary(bytes, options) {
|
|
377
|
+
return new PublishedNewsSingleAdminResponse().fromBinary(bytes, options);
|
|
378
|
+
}
|
|
379
|
+
static fromJson(jsonValue, options) {
|
|
380
|
+
return new PublishedNewsSingleAdminResponse().fromJson(jsonValue, options);
|
|
381
|
+
}
|
|
382
|
+
static fromJsonString(jsonString, options) {
|
|
383
|
+
return new PublishedNewsSingleAdminResponse().fromJsonString(jsonString, options);
|
|
384
|
+
}
|
|
385
|
+
static equals(a, b) {
|
|
386
|
+
return protobuf_1.proto3.util.equals(PublishedNewsSingleAdminResponse, a, b);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
exports.PublishedNewsSingleAdminResponse = PublishedNewsSingleAdminResponse;
|
|
390
|
+
class PublishedNewsPaginationAdminResponse extends protobuf_1.Message {
|
|
391
|
+
status;
|
|
392
|
+
pagination;
|
|
393
|
+
data = [];
|
|
394
|
+
constructor(data) {
|
|
395
|
+
super();
|
|
396
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
397
|
+
}
|
|
398
|
+
static runtime = protobuf_1.proto3;
|
|
399
|
+
static typeName = "micro.v1.news.PublishedNewsPaginationAdminResponse";
|
|
400
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
401
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
402
|
+
{ no: 2, name: "pagination", kind: "message", T: general_pb_js_1.PaginationMetaResult },
|
|
403
|
+
{ no: 3, name: "data", kind: "message", T: PublishedNewsAdminDto, repeated: true },
|
|
404
|
+
]);
|
|
405
|
+
static fromBinary(bytes, options) {
|
|
406
|
+
return new PublishedNewsPaginationAdminResponse().fromBinary(bytes, options);
|
|
407
|
+
}
|
|
408
|
+
static fromJson(jsonValue, options) {
|
|
409
|
+
return new PublishedNewsPaginationAdminResponse().fromJson(jsonValue, options);
|
|
410
|
+
}
|
|
411
|
+
static fromJsonString(jsonString, options) {
|
|
412
|
+
return new PublishedNewsPaginationAdminResponse().fromJsonString(jsonString, options);
|
|
413
|
+
}
|
|
414
|
+
static equals(a, b) {
|
|
415
|
+
return protobuf_1.proto3.util.equals(PublishedNewsPaginationAdminResponse, a, b);
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
exports.PublishedNewsPaginationAdminResponse = PublishedNewsPaginationAdminResponse;
|
|
419
|
+
class NewsReadCoins extends protobuf_1.Message {
|
|
420
|
+
coin = [];
|
|
421
|
+
constructor(data) {
|
|
422
|
+
super();
|
|
423
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
424
|
+
}
|
|
425
|
+
static runtime = protobuf_1.proto3;
|
|
426
|
+
static typeName = "micro.v1.news.NewsReadCoins";
|
|
427
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
428
|
+
{ no: 1, name: "coin", kind: "message", T: NewsReadCoin, repeated: true },
|
|
429
|
+
]);
|
|
430
|
+
static fromBinary(bytes, options) {
|
|
431
|
+
return new NewsReadCoins().fromBinary(bytes, options);
|
|
432
|
+
}
|
|
433
|
+
static fromJson(jsonValue, options) {
|
|
434
|
+
return new NewsReadCoins().fromJson(jsonValue, options);
|
|
435
|
+
}
|
|
436
|
+
static fromJsonString(jsonString, options) {
|
|
437
|
+
return new NewsReadCoins().fromJsonString(jsonString, options);
|
|
438
|
+
}
|
|
439
|
+
static equals(a, b) {
|
|
440
|
+
return protobuf_1.proto3.util.equals(NewsReadCoins, a, b);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
exports.NewsReadCoins = NewsReadCoins;
|
|
444
|
+
class NewsReadCoin extends protobuf_1.Message {
|
|
445
|
+
symbol = "";
|
|
446
|
+
name = "";
|
|
447
|
+
constructor(data) {
|
|
448
|
+
super();
|
|
449
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
450
|
+
}
|
|
451
|
+
static runtime = protobuf_1.proto3;
|
|
452
|
+
static typeName = "micro.v1.news.NewsReadCoin";
|
|
453
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
454
|
+
{ no: 1, name: "symbol", kind: "scalar", T: 9 },
|
|
455
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
456
|
+
]);
|
|
457
|
+
static fromBinary(bytes, options) {
|
|
458
|
+
return new NewsReadCoin().fromBinary(bytes, options);
|
|
459
|
+
}
|
|
460
|
+
static fromJson(jsonValue, options) {
|
|
461
|
+
return new NewsReadCoin().fromJson(jsonValue, options);
|
|
462
|
+
}
|
|
463
|
+
static fromJsonString(jsonString, options) {
|
|
464
|
+
return new NewsReadCoin().fromJsonString(jsonString, options);
|
|
465
|
+
}
|
|
466
|
+
static equals(a, b) {
|
|
467
|
+
return protobuf_1.proto3.util.equals(NewsReadCoin, a, b);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
exports.NewsReadCoin = NewsReadCoin;
|
|
471
|
+
class OnlyTranslateResponse extends protobuf_1.Message {
|
|
472
|
+
title = {};
|
|
473
|
+
content = {};
|
|
474
|
+
constructor(data) {
|
|
475
|
+
super();
|
|
476
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
477
|
+
}
|
|
478
|
+
static runtime = protobuf_1.proto3;
|
|
479
|
+
static typeName = "micro.v1.news.OnlyTranslateResponse";
|
|
480
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
481
|
+
{ no: 1, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
482
|
+
{ no: 2, name: "content", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
483
|
+
]);
|
|
484
|
+
static fromBinary(bytes, options) {
|
|
485
|
+
return new OnlyTranslateResponse().fromBinary(bytes, options);
|
|
486
|
+
}
|
|
487
|
+
static fromJson(jsonValue, options) {
|
|
488
|
+
return new OnlyTranslateResponse().fromJson(jsonValue, options);
|
|
489
|
+
}
|
|
490
|
+
static fromJsonString(jsonString, options) {
|
|
491
|
+
return new OnlyTranslateResponse().fromJsonString(jsonString, options);
|
|
492
|
+
}
|
|
493
|
+
static equals(a, b) {
|
|
494
|
+
return protobuf_1.proto3.util.equals(OnlyTranslateResponse, a, b);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
exports.OnlyTranslateResponse = OnlyTranslateResponse;
|
|
498
|
+
class NewsStoreRequest extends protobuf_1.Message {
|
|
499
|
+
title = {};
|
|
500
|
+
content = {};
|
|
501
|
+
category = [];
|
|
502
|
+
coin = [];
|
|
503
|
+
date = "";
|
|
504
|
+
time = "";
|
|
505
|
+
image = "";
|
|
506
|
+
slot = [];
|
|
507
|
+
rank = "";
|
|
508
|
+
constructor(data) {
|
|
509
|
+
super();
|
|
510
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
511
|
+
}
|
|
512
|
+
static runtime = protobuf_1.proto3;
|
|
513
|
+
static typeName = "micro.v1.news.NewsStoreRequest";
|
|
514
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
515
|
+
{ no: 1, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
516
|
+
{ no: 2, name: "content", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
517
|
+
{ no: 3, name: "category", kind: "scalar", T: 9, repeated: true },
|
|
518
|
+
{ no: 4, name: "coin", kind: "scalar", T: 9, repeated: true },
|
|
519
|
+
{ no: 5, name: "date", kind: "scalar", T: 9 },
|
|
520
|
+
{ no: 6, name: "time", kind: "scalar", T: 9 },
|
|
521
|
+
{ no: 7, name: "image", kind: "scalar", T: 9 },
|
|
522
|
+
{ no: 8, name: "slot", kind: "scalar", T: 9, repeated: true },
|
|
523
|
+
{ no: 9, name: "rank", kind: "scalar", T: 9 },
|
|
524
|
+
]);
|
|
525
|
+
static fromBinary(bytes, options) {
|
|
526
|
+
return new NewsStoreRequest().fromBinary(bytes, options);
|
|
527
|
+
}
|
|
528
|
+
static fromJson(jsonValue, options) {
|
|
529
|
+
return new NewsStoreRequest().fromJson(jsonValue, options);
|
|
530
|
+
}
|
|
531
|
+
static fromJsonString(jsonString, options) {
|
|
532
|
+
return new NewsStoreRequest().fromJsonString(jsonString, options);
|
|
533
|
+
}
|
|
534
|
+
static equals(a, b) {
|
|
535
|
+
return protobuf_1.proto3.util.equals(NewsStoreRequest, a, b);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
exports.NewsStoreRequest = NewsStoreRequest;
|
|
539
|
+
class ReadRequest extends protobuf_1.Message {
|
|
540
|
+
id = "";
|
|
541
|
+
newsType = "";
|
|
542
|
+
constructor(data) {
|
|
543
|
+
super();
|
|
544
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
545
|
+
}
|
|
546
|
+
static runtime = protobuf_1.proto3;
|
|
547
|
+
static typeName = "micro.v1.news.ReadRequest";
|
|
548
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
549
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
550
|
+
{ no: 2, name: "news_type", kind: "scalar", T: 9 },
|
|
551
|
+
]);
|
|
552
|
+
static fromBinary(bytes, options) {
|
|
553
|
+
return new ReadRequest().fromBinary(bytes, options);
|
|
554
|
+
}
|
|
555
|
+
static fromJson(jsonValue, options) {
|
|
556
|
+
return new ReadRequest().fromJson(jsonValue, options);
|
|
557
|
+
}
|
|
558
|
+
static fromJsonString(jsonString, options) {
|
|
559
|
+
return new ReadRequest().fromJsonString(jsonString, options);
|
|
560
|
+
}
|
|
561
|
+
static equals(a, b) {
|
|
562
|
+
return protobuf_1.proto3.util.equals(ReadRequest, a, b);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
exports.ReadRequest = ReadRequest;
|
|
566
|
+
class NewsPublishRequest extends protobuf_1.Message {
|
|
567
|
+
id = "";
|
|
568
|
+
slot = [];
|
|
569
|
+
category = [];
|
|
570
|
+
coin = [];
|
|
571
|
+
date = "";
|
|
572
|
+
time = "";
|
|
573
|
+
notification = false;
|
|
574
|
+
rank = "";
|
|
575
|
+
constructor(data) {
|
|
576
|
+
super();
|
|
577
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
578
|
+
}
|
|
579
|
+
static runtime = protobuf_1.proto3;
|
|
580
|
+
static typeName = "micro.v1.news.NewsPublishRequest";
|
|
581
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
582
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
583
|
+
{ no: 2, name: "slot", kind: "scalar", T: 9, repeated: true },
|
|
584
|
+
{ no: 3, name: "category", kind: "scalar", T: 9, repeated: true },
|
|
585
|
+
{ no: 4, name: "coin", kind: "scalar", T: 9, repeated: true },
|
|
586
|
+
{ no: 5, name: "date", kind: "scalar", T: 9 },
|
|
587
|
+
{ no: 6, name: "time", kind: "scalar", T: 9 },
|
|
588
|
+
{ no: 7, name: "notification", kind: "scalar", T: 8 },
|
|
589
|
+
{ no: 8, name: "rank", kind: "scalar", T: 9 },
|
|
590
|
+
]);
|
|
591
|
+
static fromBinary(bytes, options) {
|
|
592
|
+
return new NewsPublishRequest().fromBinary(bytes, options);
|
|
593
|
+
}
|
|
594
|
+
static fromJson(jsonValue, options) {
|
|
595
|
+
return new NewsPublishRequest().fromJson(jsonValue, options);
|
|
596
|
+
}
|
|
597
|
+
static fromJsonString(jsonString, options) {
|
|
598
|
+
return new NewsPublishRequest().fromJsonString(jsonString, options);
|
|
599
|
+
}
|
|
600
|
+
static equals(a, b) {
|
|
601
|
+
return protobuf_1.proto3.util.equals(NewsPublishRequest, a, b);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
exports.NewsPublishRequest = NewsPublishRequest;
|
|
605
|
+
class NewsUpdateRequest extends protobuf_1.Message {
|
|
606
|
+
id = "";
|
|
607
|
+
title = {};
|
|
608
|
+
content = {};
|
|
609
|
+
date;
|
|
610
|
+
category = [];
|
|
611
|
+
time;
|
|
612
|
+
coin = [];
|
|
613
|
+
newsType = "";
|
|
614
|
+
slot = [];
|
|
615
|
+
rank;
|
|
616
|
+
constructor(data) {
|
|
617
|
+
super();
|
|
618
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
619
|
+
}
|
|
620
|
+
static runtime = protobuf_1.proto3;
|
|
621
|
+
static typeName = "micro.v1.news.NewsUpdateRequest";
|
|
622
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
623
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
624
|
+
{ no: 2, name: "title", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
625
|
+
{ no: 3, name: "content", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
626
|
+
{ no: 4, name: "date", kind: "scalar", T: 9, opt: true },
|
|
627
|
+
{ no: 5, name: "category", kind: "scalar", T: 9, repeated: true },
|
|
628
|
+
{ no: 6, name: "time", kind: "scalar", T: 9, opt: true },
|
|
629
|
+
{ no: 7, name: "coin", kind: "scalar", T: 9, repeated: true },
|
|
630
|
+
{ no: 8, name: "news_type", kind: "scalar", T: 9 },
|
|
631
|
+
{ no: 9, name: "slot", kind: "scalar", T: 9, repeated: true },
|
|
632
|
+
{ no: 10, name: "rank", kind: "scalar", T: 9, opt: true },
|
|
633
|
+
]);
|
|
634
|
+
static fromBinary(bytes, options) {
|
|
635
|
+
return new NewsUpdateRequest().fromBinary(bytes, options);
|
|
636
|
+
}
|
|
637
|
+
static fromJson(jsonValue, options) {
|
|
638
|
+
return new NewsUpdateRequest().fromJson(jsonValue, options);
|
|
639
|
+
}
|
|
640
|
+
static fromJsonString(jsonString, options) {
|
|
641
|
+
return new NewsUpdateRequest().fromJsonString(jsonString, options);
|
|
642
|
+
}
|
|
643
|
+
static equals(a, b) {
|
|
644
|
+
return protobuf_1.proto3.util.equals(NewsUpdateRequest, a, b);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
exports.NewsUpdateRequest = NewsUpdateRequest;
|
|
648
|
+
class NewsReadSlot extends protobuf_1.Message {
|
|
649
|
+
slot = {};
|
|
650
|
+
name = "";
|
|
651
|
+
constructor(data) {
|
|
652
|
+
super();
|
|
653
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
654
|
+
}
|
|
655
|
+
static runtime = protobuf_1.proto3;
|
|
656
|
+
static typeName = "micro.v1.news.NewsReadSlot";
|
|
657
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
658
|
+
{ no: 1, name: "slot", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
659
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
660
|
+
]);
|
|
661
|
+
static fromBinary(bytes, options) {
|
|
662
|
+
return new NewsReadSlot().fromBinary(bytes, options);
|
|
663
|
+
}
|
|
664
|
+
static fromJson(jsonValue, options) {
|
|
665
|
+
return new NewsReadSlot().fromJson(jsonValue, options);
|
|
666
|
+
}
|
|
667
|
+
static fromJsonString(jsonString, options) {
|
|
668
|
+
return new NewsReadSlot().fromJsonString(jsonString, options);
|
|
669
|
+
}
|
|
670
|
+
static equals(a, b) {
|
|
671
|
+
return protobuf_1.proto3.util.equals(NewsReadSlot, a, b);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
exports.NewsReadSlot = NewsReadSlot;
|
|
675
|
+
class NewsReadSlots extends protobuf_1.Message {
|
|
676
|
+
slot = [];
|
|
677
|
+
constructor(data) {
|
|
678
|
+
super();
|
|
679
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
680
|
+
}
|
|
681
|
+
static runtime = protobuf_1.proto3;
|
|
682
|
+
static typeName = "micro.v1.news.NewsReadSlots";
|
|
683
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
684
|
+
{ no: 1, name: "slot", kind: "message", T: NewsReadSlot, repeated: true },
|
|
685
|
+
]);
|
|
686
|
+
static fromBinary(bytes, options) {
|
|
687
|
+
return new NewsReadSlots().fromBinary(bytes, options);
|
|
688
|
+
}
|
|
689
|
+
static fromJson(jsonValue, options) {
|
|
690
|
+
return new NewsReadSlots().fromJson(jsonValue, options);
|
|
691
|
+
}
|
|
692
|
+
static fromJsonString(jsonString, options) {
|
|
693
|
+
return new NewsReadSlots().fromJsonString(jsonString, options);
|
|
694
|
+
}
|
|
695
|
+
static equals(a, b) {
|
|
696
|
+
return protobuf_1.proto3.util.equals(NewsReadSlots, a, b);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
exports.NewsReadSlots = NewsReadSlots;
|
|
700
|
+
class NewsReadCategory extends protobuf_1.Message {
|
|
701
|
+
category = {};
|
|
702
|
+
name = "";
|
|
703
|
+
constructor(data) {
|
|
704
|
+
super();
|
|
705
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
706
|
+
}
|
|
707
|
+
static runtime = protobuf_1.proto3;
|
|
708
|
+
static typeName = "micro.v1.news.NewsReadCategory";
|
|
709
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
710
|
+
{ no: 1, name: "category", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
711
|
+
{ no: 2, name: "name", kind: "scalar", T: 9 },
|
|
712
|
+
]);
|
|
713
|
+
static fromBinary(bytes, options) {
|
|
714
|
+
return new NewsReadCategory().fromBinary(bytes, options);
|
|
715
|
+
}
|
|
716
|
+
static fromJson(jsonValue, options) {
|
|
717
|
+
return new NewsReadCategory().fromJson(jsonValue, options);
|
|
718
|
+
}
|
|
719
|
+
static fromJsonString(jsonString, options) {
|
|
720
|
+
return new NewsReadCategory().fromJsonString(jsonString, options);
|
|
721
|
+
}
|
|
722
|
+
static equals(a, b) {
|
|
723
|
+
return protobuf_1.proto3.util.equals(NewsReadCategory, a, b);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
exports.NewsReadCategory = NewsReadCategory;
|
|
727
|
+
class NewsReadCategories extends protobuf_1.Message {
|
|
728
|
+
category = [];
|
|
729
|
+
constructor(data) {
|
|
730
|
+
super();
|
|
731
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
732
|
+
}
|
|
733
|
+
static runtime = protobuf_1.proto3;
|
|
734
|
+
static typeName = "micro.v1.news.NewsReadCategories";
|
|
735
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
736
|
+
{ no: 1, name: "category", kind: "message", T: NewsReadCategory, repeated: true },
|
|
737
|
+
]);
|
|
738
|
+
static fromBinary(bytes, options) {
|
|
739
|
+
return new NewsReadCategories().fromBinary(bytes, options);
|
|
740
|
+
}
|
|
741
|
+
static fromJson(jsonValue, options) {
|
|
742
|
+
return new NewsReadCategories().fromJson(jsonValue, options);
|
|
743
|
+
}
|
|
744
|
+
static fromJsonString(jsonString, options) {
|
|
745
|
+
return new NewsReadCategories().fromJsonString(jsonString, options);
|
|
746
|
+
}
|
|
747
|
+
static equals(a, b) {
|
|
748
|
+
return protobuf_1.proto3.util.equals(NewsReadCategories, a, b);
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
exports.NewsReadCategories = NewsReadCategories;
|
|
752
|
+
class TranslateRequest extends protobuf_1.Message {
|
|
753
|
+
id = "";
|
|
754
|
+
language = "";
|
|
755
|
+
title = "";
|
|
756
|
+
content;
|
|
757
|
+
constructor(data) {
|
|
758
|
+
super();
|
|
759
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
760
|
+
}
|
|
761
|
+
static runtime = protobuf_1.proto3;
|
|
762
|
+
static typeName = "micro.v1.news.TranslateRequest";
|
|
763
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
764
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
765
|
+
{ no: 2, name: "language", kind: "scalar", T: 9 },
|
|
766
|
+
{ no: 3, name: "title", kind: "scalar", T: 9 },
|
|
767
|
+
{ no: 4, name: "content", kind: "scalar", T: 9, opt: true },
|
|
768
|
+
]);
|
|
769
|
+
static fromBinary(bytes, options) {
|
|
770
|
+
return new TranslateRequest().fromBinary(bytes, options);
|
|
771
|
+
}
|
|
772
|
+
static fromJson(jsonValue, options) {
|
|
773
|
+
return new TranslateRequest().fromJson(jsonValue, options);
|
|
774
|
+
}
|
|
775
|
+
static fromJsonString(jsonString, options) {
|
|
776
|
+
return new TranslateRequest().fromJsonString(jsonString, options);
|
|
777
|
+
}
|
|
778
|
+
static equals(a, b) {
|
|
779
|
+
return protobuf_1.proto3.util.equals(TranslateRequest, a, b);
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
exports.TranslateRequest = TranslateRequest;
|
|
783
|
+
class OnlyTranslateRequest extends protobuf_1.Message {
|
|
784
|
+
language = "";
|
|
785
|
+
title = "";
|
|
786
|
+
content;
|
|
787
|
+
constructor(data) {
|
|
788
|
+
super();
|
|
789
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
790
|
+
}
|
|
791
|
+
static runtime = protobuf_1.proto3;
|
|
792
|
+
static typeName = "micro.v1.news.OnlyTranslateRequest";
|
|
793
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
794
|
+
{ no: 1, name: "language", kind: "scalar", T: 9 },
|
|
795
|
+
{ no: 2, name: "title", kind: "scalar", T: 9 },
|
|
796
|
+
{ no: 3, name: "content", kind: "scalar", T: 9, opt: true },
|
|
797
|
+
]);
|
|
798
|
+
static fromBinary(bytes, options) {
|
|
799
|
+
return new OnlyTranslateRequest().fromBinary(bytes, options);
|
|
800
|
+
}
|
|
801
|
+
static fromJson(jsonValue, options) {
|
|
802
|
+
return new OnlyTranslateRequest().fromJson(jsonValue, options);
|
|
803
|
+
}
|
|
804
|
+
static fromJsonString(jsonString, options) {
|
|
805
|
+
return new OnlyTranslateRequest().fromJsonString(jsonString, options);
|
|
806
|
+
}
|
|
807
|
+
static equals(a, b) {
|
|
808
|
+
return protobuf_1.proto3.util.equals(OnlyTranslateRequest, a, b);
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
exports.OnlyTranslateRequest = OnlyTranslateRequest;
|
|
812
|
+
class NewsAdminPaginateRequest extends protobuf_1.Message {
|
|
813
|
+
page = 0;
|
|
814
|
+
perPage = 0;
|
|
815
|
+
draw;
|
|
816
|
+
filters = [];
|
|
817
|
+
sort = [];
|
|
818
|
+
columns = [];
|
|
819
|
+
newsType = "";
|
|
820
|
+
constructor(data) {
|
|
821
|
+
super();
|
|
822
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
823
|
+
}
|
|
824
|
+
static runtime = protobuf_1.proto3;
|
|
825
|
+
static typeName = "micro.v1.news.NewsAdminPaginateRequest";
|
|
826
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
827
|
+
{ no: 1, name: "page", kind: "scalar", T: 5 },
|
|
828
|
+
{ no: 2, name: "per_page", kind: "scalar", T: 5 },
|
|
829
|
+
{ no: 3, name: "draw", kind: "scalar", T: 5, opt: true },
|
|
830
|
+
{ no: 4, name: "filters", kind: "message", T: general_pb_js_1.Filter, repeated: true },
|
|
831
|
+
{ no: 5, name: "sort", kind: "message", T: general_pb_js_1.Sort, repeated: true },
|
|
832
|
+
{ no: 6, name: "columns", kind: "scalar", T: 9, repeated: true },
|
|
833
|
+
{ no: 7, name: "news_type", kind: "scalar", T: 9 },
|
|
834
|
+
]);
|
|
835
|
+
static fromBinary(bytes, options) {
|
|
836
|
+
return new NewsAdminPaginateRequest().fromBinary(bytes, options);
|
|
837
|
+
}
|
|
838
|
+
static fromJson(jsonValue, options) {
|
|
839
|
+
return new NewsAdminPaginateRequest().fromJson(jsonValue, options);
|
|
840
|
+
}
|
|
841
|
+
static fromJsonString(jsonString, options) {
|
|
842
|
+
return new NewsAdminPaginateRequest().fromJsonString(jsonString, options);
|
|
843
|
+
}
|
|
844
|
+
static equals(a, b) {
|
|
845
|
+
return protobuf_1.proto3.util.equals(NewsAdminPaginateRequest, a, b);
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
exports.NewsAdminPaginateRequest = NewsAdminPaginateRequest;
|