This file contains hidden or 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
| function ImportBankData(movements = "100", | |
| days = 7, | |
| account = [ //Your Fintoc API tokens | |
| "acc_xxxxxxxxx", | |
| "link_xxxxxxxxxxx_token_xxxxxxxxxxxxx", | |
| "sk_live_xxxxxxxx-xxxxxxxxxxxxxxxx"]) | |
| { | |
| if(movements > 100) | |
| return SpreadsheetApp.getUi().alert("ERROR: El Máximo es de 300 movimientos!"); | |
This file contains hidden or 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, { FunctionComponent } from 'react'; | |
| import { View, StyleSheet, Dimensions, Animated, Easing } from 'react-native'; | |
| import Svg, { Path, Rect } from 'react-native-svg'; | |
| const { width, height } = Dimensions.get('screen'); | |
| const AnimatedChart: FunctionComponent = () => { | |
| const AnimatedRect = Animated.createAnimatedComponent(Rect); | |
| const animatedVal = React.useRef(new Animated.Value(0)).current; |
This file contains hidden or 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 from 'react' | |
| import { useMutation, useQueryClient } from 'react-query' | |
| const insertTodo = async (todoId) => { | |
| // Send a request to API | |
| } | |
| function InsertTodo() { | |
| const [text, setText] = useState('') |
This file contains hidden or 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 from 'react' | |
| import { useQuery } from 'react-query' | |
| const fetchTodos = async () => { | |
| // Fetch todos from the API | |
| } | |
| function Todos() { | |
| const { data, isError, isLoading } = useQuery('todos', fetchTodos) |
This file contains hidden or 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 from 'react' | |
| import { useMutation, useQuery, useQueryClient } from 'react-query' | |
| const toggleLikeTweet = async (tweetId) => { | |
| // Send a request to API | |
| } | |
| function LikeTweet({ tweetId, isLiked }) { | |
| const queryClient = useQueryClient() |
This file contains hidden or 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 from 'react' | |
| import { useQuery } from 'react-query' | |
| import LikeTweet from './LikeTweet' | |
| const fetchTweets = async () => { | |
| // Fetch tweets from the API | |
| } | |
| function Tweets() { | |
| const { data, isError, isLoading } = useQuery('tweets', fetchTweets); |
This file contains hidden or 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, {FunctionComponent, useRef} from 'react'; | |
| import { | |
| Animated, | |
| Dimensions, | |
| FlatList, | |
| Image, | |
| StyleSheet, | |
| View, | |
| } from 'react-native'; |
This file contains hidden or 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 {useEffect, useState} from 'react'; | |
| import BackgroundGeolocation from '@mauron85/react-native-background-geolocation'; | |
| import Boundary, {Events} from 'react-native-boundary'; | |
| import {Platform, Alert} from 'react-native'; | |
| const useBackgroundGeolocationTracker = () => { | |
| const [state, setState] = useState({ | |
| region: null, | |
| latitude: null, | |
| longitude: null, |
This file contains hidden or 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 { View, Text, StatusBar } from "react-native"; | |
| import { MaterialCommunityIcons, AntDesign } from "@expo/vector-icons"; | |
| import { ScrollView } from "react-native-gesture-handler"; | |
| const colors = { | |
| themeColor: "#4263ec", | |
| white: "#fff", | |
| background: "#f4f6fc", | |
| greyish: "#a4a4a4", |
This file contains hidden or 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 { Module } from '@nestjs/common'; | |
| import { AppController } from './app.controller'; | |
| import { AppService } from './app.service'; | |
| import { TenancyModule } from '@app/tenancy'; | |
| import { OrderModule } from './order'; | |
| import { PaymentModule } from './payment'; | |
| import { Request } from 'express'; | |
| @Module({ | |
| imports: [TenancyModule.forRoot({ |
NewerOlder