Status | (Proposed/Accepted/Implemented/Obsolete) |
---|---|
RFC # | (GENERATED UPON APPROVAL) |
Author(s) | Your name (me@example.org), and other (you@example.org) |
Obsoletes | RFCs this replaces. Remove if none. |
Creation | MM/DD/YYYY |
Approval | (GENERATED UPON APPROVAL) |
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 Animated, { SharedValue, interpolate, useAnimatedStyle } from 'react-native-reanimated'; | |
import CaretUp from '~/assets/images/icons/CaretUp'; | |
export const CaretAnimated = ({ | |
isCollapsible, | |
hidden, | |
}: { | |
isCollapsible: SharedValue<number>; | |
hidden?: boolean; |
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 messaging, { FirebaseMessagingTypes } from '@react-native-firebase/messaging'; | |
import * as Notifications from 'expo-notifications'; | |
import { router } from 'expo-router'; | |
import React, { createContext, useContext, useEffect } from 'react'; | |
import { Linking, PermissionsAndroid, Platform } from 'react-native'; | |
import { usePlatforms } from './platformsProvider'; | |
import useLocalStorage from '@/hooks/useLocalStorage'; | |
import { StorageKeys } from '@/infra/storage/storageKeys'; |
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 { httpClient } from '@/infra/http'; | |
import { HttpStatusCode } from '@/infra/http/http-client'; | |
import { logErrorSentry } from '@/infra/monitoring/sentry'; | |
import { generateRandomUUID } from '@/utils/uuid'; | |
export const getS3PreSignedUrl = async ({ | |
token, | |
dest = 'client_destination', | |
name = generateRandomUUID(), | |
type = 'video/quicktime', |
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 { useMediaQuery } from 'usehooks-ts'; | |
// Define Tailwind's breakpoints | |
const breakpoints = { | |
sm: 640, | |
md: 768, | |
lg: 1024, | |
xl: 1280, | |
'2xl': 1536, | |
}; |
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
'use client'; | |
import { | |
AppState, | |
Auth0Provider, | |
Auth0ProviderOptions, | |
User as Auth0User, | |
AuthorizationParams, | |
useAuth0, | |
} from '@auth0/auth0-react'; |
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 { zodResolver } from '@hookform/resolvers/zod'; | |
import { Input } from './Input'; | |
import { Controller, useForm } from 'react-hook-form'; | |
import { z } from 'zod'; | |
const addressSchema = z.object({ | |
id: z.string().optional(), | |
party_id: z.string().nonempty('Party is required'), | |
address_type: z.nativeEnum(AddressType), | |
address_line_1: z.string().nonempty('First Line is required').min(3, 'First Line is too short'), |
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 chrome from 'chrome-aws-lambda'; | |
const chromeExecPaths = { | |
win32: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe', | |
linux: '/usr/bin/google-chrome', | |
darwin: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', | |
}; | |
const exePath = chromeExecPaths[process.platform]; |
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
name: Deploy to S3 (Prod) | |
on: workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: |
NewerOlder