MCPcopy Create free account

hub / github.com/code100x/photo-ai / functions

Functions114 in github.com/code100x/photo-ai

↓ 65 callersFunctioncn
(...inputs: ClassValue[])
apps/web/lib/utils.ts:4
↓ 14 callersFunctionuseAuth
()
apps/web/hooks/useAuth.ts:3
↓ 5 callersFunctiondispatch
(action: Action)
apps/web/hooks/use-toast.ts:136
↓ 4 callersFunctionuseCarousel
()
apps/web/components/ui/carousel.tsx:35
↓ 4 callersFunctionuseCredits
()
apps/web/hooks/use-credits.ts:6
↓ 4 callersFunctionuseToast
()
apps/web/hooks/use-toast.ts:174
↓ 3 callersFunctionwithRetry
( operation: () => Promise<T>, retries = 3, delay = 1000 )
apps/backend/services/payment.ts:295
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
apps/web/hooks/use-toast.ts:61
↓ 2 callersFunctioncreateSubscriptionRecord
( userId: string, plan: PlanType, paymentId: string, orderId: string, isAnnual: boolean = false )
apps/backend/services/payment.ts:337
↓ 2 callersFunctioncreateTransactionRecord
( userId: string, amount: number, currency: string, paymentId: string, orderId: string, plan: Plan
apps/backend/services/payment.ts:44
↓ 2 callersFunctionfetchCredits
()
apps/web/hooks/use-credits.ts:12
↓ 2 callersMethodgenerateImage
(prompt: string, tensorPath: string)
apps/backend/models/BaseModel.ts:6
↓ 2 callersFunctionhandleImageClick
(image: TImage, index: number)
apps/web/components/Camera.tsx:62
↓ 2 callersFunctionhandleNavigation
(direction: "previous" | "next")
apps/web/components/Camera.tsx:89
↓ 2 callersFunctionhandleUpload
(files: File[])
apps/web/components/Train.tsx:181
↓ 2 callersFunctiontoast
({ ...props }: Toast)
apps/web/hooks/use-toast.ts:145
↓ 1 callersFunctionaddCreditsForPlan
(userId: string, plan: PlanType)
apps/backend/services/payment.ts:316
↓ 1 callersFunctioncheckStatus
()
apps/web/components/Train.tsx:72
↓ 1 callersFunctioncreateStripeSession
( userId: string, plan: "basic" | "premium", email: string )
apps/backend/services/payment.ts:74
↓ 1 callersFunctiondismiss
()
apps/web/hooks/use-toast.ts:153
↓ 1 callersFunctionfetchImages
()
apps/web/components/Camera.tsx:44
↓ 1 callersFunctionfetchTransactions
()
apps/web/hooks/useTransactions.ts:13
↓ 1 callersFunctionformatAmount
(amount: number, currency: string)
apps/web/components/payment/PurchasesPage.tsx:26
↓ 1 callersFunctionformatDate
(dateString: string)
apps/web/components/Camera.tsx:34
↓ 1 callersFunctiongenId
()
apps/web/hooks/use-toast.ts:30
↓ 1 callersMethodgenerateImageSync
(tensorPath: string)
apps/backend/models/FalAIModel.ts:53
↓ 1 callersFunctiongeneratePack
()
apps/web/components/PackCard.tsx:67
↓ 1 callersFunctiongetBlurClass
(blur: GlowEffectProps["blur"])
apps/web/components/GlowEffect.tsx:114
↓ 1 callersFunctiongetPacks
()
apps/web/components/Packs.tsx:6
↓ 1 callersFunctiongetStatusColor
(status: TransactionStatus)
apps/web/components/payment/PurchasesPage.tsx:33
↓ 1 callersFunctionhandleDownload
(imageUrl: string, imageName: string)
apps/web/components/Camera.tsx:67
↓ 1 callersFunctionhandlePayment
(plan: "basic" | "premium", p0: boolean, p1: string)
apps/web/hooks/usePayment.ts:20
↓ 1 callersFunctionhandlePlanSelect
(plan: PlanType)
apps/web/app/pricing/page.tsx:15
↓ 1 callersFunctionhandleRemoveFile
(indexToRemove: number)
apps/web/components/Train.tsx:170
↓ 1 callersFunctionloadRazorpayScript
()
apps/web/hooks/usePayment.ts:89
↓ 1 callersFunctionreducer
(state: State, action: Action)
apps/web/hooks/use-toast.ts:77
↓ 1 callersMethodtrainModel
(inputImages: string[], triggerWord: string)
apps/backend/models/BaseModel.ts:9
↓ 1 callersFunctionusePayment
()
apps/web/hooks/usePayment.ts:15
↓ 1 callersFunctionuseTransactions
()
apps/web/hooks/useTransactions.ts:7
↓ 1 callersFunctionverifyPayment
()
apps/web/components/payment/PaymentSuccessContent.tsx:27
↓ 1 callersFunctionverifyRazorpayPayment
()
apps/web/components/payment/VerifyContent.tsx:31
↓ 1 callersFunctionverifyStripePayment
(sessionId: string)
apps/backend/services/payment.ts:195
FunctionAppbar
()
apps/web/components/Appbar.tsx:10
FunctionBackgroundEffects
()
apps/web/components/home/BackgroundEffects.tsx:1
FunctionBadge
({ className, variant, ...props }: BadgeProps)
apps/web/components/ui/badge.tsx:30
FunctionButton
({ children, className, appName }: ButtonProps)
packages/ui/src/button.tsx:11
FunctionCamera
()
apps/web/components/Camera.tsx:26
FunctionCard
({ className, title, children, href, }: { className?: string; title: string; children: React.Rea
packages/ui/src/card.tsx:3
FunctionCloudUploadIcon
(props: React.SVGProps<SVGSVGElement>)
apps/web/components/ui/upload.tsx:109
FunctionCode
({ children, className, }: { children: React.ReactNode; className?: string; })
packages/ui/src/code.tsx:3
FunctionCredits
()
apps/web/components/navbar/Credits.tsx:13
FunctionCustomLabel
({ label }: { label: string })
apps/web/components/ui/customLabel.tsx:3
FunctionDashboardPage
()
apps/web/app/dashboard/page.tsx:10
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
apps/web/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
apps/web/components/ui/dialog.tsx:56
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
apps/web/components/ui/dropdown-menu.tsx:172
FunctionFeatures
()
apps/web/components/home/Features.tsx:33
FunctionFooter
()
apps/web/components/Footer.tsx:4
FunctionGenerateImage
()
apps/web/components/GenerateImage.tsx:18
FunctionGlowEffect
({ className, style, colors = ["#FF5733", "#33FF57", "#3357FF", "#F1C40F"], mode = "rotate", blur =
apps/web/components/GlowEffect.tsx:30
FunctionHero
()
apps/web/components/home/Hero.tsx:18
FunctionHeroHeader
()
apps/web/components/home/HeroHeader.tsx:9
FunctionHome
()
apps/web/app/page.tsx:7
FunctionHowItWorks
()
apps/web/components/home/HowItWorks.tsx:27
FunctionImageCard
({ id, status, imageUrl, onClick ,prompt}: ImageCardProps)
apps/web/components/ImageCard.tsx:9
FunctionImageCardSkeleton
()
apps/web/components/ImageCard.tsx:35
FunctionImageCarousel
()
apps/web/components/home/ImageCarousel.tsx:11
FunctionPackCard
(props: TPack & { selectedModelId: string })
apps/web/components/PackCard.tsx:37
FunctionPacks
()
apps/web/components/Packs.tsx:11
FunctionPacksClient
({ packs }: { packs: TPack[] })
apps/web/components/PacksClient.tsx:13
FunctionPaymentCancelContent
()
apps/web/components/payment/PaymentCancelContent.tsx:8
FunctionPaymentCancelPage
()
apps/web/app/payment/cancel/page.tsx:4
FunctionPaymentSuccessContent
()
apps/web/components/payment/PaymentSuccessContent.tsx:18
FunctionPaymentSuccessPage
()
apps/web/app/payment/success/page.tsx:4
FunctionPlanCard
({ plan, onSelect }: PlanCardProps)
apps/web/components/subscription/PlanCard.tsx:19
FunctionPricingSection
()
apps/web/components/home/PricingSection.tsx:10
FunctionProgress
({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>)
apps/web/components/ui/progress.tsx:8
FunctionProviders
({ children }: ProvidersProps)
apps/web/components/providers/Providers.tsx:11
FunctionPurchasesPage
()
apps/web/app/purchases/page.tsx:6
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
apps/web/app/layout.tsx:25
FunctionScrollIndicator
()
apps/web/components/home/ScrollIndicator.tsx:5
FunctionSelectModel
({ setSelectedModel, selectedModel, }: { setSelectedModel: (model: string) => void; selectedModel?: st
apps/web/components/Models.tsx:20
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
apps/web/components/ui/sheet.tsx:91
FunctionSheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
apps/web/components/ui/sheet.tsx:77
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
apps/web/components/ui/skeleton.tsx:3
FunctionStatsSection
()
apps/web/components/home/StatsSection.tsx:7
FunctionSubscriptionPage
()
apps/web/app/pricing/page.tsx:10
FunctionTestimonials
()
apps/web/components/home/Testimonials.tsx:7
FunctionThemeProvider
({ children, ...props }: React.ComponentProps<typeof NextThemesProvider>)
apps/web/components/theme-provider.tsx:6
FunctionThemeToggle
()
apps/web/components/ThemeToggle.tsx:7
FunctionToaster
()
apps/web/components/ui/toaster.tsx:13
FunctionTrain
()
apps/web/components/Train.tsx:48
FunctionTrain
()
apps/web/app/train/page.tsx:29
FunctionTransactionsPage
()
apps/web/components/payment/PurchasesPage.tsx:21
FunctionTrustedBy
()
apps/web/components/home/TrustedBy.tsx:7
FunctionUploadModal
({ handleUpload, uploadProgress, isUploading, }: { handleUpload: (files: File[]) => void; uploadProg
apps/web/components/ui/upload.tsx:18
FunctionVerifyContent
()
apps/web/components/payment/VerifyContent.tsx:20
FunctionVerifyPage
()
apps/web/app/payment/verify/page.tsx:4
FunctionauthMiddleware
( req: Request, res: Response, next: NextFunction )
apps/backend/middleware.ts:16
Methodconstructor
()
apps/backend/models/BaseModel.ts:4
next →1–100 of 114, ranked by callers