-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 53.6 KB
/
.eslintcache
1
[{"F:\\projects\\burger-gril\\src\\index.tsx":"1","F:\\projects\\burger-gril\\src\\App.tsx":"2","F:\\projects\\burger-gril\\src\\firebase\\firebaseConfig.tsx":"3","F:\\projects\\burger-gril\\src\\global-styles.tsx":"4","F:\\projects\\burger-gril\\src\\redux\\reducers\\authReducer.ts":"5","F:\\projects\\burger-gril\\src\\redux\\index.ts":"6","F:\\projects\\burger-gril\\src\\redux\\types\\authTypes.ts":"7","F:\\projects\\burger-gril\\src\\redux\\actions\\authActions.ts":"8","F:\\projects\\burger-gril\\src\\components\\sidebar\\Sidebar.tsx":"9","F:\\projects\\burger-gril\\src\\components\\sidebar\\SidebarData.tsx":"10","F:\\projects\\burger-gril\\src\\pages\\home.tsx":"11","F:\\projects\\burger-gril\\src\\pages\\index.tsx":"12","F:\\projects\\burger-gril\\src\\components\\hero\\Hero.tsx":"13","F:\\projects\\burger-gril\\src\\components\\sidebar\\Sidebar-style.tsx":"14","F:\\projects\\burger-gril\\src\\helpers\\scrollReveal.tsx":"15","F:\\projects\\burger-gril\\src\\components\\hero\\Hero-style.ts":"16","F:\\projects\\burger-gril\\src\\components\\about\\About.tsx":"17","F:\\projects\\burger-gril\\src\\components\\about\\About-style.ts":"18","F:\\projects\\burger-gril\\src\\components\\best-sellers\\BestSellers.tsx":"19","F:\\projects\\burger-gril\\src\\components\\best-sellers\\BestSellers-style.ts":"20","F:\\projects\\burger-gril\\src\\components\\best-sellers\\SliderData.ts":"21","F:\\projects\\burger-gril\\src\\components\\reviews\\Reviews.tsx":"22","F:\\projects\\burger-gril\\src\\components\\reviews\\ReviewsData.ts":"23","F:\\projects\\burger-gril\\src\\components\\reservation\\Reservation.tsx":"24","F:\\projects\\burger-gril\\src\\components\\reservation\\Reservation-style.ts":"25","F:\\projects\\burger-gril\\src\\components\\footer\\Footer.tsx":"26","F:\\projects\\burger-gril\\src\\components\\footer\\Footer-style.ts":"27","F:\\projects\\burger-gril\\src\\pages\\auth.tsx":"28","F:\\projects\\burger-gril\\src\\components\\auth-form\\AuthForm.tsx":"29","F:\\projects\\burger-gril\\src\\components\\reviews\\Reviews-style.ts":"30","F:\\projects\\burger-gril\\src\\hooks\\use-autoLogin.tsx":"31","F:\\projects\\burger-gril\\src\\auth\\PrivateRoute.tsx":"32","F:\\projects\\burger-gril\\src\\auth\\PrivateAlereadyAuthRoute.tsx":"33","F:\\projects\\burger-gril\\src\\redux\\constants\\authConstants.ts":"34","F:\\projects\\burger-gril\\src\\redux\\reducers\\popupMessageReducer.ts":"35","F:\\projects\\burger-gril\\src\\redux\\constants\\popupMessageConstants.ts":"36","F:\\projects\\burger-gril\\src\\components\\auth-form\\AuthForm-style.ts":"37","F:\\projects\\burger-gril\\src\\components\\popup-message\\PopupMessage.tsx":"38","F:\\projects\\burger-gril\\src\\components\\popup-message\\PopupMessage-style.ts":"39","F:\\projects\\burger-gril\\src\\redux\\actions\\popupMessageAction.ts":"40","F:\\projects\\burger-gril\\src\\pages\\bookTable.tsx":"41","F:\\projects\\burger-gril\\src\\components\\table-reservation\\Table-Reservation.tsx":"42","F:\\projects\\burger-gril\\src\\components\\table-reservation\\Table-Reservation-style.ts":"43","F:\\projects\\burger-gril\\src\\components\\book-reservation\\Book-Reservation.tsx":"44","F:\\projects\\burger-gril\\src\\components\\book-reservation\\Book-Reservation-style.ts":"45","F:\\projects\\burger-gril\\src\\redux\\reducers\\reservationReducer.ts":"46","F:\\projects\\burger-gril\\src\\redux\\constants\\reservationConstants.ts":"47","F:\\projects\\burger-gril\\src\\redux\\actions\\reservationActions.ts":"48","F:\\projects\\burger-gril\\src\\components\\loader\\Loader.tsx":"49","F:\\projects\\burger-gril\\src\\components\\loader\\Loader-style.ts":"50","F:\\projects\\burger-gril\\src\\components\\phone-conformation\\PhoneConformation.tsx":"51","F:\\projects\\burger-gril\\src\\components\\phone-conformation\\PhoneConformation-style.ts":"52","F:\\projects\\burger-gril\\src\\components\\reservation-summary\\ReservationSummary.tsx":"53","F:\\projects\\burger-gril\\src\\components\\reservation-summary\\ReservationSummary-style.ts":"54","F:\\projects\\burger-gril\\src\\redux\\constants\\endPoints.ts":"55","F:\\projects\\burger-gril\\src\\helpers\\convertPhoneNumber.tsx":"56","F:\\projects\\burger-gril\\src\\components\\navbar\\Navbar.tsx":"57","F:\\projects\\burger-gril\\src\\components\\navbar\\Navbar-style.tsx":"58","F:\\projects\\burger-gril\\src\\components\\navbar\\NavbarData.tsx":"59","F:\\projects\\burger-gril\\src\\components\\navbar-cart\\NavbarCart.tsx":"60","F:\\projects\\burger-gril\\src\\components\\navbar-cart\\NavbarCart-style.tsx":"61","F:\\projects\\burger-gril\\src\\redux\\reducers\\cartReducer.ts":"62","F:\\projects\\burger-gril\\src\\redux\\constants\\cartConstants.ts":"63","F:\\projects\\burger-gril\\src\\redux\\actions\\cartActions.ts":"64","F:\\projects\\burger-gril\\src\\redux\\actions\\productsActions.ts":"65","F:\\projects\\burger-gril\\src\\redux\\reducers\\productsReducer.ts":"66","F:\\projects\\burger-gril\\src\\redux\\constants\\productsConstants.ts":"67","F:\\projects\\burger-gril\\src\\pages\\menu.tsx":"68","F:\\projects\\burger-gril\\src\\components\\menu\\Menu.tsx":"69","F:\\projects\\burger-gril\\src\\components\\menu\\Menu-style.ts":"70","F:\\projects\\burger-gril\\src\\redux\\types\\productsType.ts":"71","F:\\projects\\burger-gril\\src\\components\\menu-item-popup\\MenuItemPopup-style.ts":"72","F:\\projects\\burger-gril\\src\\components\\menu-item-popup\\MenuItemPopup.tsx":"73","F:\\projects\\burger-gril\\src\\components\\burger-popup\\BurgerPopup.tsx":"74","F:\\projects\\burger-gril\\src\\components\\meal-popup\\MealPopup.tsx":"75","F:\\projects\\burger-gril\\src\\components\\meal-popup\\MealPopup-style.tsx":"76","F:\\projects\\burger-gril\\src\\pages\\cartSummary.tsx":"77","F:\\projects\\burger-gril\\src\\components\\cart-summary\\CartSummary.tsx":"78","F:\\projects\\burger-gril\\src\\components\\cart-summary\\CartSummary-style.ts":"79","F:\\projects\\burger-gril\\src\\pages\\checkout.tsx":"80","F:\\projects\\burger-gril\\src\\components\\checkout\\Checkout.tsx":"81","F:\\projects\\burger-gril\\src\\components\\checkout\\Checkout-style.ts":"82","F:\\projects\\burger-gril\\src\\helpers\\getCartTotal.ts":"83","F:\\projects\\burger-gril\\src\\redux\\actions\\orderActions.ts":"84","F:\\projects\\burger-gril\\src\\redux\\constants\\orderConstants.ts":"85","F:\\projects\\burger-gril\\src\\redux\\reducers\\orderReducer.ts":"86","F:\\projects\\burger-gril\\src\\pages\\profile.tsx":"87","F:\\projects\\burger-gril\\src\\components\\profile\\Profile.tsx":"88","F:\\projects\\burger-gril\\src\\components\\profile\\Profile-style.ts":"89","F:\\projects\\burger-gril\\src\\components\\burger-popup\\BurgerPopup-style.tsx":"90","F:\\projects\\burger-gril\\src\\components\\chatbot\\Chatbot.tsx":"91","F:\\projects\\burger-gril\\src\\redux\\reducers\\chatbotReducer.ts":"92","F:\\projects\\burger-gril\\src\\components\\chatbot\\Chatbot-style.ts":"93","F:\\projects\\burger-gril\\src\\redux\\actions\\chatbotActions.ts":"94","F:\\projects\\burger-gril\\src\\redux\\constants\\chatbotConstants.ts":"95","F:\\projects\\burger-gril\\src\\helpers\\genrateUid.ts":"96","F:\\projects\\burger-gril\\src\\helpers\\convertDates.ts":"97","F:\\projects\\burger-gril\\src\\redux\\types\\reservationTypes.ts":"98","F:\\projects\\burger-gril\\src\\components\\chatbot-phone-conformation\\ChatbotPhoneConformation.tsx":"99","F:\\projects\\burger-gril\\src\\components\\chatbot-phone-conformation\\ChatbotPhoneConformation-style.ts":"100"},{"size":391,"mtime":1615071909451,"results":"101","hashOfConfig":"102"},{"size":2056,"mtime":1615071891759,"results":"103","hashOfConfig":"102"},{"size":538,"mtime":1611761100918,"results":"104","hashOfConfig":"102"},{"size":440,"mtime":1615071901719,"results":"105","hashOfConfig":"102"},{"size":2263,"mtime":1615410746364,"results":"106","hashOfConfig":"102"},{"size":1726,"mtime":1615312960759,"results":"107","hashOfConfig":"102"},{"size":1353,"mtime":1612625254615,"results":"108","hashOfConfig":"102"},{"size":8501,"mtime":1615071627973,"results":"109","hashOfConfig":"102"},{"size":2613,"mtime":1615071424734,"results":"110","hashOfConfig":"102"},{"size":488,"mtime":1615410360374,"results":"111","hashOfConfig":"102"},{"size":919,"mtime":1615071596476,"results":"112","hashOfConfig":"102"},{"size":370,"mtime":1615071601241,"results":"113","hashOfConfig":"102"},{"size":1473,"mtime":1615071200325,"results":"114","hashOfConfig":"102"},{"size":1978,"mtime":1615071419582,"results":"115","hashOfConfig":"102"},{"size":1071,"mtime":1615410476240,"results":"116","hashOfConfig":"102"},{"size":3859,"mtime":1615410135497,"results":"117","hashOfConfig":"102"},{"size":1598,"mtime":1615409555725,"results":"118","hashOfConfig":"102"},{"size":2709,"mtime":1615071019087,"results":"119","hashOfConfig":"102"},{"size":3936,"mtime":1615071078394,"results":"120","hashOfConfig":"102"},{"size":6113,"mtime":1615409687148,"results":"121","hashOfConfig":"102"},{"size":1379,"mtime":1613472436805,"results":"122","hashOfConfig":"102"},{"size":2190,"mtime":1615071407281,"results":"123","hashOfConfig":"102"},{"size":1358,"mtime":1615410319378,"results":"124","hashOfConfig":"102"},{"size":4574,"mtime":1615296860752,"results":"125","hashOfConfig":"102"},{"size":3226,"mtime":1615071370180,"results":"126","hashOfConfig":"102"},{"size":298,"mtime":1615071188624,"results":"127","hashOfConfig":"102"},{"size":365,"mtime":1615071184063,"results":"128","hashOfConfig":"102"},{"size":200,"mtime":1615071578550,"results":"129","hashOfConfig":"102"},{"size":4090,"mtime":1615071052828,"results":"130","hashOfConfig":"102"},{"size":2574,"mtime":1615410304507,"results":"131","hashOfConfig":"102"},{"size":646,"mtime":1615410513949,"results":"132","hashOfConfig":"102"},{"size":532,"mtime":1612623321983,"results":"133","hashOfConfig":"102"},{"size":551,"mtime":1612624207861,"results":"134","hashOfConfig":"102"},{"size":648,"mtime":1615071695775,"results":"135","hashOfConfig":"102"},{"size":471,"mtime":1615071797224,"results":"136","hashOfConfig":"102"},{"size":90,"mtime":1615071721042,"results":"137","hashOfConfig":"102"},{"size":4501,"mtime":1615409617235,"results":"138","hashOfConfig":"102"},{"size":935,"mtime":1615071348549,"results":"139","hashOfConfig":"102"},{"size":2266,"mtime":1615071342890,"results":"140","hashOfConfig":"102"},{"size":595,"mtime":1615071650493,"results":"141","hashOfConfig":"102"},{"size":235,"mtime":1615071582542,"results":"142","hashOfConfig":"102"},{"size":1201,"mtime":1615071447401,"results":"143","hashOfConfig":"102"},{"size":867,"mtime":1615071442508,"results":"144","hashOfConfig":"102"},{"size":8759,"mtime":1615409802694,"results":"145","hashOfConfig":"102"},{"size":2914,"mtime":1615409754548,"results":"146","hashOfConfig":"102"},{"size":4393,"mtime":1615378714774,"results":"147","hashOfConfig":"102"},{"size":1128,"mtime":1615378580970,"results":"148","hashOfConfig":"102"},{"size":8715,"mtime":1615410702771,"results":"149","hashOfConfig":"102"},{"size":231,"mtime":1615071212757,"results":"150","hashOfConfig":"102"},{"size":464,"mtime":1615071207870,"results":"151","hashOfConfig":"102"},{"size":3387,"mtime":1615325763627,"results":"152","hashOfConfig":"102"},{"size":1221,"mtime":1615071315374,"results":"153","hashOfConfig":"102"},{"size":1509,"mtime":1615071390425,"results":"154","hashOfConfig":"102"},{"size":974,"mtime":1615071386000,"results":"155","hashOfConfig":"102"},{"size":186,"mtime":1615410733049,"results":"156","hashOfConfig":"102"},{"size":1381,"mtime":1615368582032,"results":"157","hashOfConfig":"102"},{"size":2994,"mtime":1615071289046,"results":"158","hashOfConfig":"102"},{"size":2327,"mtime":1615071284050,"results":"159","hashOfConfig":"102"},{"size":490,"mtime":1615410222556,"results":"160","hashOfConfig":"102"},{"size":2494,"mtime":1615071306822,"results":"161","hashOfConfig":"102"},{"size":2942,"mtime":1615071301875,"results":"162","hashOfConfig":"102"},{"size":1688,"mtime":1615071777082,"results":"163","hashOfConfig":"102"},{"size":368,"mtime":1615071700195,"results":"164","hashOfConfig":"102"},{"size":2601,"mtime":1615410617050,"results":"165","hashOfConfig":"102"},{"size":2069,"mtime":1615071657467,"results":"166","hashOfConfig":"102"},{"size":2226,"mtime":1615071803757,"results":"167","hashOfConfig":"102"},{"size":538,"mtime":1615071724705,"results":"168","hashOfConfig":"102"},{"size":208,"mtime":1615071605859,"results":"169","hashOfConfig":"102"},{"size":4313,"mtime":1615071258968,"results":"170","hashOfConfig":"102"},{"size":5579,"mtime":1615410166643,"results":"171","hashOfConfig":"102"},{"size":1429,"mtime":1613596436929,"results":"172","hashOfConfig":"102"},{"size":320,"mtime":1615071266583,"results":"173","hashOfConfig":"102"},{"size":833,"mtime":1615410197616,"results":"174","hashOfConfig":"102"},{"size":4664,"mtime":1615071115744,"results":"175","hashOfConfig":"102"},{"size":6958,"mtime":1615220317831,"results":"176","hashOfConfig":"102"},{"size":3083,"mtime":1615411032049,"results":"177","hashOfConfig":"102"},{"size":247,"mtime":1615410555371,"results":"178","hashOfConfig":"102"},{"size":5751,"mtime":1615409873350,"results":"179","hashOfConfig":"102"},{"size":5593,"mtime":1615409857749,"results":"180","hashOfConfig":"102"},{"size":228,"mtime":1615410561088,"results":"181","hashOfConfig":"102"},{"size":8868,"mtime":1615410111855,"results":"182","hashOfConfig":"102"},{"size":5702,"mtime":1615410098591,"results":"183","hashOfConfig":"102"},{"size":459,"mtime":1615071502010,"results":"184","hashOfConfig":"102"},{"size":4292,"mtime":1615382056980,"results":"185","hashOfConfig":"102"},{"size":445,"mtime":1615071717092,"results":"186","hashOfConfig":"102"},{"size":1997,"mtime":1615071791791,"results":"187","hashOfConfig":"102"},{"size":218,"mtime":1615410574142,"results":"188","hashOfConfig":"102"},{"size":4932,"mtime":1615150330265,"results":"189","hashOfConfig":"102"},{"size":3095,"mtime":1615410268917,"results":"190","hashOfConfig":"102"},{"size":2755,"mtime":1615071108296,"results":"191","hashOfConfig":"102"},{"size":9720,"mtime":1615409955473,"results":"192","hashOfConfig":"102"},{"size":1489,"mtime":1615410780775,"results":"193","hashOfConfig":"102"},{"size":5155,"mtime":1615410988529,"results":"194","hashOfConfig":"102"},{"size":15308,"mtime":1615410664755,"results":"195","hashOfConfig":"102"},{"size":567,"mtime":1615219882748,"results":"196","hashOfConfig":"102"},{"size":254,"mtime":1615117433333,"results":"197","hashOfConfig":"102"},{"size":792,"mtime":1615410383834,"results":"198","hashOfConfig":"102"},{"size":3038,"mtime":1615311480567,"results":"199","hashOfConfig":"102"},{"size":3875,"mtime":1615410068118,"results":"200","hashOfConfig":"102"},{"size":905,"mtime":1615411005437,"results":"201","hashOfConfig":"102"},{"filePath":"202","messages":"203","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},"bv91hs",{"filePath":"205","messages":"206","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"207","usedDeprecatedRules":"204"},{"filePath":"208","messages":"209","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"210","messages":"211","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"212","messages":"213","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"216","messages":"217","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"218"},{"filePath":"219","messages":"220","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"221","messages":"222","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"223","messages":"224","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"225","messages":"226","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"227","messages":"228","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"229","messages":"230","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"231","messages":"232","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"233","messages":"234","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"235","messages":"236","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"237","messages":"238","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"239","messages":"240","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"241","messages":"242","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"243","messages":"244","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"245","messages":"246","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"247"},{"filePath":"248","messages":"249","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"250","messages":"251","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"252","messages":"253","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"254","messages":"255","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"256","messages":"257","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"258","messages":"259","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"260","messages":"261","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"262","messages":"263","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"264","messages":"265","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"266","messages":"267","errorCount":0,"warningCount":8,"fixableErrorCount":0,"fixableWarningCount":0,"source":"268","usedDeprecatedRules":"204"},{"filePath":"269","messages":"270","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"271","messages":"272","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"273","messages":"274","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"275","messages":"276","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"277","messages":"278","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"279","messages":"280","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"281","messages":"282","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"283","messages":"284","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"285","messages":"286","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"287","messages":"288","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"289","messages":"290","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"291","messages":"292","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"293","messages":"294","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"295","messages":"296","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"297","messages":"298","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"299","messages":"300","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"301","messages":"302","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"303","messages":"304","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"305","messages":"306","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"307","messages":"308","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"309","messages":"310","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"311","messages":"312","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"313","usedDeprecatedRules":"204"},{"filePath":"314","messages":"315","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"316","messages":"317","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"318","messages":"319","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"320","messages":"321","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"322","messages":"323","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"324","messages":"325","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"326","messages":"327","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"328","messages":"329","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"330","messages":"331","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"332","messages":"333","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"334","messages":"335","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"336","messages":"337","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"338","messages":"339","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"340","messages":"341","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"342","messages":"343","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"344","messages":"345","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"346","messages":"347","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"348","messages":"349","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"350","messages":"351","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"352","messages":"353","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"354","messages":"355","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"356","messages":"357","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"358","messages":"359","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"360","messages":"361","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"362","messages":"363","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"364","messages":"365","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"366","messages":"367","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"368","messages":"369","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"370","messages":"371","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"372","messages":"373","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"374","messages":"375","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"376","usedDeprecatedRules":"204"},{"filePath":"377","messages":"378","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"379","messages":"380","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"381","messages":"382","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"383","messages":"384","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"385","usedDeprecatedRules":"204"},{"filePath":"386","messages":"387","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"388","messages":"389","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"390","messages":"391","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"392","messages":"393","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"394","messages":"395","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"396","messages":"397","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"398","messages":"399","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"400","messages":"401","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"204"},{"filePath":"402","messages":"403","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"404","messages":"405","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"406","messages":"407","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"408","messages":"409","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"F:\\projects\\burger-gril\\src\\index.tsx",[],["410","411"],"F:\\projects\\burger-gril\\src\\App.tsx",["412"],"import React, { useEffect, useState } from 'react';\r\nimport useAutoLogin from './hooks/use-autoLogin';\r\nimport { BrowserRouter as Router, Switch, Route, Link } from 'react-router-dom';\r\nimport Sidebar from './components/sidebar/Sidebar';\r\nimport { HomePage, AuthPage, BookTablePage, MenuPage,CartSummaryPage,CheckoutPage,ProfilePage } from './pages';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { RootState } from './redux';\r\nimport PrivateRoute from './auth/PrivateRoute';\r\nimport PrivateAlreadyAuthRoute from './auth/PrivateAlereadyAuthRoute';\r\nimport PopupMessage from './components/popup-message/PopupMessage';\r\nimport Navbar from './components/navbar/Navbar';\r\nimport MenuItemPopup from './components/menu-item-popup/MenuItemPopup';\r\nimport { getAllProducts } from './redux/actions/productsActions';\r\nimport Chatbot from './components/chatbot/Chatbot';\r\n\r\n\r\n\r\n\r\nfunction App() {\r\n const dispatch = useDispatch();\r\n useAutoLogin();\r\n useEffect(() => {\r\n dispatch(getAllProducts())\r\n })\r\n const { user } = useSelector((state: RootState) => state.userLogin);\r\n const [showSidebar, setShowSidebar] = useState(false);\r\n const toggleSidebar = () => setShowSidebar(!showSidebar);\r\n\r\n return (\r\n <>\r\n <Router>\r\n <Navbar user={user} toggleSidebar={toggleSidebar} />\r\n <Sidebar showSidebar={showSidebar} toggleSidebar={toggleSidebar} user={user} />\r\n <PopupMessage />\r\n <MenuItemPopup />\r\n <Chatbot user={user}/>\r\n <Switch>\r\n <Route path='/' exact component={HomePage} />\r\n <PrivateAlreadyAuthRoute path='/auth' component={AuthPage} exact />\r\n <Route path='/book-table' component={BookTablePage} exact/>\r\n <Route path='/order' component={MenuPage} exact/>\r\n <Route path='/cart' component={CartSummaryPage} exact/>\r\n <Route path='/checkout' component={CheckoutPage} exact/>\r\n <PrivateRoute path='/profile' component={ProfilePage} exact/>\r\n </Switch>\r\n </Router>\r\n </>\r\n );\r\n}\r\n\r\nexport default App;\r\n","F:\\projects\\burger-gril\\src\\firebase\\firebaseConfig.tsx",[],"F:\\projects\\burger-gril\\src\\global-styles.tsx",[],"F:\\projects\\burger-gril\\src\\redux\\reducers\\authReducer.ts",[],"F:\\projects\\burger-gril\\src\\redux\\index.ts",[],"F:\\projects\\burger-gril\\src\\redux\\types\\authTypes.ts",[],["413","414"],"F:\\projects\\burger-gril\\src\\redux\\actions\\authActions.ts",[],"F:\\projects\\burger-gril\\src\\components\\sidebar\\Sidebar.tsx",[],"F:\\projects\\burger-gril\\src\\components\\sidebar\\SidebarData.tsx",[],"F:\\projects\\burger-gril\\src\\pages\\home.tsx",[],"F:\\projects\\burger-gril\\src\\pages\\index.tsx",[],"F:\\projects\\burger-gril\\src\\components\\hero\\Hero.tsx",[],"F:\\projects\\burger-gril\\src\\components\\sidebar\\Sidebar-style.tsx",[],"F:\\projects\\burger-gril\\src\\helpers\\scrollReveal.tsx",["415"],"F:\\projects\\burger-gril\\src\\components\\hero\\Hero-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\about\\About.tsx",[],"F:\\projects\\burger-gril\\src\\components\\about\\About-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\best-sellers\\BestSellers.tsx",[],"F:\\projects\\burger-gril\\src\\components\\best-sellers\\BestSellers-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\best-sellers\\SliderData.ts",[],["416","417"],"F:\\projects\\burger-gril\\src\\components\\reviews\\Reviews.tsx",[],"F:\\projects\\burger-gril\\src\\components\\reviews\\ReviewsData.ts",[],"F:\\projects\\burger-gril\\src\\components\\reservation\\Reservation.tsx",[],"F:\\projects\\burger-gril\\src\\components\\reservation\\Reservation-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\footer\\Footer.tsx",[],"F:\\projects\\burger-gril\\src\\components\\footer\\Footer-style.ts",[],"F:\\projects\\burger-gril\\src\\pages\\auth.tsx",[],"F:\\projects\\burger-gril\\src\\components\\auth-form\\AuthForm.tsx",[],"F:\\projects\\burger-gril\\src\\components\\reviews\\Reviews-style.ts",[],"F:\\projects\\burger-gril\\src\\hooks\\use-autoLogin.tsx",["418","419","420","421","422","423","424","425"],"import { useState, useEffect, useContext } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport firebase from '../firebase/firebaseConfig';\nimport { RootState } from '../redux';\nimport { getAuthUser, logOut } from '../redux/actions/authActions';\n\nexport default function useAutoLogin() {\n const userFromLocalStorage = localStorage.getItem('currentUser');\n const dispatch = useDispatch();\n const { error, user, loading } = useSelector((state: RootState) => state.userLogin);\n // const [token, setToken] = useState<any>(userFromLocalStorage? userFromLocalStorage: null);\n useEffect(() => {\n const token = localStorage.getItem('token')\n ? JSON.parse(localStorage.getItem('token'))\n : null;\n if (token && !loading) {\n dispatch(getAuthUser(token));\n }\n }, []);\n\n}\n ","F:\\projects\\burger-gril\\src\\auth\\PrivateRoute.tsx",[],"F:\\projects\\burger-gril\\src\\auth\\PrivateAlereadyAuthRoute.tsx",[],"F:\\projects\\burger-gril\\src\\redux\\constants\\authConstants.ts",[],"F:\\projects\\burger-gril\\src\\redux\\reducers\\popupMessageReducer.ts",[],"F:\\projects\\burger-gril\\src\\redux\\constants\\popupMessageConstants.ts",[],"F:\\projects\\burger-gril\\src\\components\\auth-form\\AuthForm-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\popup-message\\PopupMessage.tsx",[],"F:\\projects\\burger-gril\\src\\components\\popup-message\\PopupMessage-style.ts",[],"F:\\projects\\burger-gril\\src\\redux\\actions\\popupMessageAction.ts",[],"F:\\projects\\burger-gril\\src\\pages\\bookTable.tsx",[],"F:\\projects\\burger-gril\\src\\components\\table-reservation\\Table-Reservation.tsx",[],"F:\\projects\\burger-gril\\src\\components\\table-reservation\\Table-Reservation-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\book-reservation\\Book-Reservation.tsx",[],"F:\\projects\\burger-gril\\src\\components\\book-reservation\\Book-Reservation-style.ts",[],"F:\\projects\\burger-gril\\src\\redux\\reducers\\reservationReducer.ts",[],"F:\\projects\\burger-gril\\src\\redux\\constants\\reservationConstants.ts",[],"F:\\projects\\burger-gril\\src\\redux\\actions\\reservationActions.ts",["426"],"F:\\projects\\burger-gril\\src\\components\\loader\\Loader.tsx",[],"F:\\projects\\burger-gril\\src\\components\\loader\\Loader-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\phone-conformation\\PhoneConformation.tsx",[],"F:\\projects\\burger-gril\\src\\components\\phone-conformation\\PhoneConformation-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\reservation-summary\\ReservationSummary.tsx",["427"],"import React, { useEffect } from 'react';\r\nimport { ReservationSummaryTitle, ReservationSummarySubTitle, ReservationSummarySummary, ReservationSummarySummaryDeatils, } from './ReservationSummary-style';\r\nimport { useDispatch } from 'react-redux';\r\nimport { CLEAR_RESERVATION_DATA } from '../../redux/constants/reservationConstants';\r\n\r\n\r\nconst ReservationSummary = ({ reservationData }) => {\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n return () => {\r\n dispatch({ type: CLEAR_RESERVATION_DATA })\r\n\r\n }\r\n }, [])\r\n\r\n return (\r\n <>\r\n <ReservationSummaryTitle>Your Booking has Been completed!</ReservationSummaryTitle>\r\n <ReservationSummarySummary>\r\n <ReservationSummarySubTitle>Thank you {reservationData.name}</ReservationSummarySubTitle>\r\n <ReservationSummarySubTitle>an email with your booking confirmation has been sent to your email address</ReservationSummarySubTitle>\r\n <ReservationSummarySummaryDeatils>Date: {reservationData.date.split(\" \").join(\"/\")} </ReservationSummarySummaryDeatils>\r\n <ReservationSummarySummaryDeatils>Time: {reservationData.time}:00</ReservationSummarySummaryDeatils>\r\n <ReservationSummarySummaryDeatils>Guests:{reservationData.partySize}</ReservationSummarySummaryDeatils>\r\n <ReservationSummarySummaryDeatils>{reservationData.table.name}, {reservationData.table.location}</ReservationSummarySummaryDeatils>\r\n </ReservationSummarySummary>\r\n </>);\r\n};\r\n\r\nexport default ReservationSummary;\r\n","F:\\projects\\burger-gril\\src\\components\\reservation-summary\\ReservationSummary-style.ts",[],"F:\\projects\\burger-gril\\src\\redux\\constants\\endPoints.ts",[],"F:\\projects\\burger-gril\\src\\helpers\\convertPhoneNumber.tsx",[],"F:\\projects\\burger-gril\\src\\components\\navbar\\Navbar.tsx",[],"F:\\projects\\burger-gril\\src\\components\\navbar\\Navbar-style.tsx",[],"F:\\projects\\burger-gril\\src\\components\\navbar\\NavbarData.tsx",[],"F:\\projects\\burger-gril\\src\\components\\navbar-cart\\NavbarCart.tsx",[],"F:\\projects\\burger-gril\\src\\components\\navbar-cart\\NavbarCart-style.tsx",[],"F:\\projects\\burger-gril\\src\\redux\\reducers\\cartReducer.ts",[],"F:\\projects\\burger-gril\\src\\redux\\constants\\cartConstants.ts",[],"F:\\projects\\burger-gril\\src\\redux\\actions\\cartActions.ts",[],"F:\\projects\\burger-gril\\src\\redux\\actions\\productsActions.ts",[],"F:\\projects\\burger-gril\\src\\redux\\reducers\\productsReducer.ts",[],"F:\\projects\\burger-gril\\src\\redux\\constants\\productsConstants.ts",[],"F:\\projects\\burger-gril\\src\\pages\\menu.tsx",[],"F:\\projects\\burger-gril\\src\\components\\menu\\Menu.tsx",[],"F:\\projects\\burger-gril\\src\\components\\menu\\Menu-style.ts",[],"F:\\projects\\burger-gril\\src\\redux\\types\\productsType.ts",["428"],"F:\\projects\\burger-gril\\src\\components\\menu-item-popup\\MenuItemPopup-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\menu-item-popup\\MenuItemPopup.tsx",[],"F:\\projects\\burger-gril\\src\\components\\burger-popup\\BurgerPopup.tsx",[],"F:\\projects\\burger-gril\\src\\components\\meal-popup\\MealPopup.tsx",[],"F:\\projects\\burger-gril\\src\\components\\meal-popup\\MealPopup-style.tsx",[],"F:\\projects\\burger-gril\\src\\pages\\cartSummary.tsx",[],"F:\\projects\\burger-gril\\src\\components\\cart-summary\\CartSummary.tsx",[],"F:\\projects\\burger-gril\\src\\components\\cart-summary\\CartSummary-style.ts",[],"F:\\projects\\burger-gril\\src\\pages\\checkout.tsx",[],"F:\\projects\\burger-gril\\src\\components\\checkout\\Checkout.tsx",["429"],"F:\\projects\\burger-gril\\src\\components\\checkout\\Checkout-style.ts",[],"F:\\projects\\burger-gril\\src\\helpers\\getCartTotal.ts",[],"F:\\projects\\burger-gril\\src\\redux\\actions\\orderActions.ts",["430","431"],"import { ThunkAction } from 'redux-thunk';\r\nimport { RootState } from '..';\r\nimport firebase from '../../firebase/firebaseConfig';\r\nimport { popupMessage } from './popupMessageAction';\r\nimport { CLEAR_CART, CLEAR_CHATBOT_CART } from '../constants/cartConstants';\r\nimport { Order, OrderAction } from '../types/orderTypes';\r\nimport { CREATE_ORDER_REQUEST, CREATE_ORDER_FAIL, CREATE_ORDER_SUCCESS, GET_ORDERS_FOR_USER_FAIL, GET_ORDERS_FOR_USER_REQUEST } from '../constants/orderConstants';\r\nimport axios from 'axios';\r\nimport { CartAction } from '../types/cartTypes';\r\nimport { ServerBaseUrlProd } from './../constants/endPoints';\r\nimport { User } from './../types/authTypes';\r\nimport { GET_ORDERS_FOR_USER_SUCCESS } from './../constants/orderConstants';\r\nimport { CLEAR_ORDER_DEATILS } from './../constants/chatbotConstants';\r\nimport { ChatbotAction } from '../types/chatbotTypes';\r\nimport { finishChatbotConversation } from './chatbotActions';\r\n\r\n\r\nexport const createOrder = (order: Order, fromChatbot = false): ThunkAction<void, RootState, null, OrderAction | CartAction | ChatbotAction> => {\r\n return async dispatch => {\r\n try {\r\n dispatch({\r\n type: CREATE_ORDER_REQUEST\r\n })\r\n await firebase.firestore().collection('/orders').doc(order.id).set(order);\r\n dispatch({\r\n type: CREATE_ORDER_SUCCESS,\r\n payload: order\r\n });\r\n if (order.orderMethod === \"Pickup\") {\r\n const { data } = await axios.post(`${ServerBaseUrlProd}/email/send-pickup-mail`, {\r\n date: new Date().toLocaleString(),\r\n firstName: order.firstName,\r\n amount: order.amount,\r\n orderItems: order.orderItems,\r\n city: order.city,\r\n address: order.address,\r\n floor: order.floor,\r\n email: order.email,\r\n orderMethod: order.orderMethod,\r\n apartmentNumber: order.apartmentNumber,\r\n orderNotes: order.orderNotes,\r\n phoneNumber: order.phoneNumber,\r\n });\r\n } else {\r\n const { data } = await axios.post(`${ServerBaseUrlProd}/email/send-delivery-mail`, {\r\n date: new Date().toLocaleString(),\r\n firstName: order.firstName,\r\n amount: order.amount,\r\n orderItems: order.orderItems,\r\n city: order.city,\r\n address: order.address,\r\n floor: order.floor,\r\n email: order.email,\r\n orderMethod: order.orderMethod,\r\n apartmentNumber: order.apartmentNumber,\r\n orderNotes: order.orderNotes,\r\n phoneNumber: order.phoneNumber,\r\n });\r\n }\r\n\r\n\r\n\r\n dispatch(popupMessage({ type: 'success', content: \"Order Completed!\" }));\r\n\r\n dispatch({ type: CLEAR_CART });\r\n if (fromChatbot) {\r\n // finishConversation\r\n dispatch(finishChatbotConversation());\r\n dispatch({ type: CLEAR_ORDER_DEATILS });\r\n dispatch({ type: CLEAR_CHATBOT_CART });\r\n }\r\n\r\n\r\n } catch (err) {\r\n console.log('err', err);\r\n dispatch({\r\n type: CREATE_ORDER_FAIL,\r\n payload: err.message\r\n });\r\n dispatch(popupMessage({ type: 'error', content: \"Order Failed\" }))\r\n\r\n }\r\n }\r\n}\r\nexport const getOrdersForUser = (): ThunkAction<void, RootState, null, OrderAction> => {\r\n return async (dispatch, getState) => {\r\n try {\r\n dispatch({\r\n type: GET_ORDERS_FOR_USER_REQUEST\r\n })\r\n const {\r\n userLogin\r\n } = getState();\r\n\r\n const { user }: { user: User } = userLogin;\r\n let userId;\r\n if (user && user.id) {\r\n userId = user.id;\r\n }\r\n\r\n const orders = await firebase.firestore().collection('orders').where('userId', '==', userId)\r\n .get();\r\n if (orders.empty) {\r\n dispatch({\r\n type: GET_ORDERS_FOR_USER_SUCCESS,\r\n payload: []\r\n });\r\n } else {\r\n let ordersFromDb: Order[] = [];\r\n orders.forEach(doc => {\r\n ordersFromDb.push(doc.data() as Order);\r\n });\r\n dispatch({\r\n type: GET_ORDERS_FOR_USER_SUCCESS,\r\n payload: ordersFromDb\r\n });\r\n\r\n }\r\n\r\n } catch (err) {\r\n console.log('err', err);\r\n dispatch({\r\n type: GET_ORDERS_FOR_USER_FAIL,\r\n payload: 'get orders failed'\r\n });\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","F:\\projects\\burger-gril\\src\\redux\\constants\\orderConstants.ts",[],"F:\\projects\\burger-gril\\src\\redux\\reducers\\orderReducer.ts",[],"F:\\projects\\burger-gril\\src\\pages\\profile.tsx",[],"F:\\projects\\burger-gril\\src\\components\\profile\\Profile.tsx",["432"],"import React, { useEffect, useState } from 'react';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { ProfileHero, ProfileSection, HeroTitle, ProfileTitle, NavContainer, NavItem, CardsContainer, Card, CardRow, CardOrderItemsRow, CardTitle, CardLabel, CardDescription, OrderItemsDescription, DeleteAccountButton } from './Profile-style';\r\nimport { RootState } from '../../redux';\r\nimport { User } from '../../redux/types/authTypes';\r\nimport { getReservationsForUser } from '../../redux/actions/reservationActions';\r\nimport { ReservationDataFromDb } from '../../redux/types/reservationTypes';\r\nimport { getOrdersForUser } from '../../redux/actions/orderActions';\r\nimport { Order } from '../../redux/types/orderTypes';\r\nimport Loader from '../loader/Loader';\r\nimport { deleteUser } from '../../redux/actions/authActions';\r\n\r\n\r\nconst Profile = () => {\r\n const dispatch = useDispatch();\r\n const { user }: { user: User } = useSelector((state: RootState) => state.userLogin);\r\n\r\n const { reservationData, }: { reservationData: ReservationDataFromDb[], loading: boolean } = useSelector((state: RootState) => state.getReservationForUser);\r\n\r\n const { orders, loading: ordersLoading }: { orders: Order[], loading: boolean } = useSelector((state: RootState) => state.getOrdersForUser);\r\n\r\n const { loading: deleteUserLoading }: { loading: boolean } = useSelector((state: RootState) => state.userDelete);\r\n\r\n const [currentNavItem, setCurrentNavItem] = useState('Orders')\r\n\r\n useEffect(() => {\r\n dispatch(getReservationsForUser());\r\n dispatch(getOrdersForUser());\r\n\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [])\r\n\r\n return (\r\n <>\r\n <ProfileHero>\r\n <HeroTitle>{user && user.name}</HeroTitle>\r\n </ProfileHero>\r\n <ProfileSection>\r\n <NavContainer>\r\n <NavItem onClick={() => {\r\n setCurrentNavItem(\"Orders\")\r\n }} currentNavItem={currentNavItem === \"Orders\"}>Orders</NavItem>\r\n <NavItem onClick={() => {\r\n setCurrentNavItem(\"Reservations\")\r\n }} currentNavItem={currentNavItem === \"Reservations\"}>Reservations</NavItem>\r\n <NavItem onClick={() => {\r\n setCurrentNavItem(\"Settings\")\r\n }} currentNavItem={currentNavItem === \"Settings\"}>Settings</NavItem>\r\n </NavContainer>\r\n {currentNavItem === \"Reservations\" && reservationData?.length === 0 && <ProfileTitle>\r\n No Reservation Yet!\r\n </ProfileTitle>}\r\n {currentNavItem === \"Reservations\" && reservationData?.length > 0 && <CardsContainer>\r\n {reservationData.map((reservation, index) => <Card key={index}>\r\n <CardTitle>{reservation.date.split(' ').join('\\\\')}, {reservation.time + \":00\"} </CardTitle>\r\n <hr />\r\n <CardRow>\r\n <CardLabel>{reservation.table.name}.</CardLabel>\r\n </CardRow>\r\n <CardRow>\r\n <CardLabel>Table Location: </CardLabel>\r\n <CardDescription> {reservation.table.location}.</CardDescription>\r\n </CardRow>\r\n <CardRow>\r\n <CardLabel>Guests: </CardLabel>\r\n <CardDescription> {reservation.partySize}.</CardDescription>\r\n </CardRow>\r\n\r\n </Card>)}\r\n </CardsContainer>}\r\n {currentNavItem === \"Orders\" && orders?.length === 0 && <ProfileTitle>\r\n No Orders Yet!\r\n </ProfileTitle>}\r\n {currentNavItem === \"Orders\" && orders?.length > 0 && <CardsContainer>\r\n {orders.map((order) => <Card key={order.id}>\r\n <CardTitle>{order.orderMethod} </CardTitle>\r\n <hr />\r\n <CardRow>\r\n <CardLabel>Order Made At: </CardLabel>\r\n <CardDescription> {order.create_time}.</CardDescription>\r\n </CardRow>\r\n {order.address && <CardRow>\r\n <CardLabel>Address: </CardLabel>\r\n <CardDescription> {order.address}, {order.city}. </CardDescription>\r\n </CardRow>}\r\n <CardOrderItemsRow>\r\n <CardLabel>Order Items: </CardLabel>\r\n {order.orderItems.map(((orderItem,index) => \r\n <OrderItemsDescription key={index}>*{orderItem.title}.</OrderItemsDescription>\r\n ))}\r\n </CardOrderItemsRow>\r\n <CardRow>\r\n <CardLabel>Order Sum: </CardLabel>\r\n <CardDescription> ${order.amount}.</CardDescription> \r\n </CardRow>\r\n </Card>)}\r\n </CardsContainer>}\r\n {currentNavItem === \"Settings\" && <CardsContainer>\r\n {deleteUserLoading && <Loader />}\r\n <DeleteAccountButton onClick={() => {\r\n dispatch(deleteUser())\r\n }} disabled={deleteUserLoading}>Delete Account</DeleteAccountButton>\r\n </CardsContainer>}\r\n\r\n\r\n </ProfileSection>\r\n\r\n </>\r\n );\r\n};\r\n\r\nexport default Profile;\r\n","F:\\projects\\burger-gril\\src\\components\\profile\\Profile-style.ts",[],"F:\\projects\\burger-gril\\src\\components\\burger-popup\\BurgerPopup-style.tsx",[],"F:\\projects\\burger-gril\\src\\components\\chatbot\\Chatbot.tsx",["433","434"],"F:\\projects\\burger-gril\\src\\redux\\reducers\\chatbotReducer.ts",[],"F:\\projects\\burger-gril\\src\\components\\chatbot\\Chatbot-style.ts",[],"F:\\projects\\burger-gril\\src\\redux\\actions\\chatbotActions.ts",[],"F:\\projects\\burger-gril\\src\\redux\\constants\\chatbotConstants.ts",[],"F:\\projects\\burger-gril\\src\\helpers\\genrateUid.ts",[],"F:\\projects\\burger-gril\\src\\helpers\\convertDates.ts",[],"F:\\projects\\burger-gril\\src\\redux\\types\\reservationTypes.ts",[],"F:\\projects\\burger-gril\\src\\components\\chatbot-phone-conformation\\ChatbotPhoneConformation.tsx",["435","436"],"F:\\projects\\burger-gril\\src\\components\\chatbot-phone-conformation\\ChatbotPhoneConformation-style.ts",[],{"ruleId":"437","replacedBy":"438"},{"ruleId":"439","replacedBy":"440"},{"ruleId":"441","severity":1,"message":"442","line":3,"column":50,"nodeType":"443","messageId":"444","endLine":3,"endColumn":54},{"ruleId":"437","replacedBy":"445"},{"ruleId":"439","replacedBy":"446"},{"ruleId":"441","severity":1,"message":"447","line":19,"column":7,"nodeType":"443","messageId":"444","endLine":19,"endColumn":27},{"ruleId":"437","replacedBy":"448"},{"ruleId":"439","replacedBy":"449"},{"ruleId":"441","severity":1,"message":"450","line":1,"column":10,"nodeType":"443","messageId":"444","endLine":1,"endColumn":18},{"ruleId":"441","severity":1,"message":"451","line":1,"column":31,"nodeType":"443","messageId":"444","endLine":1,"endColumn":41},{"ruleId":"441","severity":1,"message":"452","line":3,"column":8,"nodeType":"443","messageId":"444","endLine":3,"endColumn":16},{"ruleId":"441","severity":1,"message":"453","line":5,"column":23,"nodeType":"443","messageId":"444","endLine":5,"endColumn":29},{"ruleId":"441","severity":1,"message":"454","line":8,"column":9,"nodeType":"443","messageId":"444","endLine":8,"endColumn":29},{"ruleId":"441","severity":1,"message":"455","line":10,"column":11,"nodeType":"443","messageId":"444","endLine":10,"endColumn":16},{"ruleId":"441","severity":1,"message":"456","line":10,"column":18,"nodeType":"443","messageId":"444","endLine":10,"endColumn":22},{"ruleId":"457","severity":1,"message":"458","line":19,"column":6,"nodeType":"459","endLine":19,"endColumn":8,"suggestions":"460"},{"ruleId":"441","severity":1,"message":"461","line":149,"column":15,"nodeType":"443","messageId":"444","endLine":149,"endColumn":19},{"ruleId":"457","severity":1,"message":"462","line":14,"column":6,"nodeType":"459","endLine":14,"endColumn":8,"suggestions":"463"},{"ruleId":"464","severity":1,"message":"465","line":41,"column":11,"nodeType":"443","messageId":"466","endLine":41,"endColumn":44},{"ruleId":"441","severity":1,"message":"455","line":27,"column":27,"nodeType":"443","messageId":"444","endLine":27,"endColumn":32},{"ruleId":"441","severity":1,"message":"461","line":30,"column":17,"nodeType":"443","messageId":"444","endLine":30,"endColumn":21},{"ruleId":"441","severity":1,"message":"461","line":45,"column":17,"nodeType":"443","messageId":"444","endLine":45,"endColumn":21},{"ruleId":"441","severity":1,"message":"467","line":20,"column":28,"nodeType":"443","messageId":"444","endLine":20,"endColumn":41},{"ruleId":"441","severity":1,"message":"455","line":60,"column":30,"nodeType":"443","messageId":"444","endLine":60,"endColumn":35},{"ruleId":"457","severity":1,"message":"462","line":75,"column":6,"nodeType":"459","endLine":75,"endColumn":17,"suggestions":"468"},{"ruleId":"457","severity":1,"message":"462","line":51,"column":6,"nodeType":"459","endLine":51,"endColumn":26,"suggestions":"469"},{"ruleId":"457","severity":1,"message":"458","line":61,"column":6,"nodeType":"459","endLine":61,"endColumn":75,"suggestions":"470"},"no-native-reassign",["471"],"no-negated-in-lhs",["472"],"@typescript-eslint/no-unused-vars","'Link' is defined but never used.","Identifier","unusedVar",["471"],["472"],"'revalWithLongerDelay' is assigned a value but never used.",["471"],["472"],"'useState' is defined but never used.","'useContext' is defined but never used.","'firebase' is defined but never used.","'logOut' is defined but never used.","'userFromLocalStorage' is assigned a value but never used.","'error' is assigned a value but never used.","'user' is assigned a value but never used.","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'dispatch' and 'loading'. Either include them or remove the dependency array.","ArrayExpression",["473"],"'data' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array.",["474"],"@typescript-eslint/no-redeclare","'REMOVE_SELECTED_ITEM_FROM_OVERLAY' is already defined.","redeclared","'ordersLoading' is assigned a value but never used.",["475"],["476"],["477"],"no-global-assign","no-unsafe-negation",{"desc":"478","fix":"479"},{"desc":"480","fix":"481"},{"desc":"482","fix":"483"},{"desc":"484","fix":"485"},{"desc":"486","fix":"487"},"Update the dependencies array to be: [dispatch, loading]",{"range":"488","text":"489"},"Update the dependencies array to be: [dispatch]",{"range":"490","text":"491"},"Update the dependencies array to be: [chatbotId, dispatch]",{"range":"492","text":"493"},"Update the dependencies array to be: [confirmationResult, dispatch]",{"range":"494","text":"495"},"Update the dependencies array to be: [confirmationResult, dispatch, loading, reservationDataAfterBookingCompletedFromChatbot]",{"range":"496","text":"497"},[805,807],"[dispatch, loading]",[533,535],"[dispatch]",[3258,3269],"[chatbotId, dispatch]",[2267,2287],"[confirmationResult, dispatch]",[2657,2726],"[confirmationResult, dispatch, loading, reservationDataAfterBookingCompletedFromChatbot]"]