MCPcopy Create free account

hub / github.com/VivekSaha05/SkySpace / functions

Functions91 in github.com/VivekSaha05/SkySpace

↓ 78 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 11 callersFunctionparseStringify
(value: unknown)
lib/utils.ts:7
↓ 9 callersFunctioncreateAdminClient
()
lib/appwrite/index.ts:28
↓ 7 callersFunctionhandleError
(error: unknown, message: string)
lib/actions/file.actions.ts:11
↓ 5 callersFunctiondispatch
(action: Action)
hooks/use-toast.ts:136
↓ 4 callersFunctionconvertFileSize
(sizeInBytes: number, digits?: number)
lib/utils.ts:12
↓ 4 callersFunctionhandleError
(error: unknown, message: string)
lib/actions/user.actions.ts:23
↓ 4 callersFunctionuseFormField
()
components/ui/form.tsx:44
↓ 3 callersFunctioncalculatePercentage
(sizeInBytes: number)
lib/utils.ts:27
↓ 3 callersFunctioncreateSessionClient
()
lib/appwrite/index.ts:7
↓ 3 callersFunctiongetCurrentUser
()
lib/actions/user.actions.ts:96
↓ 3 callersFunctiongetFileType
(fileName: string)
lib/utils.ts:33
↓ 3 callersFunctiongetFiles
({ types = [], searchText = "", sort = "$createdAt-desc", limit, }: GetFilesProps)
lib/actions/file.actions.ts:93
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
components/ui/chart.tsx:325
↓ 3 callersFunctionsendEmailOTP
({ email }: { email: string })
lib/actions/user.actions.ts:28
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
hooks/use-toast.ts:61
↓ 2 callersFunctioncloseAllModals
()
components/ActionDropdown.tsx:44
↓ 2 callersFunctionformatDateTime
(isoString: string | null | undefined)
lib/utils.ts:78
↓ 2 callersFunctiongetUserByEmail
(email: string)
lib/actions/user.actions.ts:11
↓ 2 callersFunctionsignOutUser
()
lib/actions/user.actions.ts:116
↓ 2 callersFunctionupdateFileUsers
({ fileId, emails, path, }: UpdateFileUsersProps)
lib/actions/file.actions.ts:147
↓ 2 callersFunctionuseChart
()
components/ui/chart.tsx:32
↓ 2 callersFunctionuseToast
()
hooks/use-toast.ts:174
↓ 1 callersFunctionauthFormSchema
(formType: FormType)
components/AuthForm.tsx:25
↓ 1 callersFunctionconstructDownloadUrl
(bucketFileId: string)
lib/utils.ts:181
↓ 1 callersFunctionconstructFileUrl
(bucketFileId: string)
lib/utils.ts:177
↓ 1 callersFunctionconvertFileToUrl
(file: File)
lib/utils.ts:10
↓ 1 callersFunctioncreateAccount
({ fullName, email, }: { fullName: string; email: string; })
lib/actions/user.actions.ts:40
↓ 1 callersFunctioncreateQueries
( currentUser: Models.Document, types: string[], searchText: string, sort: string, limit?: number, )
lib/actions/file.actions.ts:64
↓ 1 callersFunctiondeleteFile
({ fileId, bucketFileId, path, }: DeleteFileProps)
lib/actions/file.actions.ts:171
↓ 1 callersFunctiondismiss
()
hooks/use-toast.ts:153
↓ 1 callersFunctionfetchFiles
()
components/Search.tsx:24
↓ 1 callersFunctiongenId
()
hooks/use-toast.ts:30
↓ 1 callersFunctiongetFileIcon
( extension: string | undefined, type: FileType | string, )
lib/utils.ts:113
↓ 1 callersFunctiongetFileTypesParams
(type: string)
lib/utils.ts:222
↓ 1 callersFunctiongetTotalSpaceUsed
()
lib/actions/file.actions.ts:197
↓ 1 callersFunctiongetUsageSummary
(totalSpace: any)
lib/utils.ts:186
↓ 1 callersFunctionhandleClickItem
(file: Models.Document)
components/Search.tsx:45
↓ 1 callersFunctionhandleRemoveFile
( e: React.MouseEvent<HTMLImageElement, MouseEvent>, fileName: string, )
components/FileUploader.tsx:65
↓ 1 callersFunctionreducer
(state: State, action: Action)
hooks/use-toast.ts:77
↓ 1 callersFunctionrenameFile
({ fileId, name, extension, path, }: RenameFileProps)
lib/actions/file.actions.ts:121
↓ 1 callersFunctionrenderDialogContent
()
components/ActionDropdown.tsx:85
↓ 1 callersFunctionsignInUser
({ email }: { email: string })
lib/actions/user.actions.ts:129
↓ 1 callersFunctiontoast
({ ...props }: Toast)
hooks/use-toast.ts:145
↓ 1 callersFunctionuploadFile
({ file, ownerId, accountId, path, }: UploadFileProps)
lib/actions/file.actions.ts:16
↓ 1 callersFunctionverifySecret
({ accountId, password, }: { accountId: string; password: string; })
lib/actions/user.actions.ts:71
FunctionActionDropdown
({ file }: { file: Models.Document })
components/ActionDropdown.tsx:34
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:62
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/alert-dialog.tsx:48
FunctionAuthForm
({ type }: { type: FormType })
components/AuthForm.tsx:35
FunctionCard
({ file }: { file: Models.Document })
components/Card.tsx:8
FunctionChart
({ used = 0 }: { used: number })
components/Chart.tsx:31
FunctionChartStyle
({ id, config }: { id: string; config: ChartConfig })
components/ui/chart.tsx:75
FunctionDashboard
()
app/(root)/page.tsx:13
FunctionDetailRow
({ label, value }: { label: string; value: string })
components/ActionsModalContent.tsx:20
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:56
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/dropdown-menu.tsx:172
FunctionFileDetails
({ file }: { file: Models.Document })
components/ActionsModalContent.tsx:27
FunctionFileUploader
({ ownerId, accountId, className }: Props)
components/FileUploader.tsx:21
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
components/ui/form.tsx:31
FunctionFormattedDateTime
({ date, className, }: { date: string; className?: string; })
components/FormattedDateTime.tsx:4
FunctionHeader
({ userId, accountId, }: { userId: string; accountId: string; })
components/Header.tsx:8
FunctionImageThumbnail
({ file }: { file: Models.Document })
components/ActionsModalContent.tsx:10
FunctionLayout
({ children }: { children: React.ReactNode })
app/(root)/layout.tsx:11
FunctionMobileNavigation
({ $id: ownerId, accountId, fullName, avatar, email, }: Props)
components/MobileNavigation.tsx:28
FunctionOtpModal
({ accountId, email, }: { accountId: string; email: string; })
components/OTPModal.tsx:24
FunctionPage
({ searchParams, params }: SearchParamProps)
app/(root)/[type]/page.tsx:8
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:18
FunctionSearch
()
components/Search.tsx:13
FunctionShareInput
({ file, onInputChange, onRemove }: Props)
components/ActionsModalContent.tsx:47
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/sheet.tsx:91
FunctionSheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/sheet.tsx:77
FunctionSidebar
({ fullName, avatar, email }: Props)
components/Sidebar.tsx:15
FunctionSignIn
()
app/(auth)/sign-in/page.tsx:3
FunctionSignUp
()
app/(auth)/sign-up/page.tsx:3
FunctionSort
()
components/Sort.tsx:13
FunctionThumbnail
({ type, extension, url = "", imageClassName, className, }: Props)
components/Thumbnail.tsx:13
FunctionToaster
()
components/ui/toaster.tsx:13
Functionaccount
()
lib/appwrite/index.ts:19
Functionavatars
()
lib/appwrite/index.ts:44
Functiondatabases
()
lib/appwrite/index.ts:22
FunctionhandleAction
()
components/ActionDropdown.tsx:52
FunctionhandleRemoveUser
(email: string)
components/ActionDropdown.tsx:72
FunctionhandleResendOtp
()
components/OTPModal.tsx:55
FunctionhandleSort
(value: string)
components/Sort.tsx:17
FunctionhandleSubmit
(e: React.MouseEvent<HTMLButtonElement>)
components/OTPModal.tsx:36
Functionlayout
({ children }: { children: React.ReactNode })
app/(auth)/layout.tsx:4
FunctiononSubmit
(values: z.infer<typeof formSchema>)
components/AuthForm.tsx:49
Functionstorage
()
lib/appwrite/index.ts:41
Functionupdate
(props: ToasterToast)
hooks/use-toast.ts:148