This file contains 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
[ | |
{ | |
"club_id": 1, | |
"latitude": "51.966475", | |
"longitude": "7.655268" | |
}, | |
{ | |
"club_id": 2, | |
"latitude": "48.057861", | |
"longitude": "8.521389" |
This file contains 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, {useCallback, useLayoutEffect, useState} from 'react'; | |
import WebView from 'react-native-webview'; | |
import {StyleSheet, View, ActivityIndicator} from 'react-native'; | |
import {USER_AGENT} from '../../environment'; | |
import {useLoadWithRequest} from '../../hooks/useLoadWithRequest'; | |
import BackButton from '../../components/BackButton'; | |
import {HeaderButtons} from 'react-navigation-header-buttons'; | |
import {useNavigationState} from '@react-navigation/native'; | |
import ShareButton from '../../components/ShareButton'; | |
import Error from '../../components/Error'; |
This file contains 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 express, { Request, Response, Router } from "express"; | |
import http from "http"; | |
import cors from "cors"; | |
import orgRoutes from "./routes/orgs"; | |
import userRoutes from "./routes/users"; | |
import audioRoutes, { PASSIVE_AUDIO_UPLOAD_PATH } from "./routes/audio"; | |
import promptRoutes from "./routes/audio"; | |
import passiveIntervalRoutes from "./routes/passiveInterval"; | |
import batchRoutes from "./routes/batch"; | |
import externalRoutes from "./routes/external"; |
This file contains 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
{Object.keys(groupInfoField.fields).map( | |
(fieldKey, index) => { | |
const personalInfoField: PersonalInfoField = ( | |
groupInfoField.fields as any | |
)[fieldKey]; | |
let fieldOptionSource = | |
fieldKey === 'BillingState' | |
? billingStatePickList | |
: fieldKey === 'ShippingState' |
This file contains 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, {FC, useCallback} from 'react'; | |
import { | |
GestureResponderEvent, | |
ScrollViewProps, | |
useWindowDimensions, | |
StyleSheet, | |
} from 'react-native'; | |
import {useResizeMode} from 'react-native-keyboard-controller'; | |
import Reanimated, { | |
interpolate, |
This file contains 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
/* eslint-disable jest/no-jasmine-globals */ | |
/* eslint-disable no-undef */ | |
// eslint-disable-next-line import/no-extraneous-dependencies | |
import wd from 'wd'; | |
import drivers from './drivers'; | |
jest.setTimeout(300000); | |
const PORT = 4723; |
This file contains 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 * as React from 'react'; | |
import { | |
Text, | |
View, | |
StyleSheet, | |
StatusBar, | |
TouchableOpacity, | |
} from 'react-native'; | |
import PagerView from 'react-native-pager-view'; | |
import Animated, { |
This file contains 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 {Message as MessageClass} from '../../interfaces&classes/message-classes'; | |
import {store} from '../../store'; | |
import { | |
FETCH_FILTER_MESSAGES, | |
GET_LOCAL_DB_DATA, | |
S_UPDATE_UNREADS, | |
TABLE_SPINNER, | |
} from '../../helpers/constants'; | |
import {IObjectNumber} from '../../interfaces&classes/common'; | |
import {sequenceMessages} from '../../helpers/helpers'; |
This file contains 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 {openDatabase} from 'react-native-sqlite-storage'; | |
import {RootState, store} from '../store'; | |
import { | |
ADD_MESSAGE, | |
GET_LOCAL_DB_DATA, | |
S_UPDATE_UNREADS, | |
TABLE_SPINNER, | |
} from '../helpers/constants'; | |
import {Message} from '../interfaces&classes/message-classes'; | |
import {postProcessMessages, sequenceMessages} from '../helpers/helpers'; |
This file contains 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 { useCallback, useEffect, useMemo, useRef, useState } from 'react'; | |
import { useFocusEffect, useRoute } from '@react-navigation/native'; | |
import { useV1OtpObtainSignUpWithEmail } from 'api/generated-hooks/otp/otp'; | |
import { | |
formatDateToSend, | |
formatSSNForBackend, | |
parseDateFromInput, | |
} from 'api/helpers'; | |
import { | |
useAuth, |
NewerOlder