Skip to content

Instantly share code, notes, and snippets.

@Yasir5247
Yasir5247 / vesper-dark.json
Created February 10, 2024 16:32 — forked from bdsqqq/vesper-dark.json
Vesper theme for zed.dev
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "Vesper",
"author": "Rauno Freiberg",
"themes": [
{
"name": "Vesper",
"appearance": "dark",
"style": {
"border": "#101010",
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,
{
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.validate": ["javascript", "javascriptreact"],
"eslint.format.enable": true,
//breadcrumbs
"breadcrumbs.enabled": false,
//zoom
"window.zoomLevel": 1,
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,
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';
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';
const {
withAppBuildGradle,
withProjectBuildGradle,
withMainApplication,
withPlugins,
} = require('@expo/config-plugins');
const withMultidexMainApplication = (config) => {
return withMainApplication(config, (config) => {
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';
```
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
@Yasir5247
Yasir5247 / gist:a3e6cc399dc166d877ff00cc68a1e093
Last active November 27, 2021 09:49
apollo-cache-mutations
//----Query-----//
query AuthUserShops($offset: Int!, $limit: Int!) {
authUserShops(offset: $offset, limit: $limit) {
id
__typename
name
avatar
description
categoryId
numProducts