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,55 @@
|
|
|
1
|
+
import { EmptyRequest, EmptyResponse, PaginateRequest } from "../general_pb.js";
|
|
2
|
+
import { FileStatusRequest, FileStatusResponse, FileStoreRequest, GetAllLogoUrlsResponse, GetMediaUrlRequest, GetMediaUrlResponse, GetVideoLastTimeRequest, GetVideoLastTimeResponse, MediaAdminPaginationResponse, StoreVideoLastTimeRequest } from "./media_messages_pb.js";
|
|
3
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
|
+
export declare const PMediaAdminService: {
|
|
5
|
+
readonly typeName: "micro.v1.media.PMediaAdminService";
|
|
6
|
+
readonly methods: {
|
|
7
|
+
readonly paginate: {
|
|
8
|
+
readonly name: "Paginate";
|
|
9
|
+
readonly I: typeof PaginateRequest;
|
|
10
|
+
readonly O: typeof MediaAdminPaginationResponse;
|
|
11
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const PMediaService: {
|
|
16
|
+
readonly typeName: "micro.v1.media.PMediaService";
|
|
17
|
+
readonly methods: {
|
|
18
|
+
readonly store: {
|
|
19
|
+
readonly name: "Store";
|
|
20
|
+
readonly I: typeof FileStoreRequest;
|
|
21
|
+
readonly O: typeof EmptyResponse;
|
|
22
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
23
|
+
};
|
|
24
|
+
readonly getMediaUrl: {
|
|
25
|
+
readonly name: "GetMediaUrl";
|
|
26
|
+
readonly I: typeof GetMediaUrlRequest;
|
|
27
|
+
readonly O: typeof GetMediaUrlResponse;
|
|
28
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
29
|
+
};
|
|
30
|
+
readonly getAllLogoUrls: {
|
|
31
|
+
readonly name: "GetAllLogoUrls";
|
|
32
|
+
readonly I: typeof EmptyRequest;
|
|
33
|
+
readonly O: typeof GetAllLogoUrlsResponse;
|
|
34
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
35
|
+
};
|
|
36
|
+
readonly getVideoLastTime: {
|
|
37
|
+
readonly name: "GetVideoLastTime";
|
|
38
|
+
readonly I: typeof GetVideoLastTimeRequest;
|
|
39
|
+
readonly O: typeof GetVideoLastTimeResponse;
|
|
40
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
41
|
+
};
|
|
42
|
+
readonly storeVideoLastTime: {
|
|
43
|
+
readonly name: "StoreVideoLastTime";
|
|
44
|
+
readonly I: typeof StoreVideoLastTimeRequest;
|
|
45
|
+
readonly O: typeof EmptyResponse;
|
|
46
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
47
|
+
};
|
|
48
|
+
readonly getFileStatus: {
|
|
49
|
+
readonly name: "GetFileStatus";
|
|
50
|
+
readonly I: typeof FileStatusRequest;
|
|
51
|
+
readonly O: typeof FileStatusResponse;
|
|
52
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PMediaService = exports.PMediaAdminService = void 0;
|
|
4
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
5
|
+
const media_messages_pb_js_1 = require("./media_messages_pb.js");
|
|
6
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
7
|
+
exports.PMediaAdminService = {
|
|
8
|
+
typeName: "micro.v1.media.PMediaAdminService",
|
|
9
|
+
methods: {
|
|
10
|
+
paginate: {
|
|
11
|
+
name: "Paginate",
|
|
12
|
+
I: general_pb_js_1.PaginateRequest,
|
|
13
|
+
O: media_messages_pb_js_1.MediaAdminPaginationResponse,
|
|
14
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
15
|
+
},
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
exports.PMediaService = {
|
|
19
|
+
typeName: "micro.v1.media.PMediaService",
|
|
20
|
+
methods: {
|
|
21
|
+
store: {
|
|
22
|
+
name: "Store",
|
|
23
|
+
I: media_messages_pb_js_1.FileStoreRequest,
|
|
24
|
+
O: general_pb_js_1.EmptyResponse,
|
|
25
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
26
|
+
},
|
|
27
|
+
getMediaUrl: {
|
|
28
|
+
name: "GetMediaUrl",
|
|
29
|
+
I: media_messages_pb_js_1.GetMediaUrlRequest,
|
|
30
|
+
O: media_messages_pb_js_1.GetMediaUrlResponse,
|
|
31
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
32
|
+
},
|
|
33
|
+
getAllLogoUrls: {
|
|
34
|
+
name: "GetAllLogoUrls",
|
|
35
|
+
I: general_pb_js_1.EmptyRequest,
|
|
36
|
+
O: media_messages_pb_js_1.GetAllLogoUrlsResponse,
|
|
37
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
38
|
+
},
|
|
39
|
+
getVideoLastTime: {
|
|
40
|
+
name: "GetVideoLastTime",
|
|
41
|
+
I: media_messages_pb_js_1.GetVideoLastTimeRequest,
|
|
42
|
+
O: media_messages_pb_js_1.GetVideoLastTimeResponse,
|
|
43
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
44
|
+
},
|
|
45
|
+
storeVideoLastTime: {
|
|
46
|
+
name: "StoreVideoLastTime",
|
|
47
|
+
I: media_messages_pb_js_1.StoreVideoLastTimeRequest,
|
|
48
|
+
O: general_pb_js_1.EmptyResponse,
|
|
49
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
50
|
+
},
|
|
51
|
+
getFileStatus: {
|
|
52
|
+
name: "GetFileStatus",
|
|
53
|
+
I: media_messages_pb_js_1.FileStatusRequest,
|
|
54
|
+
O: media_messages_pb_js_1.FileStatusResponse,
|
|
55
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
56
|
+
},
|
|
57
|
+
}
|
|
58
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Metadata } from "@grpc/grpc-js";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { EmptyRequest, EmptyResponse, PaginateRequest } from "../general_nest";
|
|
4
|
+
import { FileStatusRequest, FileStatusResponse, FileStoreRequest, GetAllLogoUrlsResponse, GetMediaUrlRequest, GetMediaUrlResponse, GetVideoLastTimeRequest, GetVideoLastTimeResponse, MediaAdminPaginationResponse, StoreVideoLastTimeRequest } from "./media_messages_nest";
|
|
5
|
+
export declare const protobufPackage = "micro.v1.media";
|
|
6
|
+
export declare const MICRO_V1_MEDIA_PACKAGE_NAME = "micro.v1.media";
|
|
7
|
+
export interface PMediaAdminServiceClient {
|
|
8
|
+
paginate(request: PaginateRequest, metadata?: Metadata): Observable<MediaAdminPaginationResponse>;
|
|
9
|
+
}
|
|
10
|
+
export interface PMediaAdminServiceController {
|
|
11
|
+
paginate(request: PaginateRequest, metadata?: Metadata): Observable<MediaAdminPaginationResponse>;
|
|
12
|
+
}
|
|
13
|
+
export declare function PMediaAdminServiceControllerMethods(): (constructor: Function) => void;
|
|
14
|
+
export declare const P_MEDIA_ADMIN_SERVICE_NAME = "PMediaAdminService";
|
|
15
|
+
export interface PMediaServiceClient {
|
|
16
|
+
store(request: FileStoreRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
17
|
+
getMediaUrl(request: GetMediaUrlRequest, metadata?: Metadata): Observable<GetMediaUrlResponse>;
|
|
18
|
+
getAllLogoUrls(request: EmptyRequest, metadata?: Metadata): Observable<GetAllLogoUrlsResponse>;
|
|
19
|
+
getVideoLastTime(request: GetVideoLastTimeRequest, metadata?: Metadata): Observable<GetVideoLastTimeResponse>;
|
|
20
|
+
storeVideoLastTime(request: StoreVideoLastTimeRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
21
|
+
getFileStatus(request: FileStatusRequest, metadata?: Metadata): Observable<FileStatusResponse>;
|
|
22
|
+
}
|
|
23
|
+
export interface PMediaServiceController {
|
|
24
|
+
store(request: FileStoreRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
25
|
+
getMediaUrl(request: GetMediaUrlRequest, metadata?: Metadata): Observable<GetMediaUrlResponse>;
|
|
26
|
+
getAllLogoUrls(request: EmptyRequest, metadata?: Metadata): Observable<GetAllLogoUrlsResponse>;
|
|
27
|
+
getVideoLastTime(request: GetVideoLastTimeRequest, metadata?: Metadata): Observable<GetVideoLastTimeResponse>;
|
|
28
|
+
storeVideoLastTime(request: StoreVideoLastTimeRequest, metadata?: Metadata): Observable<EmptyResponse>;
|
|
29
|
+
getFileStatus(request: FileStatusRequest, metadata?: Metadata): Observable<FileStatusResponse>;
|
|
30
|
+
}
|
|
31
|
+
export declare function PMediaServiceControllerMethods(): (constructor: Function) => void;
|
|
32
|
+
export declare const P_MEDIA_SERVICE_NAME = "PMediaService";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.P_MEDIA_SERVICE_NAME = exports.P_MEDIA_ADMIN_SERVICE_NAME = exports.MICRO_V1_MEDIA_PACKAGE_NAME = exports.protobufPackage = void 0;
|
|
4
|
+
exports.PMediaAdminServiceControllerMethods = PMediaAdminServiceControllerMethods;
|
|
5
|
+
exports.PMediaServiceControllerMethods = PMediaServiceControllerMethods;
|
|
6
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
7
|
+
exports.protobufPackage = "micro.v1.media";
|
|
8
|
+
exports.MICRO_V1_MEDIA_PACKAGE_NAME = "micro.v1.media";
|
|
9
|
+
function PMediaAdminServiceControllerMethods() {
|
|
10
|
+
return function (constructor) {
|
|
11
|
+
const grpcMethods = ["paginate"];
|
|
12
|
+
for (const method of grpcMethods) {
|
|
13
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
14
|
+
(0, microservices_1.GrpcMethod)("PMediaAdminService", method)(constructor.prototype[method], method, descriptor);
|
|
15
|
+
}
|
|
16
|
+
const grpcStreamMethods = [];
|
|
17
|
+
for (const method of grpcStreamMethods) {
|
|
18
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
19
|
+
(0, microservices_1.GrpcStreamMethod)("PMediaAdminService", method)(constructor.prototype[method], method, descriptor);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
exports.P_MEDIA_ADMIN_SERVICE_NAME = "PMediaAdminService";
|
|
24
|
+
function PMediaServiceControllerMethods() {
|
|
25
|
+
return function (constructor) {
|
|
26
|
+
const grpcMethods = [
|
|
27
|
+
"store",
|
|
28
|
+
"getMediaUrl",
|
|
29
|
+
"getAllLogoUrls",
|
|
30
|
+
"getVideoLastTime",
|
|
31
|
+
"storeVideoLastTime",
|
|
32
|
+
"getFileStatus",
|
|
33
|
+
];
|
|
34
|
+
for (const method of grpcMethods) {
|
|
35
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
36
|
+
(0, microservices_1.GrpcMethod)("PMediaService", method)(constructor.prototype[method], method, descriptor);
|
|
37
|
+
}
|
|
38
|
+
const grpcStreamMethods = [];
|
|
39
|
+
for (const method of grpcStreamMethods) {
|
|
40
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
41
|
+
(0, microservices_1.GrpcStreamMethod)("PMediaService", method)(constructor.prototype[method], method, descriptor);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.P_MEDIA_SERVICE_NAME = "PMediaService";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ResponseStatus } from "../general_nest";
|
|
2
|
+
export declare const protobufPackage = "micro.v1.news";
|
|
3
|
+
export interface AppVersionDto {
|
|
4
|
+
id: string;
|
|
5
|
+
date: string;
|
|
6
|
+
android_version: number;
|
|
7
|
+
ios_version: number;
|
|
8
|
+
description: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
mandatory: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface AppVersionDto_DescriptionEntry {
|
|
14
|
+
key: string;
|
|
15
|
+
value: string;
|
|
16
|
+
}
|
|
17
|
+
export interface AppVersionResponse {
|
|
18
|
+
status: ResponseStatus | undefined;
|
|
19
|
+
data: AppVersionDto | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface AddAppVersionRequest {
|
|
22
|
+
android_version: number;
|
|
23
|
+
ios_version: number;
|
|
24
|
+
description: {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
};
|
|
27
|
+
mandatory: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface AddAppVersionRequest_DescriptionEntry {
|
|
30
|
+
key: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
33
|
+
export interface RemoveAppVersionRequest {
|
|
34
|
+
id: string;
|
|
35
|
+
}
|
|
36
|
+
export interface AppVersionListResponse {
|
|
37
|
+
data: AppVersionDto[];
|
|
38
|
+
status: ResponseStatus | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const MICRO_V1_NEWS_PACKAGE_NAME = "micro.v1.news";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
2
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
3
|
+
import { ResponseStatus } from "../general_pb.js";
|
|
4
|
+
export declare class AppVersionDto extends Message<AppVersionDto> {
|
|
5
|
+
id: string;
|
|
6
|
+
date: string;
|
|
7
|
+
androidVersion: number;
|
|
8
|
+
iosVersion: number;
|
|
9
|
+
description: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
mandatory: boolean;
|
|
13
|
+
constructor(data?: PartialMessage<AppVersionDto>);
|
|
14
|
+
static readonly runtime: typeof proto3;
|
|
15
|
+
static readonly typeName = "micro.v1.news.AppVersionDto";
|
|
16
|
+
static readonly fields: FieldList;
|
|
17
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AppVersionDto;
|
|
18
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AppVersionDto;
|
|
19
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AppVersionDto;
|
|
20
|
+
static equals(a: AppVersionDto | PlainMessage<AppVersionDto> | undefined, b: AppVersionDto | PlainMessage<AppVersionDto> | undefined): boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare class AppVersionResponse extends Message<AppVersionResponse> {
|
|
23
|
+
status?: ResponseStatus;
|
|
24
|
+
data?: AppVersionDto;
|
|
25
|
+
constructor(data?: PartialMessage<AppVersionResponse>);
|
|
26
|
+
static readonly runtime: typeof proto3;
|
|
27
|
+
static readonly typeName = "micro.v1.news.AppVersionResponse";
|
|
28
|
+
static readonly fields: FieldList;
|
|
29
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AppVersionResponse;
|
|
30
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AppVersionResponse;
|
|
31
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AppVersionResponse;
|
|
32
|
+
static equals(a: AppVersionResponse | PlainMessage<AppVersionResponse> | undefined, b: AppVersionResponse | PlainMessage<AppVersionResponse> | undefined): boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare class AddAppVersionRequest extends Message<AddAppVersionRequest> {
|
|
35
|
+
androidVersion: number;
|
|
36
|
+
iosVersion: number;
|
|
37
|
+
description: {
|
|
38
|
+
[key: string]: string;
|
|
39
|
+
};
|
|
40
|
+
mandatory: boolean;
|
|
41
|
+
constructor(data?: PartialMessage<AddAppVersionRequest>);
|
|
42
|
+
static readonly runtime: typeof proto3;
|
|
43
|
+
static readonly typeName = "micro.v1.news.AddAppVersionRequest";
|
|
44
|
+
static readonly fields: FieldList;
|
|
45
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddAppVersionRequest;
|
|
46
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddAppVersionRequest;
|
|
47
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddAppVersionRequest;
|
|
48
|
+
static equals(a: AddAppVersionRequest | PlainMessage<AddAppVersionRequest> | undefined, b: AddAppVersionRequest | PlainMessage<AddAppVersionRequest> | undefined): boolean;
|
|
49
|
+
}
|
|
50
|
+
export declare class RemoveAppVersionRequest extends Message<RemoveAppVersionRequest> {
|
|
51
|
+
id: string;
|
|
52
|
+
constructor(data?: PartialMessage<RemoveAppVersionRequest>);
|
|
53
|
+
static readonly runtime: typeof proto3;
|
|
54
|
+
static readonly typeName = "micro.v1.news.RemoveAppVersionRequest";
|
|
55
|
+
static readonly fields: FieldList;
|
|
56
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveAppVersionRequest;
|
|
57
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveAppVersionRequest;
|
|
58
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveAppVersionRequest;
|
|
59
|
+
static equals(a: RemoveAppVersionRequest | PlainMessage<RemoveAppVersionRequest> | undefined, b: RemoveAppVersionRequest | PlainMessage<RemoveAppVersionRequest> | undefined): boolean;
|
|
60
|
+
}
|
|
61
|
+
export declare class AppVersionListResponse extends Message<AppVersionListResponse> {
|
|
62
|
+
data: AppVersionDto[];
|
|
63
|
+
status?: ResponseStatus;
|
|
64
|
+
constructor(data?: PartialMessage<AppVersionListResponse>);
|
|
65
|
+
static readonly runtime: typeof proto3;
|
|
66
|
+
static readonly typeName = "micro.v1.news.AppVersionListResponse";
|
|
67
|
+
static readonly fields: FieldList;
|
|
68
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AppVersionListResponse;
|
|
69
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AppVersionListResponse;
|
|
70
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AppVersionListResponse;
|
|
71
|
+
static equals(a: AppVersionListResponse | PlainMessage<AppVersionListResponse> | undefined, b: AppVersionListResponse | PlainMessage<AppVersionListResponse> | undefined): boolean;
|
|
72
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppVersionListResponse = exports.RemoveAppVersionRequest = exports.AddAppVersionRequest = exports.AppVersionResponse = exports.AppVersionDto = void 0;
|
|
4
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
5
|
+
const general_pb_js_1 = require("../general_pb.js");
|
|
6
|
+
class AppVersionDto extends protobuf_1.Message {
|
|
7
|
+
id = "";
|
|
8
|
+
date = "";
|
|
9
|
+
androidVersion = 0;
|
|
10
|
+
iosVersion = 0;
|
|
11
|
+
description = {};
|
|
12
|
+
mandatory = false;
|
|
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.AppVersionDto";
|
|
19
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
20
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
21
|
+
{ no: 2, name: "date", kind: "scalar", T: 9 },
|
|
22
|
+
{ no: 3, name: "android_version", kind: "scalar", T: 5 },
|
|
23
|
+
{ no: 4, name: "ios_version", kind: "scalar", T: 5 },
|
|
24
|
+
{ no: 5, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
25
|
+
{ no: 6, name: "mandatory", kind: "scalar", T: 8 },
|
|
26
|
+
]);
|
|
27
|
+
static fromBinary(bytes, options) {
|
|
28
|
+
return new AppVersionDto().fromBinary(bytes, options);
|
|
29
|
+
}
|
|
30
|
+
static fromJson(jsonValue, options) {
|
|
31
|
+
return new AppVersionDto().fromJson(jsonValue, options);
|
|
32
|
+
}
|
|
33
|
+
static fromJsonString(jsonString, options) {
|
|
34
|
+
return new AppVersionDto().fromJsonString(jsonString, options);
|
|
35
|
+
}
|
|
36
|
+
static equals(a, b) {
|
|
37
|
+
return protobuf_1.proto3.util.equals(AppVersionDto, a, b);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.AppVersionDto = AppVersionDto;
|
|
41
|
+
class AppVersionResponse 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.AppVersionResponse";
|
|
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: AppVersionDto },
|
|
53
|
+
]);
|
|
54
|
+
static fromBinary(bytes, options) {
|
|
55
|
+
return new AppVersionResponse().fromBinary(bytes, options);
|
|
56
|
+
}
|
|
57
|
+
static fromJson(jsonValue, options) {
|
|
58
|
+
return new AppVersionResponse().fromJson(jsonValue, options);
|
|
59
|
+
}
|
|
60
|
+
static fromJsonString(jsonString, options) {
|
|
61
|
+
return new AppVersionResponse().fromJsonString(jsonString, options);
|
|
62
|
+
}
|
|
63
|
+
static equals(a, b) {
|
|
64
|
+
return protobuf_1.proto3.util.equals(AppVersionResponse, a, b);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.AppVersionResponse = AppVersionResponse;
|
|
68
|
+
class AddAppVersionRequest extends protobuf_1.Message {
|
|
69
|
+
androidVersion = 0;
|
|
70
|
+
iosVersion = 0;
|
|
71
|
+
description = {};
|
|
72
|
+
mandatory = false;
|
|
73
|
+
constructor(data) {
|
|
74
|
+
super();
|
|
75
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
76
|
+
}
|
|
77
|
+
static runtime = protobuf_1.proto3;
|
|
78
|
+
static typeName = "micro.v1.news.AddAppVersionRequest";
|
|
79
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
80
|
+
{ no: 1, name: "android_version", kind: "scalar", T: 5 },
|
|
81
|
+
{ no: 2, name: "ios_version", kind: "scalar", T: 5 },
|
|
82
|
+
{ no: 3, name: "description", kind: "map", K: 9, V: { kind: "scalar", T: 9 } },
|
|
83
|
+
{ no: 4, name: "mandatory", kind: "scalar", T: 8 },
|
|
84
|
+
]);
|
|
85
|
+
static fromBinary(bytes, options) {
|
|
86
|
+
return new AddAppVersionRequest().fromBinary(bytes, options);
|
|
87
|
+
}
|
|
88
|
+
static fromJson(jsonValue, options) {
|
|
89
|
+
return new AddAppVersionRequest().fromJson(jsonValue, options);
|
|
90
|
+
}
|
|
91
|
+
static fromJsonString(jsonString, options) {
|
|
92
|
+
return new AddAppVersionRequest().fromJsonString(jsonString, options);
|
|
93
|
+
}
|
|
94
|
+
static equals(a, b) {
|
|
95
|
+
return protobuf_1.proto3.util.equals(AddAppVersionRequest, a, b);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.AddAppVersionRequest = AddAppVersionRequest;
|
|
99
|
+
class RemoveAppVersionRequest extends protobuf_1.Message {
|
|
100
|
+
id = "";
|
|
101
|
+
constructor(data) {
|
|
102
|
+
super();
|
|
103
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
104
|
+
}
|
|
105
|
+
static runtime = protobuf_1.proto3;
|
|
106
|
+
static typeName = "micro.v1.news.RemoveAppVersionRequest";
|
|
107
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
108
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 },
|
|
109
|
+
]);
|
|
110
|
+
static fromBinary(bytes, options) {
|
|
111
|
+
return new RemoveAppVersionRequest().fromBinary(bytes, options);
|
|
112
|
+
}
|
|
113
|
+
static fromJson(jsonValue, options) {
|
|
114
|
+
return new RemoveAppVersionRequest().fromJson(jsonValue, options);
|
|
115
|
+
}
|
|
116
|
+
static fromJsonString(jsonString, options) {
|
|
117
|
+
return new RemoveAppVersionRequest().fromJsonString(jsonString, options);
|
|
118
|
+
}
|
|
119
|
+
static equals(a, b) {
|
|
120
|
+
return protobuf_1.proto3.util.equals(RemoveAppVersionRequest, a, b);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.RemoveAppVersionRequest = RemoveAppVersionRequest;
|
|
124
|
+
class AppVersionListResponse extends protobuf_1.Message {
|
|
125
|
+
data = [];
|
|
126
|
+
status;
|
|
127
|
+
constructor(data) {
|
|
128
|
+
super();
|
|
129
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
130
|
+
}
|
|
131
|
+
static runtime = protobuf_1.proto3;
|
|
132
|
+
static typeName = "micro.v1.news.AppVersionListResponse";
|
|
133
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
134
|
+
{ no: 1, name: "data", kind: "message", T: AppVersionDto, repeated: true },
|
|
135
|
+
{ no: 2, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
136
|
+
]);
|
|
137
|
+
static fromBinary(bytes, options) {
|
|
138
|
+
return new AppVersionListResponse().fromBinary(bytes, options);
|
|
139
|
+
}
|
|
140
|
+
static fromJson(jsonValue, options) {
|
|
141
|
+
return new AppVersionListResponse().fromJson(jsonValue, options);
|
|
142
|
+
}
|
|
143
|
+
static fromJsonString(jsonString, options) {
|
|
144
|
+
return new AppVersionListResponse().fromJsonString(jsonString, options);
|
|
145
|
+
}
|
|
146
|
+
static equals(a, b) {
|
|
147
|
+
return protobuf_1.proto3.util.equals(AppVersionListResponse, a, b);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.AppVersionListResponse = AppVersionListResponse;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { PaginationMetaResult, ResponseStatus } from "../general_nest";
|
|
2
|
+
export declare const protobufPackage = "micro.v1.news";
|
|
3
|
+
export interface BlogDto {
|
|
4
|
+
id: string;
|
|
5
|
+
title: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
content: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
image: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
author: string;
|
|
15
|
+
date: string;
|
|
16
|
+
category: Category[];
|
|
17
|
+
}
|
|
18
|
+
export interface BlogDto_TitleEntry {
|
|
19
|
+
key: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
export interface BlogDto_ContentEntry {
|
|
23
|
+
key: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
export interface BlogDto_ImageEntry {
|
|
27
|
+
key: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}
|
|
30
|
+
export interface BlogSingleResponse {
|
|
31
|
+
status: ResponseStatus | undefined;
|
|
32
|
+
data: BlogDto | undefined;
|
|
33
|
+
}
|
|
34
|
+
export interface BlogPaginationResponse {
|
|
35
|
+
status: ResponseStatus | undefined;
|
|
36
|
+
pagination: PaginationMetaResult | undefined;
|
|
37
|
+
data: BlogDto[];
|
|
38
|
+
}
|
|
39
|
+
export interface BlogAdminDto {
|
|
40
|
+
id: string;
|
|
41
|
+
title: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
};
|
|
44
|
+
content: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
image: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
author: string;
|
|
51
|
+
create_date: string;
|
|
52
|
+
publish_date: string;
|
|
53
|
+
slot: Slot[];
|
|
54
|
+
category: Category[];
|
|
55
|
+
is_advised: boolean;
|
|
56
|
+
is_without_image: boolean;
|
|
57
|
+
is_notification: boolean;
|
|
58
|
+
}
|
|
59
|
+
export interface BlogAdminDto_TitleEntry {
|
|
60
|
+
key: string;
|
|
61
|
+
value: string;
|
|
62
|
+
}
|
|
63
|
+
export interface BlogAdminDto_ContentEntry {
|
|
64
|
+
key: string;
|
|
65
|
+
value: string;
|
|
66
|
+
}
|
|
67
|
+
export interface BlogAdminDto_ImageEntry {
|
|
68
|
+
key: string;
|
|
69
|
+
value: string;
|
|
70
|
+
}
|
|
71
|
+
export interface BlogAdminPaginateDateDto {
|
|
72
|
+
id: string;
|
|
73
|
+
title: {
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
};
|
|
76
|
+
category: Category[];
|
|
77
|
+
slot: Slot[];
|
|
78
|
+
publish_date: string;
|
|
79
|
+
}
|
|
80
|
+
export interface BlogAdminPaginateDateDto_TitleEntry {
|
|
81
|
+
key: string;
|
|
82
|
+
value: string;
|
|
83
|
+
}
|
|
84
|
+
export interface Slot {
|
|
85
|
+
slot: {
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
};
|
|
88
|
+
name: string;
|
|
89
|
+
}
|
|
90
|
+
export interface Slot_SlotEntry {
|
|
91
|
+
key: string;
|
|
92
|
+
value: string;
|
|
93
|
+
}
|
|
94
|
+
export interface Category {
|
|
95
|
+
category: {
|
|
96
|
+
[key: string]: string;
|
|
97
|
+
};
|
|
98
|
+
name: string;
|
|
99
|
+
}
|
|
100
|
+
export interface Category_CategoryEntry {
|
|
101
|
+
key: string;
|
|
102
|
+
value: string;
|
|
103
|
+
}
|
|
104
|
+
export interface BlogSingleAdminResponse {
|
|
105
|
+
status: ResponseStatus | undefined;
|
|
106
|
+
data: BlogAdminDto | undefined;
|
|
107
|
+
}
|
|
108
|
+
export interface BlogPaginationAdminResponse {
|
|
109
|
+
status: ResponseStatus | undefined;
|
|
110
|
+
pagination: PaginationMetaResult | undefined;
|
|
111
|
+
data: BlogAdminDto[];
|
|
112
|
+
}
|
|
113
|
+
export interface BlogPaginateDateAdminResponse {
|
|
114
|
+
status: ResponseStatus | undefined;
|
|
115
|
+
pagination: PaginationMetaResult | undefined;
|
|
116
|
+
data: BlogAdminPaginateDateDto[];
|
|
117
|
+
}
|
|
118
|
+
export interface BlogPublishRequest {
|
|
119
|
+
id: string;
|
|
120
|
+
slot: string[];
|
|
121
|
+
category: string[];
|
|
122
|
+
is_notification: boolean;
|
|
123
|
+
is_without_image: boolean;
|
|
124
|
+
date: string;
|
|
125
|
+
time: string;
|
|
126
|
+
}
|
|
127
|
+
export interface BlogUpdateRequest {
|
|
128
|
+
id: string;
|
|
129
|
+
slot: string[];
|
|
130
|
+
category: string[];
|
|
131
|
+
is_notification: boolean;
|
|
132
|
+
is_without_image: boolean;
|
|
133
|
+
date: string;
|
|
134
|
+
time: string;
|
|
135
|
+
}
|
|
136
|
+
export interface BlogReadSlot {
|
|
137
|
+
slot: {
|
|
138
|
+
[key: string]: string;
|
|
139
|
+
};
|
|
140
|
+
name: string;
|
|
141
|
+
}
|
|
142
|
+
export interface BlogReadSlot_SlotEntry {
|
|
143
|
+
key: string;
|
|
144
|
+
value: string;
|
|
145
|
+
}
|
|
146
|
+
export interface BlogReadSlots {
|
|
147
|
+
slot: BlogReadSlot[];
|
|
148
|
+
}
|
|
149
|
+
export interface BlogReadCategory {
|
|
150
|
+
category: {
|
|
151
|
+
[key: string]: string;
|
|
152
|
+
};
|
|
153
|
+
title: string;
|
|
154
|
+
}
|
|
155
|
+
export interface BlogReadCategory_CategoryEntry {
|
|
156
|
+
key: string;
|
|
157
|
+
value: string;
|
|
158
|
+
}
|
|
159
|
+
export interface BlogReadCategories {
|
|
160
|
+
category: BlogReadCategory[];
|
|
161
|
+
}
|
|
162
|
+
export declare const MICRO_V1_NEWS_PACKAGE_NAME = "micro.v1.news";
|