MCPcopy Create free account

hub / github.com/acoyfellow/UserDO / functions

Functions565 in github.com/acoyfellow/UserDO

↓ 74 callersMethodjson
()
examples/react-vite/worker-configuration.d.ts:1583
↓ 72 callersMethodget
(key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>)
examples/react-vite/worker-configuration.d.ts:1430
↓ 38 callersMethodlog
(...data: any[])
examples/react-vite/worker-configuration.d.ts:109
↓ 21 callersMethoderror
(...data: any[])
examples/react-vite/worker-configuration.d.ts:99
↓ 19 callersFunctiongetUserDO
( namespace: DurableObjectNamespace<T>, email: string )
src/UserDO.ts:95
↓ 17 callersMethodnow
()
examples/react-vite/worker-configuration.d.ts:387
↓ 14 callersMethodput
(key: Key, value: string | ArrayBuffer | ArrayBufferView | ReadableStream, options?: KVNamespacePutOptions)
examples/react-vite/worker-configuration.d.ts:1445
↓ 13 callersFunctionhandleError
(e: any, defaultMessage: string)
src/worker.tsx:56
↓ 12 callersMethoddelete
(key: Key)
examples/react-vite/worker-configuration.d.ts:1460
↓ 11 callersFunctionfetch
(request: Request, env: Env, ctx: ExecutionContext)
src/worker.tsx:433
↓ 10 callersMethodgetOrganization
(organizationId: string)
src/UserDO.ts:544
↓ 9 callersMethodcreate
(data: any)
src/client.ts:311
↓ 9 callersFunctiongetTeamDO
(c: Context, email: string)
examples/organizations/index.tsx:146
↓ 9 callersFunctionrequireAuth
(c: Context)
src/worker.tsx:61
↓ 8 callersMethodbroadcast
(event: string, data: any)
src/UserDO.ts:795
↓ 8 callersMethodexec
(query: string, ...bindings: any[])
examples/react-vite/worker-configuration.d.ts:2375
↓ 8 callersMethodfetch
(request: Request)
examples/react-vite/worker-configuration.d.ts:397
↓ 8 callersMethodtable
(tabularData?: any, properties?: string[])
examples/react-vite/worker-configuration.d.ts:111
↓ 8 callersMethodtext
()
examples/react-vite/worker-configuration.d.ts:1582
↓ 7 callersMethodorderBy
(field: string, dir: "asc" | "desc" = "asc")
src/client.ts:375
↓ 7 callersFunctionparseBody
(c: Context, schema: any)
src/worker.tsx:42
↓ 7 callersFunctionrequireAuth
(c: Context)
examples/organizations/index.tsx:150
↓ 7 callersMethodwhere
(field: string, op: string, value: any)
src/client.ts:371
↓ 5 callersFunctioncreateUserDOWorker
(bindingName: string = 'USERDO')
src/worker.tsx:412
↓ 5 callersMethodfindById
(id: string)
src/client.ts:321
↓ 5 callersFunctiongetMyAppDO
(c: any, email: string)
examples/hono/index.tsx:59
↓ 5 callersFunctiongetUserDOFromContext
(c: Context, email: string, bindingName: string = 'USERDO')
src/worker.tsx:403
↓ 5 callersMethodidFromName
(name: string)
examples/react-vite/worker-configuration.d.ts:414
↓ 5 callersMethodsetOrganizationContext
(organizationId?: string)
src/UserDO.ts:505
↓ 5 callersMethodtoString
()
examples/react-vite/worker-configuration.d.ts:408
↓ 4 callersMethodemitAuthChange
()
src/client.ts:129
↓ 4 callersFunctionfetch
(request: Request, env: any, ctx: any)
examples/react-vite/src/worker/index.ts:165
↓ 4 callersMethodgetOrganizations
()
src/UserDO.ts:528
↓ 4 callersFunctiongetTaskAppDO
(c: Context, email: string)
examples/react-vite/src/worker/index.ts:79
↓ 4 callersFunctionhashPassword
( password: string )
src/UserDO.ts:106
↓ 4 callersFunctionrequireAuth
(c: Context)
examples/react-vite/src/worker/index.ts:83
↓ 4 callersFunctionrequireAuth
(c: any)
examples/hono/index.tsx:63
↓ 4 callersMethodset
( key: string, value: unknown )
src/UserDO.ts:424
↓ 3 callersFunctionbroadcastPostChange
(email: string, action: string, data: any, env: any)
examples/hono/index.tsx:71
↓ 3 callersFunctionbroadcastTaskChange
(email: string, action: string, data: any, env: any)
examples/react-vite/src/worker/index.ts:91
↓ 3 callersFunctionbroadcastToUser
(email: string, message: any, bindingName: string = 'USERDO', env: any)
src/worker.tsx:416
↓ 3 callersFunctioncreateWebSocketHandler
(bindingName: string = 'USERDO')
src/worker.tsx:431
↓ 3 callersMethodfindUserDONamespace
()
src/UserDO.ts:707
↓ 3 callersMethodgetProjects
(organizationId: string)
examples/organizations/index.tsx:101
↓ 3 callersMethodlogin
( { email, password }: { email: string; password: string } )
src/UserDO.ts:258
↓ 3 callersMethodlogout
()
src/UserDO.ts:499
↓ 3 callersMethodsend
(message: Body, options?: QueueSendOptions)
examples/react-vite/worker-configuration.d.ts:1483
↓ 3 callersFunctionsetAuthCookies
(c: Context, token: string, refreshToken: string)
src/worker.tsx:26
↓ 3 callersFunctionsignJWT
(payload: JwtPayload, secret: string)
src/jwt-utils.ts:102
↓ 3 callersMethodsignup
( { email, password }: { email: string; password: string } )
src/UserDO.ts:218
↓ 3 callersMethodupdate
(id: string, updates: any)
src/client.ts:329
↓ 2 callersMethodautoDetectCookieDomain
* Auto-detect if we're in a cross-subdomain scenario and return the root domain
src/client.ts:66
↓ 2 callersMethodcheckRateLimit
()
src/UserDO.ts:176
↓ 2 callersFunctionclearAuthCookies
(c: Context)
src/worker.tsx:37
↓ 2 callersMethodcreatePost
(title: string, content: string)
examples/hono/index.tsx:23
↓ 2 callersFunctioncreateRoutes
(getUserDO: (c: Context, email: string) => UserDO)
src/worker.tsx:70
↓ 2 callersFunctiondecodeJWT
(jwt: string)
src/authMiddleware.ts:23
↓ 2 callersFunctiondecodeJWT
(token: string)
src/jwt-utils.ts:17
↓ 2 callersMethoddisconnectWebSocket
()
src/client.ts:193
↓ 2 callersMethodensureUserDO
()
examples/alchemy/src/worker.ts:22
↓ 2 callersMethodfirst
()
src/database/query.ts:116
↓ 2 callersMethodgenerateTokens
(user: User)
src/UserDO.ts:194
↓ 2 callersFunctiongetDO
(env: Env, email: string)
src/UserDO.ts:102
↓ 2 callersMethodgetPosts
()
examples/hono/index.tsx:39
↓ 2 callersFunctionhandleFormAuth
(c: Context, action: 'signup' | 'login')
src/worker.tsx:183
↓ 2 callersFunctionisReservedKey
(key: string)
src/UserDO.ts:66
↓ 2 callersMethodreplace
(content: string | ReadableStream | Response, options?: ContentOptions)
examples/react-vite/worker-configuration.d.ts:1203
↓ 2 callersMethodset
(key: string, value: any)
src/client.ts:273
↓ 2 callersMethodtable
( name: string, schema: T, options?: TableOptions )
src/UserDO.ts:723
↓ 2 callersFunctionverifyJWT
(token: string, secret: string)
src/jwt-utils.ts:35
↓ 2 callersFunctionverifyPassword
( password: string, salt: string, expectedHash: string )
src/UserDO.ts:118
↓ 2 callersMethodverifyToken
( { token }: { token: string } )
src/UserDO.ts:396
↓ 1 callersMethodacceptWebSocket
(ws: WebSocket, tags?: string[])
examples/react-vite/worker-configuration.d.ts:433
↓ 1 callersMethodaddMembership
(membership: OrganizationMembership)
src/UserDO.ts:649
↓ 1 callersMethodaddOrganizationMember
( organizationId: string, email: string, role: 'admin' | 'member' = 'member' )
src/UserDO.ts:587
↓ 1 callersFunctionauthEffect
(stub: MyAppDO)
examples/effect/src/worker.ts:50
↓ 1 callersMethodbuildWebSocketUrl
* Builds the WebSocket URL, using custom websocketUrl if provided, * otherwise falling back to constructing from baseUrl and current location
src/client.ts:150
↓ 1 callersMethodcheckAuthStatus
()
src/client.ts:106
↓ 1 callersMethodclose
()
examples/react-vite/worker-configuration.d.ts:2406
↓ 1 callersMethodconnectWebSocket
()
src/client.ts:161
↓ 1 callersFunctioncreateAuthMiddleware
(getUserDO: GetUserDO, logPrefix = '')
src/authMiddleware.ts:9
↓ 1 callersMethodcreateOrganization
(name: string)
src/UserDO.ts:509
↓ 1 callersMethodcreatePost
(title: string, content: string)
examples/effect/src/worker.ts:18
↓ 1 callersMethodcreatePost
(title: string, content: string)
examples/alchemy/src/worker.ts:30
↓ 1 callersFunctioncreatePostEffect
(stub: MyAppDO, title: string, content: string)
examples/effect/src/worker.ts:36
↓ 1 callersMethodcreateProject
(name: string, description: string, organizationId: string)
examples/organizations/index.tsx:86
↓ 1 callersMethodcreateTask
(title: string, description: string)
examples/react-vite/src/worker/index.ts:24
↓ 1 callersMethodcreateTask
(title: string, description: string, projectId: string, organizationId: string, assignedTo?: string)
examples/organizations/index.tsx:107
↓ 1 callersMethoddeletePost
(id: string)
examples/hono/index.tsx:43
↓ 1 callersFunctiondeleteTask
(taskId: string)
examples/react-vite/src/react-app/App.tsx:156
↓ 1 callersMethoddeleteTask
(id: string)
examples/react-vite/src/worker/index.ts:45
↓ 1 callersMethoddeleteUser
()
src/UserDO.ts:302
↓ 1 callersMethodensureTableExists
(name: string, options: TableOptions)
src/database/index.ts:50
↓ 1 callersMethodfindById
(id: string)
src/database/table.ts:47
↓ 1 callersFunctionfullFlow
(stub: MyAppDO, title: string, content: string)
examples/effect/src/worker.ts:66
↓ 1 callersFunctiongenerateAccessToken
( userId: string, email: string, secret: string, expiresInMinutes: number = 15 )
src/jwt-utils.ts:114
↓ 1 callersMethodgeneratePasswordResetToken
()
src/UserDO.ts:350
↓ 1 callersMethodgetAll
()
src/database/table.ts:140
↓ 1 callersMethodgetCurrentUserId
()
src/UserDO.ts:735
↓ 1 callersMethodgetOwnedOrganization
(organizationId: string)
src/UserDO.ts:578
next →1–100 of 565, ranked by callers