Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mayandev/notion-avatar
/ functions
Functions
321 in github.com/Mayandev/notion-avatar
⨍
Functions
321
◇
Types & classes
75
↓ 16 callers
Function
createClient
(req: NextApiRequest, res: NextApiResponse)
src/lib/supabase/server.ts:10
↓ 16 callers
Method
registerRoute
(t)
public/workbox-1bb06f5e.js:1
↓ 16 callers
Function
useAuth
()
src/contexts/AuthContext.tsx:269
↓ 10 callers
Method
delete
()
public/workbox-1bb06f5e.js:1
↓ 9 callers
Function
createServiceClient
()
src/lib/supabase/server.ts:52
↓ 9 callers
Method
iterateCallbacks
(t)
public/workbox-1bb06f5e.js:1
↓ 9 callers
Function
k
(t)
public/workbox-1bb06f5e.js:1
↓ 9 callers
Function
n
public/workbox-1bb06f5e.js:1
↓ 9 callers
Function
toggleModal
(key: keyof T)
src/hooks/useModalState.ts:10
↓ 9 callers
Method
waitUntil
(t)
public/workbox-1bb06f5e.js:1
↓ 8 callers
Function
e
(t,...e)
public/workbox-1bb06f5e.js:1
↓ 6 callers
Function
getEffectiveSubscription
( supabase: SupabaseClient, userId: string, )
src/lib/subscription.ts:48
↓ 6 callers
Function
randomBetween
(min: number, max: number)
src/components/AIGenerator/GeneratingStatus.tsx:35
↓ 5 callers
Method
cacheMatch
(t)
public/workbox-1bb06f5e.js:1
↓ 5 callers
Function
getToday
(date: Date = new Date())
src/lib/date.ts:9
↓ 5 callers
Function
isProActive
( sub: | Pick<SubscriptionRow, 'plan_type' | 'status' | 'current_period_end'> | null | undefined
src/lib/subscription.ts:25
↓ 4 callers
Method
expireEntries
(t,e)
public/workbox-1bb06f5e.js:1
↓ 4 callers
Method
handle
(t)
public/workbox-1bb06f5e.js:1
↓ 4 callers
Function
m
(t)
public/workbox-1bb06f5e.js:1
↓ 4 callers
Method
runCallbacks
(t,e)
public/workbox-1bb06f5e.js:1
↓ 3 callers
Function
B
public/workbox-1bb06f5e.js:1
↓ 3 callers
Function
buildLinkWithRef
(path: string)
src/components/ProductHuntBanner/index.tsx:49
↓ 3 callers
Method
cachePut
(t,e)
public/workbox-1bb06f5e.js:1
↓ 3 callers
Function
checkoutPriceType
(plan: Plan)
src/components/Pricing/PricingPlans.tsx:43
↓ 3 callers
Method
fetch
(t)
public/workbox-1bb06f5e.js:1
↓ 3 callers
Method
fetchAndCachePut
(t)
public/workbox-1bb06f5e.js:1
↓ 3 callers
Method
getCacheKeyForURL
(t)
public/workbox-1bb06f5e.js:1
↓ 3 callers
Function
getCurrentFestival
()
src/utils.ts:12
↓ 3 callers
Method
getDb
()
public/workbox-1bb06f5e.js:1
↓ 3 callers
Function
handlePurchase
( priceType: 'monthly' | 'yearly' | 'credits', )
src/components/Pricing/UpgradeModal.tsx:23
↓ 3 callers
Function
isCurrentPlan
(planName: string)
src/components/Pricing/PricingPlans.tsx:85
↓ 3 callers
Function
isStripeResourceMissing
(error: unknown)
src/pages/api/auth/delete-account.ts:11
↓ 3 callers
Function
signOut
()
src/contexts/AuthContext.tsx:233
↓ 3 callers
Function
switchConfig
(avatarConfig: AvatarPickerConfig)
src/components/AvatarEditor/index.tsx:124
↓ 3 callers
Function
usePurchasedPacks
(initialData?: string[])
src/hooks/useAccountData.ts:36
↓ 3 callers
Function
w
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
$
(t,e)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Method
A
()
public/workbox-1bb06f5e.js:1
↓ 2 callers
Method
J
(t)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
K
public/workbox-1bb06f5e.js:1
↓ 2 callers
Method
N
(t)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
b
(t)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
copyCode
(codeStr: string)
src/components/Code/index.tsx:21
↓ 2 callers
Function
createServerSideClient
(context: GetServerSidePropsContext)
src/lib/supabase/server.ts:62
↓ 2 callers
Function
d
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
f
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
getAllPostSlugs
()
src/lib/blog.ts:31
↓ 2 callers
Method
getCacheKey
(t,e)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
getPreviewRawString
(config: AvatarConfig)
src/pages/api/common/index.ts:21
↓ 2 callers
Function
getRandomStyle
()
src/utils.ts:25
↓ 2 callers
Method
handleAll
(t)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
handleDownload
(packId: 'design-pack' | 'scribbles-pack')
src/components/ResourceStore/index.tsx:60
↓ 2 callers
Function
handleFile
(file: File)
src/components/AIGenerator/ImageUploader.tsx:18
↓ 2 callers
Function
handleImagePreview
(imageUrl: string)
src/pages/account.tsx:141
↓ 2 callers
Function
handleOAuthLogin
(provider: 'google' | 'github')
src/components/Auth/AuthModal.tsx:64
↓ 2 callers
Function
handleOAuthLogin
(provider: 'google' | 'github')
src/pages/auth/login.tsx:71
↓ 2 callers
Function
handlePurchase
( resourcePackId: 'design-pack' | 'scribbles-pack', )
src/components/ResourceStore/index.tsx:26
↓ 2 callers
Method
handleRequest
({request:t,event:e})
public/workbox-1bb06f5e.js:1
↓ 2 callers
Method
hasCallback
(t)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
i
()
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
isPurchased
(packId: string)
src/components/ResourceStore/index.tsx:95
↓ 2 callers
Function
j
(t,e)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
p
(t,e)
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
r
()
public/workbox-1bb06f5e.js:1
↓ 2 callers
Function
setBackgroundColor
(color: string)
src/components/Modal/Palette/index.tsx:30
↓ 2 callers
Function
setBackgroundColor
(color: string)
src/components/Popover/Palette/index.tsx:32
↓ 2 callers
Function
setBackgroundShape
(shape: BackgroundShape)
src/components/Modal/Palette/index.tsx:22
↓ 2 callers
Function
setBackgroundShape
(shape: BackgroundShape)
src/components/Popover/Palette/index.tsx:24
↓ 2 callers
Function
signInWithEmail
(email: string, password: string)
src/contexts/AuthContext.tsx:186
↓ 2 callers
Function
signInWithGithub
()
src/contexts/AuthContext.tsx:146
↓ 2 callers
Function
signInWithGoogle
()
src/contexts/AuthContext.tsx:106
↓ 2 callers
Function
signUpWithEmail
( username: string, email: string, password: string, )
src/contexts/AuthContext.tsx:209
↓ 2 callers
Function
tt
()
public/workbox-1bb06f5e.js:1
↓ 2 callers
Method
updateTimestamp
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
D
(t,e,s,n)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Function
H
(t,e)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
I
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
K
(t,e)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Function
O
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
R
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
S
(t,e)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Function
T
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
U
(t,e)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
V
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Function
X
(t,e)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
Z
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
addCacheListener
()
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
addFetchListener
()
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
addToCacheList
(t)
public/workbox-1bb06f5e.js:1
↓ 1 callers
Function
addWatermark
(base64Image: string)
src/lib/watermark.ts:22
↓ 1 callers
Function
b
public/sw.js:1
↓ 1 callers
Function
base64ToBuffer
(base64DataUrl: string)
src/lib/supabase/server.ts:100
↓ 1 callers
Function
c
()
public/workbox-1bb06f5e.js:1
↓ 1 callers
Function
cleanupStorageBucket
(userId: string)
src/pages/api/auth/delete-account.ts:75
↓ 1 callers
Function
cleanupStripeCustomer
(customerId: string)
src/pages/api/auth/delete-account.ts:18
↓ 1 callers
Method
deleteCacheAndMetadata
()
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
destroy
()
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
doneWaiting
()
public/workbox-1bb06f5e.js:1
↓ 1 callers
Method
et
({request:t,logs:e,handler:s})
public/workbox-1bb06f5e.js:1
↓ 1 callers
Function
fetchUsageCheck
()
src/hooks/useAIUsage.ts:51
next →
1–100 of 321, ranked by callers