MCPcopy Create free account

hub / github.com/MaxLeiter/Drift / functions

Functions265 in github.com/MaxLeiter/Drift

FunctionDocument
({ onPaste, remove, title, content = "", setTitle, defaultTab = "edit", handleOnContentChange }: Props)
src/app/(drift)/(posts)/new/components/edit-document-list/edit-document/index.tsx:19
FunctionDocument
({ skeleton, ...props }: Props)
src/app/(drift)/(posts)/post/[id]/components/post-files/view-document/index.tsx:90
FunctionDocumentList
({ docs, removeDoc, updateDocContent, updateDocTitle, onPaste }: { docs: Document[] updateDocTitle: (i:
src/app/(drift)/(posts)/new/components/edit-document-list/index.tsx:5
FunctionDocumentTabs
({ isEditing, defaultTab, handleOnContentChange, onPaste, title, staticPreview: preview, children: rawC
src/app/(drift)/(posts)/components/document-tabs/index.tsx:26
FunctionDownloadButtons
({ rawLink, siteLink }: { rawLink?: string siteLink?: string })
src/app/(drift)/(posts)/post/[id]/components/post-files/view-document/index.tsx:30
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/app/components/dropdown-menu/index.tsx:171
FunctionErrorBoundary
({ children, onReset, ...props }: { children: React.ReactNode onReset?: ErrorBoundaryPropsWithFallback["o
src/app/components/error/fallback.tsx:32
FunctionErrorFallback
({ error, resetErrorBoundary }: FallbackProps)
src/app/components/error/fallback.tsx:16
FunctionErrorQueryParamsHandler
()
src/app/(drift)/(auth)/components/query-handler.tsx:23
FunctionExpirationBadge
({ postExpirationDate }: { postExpirationDate: Date | string | undefined onExpires?: () => void })
src/app/components/badges/expiration-badge/index.tsx:8
FunctionExpiredPage
()
src/app/(drift)/(posts)/expired/page.tsx:4
FunctionFadeIn
({ duration = 300, delay = 0, children, as, ...delegated }: { duration?: number delay?: number childre
src/app/components/fade-in/index.tsx:5
FunctionFileDropdown
({ files, loading }: { files: Pick<PostWithFiles, "files">["files"] loading?: boolean })
src/app/(drift)/(posts)/components/file-dropdown/index.tsx:10
FunctionFileDropzone
({ setDocs }: { setDocs: (docs: Document[]) => void })
src/app/(drift)/(posts)/new/components/drag-and-drop/index.tsx:13
FunctionFilePage
({ params }: { params: { fileId: string } })
src/app/pages/[fileId]/[fileTitle]/page.tsx:15
FunctionFormattingIcons
({ textareaRef, className }: { textareaRef?: RefObject<TextareaMarkdownRef> className?: string })
src/app/(drift)/(posts)/new/components/edit-document-list/edit-document/formatting-icons/index.tsx:18
FunctionGET
( req: Request, { params }: { params: { fileId: string } } )
src/app/(drift)/(posts)/post/[id]/file/raw/[title]/route.ts:6
FunctionGET
(req: NextRequest)
src/app/api/auth/requires-passcode/route.ts:9
FunctionHeader
()
src/app/components/header/index.tsx:15
FunctionHomePage
({ setOpen, setPage }: { setOpen: (open: boolean) => void setPage: (page: CmdKPage) => void })
src/app/components/cmdk/pages/home.tsx:8
FunctionInnerErrorQueryParamsHandler
()
src/app/(drift)/(auth)/components/query-handler.tsx:7
FunctionItem
({ children, shortcut, onSelect, icon }: { children: React.ReactNode shortcut?: string onSelect: (value
src/app/components/cmdk/item.tsx:3
FunctionLayout
({ children, forSites }: { forSites?: boolean children: React.ReactNode })
src/app/components/layout/index.tsx:7
FunctionLink
({ colored, className, children, ...props }: LinkProps)
src/app/components/link/index.tsx:9
FunctionListItem
({ post, isOwner, deletePost, hideActions }: { post: PostWithFiles isOwner?: boolean deletePost: () =>
src/app/components/post-list/list-item.tsx:36
FunctionListItemSkeleton
()
src/app/components/post-list/list-item-skeleton.tsx:5
FunctionLoading
()
src/app/(drift)/mine/loading.tsx:7
FunctionLogo
()
src/pages/api/og.tsx:7
FunctionMarkdownPreview
({ height = 500, fileId, title, children: rawContent }: Props)
src/app/(drift)/(posts)/components/preview/index.tsx:17
FunctionMine
()
src/app/(drift)/mine/page.tsx:11
FunctionMobileHeader
()
src/app/components/header/mobile.tsx:9
FunctionNavButton
({ className, ...tab }: Tab & { className?: string })
src/app/components/header/buttons.tsx:43
FunctionNavLink
({ href, disabled, children }: NavLinkProps)
src/app/components/header/index.tsx:95
FunctionNew
()
src/app/(drift)/(posts)/new/page.tsx:6
FunctionNewFromExisting
({ params }: { params: { id: string } })
src/app/(drift)/(posts)/new/from/[id]/page.tsx:10
FunctionNewLayout
({ children }: { children: React.ReactNode })
src/app/(drift)/(posts)/new/layout.tsx:1
FunctionNoPostsFound
()
src/app/components/post-list/index.tsx:145
FunctionNote
({ type = "info", children, className, ...props }: { type: "info" | "warning" | "error" children: React.
src/app/components/note/index.tsx:4
FunctionPage
()
src/app/(drift)/page.tsx:20
FunctionPageSeo
({ title: pageTitle, description = "A self-hostable clone of GitHub Gist", isPrivate = false }: PageSeoProp
src/app/lib/metadata.tsx:14
FunctionPageTitle
({ children, className, ...props }: PropsWithChildren<React.HTMLProps<HTMLHeadingElement>>)
src/app/components/page-title.tsx:4
FunctionPageWrapper
({ children, className, ...props }: PropsWithChildren<React.HTMLProps<HTMLDivElement>>)
src/app/components/page-wrapper.tsx:4
FunctionPasswordModal
({ isOpen, onClose, onSubmit: onSubmitAfterVerify, creating }: Props)
src/app/components/password-modal/index.tsx:23
FunctionPasswordModalWrapper
({ setPost, postId, authorId }: Props)
src/app/(drift)/(posts)/post/[id]/components/post-files/password-modal-wrapper.tsx:17
FunctionPost
({ initialPost, newPostParent }: { initialPost?: PostWithFiles newPostParent?: string })
src/app/(drift)/(posts)/new/components/new.tsx:55
FunctionPostButtons
({ post, loading }: { post?: PostWithFiles loading?: boolean })
src/app/(drift)/(posts)/post/[id]/components/header/post-buttons/index.tsx:10
FunctionPostFiles
({ post: initialPost }: Props)
src/app/(drift)/(posts)/post/[id]/components/post-files/index.tsx:16
FunctionPostLayout
({ children, params }: { children: React.ReactNode params: { id: string } })
src/app/(drift)/(posts)/post/[id]/layout.tsx:12
FunctionPostList
({ initialPosts, hideSearch, hideActions, isOwner, skeleton, userId }: Props)
src/app/components/post-list/index.tsx:26
FunctionPostListWrapper
({ posts, userId }: { posts: ReturnType<typeof getPostsByUser> userId: string })
src/app/(drift)/author/[username]/page.tsx:12
FunctionPostLoading
()
src/app/(drift)/(posts)/post/[id]/loading.tsx:4
FunctionPostPage
({ params }: { params: { id: string } })
src/app/(drift)/(posts)/post/[id]/page.tsx:11
FunctionPostTable
({ posts: initialPosts }: { posts?: { createdAt: string id: string author?: UserWithPosts | null tit
src/app/(drift)/admin/components/tables.tsx:106
FunctionPostTitle
({ post, loading }: TitleProps)
src/app/(drift)/(posts)/post/[id]/components/header/title/index.tsx:13
FunctionPostsPage
({ setOpen }: { setOpen: (open: boolean) => void })
src/app/components/cmdk/pages/posts.tsx:10
FunctionProfile
()
src/app/(drift)/settings/components/sections/profile.tsx:13
FunctionProviders
({ children }: PropsWithChildren<unknown>)
src/app/(drift)/providers.tsx:9
FunctionPublicPostList
()
src/app/(drift)/page.tsx:58
FunctionRootLayout
({ children }: { children: React.ReactNode })
src/app/(drift)/layout.tsx:15
FunctionRootLayout
({ children }: { children: React.ReactNode })
src/app/pages/[fileId]/[fileTitle]/layout.tsx:9
FunctionSWRProvider
({ children }: PropsWithChildren<unknown>)
src/app/(drift)/providers.tsx:47
FunctionScrollToTop
()
src/app/components/scroll-to-top/index.tsx:9
FunctionSettingsGroup
({ title, children, skeleton }: Props)
src/app/components/settings-group/index.tsx:16
FunctionSettingsLoading
()
src/app/(drift)/settings/loading.tsx:5
FunctionSettingsPage
()
src/app/(drift)/settings/page.tsx:8
FunctionSignInPage
()
src/app/(drift)/(auth)/signin/page.tsx:7
FunctionSignUpPage
()
src/app/(drift)/(auth)/signup/page.tsx:11
FunctionSkeleton
({ width = 100, height = 24, borderRadius = 4, style }: { width?: number | string height?: number | stri
src/app/components/skeleton/index.tsx:3
FunctionSpinner
({ className }: { className?: string })
src/app/components/spinner/index.tsx:4
FunctionStack
({ children, className = "", gap = "var(--gap)", direction = "column", alignItems = "flex-start", justif
src/app/components/stack/index.tsx:20
FunctionStaticPreview
({ children, height = 500 }: { children: string height: string | number })
src/app/(drift)/(posts)/components/preview/index.tsx:68
FunctionStaticPreviewSkeleton
({ children, height = 500 }: { children: string height: string | number })
src/app/(drift)/(posts)/components/preview/index.tsx:86
FunctionTableBody
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:114
FunctionTableCell
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:148
FunctionTableHead
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:103
FunctionTableHeader
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:121
FunctionTableRow
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:137
FunctionThemeAndIcons
()
src/app/lib/metadata.tsx:32
FunctionThemeButton
()
src/app/components/header/buttons.tsx:81
FunctionThemeProvider
({ children }: PropsWithChildren<unknown>)
src/app/pages/[fileId]/[fileTitle]/theme-provider.tsx:6
FunctionTitle
({ onChange, title, className }: props)
src/app/(drift)/(posts)/new/components/title/index.tsx:23
FunctionToasts
()
src/app/components/toasts/index.tsx:44
FunctionTooltipWrapper
({ children, content, className, ...props }: { children: React.ReactNode content: React.ReactNode class
src/app/components/tooltip/index.tsx:8
FunctionTypographyBlockquote
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:81
FunctionTypographyH1
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:6
FunctionTypographyH2
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:22
FunctionTypographyH3
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:38
FunctionTypographyH4
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:54
FunctionTypographyInlineCode
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:175
FunctionTypographyLarge
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:200
FunctionTypographyLead
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:191
FunctionTypographyList
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:164
FunctionTypographyMuted
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:220
FunctionTypographyP
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:70
FunctionTypographySmall
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:209
FunctionTypographyTable
({ children, className }: PropsWithChildren<ClassProp>)
src/app/components/typography/index.tsx:92
FunctionUserPage
({ params }: { params: { username: string } })
src/app/(drift)/author/[username]/page.tsx:25
FunctionUserTable
({ users: initialUsers }: { users?: { createdAt: string posts?: ServerPostWithFilesAndAuthor[] id: str
src/app/(drift)/admin/components/tables.tsx:12
FunctionVisibilityBadge
({ visibility }: Props)
src/app/components/badges/visibility-badge/index.tsx:7
FunctionVisibilityControl
({ authorId, postId, visibility: postVisibility }: Props)
src/app/components/badges/visibility-control/index.tsx:20
← previousnext →101–200 of 265, ranked by callers