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,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const _1 = require(".");
|
|
3
|
+
module.exports = class MatcherCollection {
|
|
4
|
+
matchers;
|
|
5
|
+
constructor(matchers) {
|
|
6
|
+
this.matchers = matchers.map((matcher) => {
|
|
7
|
+
return typeof matcher === 'string' ? new _1.Minimatch(matcher) : matcher;
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
match(value) {
|
|
11
|
+
for (let i = 0; i < this.matchers.length; i++) {
|
|
12
|
+
if (this.matchers[i].match(value)) {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
mayContain(value) {
|
|
19
|
+
let parts = value.split(/\/|\\/g).filter(Boolean);
|
|
20
|
+
for (let i = 0; i < this.matchers.length; i++) {
|
|
21
|
+
let matcher = this.matchers[i];
|
|
22
|
+
for (let j = 0; j < matcher.set.length; j++) {
|
|
23
|
+
if (matcher.matchOne(parts, matcher.set[j], true)) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.unescape = void 0;
|
|
4
|
+
const unescape = (s, { windowsPathsNoEscape = false, } = {}) => {
|
|
5
|
+
return windowsPathsNoEscape
|
|
6
|
+
? s.replace(/\[([^\/\\])\]/g, '$1')
|
|
7
|
+
: s
|
|
8
|
+
.replace(/((?!\\).|^)\[([^\/\\])\]/g, '$1$2')
|
|
9
|
+
.replace(/\\([^\/])/g, '$1');
|
|
10
|
+
};
|
|
11
|
+
exports.unescape = unescape;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { Logger } from '@nestjs/common';
|
|
2
|
+
export type JwtUser = {
|
|
3
|
+
email: string;
|
|
4
|
+
sub: string;
|
|
5
|
+
roles: string[];
|
|
6
|
+
[k: string]: any;
|
|
7
|
+
};
|
|
8
|
+
export type RpcDataType = {
|
|
9
|
+
user?: JwtUser;
|
|
10
|
+
};
|
|
11
|
+
export interface PrismaGeneralFilterType {
|
|
12
|
+
}
|
|
13
|
+
export type PrismaWhereType = PrismaGeneralFilterType & {
|
|
14
|
+
[key: string]: null | string | number | boolean | bigint | PrismaStringFilter | PrismaWhereType | PrismaWhereType[];
|
|
15
|
+
};
|
|
16
|
+
export type PrismaStringFilter = {
|
|
17
|
+
equals?: string;
|
|
18
|
+
in?: string[];
|
|
19
|
+
notIn?: string[];
|
|
20
|
+
lt?: string;
|
|
21
|
+
lte?: string;
|
|
22
|
+
gt?: string;
|
|
23
|
+
gte?: string;
|
|
24
|
+
contains?: string;
|
|
25
|
+
startsWith?: string;
|
|
26
|
+
endsWith?: string;
|
|
27
|
+
not?: NestedStringFilter | string;
|
|
28
|
+
};
|
|
29
|
+
export type NestedStringFilter = {
|
|
30
|
+
equals?: string;
|
|
31
|
+
in?: string[];
|
|
32
|
+
notIn?: string[];
|
|
33
|
+
lt?: string;
|
|
34
|
+
lte?: string;
|
|
35
|
+
gt?: string;
|
|
36
|
+
gte?: string;
|
|
37
|
+
contains?: string;
|
|
38
|
+
startsWith?: string;
|
|
39
|
+
endsWith?: string;
|
|
40
|
+
not?: NestedStringFilter | string;
|
|
41
|
+
};
|
|
42
|
+
export type PrismaOrderType = {
|
|
43
|
+
[key: string]: PrismaSortOrderType;
|
|
44
|
+
};
|
|
45
|
+
export type PrismaSortOrderType = 'asc' | 'desc';
|
|
46
|
+
export type CurrencyParity = {
|
|
47
|
+
base: string;
|
|
48
|
+
quote: string;
|
|
49
|
+
};
|
|
50
|
+
export type ObjectLiteral<T = any> = {
|
|
51
|
+
[key: string]: T;
|
|
52
|
+
};
|
|
53
|
+
declare global {
|
|
54
|
+
interface BigInt {
|
|
55
|
+
toJSON: () => string;
|
|
56
|
+
}
|
|
57
|
+
interface String {
|
|
58
|
+
unpadEnd(unfillStr: string): string;
|
|
59
|
+
unpadStart(unfillStr: string): string;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
declare module 'rxjs' {
|
|
63
|
+
interface Observable<T> {
|
|
64
|
+
getLastValue(options?: ObservableOptions<T>): Promise<T>;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
interface ObservableOptions<T> {
|
|
68
|
+
logger?: Logger;
|
|
69
|
+
}
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const rxjs_1 = require("rxjs");
|
|
4
|
+
BigInt.prototype.toJSON = function () {
|
|
5
|
+
return this.toString();
|
|
6
|
+
};
|
|
7
|
+
rxjs_1.Observable.prototype.getLastValue = async function (options = {}) {
|
|
8
|
+
try {
|
|
9
|
+
return await (0, rxjs_1.lastValueFrom)(this);
|
|
10
|
+
}
|
|
11
|
+
catch (error) {
|
|
12
|
+
const { logger } = options;
|
|
13
|
+
logger?.error('Failed to get last value:', error);
|
|
14
|
+
throw error;
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
String.prototype.unpadEnd = function (unfillStr) {
|
|
18
|
+
return this.replace(new RegExp(unfillStr + '+$'), '');
|
|
19
|
+
};
|
|
20
|
+
String.prototype.unpadStart = function (unfillStr) {
|
|
21
|
+
return this.replace(new RegExp('^' + unfillStr + '+'), '');
|
|
22
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import fsNode from 'fs';
|
|
2
|
+
import { Minimatch, MinimatchOptions } from './minimatch';
|
|
3
|
+
export declare function walkSync(baseDir: string, inputOptions?: _walkSyncInner.Options | (string | Minimatch)[]): string[];
|
|
4
|
+
declare namespace _walkSyncInner {
|
|
5
|
+
function entries(baseDir: string, inputOptions?: Options | (string | Minimatch)[]): Entry[];
|
|
6
|
+
interface Options {
|
|
7
|
+
includeBasePath?: boolean;
|
|
8
|
+
globs?: (string | Minimatch)[];
|
|
9
|
+
ignore?: (string | Minimatch)[];
|
|
10
|
+
directories?: boolean;
|
|
11
|
+
fs?: typeof fsNode;
|
|
12
|
+
globOptions?: MinimatchOptions;
|
|
13
|
+
}
|
|
14
|
+
class Entry {
|
|
15
|
+
relativePath: string;
|
|
16
|
+
basePath: string;
|
|
17
|
+
mode: number;
|
|
18
|
+
size: number;
|
|
19
|
+
mtime: number;
|
|
20
|
+
constructor(relativePath: string, basePath: string, mode: number, size: number, mtime: number);
|
|
21
|
+
get fullPath(): string;
|
|
22
|
+
isDirectory(): boolean;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.walkSync = walkSync;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const ensure_posix_path_1 = tslib_1.__importDefault(require("ensure-posix-path"));
|
|
6
|
+
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
7
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
8
|
+
const minimatch_1 = require("./minimatch");
|
|
9
|
+
const matcher_collection_1 = tslib_1.__importDefault(require("./minimatch/matcher_collection"));
|
|
10
|
+
function walkSync(baseDir, inputOptions) {
|
|
11
|
+
const options = handleOptions(inputOptions);
|
|
12
|
+
let mapFunct;
|
|
13
|
+
if (options.includeBasePath) {
|
|
14
|
+
mapFunct = function (entry) {
|
|
15
|
+
return (entry.basePath.split(path_1.default.sep).join('/').replace(/\/+$/, '') +
|
|
16
|
+
'/' +
|
|
17
|
+
entry.relativePath);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
mapFunct = function (entry) {
|
|
22
|
+
return entry.relativePath;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
return _walkSync(baseDir, options, null, []).map(mapFunct);
|
|
26
|
+
}
|
|
27
|
+
function getStat(path, fs = fs_1.default) {
|
|
28
|
+
try {
|
|
29
|
+
return fs.statSync(path);
|
|
30
|
+
}
|
|
31
|
+
catch (error) {
|
|
32
|
+
if (error !== null &&
|
|
33
|
+
typeof error === 'object' &&
|
|
34
|
+
(error.code === 'ENOENT' ||
|
|
35
|
+
error.code === 'ENOTDIR' ||
|
|
36
|
+
error.code === 'EPERM')) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
throw error;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
var _walkSyncInner;
|
|
43
|
+
(function (_walkSyncInner) {
|
|
44
|
+
function entries(baseDir, inputOptions) {
|
|
45
|
+
const options = handleOptions(inputOptions);
|
|
46
|
+
return _walkSync((0, ensure_posix_path_1.default)(baseDir), options, null, []);
|
|
47
|
+
}
|
|
48
|
+
_walkSyncInner.entries = entries;
|
|
49
|
+
class Entry {
|
|
50
|
+
relativePath;
|
|
51
|
+
basePath;
|
|
52
|
+
mode;
|
|
53
|
+
size;
|
|
54
|
+
mtime;
|
|
55
|
+
constructor(relativePath, basePath, mode, size, mtime) {
|
|
56
|
+
this.relativePath = relativePath;
|
|
57
|
+
this.basePath = basePath;
|
|
58
|
+
this.mode = mode;
|
|
59
|
+
this.size = size;
|
|
60
|
+
this.mtime = mtime;
|
|
61
|
+
}
|
|
62
|
+
get fullPath() {
|
|
63
|
+
return `${this.basePath}/${this.relativePath}`;
|
|
64
|
+
}
|
|
65
|
+
isDirectory() {
|
|
66
|
+
return (this.mode & 61440) === 16384;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
_walkSyncInner.Entry = Entry;
|
|
70
|
+
})(_walkSyncInner || (_walkSyncInner = {}));
|
|
71
|
+
function isDefined(val) {
|
|
72
|
+
return typeof val !== 'undefined';
|
|
73
|
+
}
|
|
74
|
+
function handleOptions(_options) {
|
|
75
|
+
let options = {};
|
|
76
|
+
if (Array.isArray(_options)) {
|
|
77
|
+
options.globs = _options;
|
|
78
|
+
}
|
|
79
|
+
else if (_options) {
|
|
80
|
+
options = _options;
|
|
81
|
+
}
|
|
82
|
+
return options;
|
|
83
|
+
}
|
|
84
|
+
function applyGlobOptions(globs, options) {
|
|
85
|
+
return globs?.map((glob) => {
|
|
86
|
+
if (typeof glob === 'string') {
|
|
87
|
+
return new minimatch_1.Minimatch(glob, options);
|
|
88
|
+
}
|
|
89
|
+
return glob;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
function handleRelativePath(_relativePath) {
|
|
93
|
+
if (_relativePath == null) {
|
|
94
|
+
return '';
|
|
95
|
+
}
|
|
96
|
+
else if (_relativePath.slice(-1) !== '/') {
|
|
97
|
+
return _relativePath + '/';
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
return _relativePath;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function lexicographically(a, b) {
|
|
104
|
+
const aPath = a.relativePath;
|
|
105
|
+
const bPath = b.relativePath;
|
|
106
|
+
if (aPath === bPath) {
|
|
107
|
+
return 0;
|
|
108
|
+
}
|
|
109
|
+
else if (aPath < bPath) {
|
|
110
|
+
return -1;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
return 1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
function _walkSync(baseDir, options, _relativePath, visited) {
|
|
117
|
+
const fs = options.fs ?? fs_1.default;
|
|
118
|
+
const relativePath = handleRelativePath(_relativePath);
|
|
119
|
+
const realPath = fs.realpathSync(baseDir + '/' + relativePath);
|
|
120
|
+
if (visited.indexOf(realPath) >= 0) {
|
|
121
|
+
return [];
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
visited.push(realPath);
|
|
125
|
+
}
|
|
126
|
+
try {
|
|
127
|
+
const globOptions = options.globOptions;
|
|
128
|
+
const ignorePatterns = isDefined(globOptions)
|
|
129
|
+
? applyGlobOptions(options.ignore, globOptions)
|
|
130
|
+
: options.ignore;
|
|
131
|
+
const globs = isDefined(globOptions)
|
|
132
|
+
? applyGlobOptions(options.globs, globOptions)
|
|
133
|
+
: options.globs;
|
|
134
|
+
let globMatcher;
|
|
135
|
+
let ignoreMatcher;
|
|
136
|
+
let results = [];
|
|
137
|
+
if (ignorePatterns) {
|
|
138
|
+
ignoreMatcher = new matcher_collection_1.default(ignorePatterns);
|
|
139
|
+
}
|
|
140
|
+
if (globs) {
|
|
141
|
+
globMatcher = new matcher_collection_1.default(globs);
|
|
142
|
+
}
|
|
143
|
+
if (globMatcher && !globMatcher.mayContain(relativePath)) {
|
|
144
|
+
return results;
|
|
145
|
+
}
|
|
146
|
+
const names = fs.readdirSync(baseDir + '/' + relativePath);
|
|
147
|
+
const entries = names
|
|
148
|
+
.map((name) => {
|
|
149
|
+
let entryRelativePath = relativePath + name;
|
|
150
|
+
if (ignoreMatcher && ignoreMatcher.match(entryRelativePath)) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
let fullPath = baseDir + '/' + entryRelativePath;
|
|
154
|
+
let stats = getStat(fullPath, fs);
|
|
155
|
+
if (stats && stats.isDirectory()) {
|
|
156
|
+
return new _walkSyncInner.Entry(entryRelativePath + '/', baseDir, stats.mode, stats.size, stats.mtime.getTime());
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
return new _walkSyncInner.Entry(entryRelativePath, baseDir, (stats && stats.mode) || 0, (stats && stats.size) || 0, (stats && stats.mtime.getTime()) || 0);
|
|
160
|
+
}
|
|
161
|
+
})
|
|
162
|
+
.filter(isDefined);
|
|
163
|
+
const sortedEntries = entries.sort(lexicographically);
|
|
164
|
+
for (let i = 0; i < sortedEntries.length; ++i) {
|
|
165
|
+
let entry = sortedEntries[i];
|
|
166
|
+
if (entry.isDirectory()) {
|
|
167
|
+
if (options.directories !== false &&
|
|
168
|
+
(!globMatcher || globMatcher.match(entry.relativePath))) {
|
|
169
|
+
results.push(entry);
|
|
170
|
+
}
|
|
171
|
+
results = results.concat(_walkSync(baseDir, options, entry.relativePath, visited));
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
if (!globMatcher || globMatcher.match(entry.relativePath)) {
|
|
175
|
+
results.push(entry);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return results;
|
|
180
|
+
}
|
|
181
|
+
finally {
|
|
182
|
+
visited.pop();
|
|
183
|
+
}
|
|
184
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jr-common-micro",
|
|
3
|
+
"version": "0.6.1-dev",
|
|
4
|
+
"description": "",
|
|
5
|
+
"author": "",
|
|
6
|
+
"private": false,
|
|
7
|
+
"license": "UNLICENSED",
|
|
8
|
+
"type": "commonjs",
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"packageManager": "yarn@1.22.22",
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@bufbuild/buf": "1.31.0",
|
|
17
|
+
"@bufbuild/protoc-gen-es": "1.9.0",
|
|
18
|
+
"@connectrpc/protoc-gen-connect-es": "1.4.0",
|
|
19
|
+
"@grpc/grpc-js": "1.13.4",
|
|
20
|
+
"@nestjs/cache-manager": "3.0.1",
|
|
21
|
+
"@nestjs/cli": "11.0.7",
|
|
22
|
+
"@nestjs/common": "11.1.3",
|
|
23
|
+
"@nestjs/config": "4.0.2",
|
|
24
|
+
"@nestjs/core": "11.1.3",
|
|
25
|
+
"@nestjs/jwt": "11.0.0",
|
|
26
|
+
"@nestjs/microservices": "11.1.3",
|
|
27
|
+
"@nestjs/passport": "11.0.5",
|
|
28
|
+
"@nestjs/platform-express": "11.1.3",
|
|
29
|
+
"@nestjs/platform-fastify": "11.1.3",
|
|
30
|
+
"@nestjs/schedule": "6.0.0",
|
|
31
|
+
"@nestjs/schematics": "11.0.5",
|
|
32
|
+
"@nestjs/swagger": "11.2.0",
|
|
33
|
+
"@nestjs/testing": "11.1.3",
|
|
34
|
+
"@types/bcrypt": "5.0.2",
|
|
35
|
+
"bcrypt": "6.0.0",
|
|
36
|
+
"date-fns": "4.1.0",
|
|
37
|
+
"ensure-posix-path": "1.1.1",
|
|
38
|
+
"export-all-files-in-folder": "0.1.0",
|
|
39
|
+
"export-files": "3.0.2",
|
|
40
|
+
"ioredis": "5.6.1",
|
|
41
|
+
"kafkajs": "2.2.4",
|
|
42
|
+
"mime": "4.0.7",
|
|
43
|
+
"nest-winston": "1.10.2",
|
|
44
|
+
"nestjs-proto-gen-ts": "1.0.21",
|
|
45
|
+
"nestjs-zod": "4.3.1",
|
|
46
|
+
"passport-jwt": "4.0.1",
|
|
47
|
+
"prisma": "6.10.1",
|
|
48
|
+
"reflect-metadata": "0.2.2",
|
|
49
|
+
"rxjs": "7.8.2",
|
|
50
|
+
"ts-proto": "2.7.5",
|
|
51
|
+
"type-fest": "4.41.0",
|
|
52
|
+
"winston": "3.17.0",
|
|
53
|
+
"zod": "3.25.67"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/express": "5.0.3",
|
|
57
|
+
"@types/jest": "30.0.0",
|
|
58
|
+
"@types/node": "20.14.13",
|
|
59
|
+
"@types/supertest": "6.0.3",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "8.34.1",
|
|
61
|
+
"@typescript-eslint/parser": "8.34.1",
|
|
62
|
+
"eslint": "9.29.0",
|
|
63
|
+
"eslint-config-prettier": "10.1.5",
|
|
64
|
+
"eslint-plugin-prettier": "5.5.0",
|
|
65
|
+
"jest": "30.0.2",
|
|
66
|
+
"jest-mock-extended": "4.0.0",
|
|
67
|
+
"prettier": "3.5.3",
|
|
68
|
+
"source-map-support": "0.5.21",
|
|
69
|
+
"supertest": "7.1.1",
|
|
70
|
+
"ts-jest": "29.4.0",
|
|
71
|
+
"ts-loader": "9.5.2",
|
|
72
|
+
"ts-node": "10.9.2",
|
|
73
|
+
"tsconfig-paths": "4.2.0",
|
|
74
|
+
"typescript": "5.8.3"
|
|
75
|
+
},
|
|
76
|
+
"scripts": {
|
|
77
|
+
"build": "rm -rf ./dist; yarn compile; npx tsc; yarn fix-folders",
|
|
78
|
+
"compile": "rm -rf src/proto/*; npx buf generate proto; yarn put-index",
|
|
79
|
+
"fix-folders": "mv dist dist2; mv dist2/src dist; rm -rf dist2",
|
|
80
|
+
"put-index": "node put-index.js",
|
|
81
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
82
|
+
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
|
83
|
+
"test": "DOTENV_CONFIG_PATH=.env.test jest --setupFiles=dotenv/config",
|
|
84
|
+
"test:watch": "DOTENV_CONFIG_PATH=.env.test jest --watch --setupFiles=dotenv/config",
|
|
85
|
+
"test:cov": "DOTENV_CONFIG_PATH=.env.test jest --coverage --setupFiles=dotenv/config"
|
|
86
|
+
}
|
|
87
|
+
}
|