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,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = expandTop;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const balanced_match_1 = tslib_1.__importDefault(require("./balanced_match"));
|
|
6
|
+
const escSlash = '\0SLASH' + Math.random() + '\0';
|
|
7
|
+
const escOpen = '\0OPEN' + Math.random() + '\0';
|
|
8
|
+
const escClose = '\0CLOSE' + Math.random() + '\0';
|
|
9
|
+
const escComma = '\0COMMA' + Math.random() + '\0';
|
|
10
|
+
const escPeriod = '\0PERIOD' + Math.random() + '\0';
|
|
11
|
+
const escSlashPattern = new RegExp(escSlash, 'g');
|
|
12
|
+
const escOpenPattern = new RegExp(escOpen, 'g');
|
|
13
|
+
const escClosePattern = new RegExp(escClose, 'g');
|
|
14
|
+
const escCommaPattern = new RegExp(escComma, 'g');
|
|
15
|
+
const escPeriodPattern = new RegExp(escPeriod, 'g');
|
|
16
|
+
const slashPattern = /\\\\/g;
|
|
17
|
+
const openPattern = /\\{/g;
|
|
18
|
+
const closePattern = /\\}/g;
|
|
19
|
+
const commaPattern = /\\,/g;
|
|
20
|
+
const periodPattern = /\\./g;
|
|
21
|
+
function numeric(str) {
|
|
22
|
+
return !isNaN(str)
|
|
23
|
+
? parseInt(str, 10)
|
|
24
|
+
: str.charCodeAt(0);
|
|
25
|
+
}
|
|
26
|
+
function escapeBraces(str) {
|
|
27
|
+
return str.replace(slashPattern, escSlash)
|
|
28
|
+
.replace(openPattern, escOpen)
|
|
29
|
+
.replace(closePattern, escClose)
|
|
30
|
+
.replace(commaPattern, escComma)
|
|
31
|
+
.replace(periodPattern, escPeriod);
|
|
32
|
+
}
|
|
33
|
+
function unescapeBraces(str) {
|
|
34
|
+
return str.replace(escSlashPattern, '\\')
|
|
35
|
+
.replace(escOpenPattern, '{')
|
|
36
|
+
.replace(escClosePattern, '}')
|
|
37
|
+
.replace(escCommaPattern, ',')
|
|
38
|
+
.replace(escPeriodPattern, '.');
|
|
39
|
+
}
|
|
40
|
+
function parseCommaParts(str) {
|
|
41
|
+
if (!str) {
|
|
42
|
+
return [''];
|
|
43
|
+
}
|
|
44
|
+
const parts = [];
|
|
45
|
+
const m = (0, balanced_match_1.default)('{', '}', str);
|
|
46
|
+
if (!m) {
|
|
47
|
+
return str.split(',');
|
|
48
|
+
}
|
|
49
|
+
const { pre, body, post } = m;
|
|
50
|
+
const p = pre.split(',');
|
|
51
|
+
p[p.length - 1] += '{' + body + '}';
|
|
52
|
+
const postParts = parseCommaParts(post);
|
|
53
|
+
if (post.length) {
|
|
54
|
+
p[p.length - 1] += postParts.shift();
|
|
55
|
+
p.push.apply(p, postParts);
|
|
56
|
+
}
|
|
57
|
+
parts.push.apply(parts, p);
|
|
58
|
+
return parts;
|
|
59
|
+
}
|
|
60
|
+
function expandTop(str) {
|
|
61
|
+
if (!str) {
|
|
62
|
+
return [];
|
|
63
|
+
}
|
|
64
|
+
if (str.slice(0, 2) === '{}') {
|
|
65
|
+
str = '\\{\\}' + str.slice(2);
|
|
66
|
+
}
|
|
67
|
+
return expand(escapeBraces(str), true).map(unescapeBraces);
|
|
68
|
+
}
|
|
69
|
+
function embrace(str) {
|
|
70
|
+
return '{' + str + '}';
|
|
71
|
+
}
|
|
72
|
+
function isPadded(el) {
|
|
73
|
+
return /^-?0\d/.test(el);
|
|
74
|
+
}
|
|
75
|
+
function lte(i, y) {
|
|
76
|
+
return i <= y;
|
|
77
|
+
}
|
|
78
|
+
function gte(i, y) {
|
|
79
|
+
return i >= y;
|
|
80
|
+
}
|
|
81
|
+
function expand(str, isTop = false) {
|
|
82
|
+
const expansions = [];
|
|
83
|
+
const m = (0, balanced_match_1.default)('{', '}', str);
|
|
84
|
+
if (!m)
|
|
85
|
+
return [str];
|
|
86
|
+
const pre = m.pre;
|
|
87
|
+
const post = m.post.length
|
|
88
|
+
? expand(m.post, false)
|
|
89
|
+
: [''];
|
|
90
|
+
if (/\$$/.test(m.pre)) {
|
|
91
|
+
for (let k = 0; k < post.length; k++) {
|
|
92
|
+
const expansion = pre + '{' + m.body + '}' + post[k];
|
|
93
|
+
expansions.push(expansion);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
const isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
98
|
+
const isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
99
|
+
const isSequence = isNumericSequence || isAlphaSequence;
|
|
100
|
+
const isOptions = m.body.indexOf(',') >= 0;
|
|
101
|
+
if (!isSequence && !isOptions) {
|
|
102
|
+
if (m.post.match(/,.*\}/)) {
|
|
103
|
+
str = m.pre + '{' + m.body + escClose + m.post;
|
|
104
|
+
return expand(str);
|
|
105
|
+
}
|
|
106
|
+
return [str];
|
|
107
|
+
}
|
|
108
|
+
let n;
|
|
109
|
+
if (isSequence) {
|
|
110
|
+
n = m.body.split(/\.\./);
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
n = parseCommaParts(m.body);
|
|
114
|
+
if (n.length === 1) {
|
|
115
|
+
n = expand(n[0], false).map(embrace);
|
|
116
|
+
if (n.length === 1) {
|
|
117
|
+
return post.map(function (p) {
|
|
118
|
+
return m.pre + n[0] + p;
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
let N;
|
|
124
|
+
if (isSequence) {
|
|
125
|
+
const x = numeric(n[0]);
|
|
126
|
+
const y = numeric(n[1]);
|
|
127
|
+
const width = Math.max(n[0].length, n[1].length);
|
|
128
|
+
let incr = n.length === 3
|
|
129
|
+
? Math.abs(numeric(n[2]))
|
|
130
|
+
: 1;
|
|
131
|
+
let test = lte;
|
|
132
|
+
const reverse = y < x;
|
|
133
|
+
if (reverse) {
|
|
134
|
+
incr *= -1;
|
|
135
|
+
test = gte;
|
|
136
|
+
}
|
|
137
|
+
const pad = n.some(isPadded);
|
|
138
|
+
N = [];
|
|
139
|
+
for (let i = x; test(i, y); i += incr) {
|
|
140
|
+
let c;
|
|
141
|
+
if (isAlphaSequence) {
|
|
142
|
+
c = String.fromCharCode(i);
|
|
143
|
+
if (c === '\\') {
|
|
144
|
+
c = '';
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
c = String(i);
|
|
149
|
+
if (pad) {
|
|
150
|
+
const need = width - c.length;
|
|
151
|
+
if (need > 0) {
|
|
152
|
+
const z = new Array(need + 1).join('0');
|
|
153
|
+
if (i < 0) {
|
|
154
|
+
c = '-' + z + c.slice(1);
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
c = z + c;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
N.push(c);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
else {
|
|
166
|
+
N = [];
|
|
167
|
+
for (let j = 0; j < n.length; j++) {
|
|
168
|
+
N.push.apply(N, expand(n[j], false));
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
for (let j = 0; j < N.length; j++) {
|
|
172
|
+
for (let k = 0; k < post.length; k++) {
|
|
173
|
+
const expansion = pre + N[j] + post[k];
|
|
174
|
+
if (!isTop || isSequence || expansion) {
|
|
175
|
+
expansions.push(expansion);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
return expansions;
|
|
181
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseClass = void 0;
|
|
4
|
+
const posixClasses = {
|
|
5
|
+
'[:alnum:]': ['\\p{L}\\p{Nl}\\p{Nd}', true],
|
|
6
|
+
'[:alpha:]': ['\\p{L}\\p{Nl}', true],
|
|
7
|
+
'[:ascii:]': ['\\x' + '00-\\x' + '7f', false],
|
|
8
|
+
'[:blank:]': ['\\p{Zs}\\t', true],
|
|
9
|
+
'[:cntrl:]': ['\\p{Cc}', true],
|
|
10
|
+
'[:digit:]': ['\\p{Nd}', true],
|
|
11
|
+
'[:graph:]': ['\\p{Z}\\p{C}', true, true],
|
|
12
|
+
'[:lower:]': ['\\p{Ll}', true],
|
|
13
|
+
'[:print:]': ['\\p{C}', true],
|
|
14
|
+
'[:punct:]': ['\\p{P}', true],
|
|
15
|
+
'[:space:]': ['\\p{Z}\\t\\r\\n\\v\\f', true],
|
|
16
|
+
'[:upper:]': ['\\p{Lu}', true],
|
|
17
|
+
'[:word:]': ['\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}', true],
|
|
18
|
+
'[:xdigit:]': ['A-Fa-f0-9', false],
|
|
19
|
+
};
|
|
20
|
+
const braceEscape = (s) => s.replace(/[[\]\\-]/g, '\\$&');
|
|
21
|
+
const regexpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
|
|
22
|
+
const rangesToString = (ranges) => ranges.join('');
|
|
23
|
+
const parseClass = (glob, position) => {
|
|
24
|
+
const pos = position;
|
|
25
|
+
if (glob.charAt(pos) !== '[') {
|
|
26
|
+
throw new Error('not in a brace expression');
|
|
27
|
+
}
|
|
28
|
+
const ranges = [];
|
|
29
|
+
const negs = [];
|
|
30
|
+
let i = pos + 1;
|
|
31
|
+
let sawStart = false;
|
|
32
|
+
let uflag = false;
|
|
33
|
+
let escaping = false;
|
|
34
|
+
let negate = false;
|
|
35
|
+
let endPos = pos;
|
|
36
|
+
let rangeStart = '';
|
|
37
|
+
WHILE: while (i < glob.length) {
|
|
38
|
+
const c = glob.charAt(i);
|
|
39
|
+
if ((c === '!' || c === '^') && i === pos + 1) {
|
|
40
|
+
negate = true;
|
|
41
|
+
i++;
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
if (c === ']' && sawStart && !escaping) {
|
|
45
|
+
endPos = i + 1;
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
sawStart = true;
|
|
49
|
+
if (c === '\\') {
|
|
50
|
+
if (!escaping) {
|
|
51
|
+
escaping = true;
|
|
52
|
+
i++;
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (c === '[' && !escaping) {
|
|
57
|
+
for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
|
|
58
|
+
if (glob.startsWith(cls, i)) {
|
|
59
|
+
if (rangeStart) {
|
|
60
|
+
return ['$.', false, glob.length - pos, true];
|
|
61
|
+
}
|
|
62
|
+
i += cls.length;
|
|
63
|
+
if (neg)
|
|
64
|
+
negs.push(unip);
|
|
65
|
+
else
|
|
66
|
+
ranges.push(unip);
|
|
67
|
+
uflag = uflag || u;
|
|
68
|
+
continue WHILE;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
escaping = false;
|
|
73
|
+
if (rangeStart) {
|
|
74
|
+
if (c > rangeStart) {
|
|
75
|
+
ranges.push(braceEscape(rangeStart) + '-' + braceEscape(c));
|
|
76
|
+
}
|
|
77
|
+
else if (c === rangeStart) {
|
|
78
|
+
ranges.push(braceEscape(c));
|
|
79
|
+
}
|
|
80
|
+
rangeStart = '';
|
|
81
|
+
i++;
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
if (glob.startsWith('-]', i + 1)) {
|
|
85
|
+
ranges.push(braceEscape(c + '-'));
|
|
86
|
+
i += 2;
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if (glob.startsWith('-', i + 1)) {
|
|
90
|
+
rangeStart = c;
|
|
91
|
+
i += 2;
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
ranges.push(braceEscape(c));
|
|
95
|
+
i++;
|
|
96
|
+
}
|
|
97
|
+
if (endPos < i) {
|
|
98
|
+
return ['', false, 0, false];
|
|
99
|
+
}
|
|
100
|
+
if (!ranges.length && !negs.length) {
|
|
101
|
+
return ['$.', false, glob.length - pos, true];
|
|
102
|
+
}
|
|
103
|
+
if (negs.length === 0 &&
|
|
104
|
+
ranges.length === 1 &&
|
|
105
|
+
/^\\?.$/.test(ranges[0]) &&
|
|
106
|
+
!negate) {
|
|
107
|
+
const r = ranges[0].length === 2 ? ranges[0].slice(-1) : ranges[0];
|
|
108
|
+
return [regexpEscape(r), false, endPos - pos, false];
|
|
109
|
+
}
|
|
110
|
+
const sranges = '[' + (negate ? '^' : '') + rangesToString(ranges) + ']';
|
|
111
|
+
const snegs = '[' + (negate ? '' : '^') + rangesToString(negs) + ']';
|
|
112
|
+
const comb = ranges.length && negs.length
|
|
113
|
+
? '(' + sranges + '|' + snegs + ')'
|
|
114
|
+
: ranges.length
|
|
115
|
+
? sranges
|
|
116
|
+
: snegs;
|
|
117
|
+
return [comb, uflag, endPos - pos, true];
|
|
118
|
+
};
|
|
119
|
+
exports.parseClass = parseClass;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.escape = void 0;
|
|
4
|
+
const escape = (s, { windowsPathsNoEscape = false, } = {}) => {
|
|
5
|
+
return windowsPathsNoEscape
|
|
6
|
+
? s.replace(/[?*()[\]]/g, '[$&]')
|
|
7
|
+
: s.replace(/[?*()[\]\\]/g, '\\$&');
|
|
8
|
+
};
|
|
9
|
+
exports.escape = escape;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { AST } from './ast';
|
|
2
|
+
type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
|
|
3
|
+
export interface MinimatchOptions {
|
|
4
|
+
nobrace?: boolean;
|
|
5
|
+
nocomment?: boolean;
|
|
6
|
+
nonegate?: boolean;
|
|
7
|
+
debug?: boolean;
|
|
8
|
+
noglobstar?: boolean;
|
|
9
|
+
noext?: boolean;
|
|
10
|
+
nonull?: boolean;
|
|
11
|
+
windowsPathsNoEscape?: boolean;
|
|
12
|
+
allowWindowsEscape?: boolean;
|
|
13
|
+
partial?: boolean;
|
|
14
|
+
dot?: boolean;
|
|
15
|
+
nocase?: boolean;
|
|
16
|
+
nocaseMagicOnly?: boolean;
|
|
17
|
+
magicalBraces?: boolean;
|
|
18
|
+
matchBase?: boolean;
|
|
19
|
+
flipNegate?: boolean;
|
|
20
|
+
preserveMultipleSlashes?: boolean;
|
|
21
|
+
optimizationLevel?: number;
|
|
22
|
+
platform?: Platform;
|
|
23
|
+
windowsNoMagicRoot?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare const minimatch: {
|
|
26
|
+
(p: string, pattern: string, options?: MinimatchOptions): boolean;
|
|
27
|
+
sep: Sep;
|
|
28
|
+
GLOBSTAR: typeof GLOBSTAR;
|
|
29
|
+
filter: (pattern: string, options?: MinimatchOptions) => (p: string) => boolean;
|
|
30
|
+
defaults: (def: MinimatchOptions) => typeof minimatch;
|
|
31
|
+
braceExpand: (pattern: string, options?: MinimatchOptions) => any;
|
|
32
|
+
makeRe: (pattern: string, options?: MinimatchOptions) => false | MMRegExp;
|
|
33
|
+
match: (list: string[], pattern: string, options?: MinimatchOptions) => string[];
|
|
34
|
+
AST: typeof AST;
|
|
35
|
+
Minimatch: typeof Minimatch;
|
|
36
|
+
escape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape">) => string;
|
|
37
|
+
unescape: (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape">) => string;
|
|
38
|
+
};
|
|
39
|
+
type Sep = '\\' | '/';
|
|
40
|
+
export declare const sep: Sep;
|
|
41
|
+
export declare const GLOBSTAR: unique symbol;
|
|
42
|
+
export declare const filter: (pattern: string, options?: MinimatchOptions) => (p: string) => boolean;
|
|
43
|
+
export declare const defaults: (def: MinimatchOptions) => typeof minimatch;
|
|
44
|
+
export declare const braceExpand: (pattern: string, options?: MinimatchOptions) => any;
|
|
45
|
+
export declare const makeRe: (pattern: string, options?: MinimatchOptions) => false | MMRegExp;
|
|
46
|
+
export declare const match: (list: string[], pattern: string, options?: MinimatchOptions) => string[];
|
|
47
|
+
export type MMRegExp = RegExp & {
|
|
48
|
+
_src?: string;
|
|
49
|
+
_glob?: string;
|
|
50
|
+
};
|
|
51
|
+
export type ParseReturnFiltered = string | MMRegExp | typeof GLOBSTAR;
|
|
52
|
+
export type ParseReturn = ParseReturnFiltered | false;
|
|
53
|
+
export declare class Minimatch {
|
|
54
|
+
options: MinimatchOptions;
|
|
55
|
+
set: ParseReturnFiltered[][];
|
|
56
|
+
pattern: string;
|
|
57
|
+
windowsPathsNoEscape: boolean;
|
|
58
|
+
nonegate: boolean;
|
|
59
|
+
negate: boolean;
|
|
60
|
+
comment: boolean;
|
|
61
|
+
empty: boolean;
|
|
62
|
+
preserveMultipleSlashes: boolean;
|
|
63
|
+
partial: boolean;
|
|
64
|
+
globSet: string[];
|
|
65
|
+
globParts: string[][];
|
|
66
|
+
nocase: boolean;
|
|
67
|
+
isWindows: boolean;
|
|
68
|
+
platform: Platform;
|
|
69
|
+
windowsNoMagicRoot: boolean;
|
|
70
|
+
regexp: false | null | MMRegExp;
|
|
71
|
+
constructor(pattern: string, options?: MinimatchOptions);
|
|
72
|
+
hasMagic(): boolean;
|
|
73
|
+
debug(..._: any[]): void;
|
|
74
|
+
make(): void;
|
|
75
|
+
preprocess(globParts: string[][]): string[][];
|
|
76
|
+
adjascentGlobstarOptimize(globParts: string[][]): string[][];
|
|
77
|
+
levelOneOptimize(globParts: string[][]): string[][];
|
|
78
|
+
levelTwoFileOptimize(parts: string | string[]): string[];
|
|
79
|
+
firstPhasePreProcess(globParts: string[][]): string[][];
|
|
80
|
+
secondPhasePreProcess(globParts: string[][]): string[][];
|
|
81
|
+
partsMatch(a: string[], b: string[], emptyGSMatch?: boolean): false | string[];
|
|
82
|
+
parseNegate(): void;
|
|
83
|
+
matchOne(file: string[], pattern: ParseReturn[], partial?: boolean): boolean;
|
|
84
|
+
braceExpand(): any;
|
|
85
|
+
parse(pattern: string): ParseReturn;
|
|
86
|
+
makeRe(): false | MMRegExp;
|
|
87
|
+
slashSplit(p: string): string[];
|
|
88
|
+
match(f: string, partial?: boolean): boolean;
|
|
89
|
+
static defaults(def: MinimatchOptions): typeof Minimatch;
|
|
90
|
+
}
|
|
91
|
+
export { AST } from './ast.js';
|
|
92
|
+
export { escape } from './escape.js';
|
|
93
|
+
export { unescape } from './unescape.js';
|