This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import React, { useEffect } from "react"; | |
| import { StyleSheet, Text, View } from "react-native"; | |
| import * as BackgroundFetch from "expo-background-fetch"; | |
| import * as TaskManager from "expo-task-manager"; | |
| import * as Permissions from "expo-permissions"; | |
| import * as Location from "expo-location"; | |
| import { Notifications } from "expo"; | |
| import { Button } from "react-native"; | |
| const LOCATION_FETCH_TASK = "upload-job-task-with-location"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| declare(strict_types=1); | |
| namespace App\View; | |
| use Illuminate\View\Compilers\BladeCompiler; | |
| use Illuminate\View\Factory; | |
| use Symfony\Component\Debug\Exception\FatalThrowableError; | |
| /** | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { CartModel } from 'models/cart'; | |
| import authApi from 'api/auth'; | |
| import cartsApi from 'api/carts'; | |
| import { addTimeStamp } from 'helpers/time-trace'; | |
| export default async function getCurrentCart(): Promise<CartModel> { | |
| let currentSession = await authApi.getCurrentSession(); | |
| if (!currentSession) { | |
| currentSession = await authApi.createAnonymousSession(); | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { NotificationType, showNotification } from '@devland-ui/components'; | |
| import { CartItemModel } from 'models/cart-item'; | |
| import { ProductModel } from 'models/product'; | |
| import cartsItemsApi from 'api/cart-items'; | |
| import { addTimeStamp } from 'helpers/time-trace'; | |
| import { CustomDispatch, State } from '../types'; | |
| import getCurrentCart from './get-current-cart'; | |
| export default function addToCart( | |
| dispatch: CustomDispatch, | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | version: '3' | |
| networks: | |
| laravel: | |
| services: | |
| nginx: | |
| build: | |
| context: ./docker | |
| dockerfile: nginx.dockerfile | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| namespace App\Scopes; | |
| use Illuminate\Database\Eloquent\Builder; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Database\Eloquent\Scope; | |
| use Illuminate\Support\Collection; | |
| use ReflectionClass | |
| use SplFixedArray; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "expo": { | |
| // ... | |
| "jsEngine": "hermes", | |
| "ios": { | |
| "jsEngine": "jsc" | |
| } | |
| // ... | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "cli": { | |
| "version": ">= 0.54.1" | |
| }, | |
| "build": { | |
| "base": { | |
| "env": {} | |
| }, | |
| "development": { | |
| "extends": "base", | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { Suspense, lazy } from 'react'; | |
| import LoadingScreen from './components/LoadingScreen'; | |
| import type { RouteObject } from 'react-router'; | |
| const Loadable = (Component: any) => (props: JSX.IntrinsicAttributes) => | |
| ( | |
| <Suspense fallback={<LoadingScreen />}> | |
| <Component {...props} /> | |
| </Suspense> | |
| ); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import React from 'react'; | |
| export function Animation() { | |
| const animationByInterval = () => { | |
| // Animation using setInterval | |
| const start = Date.now(); | |
| const animatedText = document.querySelector('.myDiv'); | |
| const timer = setInterval(() => { | |
| const interval = Date.now() - start; | 
NewerOlder