Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arthureberledev/qriginals
/ functions
Functions
167 in github.com/arthureberledev/qriginals
⨍
Functions
167
◇
Types & classes
9
↓ 67 callers
Function
raise
(status: number, message: string)
lib/api/utils.ts:24
↓ 35 callers
Function
cn
(...inputs: ClassNameValue[])
lib/helpers/functions.ts:23
↓ 30 callers
Function
handleError
(error: unknown)
lib/api/utils.ts:32
↓ 12 callers
Function
getUser
(req: Request)
lib/edge/supabase.ts:14
↓ 11 callers
Function
createEdgeHandlerClient
(req: Request)
lib/edge/supabase.ts:9
↓ 9 callers
Function
getURL
()
lib/helpers/functions.ts:11
↓ 8 callers
Function
formatToDateTime
(secs: number)
lib/helpers/functions.ts:5
↓ 8 callers
Function
handleSuccess
(message: string, options?: { duration: number })
lib/client/utils.ts:34
↓ 7 callers
Function
getUserUploadUrl
(params: { userId: string; creationId: string; variant: "original" | "thumbnail"; })
lib/server/supabase-anon.ts:73
↓ 5 callers
Function
getCreation
( creationId: string )
lib/server/supabase-anon.ts:38
↓ 4 callers
Function
isArray
(value: T | T[])
lib/helpers/functions.ts:31
↓ 3 callers
Function
getUserData
()
lib/server/supabase.ts:56
↓ 2 callers
Function
getCreations
(params?: { filterByUserId?: string; limit?: number; orderBy?: "created_at" | "likes_count"; })
lib/server/supabase-anon.ts:19
↓ 2 callers
Function
getPublicUserData
(params: { userId: string })
lib/server/supabase-anon.ts:56
↓ 2 callers
Function
getUserLikes
()
lib/server/supabase.ts:12
↓ 2 callers
Function
manageSubscriptionStatusChange
( subscriptionId: string, customerId: string, createAction = false )
lib/api/supabase.ts:136
↓ 2 callers
Function
sleep
(ms: number)
lib/helpers/functions.ts:27
↓ 2 callers
Function
usePredictionContext
()
app/(main)/create/[slug]/context.tsx:57
↓ 1 callers
Function
copyBillingDetailsToCustomer
( uuid: string, payment_method: Stripe.PaymentMethod )
lib/api/supabase.ts:117
↓ 1 callers
Function
createOrRetrieveCustomer
({ email, uuid, }: { email: string; uuid: string; })
lib/api/supabase.ts:82
↓ 1 callers
Function
formatSecondsToTime
(totalSeconds: number)
hooks/use-elapsed-time.ts:3
↓ 1 callers
Function
formatToCurrency
(currency: string, amount: number)
app/(main)/credits/tiers.tsx:24
↓ 1 callers
Function
getActiveProductsWithPrices
()
lib/server/supabase.ts:104
↓ 1 callers
Function
getGalleryItems
(sorting: "new" | "most-popular" | undefined)
app/(main)/gallery/[[...slug]]/page.tsx:12
↓ 1 callers
Function
getSession
()
lib/server/supabase.ts:45
↓ 1 callers
Function
getStripe
()
lib/client/stripe.ts:6
↓ 1 callers
Function
getSubscription
()
lib/server/supabase.ts:88
↓ 1 callers
Function
getTemplate
( slug: string | undefined )
app/(main)/create/[slug]/page.tsx:21
↓ 1 callers
Function
getUser
()
lib/server/supabase.ts:32
↓ 1 callers
Function
handleCheckout
(price: Price)
app/(main)/credits/tiers.tsx:42
↓ 1 callers
Function
handleDownload
(url: string)
components/buttons/download.tsx:8
↓ 1 callers
Function
updateCredits
(customerId: string, amount: number)
lib/api/supabase.ts:24
↓ 1 callers
Function
upsertPriceRecord
(price: Stripe.Price)
lib/api/supabase.ts:60
↓ 1 callers
Function
upsertProductRecord
(product: Stripe.Product)
lib/api/supabase.ts:43
↓ 1 callers
Function
useElapsedTime
(params: { isIdle: boolean; isFinished: boolean; })
hooks/use-elapsed-time.ts:15
Function
AlertTriangleIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:3
Function
Banner
()
app/(main)/banner.tsx:1
Function
BoxesIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:20
Function
ChangePasswordForm
()
app/(main)/account/password/change-password-form.tsx:29
Function
ChangeProfileForm
(props: { isRegisteredViaGoogle: boolean; email: string | null; username: string | null; })
app/(main)/account/profile/change-profile-form.tsx:24
Function
Container
({ withIllustration = true, children, className, ...props }: ComponentProps<"div"> & { withIllustratio
components/container.tsx:6
Function
CreationThumbnail
(props: { name: string; creationId: string; creatorId: string; buttons: JSX.Element[]; })
components/creation-thumbnail.tsx:7
Function
CreditCardIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:49
Function
DELETE
(req: Request)
app/api/v1/likes/route.ts:59
Function
DialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/dialog.tsx:71
Function
DialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/dialog.tsx:57
Function
DialogPortal
({ ...props }: DialogPrimitive.DialogPortalProps)
components/dialog.tsx:13
Function
DownloadButton
(props: { url: string })
components/buttons/download.tsx:12
Function
DownloadCloudIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:69
Function
DropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/dropdown-menu.tsx:178
Function
EmptyState
(props: { href: string; title: string; icon: FunctionComponent<ComponentProps<"svg">>; })
app/(main)/collection/empty-state.tsx:5
Function
Error
(props: { error: Error & { digest?: string } })
app/(main)/error.tsx:7
Function
ErrorText
({ children, className, ...props }: ComponentPropsWithoutRef<"p">)
components/form-elements.tsx:131
Function
Footer
()
app/(main)/footer.tsx:85
Function
GET
(request: NextRequest)
app/auth/callback/route.ts:11
Function
GET
(request: Request)
app/api/v1/predictions/route.ts:18
Function
GalleryItem
(props: { isPriority: boolean; isLiked: boolean; creation: Creation; })
app/(main)/gallery/[[...slug]]/gallery-item.tsx:17
Function
GanttChartSquare
(props: React.ComponentProps<"svg">)
app/icons.tsx:175
Function
GemIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:88
Function
Header
(props: { userNavigation: React.ReactNode })
app/(main)/header.tsx:23
Function
HeartIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:108
Function
HeartOffIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:126
Function
HelperText
({ children, className, ...props }: ComponentPropsWithoutRef<"p">)
components/form-elements.tsx:116
Function
Hero
()
app/(main)/gallery/[[...slug]]/hero.tsx:1
Function
Hint
({ children, className, ...props }: ComponentPropsWithoutRef<"span">)
components/form-elements.tsx:87
Function
Image
(props: { params: { slug: string } })
app/(main)/creations/[slug]/twitter-image.tsx:14
Function
Image
(props: { params: { slug: string } })
app/(main)/creations/[slug]/opengraph-image.tsx:14
Function
Label
({ children, ...props }: ComponentProps<"label">)
components/form-elements.tsx:10
Function
Layout
(props: { children: React.ReactNode })
app/auth/layout.tsx:5
Function
Layout
(props: { children: React.ReactNode })
app/(main)/layout.tsx:12
Function
Layout
(props: { children: React.ReactNode })
app/(main)/collection/layout.tsx:14
Function
Layout
(props: { children: ReactNode })
app/(main)/account/layout.tsx:18
Function
LikeButton
(props: { isLiked: boolean; creationId: string })
components/buttons/like.tsx:12
Function
LoadingSpinnerIcon
({ className, ...props }: React.ComponentProps<"svg">)
app/icons.tsx:146
Function
LoadingSpinnerIcon2
(props: React.ComponentProps<"svg">)
app/icons.tsx:197
Function
LoadingSpinnerPrimitive
({ className, ...props }: ComponentProps<"span">)
components/loading-spinner.tsx:6
Function
LogInIcon
(props: React.ComponentProps<"svg">)
app/icons.tsx:281
Function
Logo
(props: { className?: string; colors?: { dot: string; text: string }; })
app/logo.tsx:3
Function
LowerIllustration
()
app/illustrations.tsx:18
Function
NotFound
()
app/(main)/not-found.tsx:3
Function
NotificationWarning
(props: { title: string; description: string; className?: string; })
app/(main)/create/[slug]/prediction-output.tsx:14
Function
PATCH
(req: Request)
app/api/v1/account/password/route.ts:20
Function
PATCH
(req: Request)
app/api/v1/account/email/route.ts:22
Function
PATCH
(req: Request)
app/api/v1/account/username/route.ts:22
Function
POST
(req: Request)
app/api/v1/predictions/route.ts:32
Function
POST
(req: Request)
app/api/v1/uses/route.ts:21
Function
POST
(req: Request)
app/api/v1/checkout/sessions/route.ts:24
Function
POST
(req: Request)
app/api/v1/reports/route.ts:20
Function
POST
(req: Request)
app/api/v1/likes/route.ts:20
Function
POST
(req: Request)
app/api/v1/webhooks/payments/route.ts:34
Function
POST
(req: Request)
app/api/v1/publish/route.ts:30
Function
Page
(props: { params: { slug: string | undefined }; })
app/auth/confirm/[slug]/page.tsx:23
Function
Page
()
app/auth/password/reset/page.tsx:20
Function
Page
()
app/auth/password/update/page.tsx:20
Function
Page
()
app/auth/sign-up/page.tsx:20
Function
Page
()
app/auth/sign-in/page.tsx:20
Function
Page
()
app/auth/username/page.tsx:19
Function
Page
()
app/(main)/collection/page.tsx:12
Function
Page
()
app/(main)/collection/uses/page.tsx:11
Function
Page
()
app/(main)/collection/likes/page.tsx:12
next →
1–100 of 167, ranked by callers