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
{ | |
"$schema": "https://zed.dev/schema/themes/v0.1.0.json", | |
"name": "Vesper", | |
"author": "Rauno Freiberg", | |
"themes": [ | |
{ | |
"name": "Vesper", | |
"appearance": "dark", | |
"style": { | |
"border": "#101010", |
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 {captureException} from '@sentry/react-native'; | |
import {AuthorizeResult, refresh, RefreshResult} from 'react-native-app-auth'; | |
import {stores} from '../../stores'; | |
import {STORAGE_KEYS} from '../../utils/constants'; | |
import {EFAAS_CONFIG} from '../../utils/efaasConfig'; | |
import {saveSecureValue, getSecureValue} from '../../utils/getToken'; | |
export const TOKEN_TO_STORAGE_KEYS = { | |
access: STORAGE_KEYS.ACCESS_TOKEN, | |
refresh: STORAGE_KEYS.REFRESH_TOKEN, |
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
{ | |
"typescript.tsdk": "node_modules/typescript/lib", | |
"eslint.validate": ["javascript", "javascriptreact"], | |
"eslint.format.enable": true, | |
//breadcrumbs | |
"breadcrumbs.enabled": false, | |
//zoom | |
"window.zoomLevel": 1, |
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 {AuthorizeResult, refresh, RefreshResult} from 'react-native-app-auth'; | |
import {EFAAS_CONFIG} from './efaasConfig'; | |
import {getSecureValue, saveSecureValue} from './getToken'; | |
import {captureException} from './sentry'; | |
import {stores} from '../stores'; | |
import {STORAGE_KEYS} from './constants'; | |
export const TOKEN_TO_STORAGE_KEYS = { | |
access: STORAGE_KEYS.ACCESS_TOKEN, | |
refresh: STORAGE_KEYS.REFRESH_TOKEN, |
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, {useEffect, useRef, useState} from 'react'; | |
import {Alert, StyleSheet} from 'react-native'; | |
import {View, Text} from 'react-native-ui-lib'; | |
import {NavigationFunctionComponent} from 'react-native-navigation'; | |
import {observer} from 'mobx-react'; | |
//lottie | |
import LottieView from 'lottie-react-native'; | |
import {lotties} from '../../assets/lotties'; |
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, { useEffect } from 'react'; | |
import {StyleSheet, ImageBackground, Button} from 'react-native'; | |
import {View, Image} from 'react-native-ui-lib'; | |
import {NavigationFunctionComponent} from 'react-native-navigation'; | |
import { observer } from 'mobx-react'; | |
import { PinCodeT } from '../../components/PinComponent'; | |
//services | |
import {useServices} from '../../services'; |
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
const { | |
withAppBuildGradle, | |
withProjectBuildGradle, | |
withMainApplication, | |
withPlugins, | |
} = require('@expo/config-plugins'); | |
const withMultidexMainApplication = (config) => { | |
return withMainApplication(config, (config) => { |
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 {ApolloClient, HttpLink, from, fromPromise} from '@apollo/client'; | |
import {setContext} from '@apollo/client/link/context'; | |
import {RetryLink} from '@apollo/client/link/retry'; | |
import {onError} from '@apollo/client/link/error'; | |
import {refresh} from 'react-native-app-auth'; | |
import AsyncStorage from '@react-native-async-storage/async-storage'; | |
import {getTokenSync, getToken} from '../../utils/getToken'; | |
import {test_config, prod_config} from '../../utils/efaasConfig'; |
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
``` | |
export const en = { | |
section: { | |
app: { | |
name: 'Aiminaabee', | |
description: 'Connecting Shops', | |
description2: 'Aready have an account? ', | |
login: 'Log In', | |
privacy: `by continuing, you agree to 's aiminaabee's | |
Terms of Use and confirm that you have read |
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
//----Query-----// | |
query AuthUserShops($offset: Int!, $limit: Int!) { | |
authUserShops(offset: $offset, limit: $limit) { | |
id | |
__typename | |
name | |
avatar | |
description | |
categoryId | |
numProducts |