MCPcopy Create free account

hub / github.com/NayamAmarshe/writedown / functions

Functions70 in github.com/NayamAmarshe/writedown

↓ 7 callersFunctionuseUser
()
components/hooks/useUser.ts:10
↓ 3 callersFunctionconverter
()
utils/firestoreDataConverter.ts:8
↓ 3 callersFunctionuseNotes
({ userId }: UseNotesProps)
components/hooks/useNotes.ts:25
↓ 2 callersFunctionformatTimeStamp
(time: number | undefined)
components/dashboard/TextArea/PostButtons.tsx:28
↓ 2 callersFunctionlogin
(type: "google" | "github")
components/login/SignInArea.tsx:23
↓ 2 callersFunctionresetStates
()
components/hooks/UsePaginateQuery.ts:18
↓ 2 callersFunctionswitchNotesHandler
(noteId: string)
components/dashboard/Sidebar/PostRow.tsx:28
↓ 1 callersFunctioncheckUserExists
(user: User)
components/hooks/useUser.ts:22
↓ 1 callersFunctioncheckUsernameValidity
(userName: string)
components/hooks/useUser.ts:88
↓ 1 callersFunctioncreateUser
(user: User)
components/hooks/useUser.ts:32
↓ 1 callersFunctionfetchData
()
pages/[username]/posts/[postId].tsx:29
↓ 1 callersFunctionfetchQuery
()
components/hooks/UsePaginateQuery.ts:26
↓ 1 callersFunctiongetButtonClass
()
components/ui/Button.tsx:17
↓ 1 callersFunctiongetColorClasses
()
components/ui/Badge.tsx:9
↓ 1 callersFunctionhasUsername
(user: User)
components/hooks/useUser.ts:99
↓ 1 callersFunctiononUsernameSet
(username: string)
components/dashboard/CheckUsername.tsx:19
↓ 1 callersFunctionsetUsername
(userId: string, userName: string)
components/hooks/useUser.ts:59
↓ 1 callersFunctionuseMounted
()
components/hooks/useMounted.ts:3
FunctionBadge
({ children, color }: BadgeProps)
components/ui/Badge.tsx:8
FunctionBetaBadge
({ pulse }: BetaBadgeProps)
components/ui/BetaBadge.tsx:7
FunctionButton
({ variant, size, children, className, ...rest }: ButtonProps & ButtonHTMLAttributes<HTMLButtonEleme
components/ui/Button.tsx:10
FunctionCheckUsername
({ show, onSetShow, }: { show: boolean; onSetShow: (state: boolean) => void; })
components/dashboard/CheckUsername.tsx:8
FunctionDashboard
()
pages/dashboard.tsx:11
FunctionEditorButtons
({ shiftRight, editor }: EditorButtonsProps)
components/dashboard/TextArea/EditorButtons.tsx:29
FunctionFeatureCard
({ icon, title, description }: FeatureCardProps)
components/home/FeatureCard.tsx:9
FunctionFeatures
()
components/home/Features.tsx:17
FunctionFooter
({ className }: { className?: string })
components/home/Footer.tsx:7
FunctionHeadTags
({ title, ogImage, description, ogUrl }: HeadTagsProps)
components/common/HeadTags.tsx:11
FunctionHeroSection
()
components/home/HeroSection.tsx:7
FunctionHome
()
pages/index.tsx:8
FunctionIconButton
({ children, extraClasses, ...rest }: IconButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>)
components/ui/IconButton.tsx:8
FunctionInfoSidebar
()
components/login/InfoSidebar.tsx:2
FunctionInput
({ label, id, small, ...rest }: InputHTMLAttributes<HTMLInputElement> & { id: string; label?: stri
components/ui/Input.tsx:4
FunctionLinkPreviewCard
({ node }: { node: any })
components/dashboard/TextArea/LinkPreview.tsx:10
FunctionLoading
()
components/ui/Loading.tsx:8
FunctionLoginPage
()
pages/login.tsx:11
FunctionModal
({ title, description, saveText, saveHandler, closeText, isOpen, setIsOpen, undismissable, c
components/ui/Modal.tsx:17
FunctionMyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:18
FunctionNavbar
(props: Props)
components/Navbar.tsx:9
FunctionNavbar
()
components/home/Navbar.tsx:11
FunctionNotFoundPapge
(props: Props)
pages/not-found.tsx:5
FunctionPopover
({ button, buttonStyle, openStyle, reverse = false, children, ...rest }: PopoverProps)
components/ui/Popover.tsx:12
FunctionPostButtons
({ shiftRight, editor }: PostButtonsProps)
components/dashboard/TextArea/PostButtons.tsx:45
FunctionPostPage
({}: Props)
pages/[username]/posts/[postId].tsx:20
FunctionPostRow
({ title, content, noteId, isPublic, setShowSidebar, }: PostRowProps)
components/dashboard/Sidebar/PostRow.tsx:18
FunctionSidebar
({ showSidebar, setShowSidebar, }: SidebarProps & IFirebaseAuth)
components/dashboard/Sidebar/index.tsx:26
FunctionSignInArea
()
components/login/SignInArea.tsx:15
FunctionTextArea
({ shiftRight, setShiftRight }: TextAreaProps)
components/dashboard/TextArea/index.tsx:38
FunctionThemeChanger
()
components/dashboard/Sidebar/ThemeChanger.tsx:4
FunctionToggle
({ enabled, onChange, screenReaderPrompt, }: ToggleProps)
components/ui/Toggle.tsx:10
FunctionUserMenu
({ reverse, dashboard, home, themeOption, logout, showImageAsButton, children, }: UserMenuProps)
components/common/UserMenu.tsx:27
FunctionWritedownEditor
({ notes, editor }: editorProps)
components/ui/WritedownEditor.tsx:12
FunctionaddAttributes
()
components/dashboard/TextArea/LinkPreview.tsx:81
FunctionaddCommands
()
components/dashboard/TextArea/LinkPreview.tsx:104
FunctionaddNodeView
()
components/dashboard/TextArea/LinkPreview.tsx:100
FunctionalertUser
(e: BeforeUnloadEvent)
components/dashboard/TextArea/index.tsx:126
Functiondebounce
(fn: any, time: number)
utils/debounce.ts:1
FunctiondeleteNoteHandler
()
components/dashboard/TextArea/PostButtons.tsx:96
FunctiondownloadHTMLHandler
()
components/dashboard/TextArea/PostButtons.tsx:161
FunctiondownloadMarkdownHandler
()
components/dashboard/TextArea/PostButtons.tsx:147
FunctiondownloadPDFHandler
()
components/dashboard/TextArea/PostButtons.tsx:116
FunctionhandleSaveUsername
()
components/dashboard/CheckUsername.tsx:30
Functionhandler
(request: NextRequest, res: NextResponse)
pages/api/og.tsx:8
Functionhandler
( req: NextApiRequest, res: NextApiResponse )
pages/api/link-preview.ts:4
FunctionnewPostClickHandler
()
components/dashboard/Sidebar/index.tsx:57
FunctionparseHTML
()
components/dashboard/TextArea/LinkPreview.tsx:89
FunctionrenderHTML
({ HTMLAttributes })
components/dashboard/TextArea/LinkPreview.tsx:93
FunctionsaveNoteHandler
()
components/dashboard/TextArea/PostButtons.tsx:75
FunctionusePaginateQuery
(queryFn: () => Query, pageLoaded: boolean)
components/hooks/UsePaginateQuery.ts:11
FunctionusePublicNotes
({ noteId }: UseNotesProps)
components/hooks/usePublicNotes.ts:9