repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Connectors.tsx
src/screens/Hub/Connectors.tsx
import apps from 'data/apps'; import React from 'react'; import {useTranslation} from 'react-i18next'; import {ScrollView} from 'react-native-gesture-handler'; import CardList from 'components/CardList'; import {styles} from './styles'; import Separator from 'components/CardList/Separator'; const data = apps.filter(ap...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Card.tsx
src/screens/Hub/Card.tsx
/* eslint-disable react-native/no-inline-styles */ import React from 'react'; import {useTranslation} from 'react-i18next'; import {Text, View} from 'react-native'; import FastImage from 'react-native-fast-image'; import {ScrollView} from 'react-native-gesture-handler'; import {Colors} from 'utils/colors'; import {SIZE...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/styles.tsx
src/screens/Hub/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, scrollview: {marginHorizontal: 16}, title: { fontSize: 35, fontFamily: 'RobotoSlab-Bold', color: Colors.foreground, marginTop: 0, marginLeft: ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/index.tsx
src/screens/Hub/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import React, {useEffect, useRef, useState} from 'react'; import {FlatList, Text, TouchableOpacity, View} from 'react-native'; import {useTranslation} from 'react-i18next'; import {styles} from './styles'; import {Colors...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Featured.tsx
src/screens/Hub/Featured.tsx
import {Linking, Platform, ScrollView} from 'react-native'; import React, {useEffect, useState} from 'react'; import apps from '../../data/apps'; import {useTranslation} from 'react-i18next'; import CardList from 'components/CardList'; import CardImage from 'components/CardImage'; import {styles} from './styles'; impor...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Shops.tsx
src/screens/Hub/Shops.tsx
/* eslint-disable react-native/no-inline-styles */ import React from 'react'; import {useTranslation} from 'react-i18next'; import {Text, View} from 'react-native'; import FastImage from 'react-native-fast-image'; import {ScrollView} from 'react-native-gesture-handler'; import {Colors} from 'utils/colors'; import {SIZE...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Defi.tsx
src/screens/Hub/Defi.tsx
import apps from 'data/apps'; import React from 'react'; import {useTranslation} from 'react-i18next'; import {ScrollView} from 'react-native-gesture-handler'; import CardList from 'components/CardList'; import {styles} from './styles'; import Separator from 'components/CardList/Separator'; const data = apps.filter(ap...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Hub/Market.tsx
src/screens/Hub/Market.tsx
import apps from 'data/apps'; import React from 'react'; import {useTranslation} from 'react-i18next'; import {ScrollView} from 'react-native-gesture-handler'; import CardList from 'components/CardList'; import {styles} from './styles'; import Separator from 'components/CardList/Separator'; const marketData = apps.fil...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Splash/index.tsx
src/screens/Splash/index.tsx
/* eslint-disable react-native/no-inline-styles */ /* eslint-disable react-hooks/exhaustive-deps */ import React, {FC, useEffect} from 'react'; import {Image, View, StyleSheet} from 'react-native'; import {useNavigation, CommonActions} from '@react-navigation/native'; import SS from 'react-native-splash-screen'; import...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Cex/index.tsx
src/screens/Cex/index.tsx
import {ScrollView, View} from 'react-native'; import React, {useEffect} from 'react'; import {useTranslation} from 'react-i18next'; import CardList from 'components/CardList'; import {styles} from './styles'; import CEX_LIST from 'data/cex'; import Separator from 'components/CardList/Separator'; import {ILogEvents, Lo...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Cex/Details.tsx
src/screens/Cex/Details.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import {View, Text, TouchableOpacity} from 'react-native'; import React, {createRef, useEffect, useState} from 'react'; import {useTranslation} from 'react-i18next'; import Icon from 'react-native-vector-icons/Ionicons';...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Cex/styles.ts
src/screens/Cex/styles.ts
import {Platform, StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; import {SIZE} from 'utils/constants'; export const styles = StyleSheet.create({ scrollview: {marginTop: 15, marginHorizontal: 0}, scrollviewDetails: {marginTop: 0, marginHorizontal: 0}, header: { backgroundColor: Colors.d...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Pin/reEnterPin.tsx
src/screens/Pin/reEnterPin.tsx
import React, {useEffect} from 'react'; import {useNavigation, CommonActions} from '@react-navigation/native'; import {StorageGetItem} from 'services/storage'; import CexService from 'services/cex'; import BanksService from 'services/banks'; import StockService from 'services/stocks'; import {STORED_MNEMONIC} from 'uti...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Pin/enterPin.tsx
src/screens/Pin/enterPin.tsx
import React, {useEffect} from 'react'; import {useNavigation, CommonActions} from '@react-navigation/native'; import {StorageGetItem} from 'services/storage'; import {STORED_MNEMONIC} from 'utils/constants'; import {clearAllAppData} from 'utils'; import CONFIG from '../../config'; import {Pincode} from '../../componen...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Pin/locked.tsx
src/screens/Pin/locked.tsx
import React, {useEffect} from 'react'; import {useNavigation, CommonActions} from '@react-navigation/native'; import {useTranslation} from 'react-i18next'; import {showMessage} from 'react-native-flash-message'; import {Pincode} from '../../components/pincode'; const LockedScreen = () => { const navigation = useNav...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Pin/setPin.tsx
src/screens/Pin/setPin.tsx
import React, {useEffect} from 'react'; import {useNavigation, CommonActions} from '@react-navigation/native'; import {Pincode} from '../../components/pincode'; import {DeviceEventEmitter} from 'react-native'; import {WalletGenerator} from '@coingrig/core'; import {showMessage} from 'react-native-flash-message'; import...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/SendReceive/styles.tsx
src/screens/SendReceive/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ loadingView: { justifyContent: 'center', alignContent: 'center', alignItems: 'center', alignSelf: 'center', flex: 1, }, segment: { backgroundColor: Colors.darker, ma...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/SendReceive/index.tsx
src/screens/SendReceive/index.tsx
import React, {useEffect, useState} from 'react'; import {View, ScrollView, ActivityIndicator} from 'react-native'; import {useNavigation} from '@react-navigation/native'; import {ReceiveContainer} from 'components/Receive'; import {SendContainer} from 'components/Send'; import {WalletStore} from 'stores/wallet'; impor...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Summary/index.tsx
src/screens/Summary/index.tsx
/* eslint-disable react-native/no-inline-styles */ import {ScrollView, Text, View} from 'react-native'; import React, {useMemo} from 'react'; import {PieChart} from 'react-native-chart-kit'; import {SIZE} from 'utils/constants'; import {WalletStore} from 'stores/wallet'; import {CexStore} from 'stores/cexStore'; import...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Summary/styles.ts
src/screens/Summary/styles.ts
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, item: { flexDirection: 'row', justifyContent: 'space-between', marginTop: 20, }, itemtext: {color: Colors.foreground}, textr: {color: Colors.foreg...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Wallet/styles.tsx
src/screens/Wallet/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, svg: { height: 200, width: '100%', margin: 0, bottom: 0, position: 'absolute', zIndex: -2, borderRadius: 20, }, pills: { backgro...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Wallet/index.tsx
src/screens/Wallet/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ import React, {useEffect, useState, useCallback, createRef} from 'react'; import { View, Text, Linking, TouchableOpacity, ScrollView, RefreshControl, Alert, TextInput, } from 'react-native'; import {useNavigation} from '@react-navigation/native'; import {...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Trade/index.tsx
src/screens/Trade/index.tsx
import {ScrollView} from 'react-native'; import React, {useEffect, useState} from 'react'; import {Segment, SegmentedControl} from 'react-native-resegmented-control'; import {Colors} from 'utils/colors'; import {styles} from './styles'; import {useTranslation} from 'react-i18next'; import SellComponent from 'components...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Trade/styles.ts
src/screens/Trade/styles.ts
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ loadingView: { justifyContent: 'center', alignContent: 'center', alignItems: 'center', alignSelf: 'center', flex: 1, }, segment: { backgroundColor: Colors.darker, ma...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Web/index.tsx
src/screens/Web/index.tsx
import React from 'react'; import {WebView} from 'react-native-webview'; export default function WebScreen({route}) { return <WebView source={{uri: route.params.url}} startInLoadingState />; }
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/NFTDetails.tsx
src/screens/Portfolio/NFTDetails.tsx
/* eslint-disable react-native/no-inline-styles */ import React from 'react'; import {View, Text, Image, TouchableOpacity} from 'react-native'; import {useTranslation} from 'react-i18next'; import Icon from 'react-native-vector-icons/Ionicons'; import ParallaxScrollView from 'react-native-parallax-scroll-view'; import ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/styles.tsx
src/screens/Portfolio/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, change: { fontSize: 18, fontFamily: 'RobotoSlab-Bold', color: '#756156', }, headerShadow: { backgroundColor: Colors.background, zIndex: 10, ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/index.tsx
src/screens/Portfolio/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import React, {useEffect, useRef, useState} from 'react'; import {Text, View, TouchableOpacity, ScrollView, FlatList} from 'react-native'; import {useTranslation} from 'react-i18next'; import {Colors} from 'utils/colors'...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/NFTs/index.tsx
src/screens/Portfolio/NFTs/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import {useNavigation} from '@react-navigation/native'; import {observer} from 'mobx-react-lite'; import React, {useEffect, useState} from 'react'; import {useTranslation} from 'react-i18next'; import NFTCard from 'compo...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/Stocks/index.tsx
src/screens/Portfolio/Stocks/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import {useNavigation} from '@react-navigation/native'; import {observer} from 'mobx-react-lite'; import React, {useEffect, createRef, useState} from 'react'; import { Alert, FlatList, Text, TextInput, Touchabl...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/Crypto/index.tsx
src/screens/Portfolio/Crypto/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import {useNavigation} from '@react-navigation/native'; import {observer} from 'mobx-react-lite'; import React, {useEffect} from 'react'; import {useTranslation} from 'react-i18next'; import {FlatList, Text, TouchableOpa...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/Fiat/index.tsx
src/screens/Portfolio/Fiat/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import {useNavigation} from '@react-navigation/native'; import {observer} from 'mobx-react-lite'; import React, {createRef, useEffect, useState} from 'react'; import { Alert, FlatList, Text, TextInput, Touchabl...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/Banking/index.tsx
src/screens/Portfolio/Banking/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import {useNavigation} from '@react-navigation/native'; import {observer} from 'mobx-react-lite'; import React, {createRef, useEffect, useState} from 'react'; import { Alert, FlatList, Text, TextInput, Touchabl...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Portfolio/CEXs/index.tsx
src/screens/Portfolio/CEXs/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ /* eslint-disable react-native/no-inline-styles */ import {useNavigation} from '@react-navigation/native'; import {observer} from 'mobx-react-lite'; import React, {useEffect} from 'react'; import {FlatList, Text, TouchableOpacity, View} from 'react-native'; import Icon f...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Swap/index.tsx
src/screens/Swap/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ import React, {useEffect, useState} from 'react'; import { View, Text, ScrollView, TouchableOpacity, TextInput, FlatList, Keyboard, KeyboardAvoidingView, Platform, Alert, } from 'react-native'; import Icon from 'react-native-vector-icons/Ionicons'; im...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Swap/style.tsx
src/screens/Swap/style.tsx
import {StyleSheet, Dimensions, Platform} from 'react-native'; import {Colors} from 'utils/colors'; import {SIZE} from 'utils/constants'; const windowWidth = Dimensions.get('window').width; export const styles = StyleSheet.create({ container: { flex: 1, }, swapContainer: { marginTop: 10, }, swapItem...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Fiat/index.tsx
src/screens/Fiat/index.tsx
import {View, Text, FlatList, TouchableOpacity, TextInput} from 'react-native'; import React, {createRef, useState} from 'react'; import {Colors} from 'utils/colors'; import {useNavigation} from '@react-navigation/native'; import {SmallButton} from 'components/smallButton'; import ActionSheet from 'react-native-actions...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Fiat/styles.ts
src/screens/Fiat/styles.ts
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ editContainer: { // height: 300, margin: 10, backgroundColor: Colors.background, }, editTitle: { fontSize: 20, textAlign: 'center', marginTop: 25, marginBottom: 20, ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Banking/SelectCountry.tsx
src/screens/Banking/SelectCountry.tsx
/* eslint-disable react-native/no-inline-styles */ import {View, Text, FlatList, TouchableOpacity} from 'react-native'; import React from 'react'; import COUNTRIES from 'data/countries'; import FastImage from 'react-native-fast-image'; import endpoints from 'utils/endpoints'; import {Colors} from 'utils/colors'; import...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Banking/styles.ts
src/screens/Banking/styles.ts
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Banking/AddBank.tsx
src/screens/Banking/AddBank.tsx
/* eslint-disable react-hooks/exhaustive-deps */ import { View, Text, FlatList, TouchableOpacity, Linking, DeviceEventEmitter, } from 'react-native'; import React, {useEffect, useState} from 'react'; import FastImage from 'react-native-fast-image'; import BanksService from 'services/banks'; import {Colors} ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Search/index.tsx
src/screens/Search/index.tsx
/* eslint-disable react-native/no-inline-styles */ import React, {useEffect, useState} from 'react'; import {View, Text, TextInput, TouchableOpacity} from 'react-native'; import {SafeAreaView} from 'react-native-safe-area-context'; import BigList from 'react-native-big-list'; import {useNavigation} from '@react-navigat...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Search/styles.ts
src/screens/Search/styles.ts
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ footer: { justifyContent: 'center', alignItems: 'center', marginTop: 50, }, container: { flex: 1, // marginTop: 15, }, customBtn: { backgroundColor: Colors.darker, ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/WalletSetup/importWallet.tsx
src/screens/WalletSetup/importWallet.tsx
import * as React from 'react'; const bip39 = require('bip39'); import {useTranslation} from 'react-i18next'; import { Text, View, StyleSheet, ScrollView, DeviceEventEmitter, TextInput, TouchableOpacity, } from 'react-native'; import {useNavigation, CommonActions} from '@react-navigation/native'; import {...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/WalletSetup/validateWallet.tsx
src/screens/WalletSetup/validateWallet.tsx
import * as React from 'react'; import {useTranslation} from 'react-i18next'; import {Text, View, StyleSheet, ScrollView} from 'react-native'; import {useNavigation, CommonActions} from '@react-navigation/native'; import {SafeAreaView} from 'react-native-safe-area-context'; import Clipboard from '@react-native-clipboar...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/WalletSetup/generateWallet.tsx
src/screens/WalletSetup/generateWallet.tsx
import * as React from 'react'; import {useTranslation} from 'react-i18next'; import {Text, View, StyleSheet, ScrollView} from 'react-native'; import {SafeAreaView} from 'react-native-safe-area-context'; import Clipboard from '@react-native-clipboard/clipboard'; import {showMessage} from 'react-native-flash-message'; i...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Language/styles.tsx
src/screens/Language/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, scrollview: { flexGrow: 1, marginHorizontal: 15, paddingTop: 20, }, paragraph: { textAlign: 'center', marginVertical: 20, marginHorizont...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Language/index.tsx
src/screens/Language/index.tsx
import React, {useEffect} from 'react'; import {Text, View, ScrollView, TouchableOpacity, Image} from 'react-native'; import {useTranslation} from 'react-i18next'; import {useNavigation} from '@react-navigation/native'; import {styles} from './styles'; import {StorageSetItem} from 'services/storage'; export default fu...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/SearchStocks/index.tsx
src/screens/SearchStocks/index.tsx
/* eslint-disable react-native/no-inline-styles */ import React, {useState} from 'react'; import {View, Text, TextInput, TouchableOpacity, Alert} from 'react-native'; import {SafeAreaView} from 'react-native-safe-area-context'; import BigList from 'react-native-big-list'; import {useNavigation} from '@react-navigation/...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/SearchStocks/styles.ts
src/screens/SearchStocks/styles.ts
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ footer: { justifyContent: 'center', alignItems: 'center', marginTop: 50, }, container: { flex: 1, }, customBtn: { backgroundColor: Colors.darker, borderWidth: 0, }...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Walletconnect/styles.tsx
src/screens/Walletconnect/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; import {SIZE} from 'utils/constants'; export const styles = StyleSheet.create({ container: { flex: 1, }, scrollview: { flexGrow: 1, // marginHorizontal: 15, paddingTop: 0, }, content: { flex: 1, justifyConte...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Walletconnect/index.tsx
src/screens/Walletconnect/index.tsx
/* eslint-disable react-native/no-inline-styles */ import React, {useEffect, createRef} from 'react'; import {Text, View, ScrollView, Image, ActivityIndicator} from 'react-native'; import ActionSheet from 'react-native-actions-sheet'; import QRCodeScanner from 'react-native-qrcode-scanner'; import * as Animatable from ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/History/index.tsx
src/screens/History/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ import {View, Text, FlatList, TouchableOpacity} from 'react-native'; import React, {useEffect, useState} from 'react'; import {CryptoService} from 'services/crypto'; import {WalletStore} from 'stores/wallet'; import {Colors} from 'utils/colors'; import FastImage from 're...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/History/Referral.tsx
src/screens/History/Referral.tsx
/* eslint-disable react-hooks/exhaustive-deps */ import {View, Text, FlatList, TouchableOpacity} from 'react-native'; import React, {useEffect, useState} from 'react'; import {CryptoService} from 'services/crypto'; import {Colors} from 'utils/colors'; import FastImage from 'react-native-fast-image'; import {formatTime,...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/History/style.ts
src/screens/History/style.ts
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Market/styles.tsx
src/screens/Market/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, change: { fontSize: 18, fontFamily: 'RobotoSlab-Bold', color: '#756156', }, textInputStyle: { color: 'gray', marginLeft: 15, fontSize: 1...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Market/index.tsx
src/screens/Market/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ import React, {useCallback, useEffect, useState} from 'react'; import { Text, View, FlatList, TouchableOpacity, RefreshControl, } from 'react-native'; import {useNavigation} from '@react-navigation/native'; import {useTranslation} from 'react-i18next'; import M...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/CoinDetails/styles.tsx
src/screens/CoinDetails/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, item: { flexDirection: 'row', justifyContent: 'space-between', marginTop: 20, }, itemtext: {color: Colors.foreground}, textr: {color: Colors.foreg...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/CoinDetails/index.tsx
src/screens/CoinDetails/index.tsx
/* eslint-disable react-hooks/exhaustive-deps */ import React, {createRef, useCallback, useEffect, useState} from 'react'; import { View, ScrollView, Text, RefreshControl, FlatList, Linking, TouchableOpacity, } from 'react-native'; import {useNavigation} from '@react-navigation/native'; import Icon from '...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Start/styles.tsx
src/screens/Start/styles.tsx
import {StyleSheet} from 'react-native'; export const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', justifyContent: 'center', }, waves: { height: '70%', width: '150%', margin: 0, bottom: 0, position: 'absolute', zIndex: -5, }, waves2: { heigh...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Start/index.tsx
src/screens/Start/index.tsx
import React, {useEffect} from 'react'; import {Image, Text, View} from 'react-native'; import {useNavigation} from '@react-navigation/native'; import {BigButton} from '../../components/bigButton'; import {useTranslation} from 'react-i18next'; import * as Animatable from 'react-native-animatable'; import Clipboard from...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/CustomToken/styles.tsx
src/screens/CustomToken/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ maincontainer: { flexDirection: 'column', justifyContent: 'space-around', }, container: { justifyContent: 'space-between', borderRadius: 10, marginBottom: 25, paddingBot...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/CustomToken/index.tsx
src/screens/CustomToken/index.tsx
import React, {useEffect} from 'react'; import { View, Text, ScrollView, TouchableOpacity, TextInput, ActivityIndicator, Alert, } from 'react-native'; import {showMessage} from 'react-native-flash-message'; import Icon from 'react-native-vector-icons/MaterialIcons'; import {useNavigation} from '@react-nav...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Settings/styles.tsx
src/screens/Settings/styles.tsx
import {StyleSheet} from 'react-native'; import {Colors} from 'utils/colors'; export const styles = StyleSheet.create({ container: { flex: 1, }, scrollview: { flexGrow: 1, marginHorizontal: 15, paddingTop: 20, paddingBottom: 40, }, paragraph: { textAlign: 'center', marginVertical:...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/screens/Settings/index.tsx
src/screens/Settings/index.tsx
import React, {useEffect, createRef} from 'react'; import { Text, View, ScrollView, TouchableOpacity, Alert, Switch, Platform, Linking, } from 'react-native'; import ActionSheet from 'react-native-actions-sheet'; import Clipboard from '@react-native-clipboard/clipboard'; import {showMessage} from 'react...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/data/cex.ts
src/data/cex.ts
const CEX_LIST = [ { id: 'binance', title: 'Binance', screen: 'CexDetails', params: true, image: null, headerImage: 'https://assets.coingrig.com/images/cex/binance.jpg?new', description: 'portfolio.cexs.connector', qr: true, enable: true, module: true, icon: 'https://assets...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/data/categories.ts
src/data/categories.ts
import Card from 'screens/Hub/Card'; import DApps from 'screens/Hub/DApps'; import Defi from 'screens/Hub/Defi'; // import Games from 'screens/Hub/Games'; import Shops from 'screens/Hub/Shops'; import Tools from 'screens/Hub/Tools'; import Featured from '../screens/Hub/Featured'; import MarketTab from '../screens/Hub/M...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/data/countries.ts
src/data/countries.ts
const COUNTRIES = [ { name: 'Austria', code: 'at', enable: true, }, { name: 'Belgium', code: 'be', enable: true, }, { name: 'Bulgaria', code: 'bg', enable: true, }, { name: 'Canada', code: 'ca', enable: false, }, { name: 'Croatia', code: 'hr', ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/data/portfolios.ts
src/data/portfolios.ts
import Banking from 'screens/Portfolio/Banking'; import CEXs from 'screens/Portfolio/CEXs'; import Crypto from 'screens/Portfolio/Crypto'; import Fiat from 'screens/Portfolio/Fiat'; import NFTs from 'screens/Portfolio/NFTs'; import Stocks from 'screens/Portfolio/Stocks'; const Portfolios = [ { title: 'Crypto', ...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
coingrig/coingrig-wallet
https://github.com/coingrig/coingrig-wallet/blob/0589c28b60370520e57db690c2f59437460ad7e7/src/data/apps.ts
src/data/apps.ts
const apps = [ { title: 'hub.swap', screen: 'SwapScreen', image: require('../assets/hub/swap.png'), keywords: 'swap, schimb, exchange', categories: ['defi', 'featured', 'home'], description: 'hub.swap.description', enable: true, module: true, }, { title: 'market.market', sc...
typescript
MIT
0589c28b60370520e57db690c2f59437460ad7e7
2026-01-05T05:01:02.591010Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/nestjs-form-data.module.ts
src/nestjs-form-data.module.ts
import { DynamicModule, Module, Provider } from '@nestjs/common'; import { FormDataInterceptor } from './interceptors/FormData.interceptor'; import { FormDataInterceptorConfig, NestjsFormDataAsyncOptions, NestjsFormDataConfigFactory } from './interfaces'; import { GLOBAL_CONFIG_INJECT_TOKEN } from './config/global-conf...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/index.ts
src/index.ts
export * from './nestjs-form-data.module'; export * from './decorators'; export * from './classes/storage'; export * from './interfaces';
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/index.ts
src/decorators/index.ts
export * from './form-data'; export * from './validation/is-file.validator'; export * from './validation/is-files.validator'; export * from './validation/max-file-size.validator'; export * from './validation/min-file-size.validator'; export * from './validation/has-mime-type.validator'; export * from './validation/has-...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/form-data.ts
src/decorators/form-data.ts
import { FormDataInterceptorConfig } from '../interfaces/FormDataInterceptorConfig'; import { applyDecorators, SetMetadata, UseInterceptors } from '@nestjs/common'; import { FormDataInterceptor } from '../interceptors/FormData.interceptor'; export const FORM_DATA_REQUEST_METADATA_KEY: Symbol = Symbol(); export funct...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/validation/has-mime-type.validator.ts
src/decorators/validation/has-mime-type.validator.ts
import { ValidateBy, ValidationArguments, ValidationOptions } from 'class-validator'; import { StoredFile } from '../../classes/storage/StoredFile'; import { isFile } from './is-file.validator'; import { toArray } from '../../helpers/toArray'; import { MetaFieldSource, MetaSource } from '../../interfaces/MetaFieldSourc...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/validation/is-files.validator.ts
src/decorators/validation/is-files.validator.ts
import { ValidationOptions } from 'class-validator'; import { applyDecorators } from '@nestjs/common'; import { IsFile } from './is-file.validator'; export function IsFiles(validationOptions?: ValidationOptions): PropertyDecorator { return applyDecorators( IsFile(Object.assign(validationOptions || {}, { each: tr...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/validation/is-file.validator.ts
src/decorators/validation/is-file.validator.ts
import { IsArray, ValidateBy, ValidationArguments, ValidationOptions } from 'class-validator'; import { StoredFile } from '../../classes/storage/StoredFile'; import { applyDecorators } from '@nestjs/common'; import { Transform, TransformFnParams } from 'class-transformer'; export function isFile(value: any): boolean ...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/validation/min-file-size.validator.ts
src/decorators/validation/min-file-size.validator.ts
import { ValidateBy, ValidationArguments, ValidationOptions } from 'class-validator'; import { StoredFile } from '../../classes/storage/StoredFile'; import { isFile } from './is-file.validator'; export function MinFileSize(minSizeBytes: number, validationOptions?: ValidationOptions) { return ValidateBy({ name: ...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/validation/has-extension.validator.ts
src/decorators/validation/has-extension.validator.ts
import { ValidateBy, ValidationArguments, ValidationOptions } from 'class-validator'; import { StoredFile } from '../../classes/storage/StoredFile'; import { isFile } from './is-file.validator'; import { MetaFieldSource, MetaSource } from '../../interfaces/MetaFieldSource'; import { toArray } from '../../helpers/toArra...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/decorators/validation/max-file-size.validator.ts
src/decorators/validation/max-file-size.validator.ts
import { ValidateBy, ValidationArguments, ValidationOptions } from 'class-validator'; import { StoredFile } from '../../classes/storage/StoredFile'; import { isFile } from './is-file.validator'; export function MaxFileSize(maxSizeBytes: number, validationOptions?: ValidationOptions): PropertyDecorator { return Vali...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/helpers/check-config.ts
src/helpers/check-config.ts
import { FormDataInterceptorConfig } from '../interfaces/FormDataInterceptorConfig'; import { DEFAULT_CONFIG } from '../config/default.config'; export function checkConfig(config: FormDataInterceptorConfig, defaults: FormDataInterceptorConfig = DEFAULT_CONFIG): FormDataInterceptorConfig { config = Object.assign({}, ...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/helpers/toArray.ts
src/helpers/toArray.ts
export function toArray<T>(items: T | T[]): T[] { return (Array.isArray(items)) ? items : [items]; }
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/interfaces/NestjsFormDataConfigFactory.ts
src/interfaces/NestjsFormDataConfigFactory.ts
import { FormDataInterceptorConfig } from './FormDataInterceptorConfig'; export interface NestjsFormDataConfigFactory { configAsync(): Promise<FormDataInterceptorConfig> | FormDataInterceptorConfig; }
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/interfaces/FormDataInterceptorConfig.ts
src/interfaces/FormDataInterceptorConfig.ts
import { StoredFile } from '../classes/storage'; import { Type } from '@nestjs/common'; export interface FormDataInterceptorConfig { storage?: Type<StoredFile>, fileSystemStoragePath?: string; /** * @deprecated * Use `cleanupAfterSuccessHandle` and `cleanupAfterFailedHandle` instead; */ autoDeleteFil...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/interfaces/ParticleStoredFile.ts
src/interfaces/ParticleStoredFile.ts
export interface ParticleStoredFile { mimetype: string; encoding: string; originalName: string; }
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/interfaces/MetaFieldSource.ts
src/interfaces/MetaFieldSource.ts
export interface MetaFieldSource { source: MetaSource; value: string; } export enum MetaSource { bufferMagicNumber = 'bufferMagicNumber', contentType = 'contentType', }
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/interfaces/index.ts
src/interfaces/index.ts
export * from './FormDataInterceptorConfig'; export * from './NestjsFormDataAsyncOptions'; export * from './NestjsFormDataConfigFactory'; export * from './MetaFieldSource';
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/interfaces/NestjsFormDataAsyncOptions.ts
src/interfaces/NestjsFormDataAsyncOptions.ts
import { FormDataInterceptorConfig } from './FormDataInterceptorConfig'; import { ModuleMetadata, Type } from '@nestjs/common'; import { NestjsFormDataConfigFactory } from './NestjsFormDataConfigFactory'; export interface NestjsFormDataAsyncOptions extends Pick<ModuleMetadata, 'imports'> { useExisting?: Type<NestjsF...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/config/global-config-inject-token.config.ts
src/config/global-config-inject-token.config.ts
export const GLOBAL_CONFIG_INJECT_TOKEN: symbol = Symbol(`Inject token for NestJsFormData global configuration object`);
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/config/default.config.ts
src/config/default.config.ts
import { FormDataInterceptorConfig } from '../interfaces/FormDataInterceptorConfig'; import { MemoryStoredFile } from '../classes/storage/MemoryStoredFile'; export const DEFAULT_CONFIG: FormDataInterceptorConfig = { storage: MemoryStoredFile, cleanupAfterSuccessHandle: true, cleanupAfterFailedHandle: true, fil...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/interceptors/FormData.interceptor.ts
src/interceptors/FormData.interceptor.ts
import { CallHandler, ExecutionContext, Inject, Injectable, NestInterceptor, } from '@nestjs/common'; import { Reflector } from '@nestjs/core'; import { FORM_DATA_REQUEST_METADATA_KEY } from '../decorators/form-data'; import { FormDataInterceptorConfig } from '../interfaces/FormDataInterceptorConfig'; import ...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/classes/FormReader.ts
src/classes/FormReader.ts
import { FormDataInterceptorConfig } from '../interfaces'; import busboy from 'busboy'; import appendField from '../libs/node-append-field'; import { BadRequestException } from '@nestjs/common'; import { StoredFile } from './storage'; import FileType from 'file-type'; import { Readable as ReadableStream } from 'stream'...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/classes/storage/FileSystemStoredFile.ts
src/classes/storage/FileSystemStoredFile.ts
import { StoredFile } from './StoredFile'; import mkdirp from 'mkdirp'; import path, { ParsedPath } from 'path'; import * as fs from 'fs'; import { FormDataInterceptorConfig } from '../../interfaces/FormDataInterceptorConfig'; import { uid } from 'uid'; import { Readable as ReadableStream } from 'stream'; import { Part...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/classes/storage/MemoryStoredFile.ts
src/classes/storage/MemoryStoredFile.ts
import { StoredFile } from './StoredFile'; import concat from 'concat-stream'; import { FormDataInterceptorConfig } from '../../interfaces/FormDataInterceptorConfig'; import { Readable as ReadableStream } from 'stream'; import { ParticleStoredFile } from '../../interfaces/ParticleStoredFile'; import { Buffer } from 'bu...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/classes/storage/StoredFile.ts
src/classes/storage/StoredFile.ts
import { ParticleStoredFile } from '../../interfaces/ParticleStoredFile'; import { FormDataInterceptorConfig, MetaFieldSource, MetaSource } from '../../interfaces'; import { Readable as ReadableStream } from 'stream'; import { FileTypeResult } from 'file-type/core'; import path from 'path'; export abstract class Store...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/classes/storage/index.ts
src/classes/storage/index.ts
export * from './FileSystemStoredFile'; export * from './MemoryStoredFile'; export * from './StoredFile';
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/libs/node-append-field/parse-path.ts
src/libs/node-append-field/parse-path.ts
const reFirstKey = /^[^[]*/ const reDigitPath = /^\[(\d+)\]/ const reNormalPath = /^\[([^\]]+)\]/ export default function parsePath (key) { function failure () { return [{ type: 'object', key, last: true }] } const firstKey = reFirstKey.exec(key)[0] if (!firstKey) return failure() const len = key.lengt...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/libs/node-append-field/set-value.ts
src/libs/node-append-field/set-value.ts
import { StoredFile } from '../../classes/storage'; function valueType (value) { if (value === undefined) return 'undefined' if (Array.isArray(value)) return 'array' if (typeof value === 'object') { if(value instanceof StoredFile){ return 'file' } else { return 'object' } } return 'sc...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/src/libs/node-append-field/index.ts
src/libs/node-append-field/index.ts
import parsePath from './parse-path' import setValue from './set-value' export default function appendField (store, key, value) { const steps = parsePath(key) steps.reduce((context, step) => { return setValue(context, step, context[step.key], value) }, store) }
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false
dmitriy-nz/nestjs-form-data
https://github.com/dmitriy-nz/nestjs-form-data/blob/d06e07aaa6fe64eb523286033583a9039f9b22eb/test/auto-delete.e2e-spec.ts
test/auto-delete.e2e-spec.ts
import { INestApplication } from '@nestjs/common'; import { NestFastifyApplication } from '@nestjs/platform-fastify'; import request from 'supertest'; import path from 'path'; import { createTestModule } from './helpers/create-test-module'; import * as fs from 'fs'; describe('Express - Auto delete', () => { let app:...
typescript
MIT
d06e07aaa6fe64eb523286033583a9039f9b22eb
2026-01-05T05:01:06.610027Z
false