Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Datakitpage/Datakit
/ authStore.ts
File
authStore.ts
frontend/src/store/authStore.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ create } from
"zustand"
;
2
import
{ devtools } from
"zustand/middleware"
;
3
import
{
4
User,
Callers
nothing calls this directly
Calls
9
checkAuthStatus
Method · 0.80
getCurrentUser
Method · 0.80
updateSettings
Method · 0.80
getSettings
Method · 0.80
login
Method · 0.45
signup
Method · 0.45
logout
Method · 0.45
updateProfile
Method · 0.45
switchWorkspace
Method · 0.45
Tested by
no test coverage detected