Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buildship-ai/demo-microsaas
/ functions
Functions
44 in github.com/buildship-ai/demo-microsaas
⨍
Functions
44
◇
Types & classes
0
↓ 8 callers
Function
getSchema
()
lib/get-schema.ts:11
↓ 3 callers
Function
appendNewToName
(name: string)
lib/download.ts:25
↓ 3 callers
Function
downloadPhoto
(url: string, filename: string)
lib/download.ts:10
↓ 3 callers
Function
formatUser
(user: User)
lib/auth.ts:64
↓ 2 callers
Function
getUserProfile
(userId: string)
lib/profiles.ts:12
↓ 2 callers
Function
registerOrLogin
()
lib/auth.ts:22
↓ 1 callers
Function
anonymouslySignIn
()
lib/auth.ts:46
↓ 1 callers
Function
forceDownload
(blobUrl: string, filename: string)
lib/download.ts:1
↓ 1 callers
Function
getOrCreateProfile
(userId: string, isAnonymous: boolean)
lib/profiles.ts:26
↓ 1 callers
Function
getPackages
(q: Query<DocumentData>)
lib/packages.ts:17
↓ 1 callers
Function
loadImages
(user: Profile)
pages/dashboard.tsx:26
↓ 1 callers
Function
loadPackages
()
components/Packages.tsx:43
↓ 1 callers
Function
logout
()
components/Dropdown.tsx:36
↓ 1 callers
Function
onLinkClick
()
components/Dropdown.tsx:31
↓ 1 callers
Function
onPredictionComplete
()
pages/remove.tsx:88
↓ 1 callers
Function
onProfileChange
()
components/AuthIsLoaded.tsx:62
↓ 1 callers
Function
purchase
(creditPackage: Package)
components/Packages.tsx:18
↓ 1 callers
Function
toggleDropdown
()
components/Dropdown.tsx:16
↓ 1 callers
Function
upload
(storageRef: StorageReference, file: File | Blob)
lib/storage.ts:7
Function
App
({ Component, pageProps }: AppProps)
pages/_app.tsx:23
Function
AuthIsLoaded
({ children }: { children: ReactNode })
components/AuthIsLoaded.tsx:17
Function
BuyCredits
()
pages/packages.tsx:13
Function
Container
({ children, className, }: { children: ReactNode; className?: string; })
components/layout/Container.tsx:3
Function
Dashboard
()
pages/dashboard.tsx:16
Function
Document
()
pages/_document.tsx:3
Function
Dropdown
()
components/Dropdown.tsx:10
Function
Footer
()
components/layout/Footer.tsx:4
Function
FullScreenLoader
({ text, isOpen, }: { text: string; isOpen: boolean; })
components/FullScreenLoader.tsx:4
Function
Header
()
components/layout/Header.tsx:13
Function
Hero
({ className = "", heading, subHeading, link, alignment = "left", showSeparator = true, }: Props)
components/Hero.tsx:13
Function
Home
()
pages/index.tsx:9
Function
Layout
({ children }: { children: ReactNode })
components/layout/Layout.tsx:5
Function
Modal
({ isOpen, title, children, onClose }: Props)
components/Modal.tsx:30
Function
Packages
()
components/Packages.tsx:12
Function
RemoveBackground
()
pages/remove.tsx:24
Function
Spinner
()
components/Spinner.tsx:1
Function
UnauthorizedDomainError
()
components/UnauthorizedDomainError.tsx:3
Function
Upload
({ onUpload, disabled = false }: Props)
components/Upload.tsx:40
Function
UsageBar
({ showRatio = true }: Props)
components/UsageBar.tsx:8
Function
getImageExtension
(imageUrl: string)
lib/storage.ts:18
Function
getPackage
(id: string)
lib/packages.ts:5
Function
handleClickOutside
(event: MouseEvent)
components/Dropdown.tsx:20
Function
handleLogin
()
components/layout/Header.tsx:17
Function
handleUpload
(file: File)
pages/remove.tsx:39