Skip to content

Instantly share code, notes, and snippets.

Privacy Policy

engagingenterprises.co built the POSCheckout app as a Free app. This SERVICE is provided by engagingenterprises.co at no cost and is intended for use as is.

This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.

If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at POSCheckout unless otherwise defined in this Privacy Policy.

import {merge, cloneDeep} from 'lodash'
export type DeepPartial<T> = T extends object
? {[K in keyof T]?: DeepPartial<T[K]>}
: T
export function mergeRegardType<T>(object: T, source: DeepPartial<T>): T {
return merge(cloneDeep(object), source)
}
"devDependencies": {
"@graphql-codegen/cli": "1.19.4",
"@graphql-codegen/typescript": "1.19.0",
"@graphql-codegen/typescript-operations": "1.17.12",
"@graphql-codegen/typescript-react-apollo": "2.2.1",
"@graphql-codegen/typescript-resolvers": "1.18.0",
}
"scripts": {
"build": "graphql-codegen",
"postinstall": "graphql-codegen",
}
schema:
- ../order-list-backend/src/**/*.graphql
- ./src/**/*.graphql
documents: 'src/**/*.graphql'
generates:
graphql_api_build/types_and_hooks.tsx:
plugins:
- typescript
- typescript-operations
- typescript-react-apollo
const call = async <T>(fn: Promise<T> | (() => T)): Promise<void> => {
if (typeof fn === 'function') {
fn()
} else {
await fn
}
}
:set relativenumber
:set showmode
:set surround
:set dialogescape=on
:set ignorecase
nmap ; :
set clipboard+=unnamed
nmap fa :action GotoAction<CR>
import React, { useEffect, useState } from 'react';
import { FlatList, Text, View, StyleSheet, Modal, TouchableOpacity } from 'react-native';
import AddModal from '../components/AddModal';
import LoadingIndicator from '../components/LoadingIndicator'
import BrowserItem from '../components/BrowserItem'
import colors from '../config/colors';
function Browsers() {
function Browsers({url = 'https://google.com/myData.json'}) {
const URL = url
...
import React, {useEffect, useState} from 'react'
import {FlatList, StyleSheet, View} from 'react-native'
import AddModal from '../components/AddModal'
import LoadingIndicator from '../components/LoadingIndicator'
import BrowserItem from '../components/BrowserItem'
const styles = StyleSheet.create({
container: {
justifyContent: 'center',