Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/afterwork-design/castalia
/ functions
Functions
36 in github.com/afterwork-design/castalia
⨍
Functions
36
◇
Types & classes
12
↓ 6 callers
Function
getDb
(version = 1)
src/util/indexDB.ts:100
↓ 2 callers
Function
initDb
(db: IDBDatabase)
src/util/indexDB.ts:20
↓ 2 callers
Function
updateMyCollection
()
src/components/content.tsx:21
↓ 1 callers
Function
checkBoxChange
()
src/components/resourceCard.tsx:40
↓ 1 callers
Function
deleteFromMyCollection
()
src/components/resourceCard.tsx:72
↓ 1 callers
Function
handle
()
src/components/sider.tsx:27
↓ 1 callers
Function
isSupportIndexDB
()
src/util/indexDB.ts:1
↓ 1 callers
Function
loadFromStorage
()
src/hooks/useLocalSetting.ts:34
Function
AddResourceDrawer
({ open, close })
src/components/addResourceDrawer.tsx:27
Function
Content
()
src/components/content.tsx:16
Function
ContentTop
({description})
src/components/contentTop.tsx:9
Function
H1
src/components/primitives.tsx:5
Function
H2
src/components/primitives.tsx:6
Function
H3
src/components/primitives.tsx:7
Function
H4
src/components/primitives.tsx:8
Function
H5
src/components/primitives.tsx:9
Function
H6
src/components/primitives.tsx:10
Function
Home
()
src/pages/index.tsx:7
Function
MenuItem
({ resource, active, hideIcon })
src/components/menuItem.tsx:14
Function
MyApp
({Component, pageProps}: AppProps)
src/pages/_app.tsx:9
Function
ResourceCard
({ site, hasCollectBtn, hasDeleteBtn, siteCategory, checked })
src/components/resourceCard.tsx:17
Function
ResourcePanel
({ resource, hasCollectBtn, hasDeleteBtn, empty, myCollection })
src/components/resourcePanel.tsx:16
Function
RounderBox
src/components/primitives.tsx:11
Function
Sider
()
src/components/sider.tsx:23
Function
clickHandle
(event: React.MouseEvent<HTMLDivElement, MouseEvent>)
src/components/resourceCard.tsx:33
Function
clickHandle
(event: React.MouseEvent<HTMLDivElement, MouseEvent>)
src/components/menuItem.tsx:21
Function
exportMyCollectionToLocal
()
src/components/content.tsx:84
Method
getInitialProps
(ctx: any)
src/pages/_document.tsx:7
Function
importMyCollection
()
src/components/content.tsx:43
Function
read
(tableName: string, key: string)
src/util/indexDB.ts:54
Function
readAll
(tableName: string)
src/util/indexDB.ts:73
Function
readLocalSetting
(storageKey: string)
src/hooks/useLocalSetting.ts:66
Function
remove
(tableName: string, key: any)
src/util/indexDB.ts:38
Method
render
()
src/pages/_document.tsx:12
Function
useLocalSetting
( name: string, defaultValue: T, defer = true )
src/hooks/useLocalSetting.ts:9
Function
write
(tableName: string, data: any)
src/util/indexDB.ts:21