Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acoyfellow/UserDO
/ functions
Functions
565 in github.com/acoyfellow/UserDO
⨍
Functions
565
◇
Types & classes
745
↓ 74 callers
Method
json
()
examples/react-vite/worker-configuration.d.ts:1583
↓ 72 callers
Method
get
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
examples/react-vite/worker-configuration.d.ts:1430
↓ 38 callers
Method
log
(...data: any[])
examples/react-vite/worker-configuration.d.ts:109
↓ 21 callers
Method
error
(...data: any[])
examples/react-vite/worker-configuration.d.ts:99
↓ 19 callers
Function
getUserDO
( namespace: DurableObjectNamespace<T>, email: string )
src/UserDO.ts:95
↓ 17 callers
Method
now
()
examples/react-vite/worker-configuration.d.ts:387
↓ 14 callers
Method
put
(key: Key, value: string | ArrayBuffer | ArrayBufferView | ReadableStream, options?: KVNamespacePutOptions)
examples/react-vite/worker-configuration.d.ts:1445
↓ 13 callers
Function
handleError
(e: any, defaultMessage: string)
src/worker.tsx:56
↓ 12 callers
Method
delete
(key: Key)
examples/react-vite/worker-configuration.d.ts:1460
↓ 11 callers
Function
fetch
(request: Request, env: Env, ctx: ExecutionContext)
src/worker.tsx:433
↓ 10 callers
Method
getOrganization
(organizationId: string)
src/UserDO.ts:544
↓ 9 callers
Method
create
(data: any)
src/client.ts:311
↓ 9 callers
Function
getTeamDO
(c: Context, email: string)
examples/organizations/index.tsx:146
↓ 9 callers
Function
requireAuth
(c: Context)
src/worker.tsx:61
↓ 8 callers
Method
broadcast
(event: string, data: any)
src/UserDO.ts:795
↓ 8 callers
Method
exec
(query: string, ...bindings: any[])
examples/react-vite/worker-configuration.d.ts:2375
↓ 8 callers
Method
fetch
(request: Request)
examples/react-vite/worker-configuration.d.ts:397
↓ 8 callers
Method
table
(tabularData?: any, properties?: string[])
examples/react-vite/worker-configuration.d.ts:111
↓ 8 callers
Method
text
()
examples/react-vite/worker-configuration.d.ts:1582
↓ 7 callers
Method
orderBy
(field: string, dir: "asc" | "desc" = "asc")
src/client.ts:375
↓ 7 callers
Function
parseBody
(c: Context, schema: any)
src/worker.tsx:42
↓ 7 callers
Function
requireAuth
(c: Context)
examples/organizations/index.tsx:150
↓ 7 callers
Method
where
(field: string, op: string, value: any)
src/client.ts:371
↓ 5 callers
Function
createUserDOWorker
(bindingName: string = 'USERDO')
src/worker.tsx:412
↓ 5 callers
Method
findById
(id: string)
src/client.ts:321
↓ 5 callers
Function
getMyAppDO
(c: any, email: string)
examples/hono/index.tsx:59
↓ 5 callers
Function
getUserDOFromContext
(c: Context, email: string, bindingName: string = 'USERDO')
src/worker.tsx:403
↓ 5 callers
Method
idFromName
(name: string)
examples/react-vite/worker-configuration.d.ts:414
↓ 5 callers
Method
setOrganizationContext
(organizationId?: string)
src/UserDO.ts:505
↓ 5 callers
Method
toString
()
examples/react-vite/worker-configuration.d.ts:408
↓ 4 callers
Method
emitAuthChange
()
src/client.ts:129
↓ 4 callers
Function
fetch
(request: Request, env: any, ctx: any)
examples/react-vite/src/worker/index.ts:165
↓ 4 callers
Method
getOrganizations
()
src/UserDO.ts:528
↓ 4 callers
Function
getTaskAppDO
(c: Context, email: string)
examples/react-vite/src/worker/index.ts:79
↓ 4 callers
Function
hashPassword
( password: string )
src/UserDO.ts:106
↓ 4 callers
Function
requireAuth
(c: Context)
examples/react-vite/src/worker/index.ts:83
↓ 4 callers
Function
requireAuth
(c: any)
examples/hono/index.tsx:63
↓ 4 callers
Method
set
( key: string, value: unknown )
src/UserDO.ts:424
↓ 3 callers
Function
broadcastPostChange
(email: string, action: string, data: any, env: any)
examples/hono/index.tsx:71
↓ 3 callers
Function
broadcastTaskChange
(email: string, action: string, data: any, env: any)
examples/react-vite/src/worker/index.ts:91
↓ 3 callers
Function
broadcastToUser
(email: string, message: any, bindingName: string = 'USERDO', env: any)
src/worker.tsx:416
↓ 3 callers
Function
createWebSocketHandler
(bindingName: string = 'USERDO')
src/worker.tsx:431
↓ 3 callers
Method
findUserDONamespace
()
src/UserDO.ts:707
↓ 3 callers
Method
getProjects
(organizationId: string)
examples/organizations/index.tsx:101
↓ 3 callers
Method
login
( { email, password }: { email: string; password: string } )
src/UserDO.ts:258
↓ 3 callers
Method
logout
()
src/UserDO.ts:499
↓ 3 callers
Method
send
(message: Body, options?: QueueSendOptions)
examples/react-vite/worker-configuration.d.ts:1483
↓ 3 callers
Function
setAuthCookies
(c: Context, token: string, refreshToken: string)
src/worker.tsx:26
↓ 3 callers
Function
signJWT
(payload: JwtPayload, secret: string)
src/jwt-utils.ts:102
↓ 3 callers
Method
signup
( { email, password }: { email: string; password: string } )
src/UserDO.ts:218
↓ 3 callers
Method
update
(id: string, updates: any)
src/client.ts:329
↓ 2 callers
Method
autoDetectCookieDomain
* Auto-detect if we're in a cross-subdomain scenario and return the root domain
src/client.ts:66
↓ 2 callers
Method
checkRateLimit
()
src/UserDO.ts:176
↓ 2 callers
Function
clearAuthCookies
(c: Context)
src/worker.tsx:37
↓ 2 callers
Method
createPost
(title: string, content: string)
examples/hono/index.tsx:23
↓ 2 callers
Function
createRoutes
(getUserDO: (c: Context, email: string) => UserDO)
src/worker.tsx:70
↓ 2 callers
Function
decodeJWT
(jwt: string)
src/authMiddleware.ts:23
↓ 2 callers
Function
decodeJWT
(token: string)
src/jwt-utils.ts:17
↓ 2 callers
Method
disconnectWebSocket
()
src/client.ts:193
↓ 2 callers
Method
ensureUserDO
()
examples/alchemy/src/worker.ts:22
↓ 2 callers
Method
first
()
src/database/query.ts:116
↓ 2 callers
Method
generateTokens
(user: User)
src/UserDO.ts:194
↓ 2 callers
Function
getDO
(env: Env, email: string)
src/UserDO.ts:102
↓ 2 callers
Method
getPosts
()
examples/hono/index.tsx:39
↓ 2 callers
Function
handleFormAuth
(c: Context, action: 'signup' | 'login')
src/worker.tsx:183
↓ 2 callers
Function
isReservedKey
(key: string)
src/UserDO.ts:66
↓ 2 callers
Method
replace
(content: string | ReadableStream | Response, options?: ContentOptions)
examples/react-vite/worker-configuration.d.ts:1203
↓ 2 callers
Method
set
(key: string, value: any)
src/client.ts:273
↓ 2 callers
Method
table
( name: string, schema: T, options?: TableOptions )
src/UserDO.ts:723
↓ 2 callers
Function
verifyJWT
(token: string, secret: string)
src/jwt-utils.ts:35
↓ 2 callers
Function
verifyPassword
( password: string, salt: string, expectedHash: string )
src/UserDO.ts:118
↓ 2 callers
Method
verifyToken
( { token }: { token: string } )
src/UserDO.ts:396
↓ 1 callers
Method
acceptWebSocket
(ws: WebSocket, tags?: string[])
examples/react-vite/worker-configuration.d.ts:433
↓ 1 callers
Method
addMembership
(membership: OrganizationMembership)
src/UserDO.ts:649
↓ 1 callers
Method
addOrganizationMember
( organizationId: string, email: string, role: 'admin' | 'member' = 'member' )
src/UserDO.ts:587
↓ 1 callers
Function
authEffect
(stub: MyAppDO)
examples/effect/src/worker.ts:50
↓ 1 callers
Method
buildWebSocketUrl
* Builds the WebSocket URL, using custom websocketUrl if provided, * otherwise falling back to constructing from baseUrl and current location
src/client.ts:150
↓ 1 callers
Method
checkAuthStatus
()
src/client.ts:106
↓ 1 callers
Method
close
()
examples/react-vite/worker-configuration.d.ts:2406
↓ 1 callers
Method
connectWebSocket
()
src/client.ts:161
↓ 1 callers
Function
createAuthMiddleware
(getUserDO: GetUserDO, logPrefix = '')
src/authMiddleware.ts:9
↓ 1 callers
Method
createOrganization
(name: string)
src/UserDO.ts:509
↓ 1 callers
Method
createPost
(title: string, content: string)
examples/effect/src/worker.ts:18
↓ 1 callers
Method
createPost
(title: string, content: string)
examples/alchemy/src/worker.ts:30
↓ 1 callers
Function
createPostEffect
(stub: MyAppDO, title: string, content: string)
examples/effect/src/worker.ts:36
↓ 1 callers
Method
createProject
(name: string, description: string, organizationId: string)
examples/organizations/index.tsx:86
↓ 1 callers
Method
createTask
(title: string, description: string)
examples/react-vite/src/worker/index.ts:24
↓ 1 callers
Method
createTask
(title: string, description: string, projectId: string, organizationId: string, assignedTo?: string)
examples/organizations/index.tsx:107
↓ 1 callers
Method
deletePost
(id: string)
examples/hono/index.tsx:43
↓ 1 callers
Function
deleteTask
(taskId: string)
examples/react-vite/src/react-app/App.tsx:156
↓ 1 callers
Method
deleteTask
(id: string)
examples/react-vite/src/worker/index.ts:45
↓ 1 callers
Method
deleteUser
()
src/UserDO.ts:302
↓ 1 callers
Method
ensureTableExists
(name: string, options: TableOptions)
src/database/index.ts:50
↓ 1 callers
Method
findById
(id: string)
src/database/table.ts:47
↓ 1 callers
Function
fullFlow
(stub: MyAppDO, title: string, content: string)
examples/effect/src/worker.ts:66
↓ 1 callers
Function
generateAccessToken
( userId: string, email: string, secret: string, expiresInMinutes: number = 15 )
src/jwt-utils.ts:114
↓ 1 callers
Method
generatePasswordResetToken
()
src/UserDO.ts:350
↓ 1 callers
Method
getAll
()
src/database/table.ts:140
↓ 1 callers
Method
getCurrentUserId
()
src/UserDO.ts:735
↓ 1 callers
Method
getOwnedOrganization
(organizationId: string)
src/UserDO.ts:578
next →
1–100 of 565, ranked by callers