MCPcopy Create free account

hub / github.com/cholasimmons/bun-elysia-modular_auth / functions

Functions531 in github.com/cholasimmons/bun-elysia-modular_auth

↓ 130 callersFunction__nullable__
(schema: T)
src/generated/prismabox/__nullable__.ts:2
↓ 67 callersFunctionswaggerDetails
(title: string, description?: string)
src/_utils/response_helper.ts:3
↓ 27 callersMethodupdate
* Update one User. * @param {UserUpdateArgs} args - Arguments to update one User. * @example * // Update one User * const user = await pri
src/generated/prisma/models/User.ts:1206
↓ 21 callersMethodcreate
* Create a User. * @param {UserCreateArgs} args - Arguments to create a User. * @example * // Create one User * const User = await prisma.
src/generated/prisma/models/User.ts:1137
↓ 20 callersMethodfindUnique
* Find zero or one User that matches the filter. * @param {UserFindUniqueArgs} args - Arguments to find a User * @example * // Get one User
src/generated/prisma/models/User.ts:1060
↓ 14 callersFunctionredisSet
( key: string, data: any, lifespan: number = 5, )
src/_config/redis.ts:24
↓ 12 callersMethodfindFirst
* Find the first User that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: htt
src/generated/prisma/models/User.ts:1089
↓ 10 callersMethodfindMany
* Find zero or more Users that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here:
src/generated/prisma/models/User.ts:1123
↓ 8 callersMethod$transaction
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole. * @example * ``` * cons
src/generated/prisma/internal/class.ts:183
↓ 8 callersFunctionstoreBuffer
(buffer: Buffer|Readable, bucket: string, meta?:{ name:string, size:number, type: string, 'X-Amz-Meta-Mode'?:s
src/_modules/files/minio.controller.ts:24
↓ 7 callersFunctionqueueOptions
( delaySeconds: number = 10, attempts: number = 5, priority: number = 5, )
src/_queues/queues.ts:17
↓ 7 callersFunctionredisGet
(key: string)
src/_config/redis.ts:16
↓ 6 callersMethoddelete
* Delete a User. * @param {UserDeleteArgs} args - Arguments to delete one User. * @example * // Delete one User * const User = await prism
src/generated/prisma/models/User.ts:1189
↓ 6 callersMethoddeleteMany
* Delete zero or more Users. * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete. * @example * // Delete a few Users
src/generated/prisma/models/User.ts:1220
↓ 6 callersMethodpublish
* Publish a message to a channel * @param channel - The name of the channel * @param message - The message payload (JSON, string, etc.)
src/_config/redis.ts:88
↓ 6 callersMethodthen
* Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved.
src/generated/prisma/models/User.ts:1439
↓ 5 callersMethod$disconnect
* Disconnect from the database
src/generated/prisma/internal/class.ts:121
↓ 5 callersMethodsubscribe
* Subscribe to a channel and execute a callback on message reception * @param channel - The name of the channel * @param callback - The function
src/_config/redis.ts:99
↓ 4 callersMethod$connect
* Connect with the database
src/generated/prisma/internal/class.ts:116
↓ 4 callersFunctionsplitWords
(sentence: string, index: number = 1)
src/_utils/utilities.ts:36
↓ 3 callersMethodcount
* Count the number of Users. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/nul
src/generated/prisma/models/User.ts:1304
↓ 3 callersFunctionredisKeys
(pattern: string)
src/_config/redis.ts:40
↓ 2 callersMethodcatch
* Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @return
src/generated/prisma/models/User.ts:1445
↓ 2 callersMethodcreateMany
* Create many Users. * @param {UserCreateManyArgs} args - Arguments to create many Users. * @example * // Create many Users * const user =
src/generated/prisma/models/User.ts:1151
↓ 2 callersFunctiondateToFilename
(nowDate: Date = new Date(), extension?: string)
src/_utils/utilities.ts:15
↓ 2 callersFunctionformatDate
(date: Date)
src/_utils/utilities.ts:5
↓ 2 callersMethodgetCachedConnection
Get web socket connections from cache/database, by UserID * @param userId *
src/_modules/notifications/connectionsManager.ts:220
↓ 2 callersFunctiongetDeviceIdentifier
(headers: Headers)
src/_utils/utilities.ts:90
↓ 2 callersFunctiongetGreeting
()
src/_modules/root/index.ts:47
↓ 2 callersFunctionhandleAuthorizationError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:135
↓ 2 callersFunctionhandleDatabaseInitError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:89
↓ 2 callersFunctionhandleInternalServerError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:43
↓ 2 callersFunctionhandleValidationError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:57
↓ 2 callersFunctionprismaSearch
( model: T, options: SearchOptions, )
src/_config/prisma.ts:22
↓ 2 callersFunctionredisDel
(key: string)
src/_config/redis.ts:34
↓ 2 callersMethodsendMessageToUser
(userId: string, message: any)
src/_modules/notifications/connectionsManager.ts:161
↓ 1 callersMethodaddConnection
(ws: ElysiaWS, userId: string, connectionId?: string)
src/_modules/notifications/connectionsManager.ts:33
↓ 1 callersFunctionblacklistToken
(token: string, expiry: number)
src/_config/redis.ts:64
↓ 1 callersMethodclose
* Close the Redis connections
src/_config/redis.ts:120
↓ 1 callersFunctiondecodeBase64AsWasm
(wasmBase64: string)
src/generated/prisma/internal/class.ts:41
↓ 1 callersMethodfinally
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callbac
src/generated/prisma/models/User.ts:1452
↓ 1 callersMethodgetCategories
( userId: string, connectionId: string, )
src/_modules/notifications/connectionsManager.ts:153
↓ 1 callersMethodgetConnectionByUserId
(userId: string)
src/_modules/notifications/connectionsManager.ts:134
↓ 1 callersFunctiongetFile
(filename: string, bucket: string)
src/_modules/files/minio.controller.ts:60
↓ 1 callersFunctiongetFiles
(bucket: string)
src/_modules/files/minio.controller.ts:67
↓ 1 callersFunctionhandleAuthenticationError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:145
↓ 1 callersFunctionhandleConflictError
(error:CustomError, set: any)
src/_middleware/errorMessages.ts:125
↓ 1 callersFunctionhandleDatabaseError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:98
↓ 1 callersFunctionhandleDatabaseValidationError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:93
↓ 1 callersFunctionhandleInvalidBucketError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:35
↓ 1 callersFunctionhandleMinioConnectError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:103
↓ 1 callersFunctionhandleNoAccessError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:154
↓ 1 callersFunctionhandleNotFoundError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:25
↓ 1 callersFunctionhandleParseError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:76
↓ 1 callersFunctionhandleRequestError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:116
↓ 1 callersFunctionhandleRouteNotFoundError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:15
↓ 1 callersFunctionhandleServiceUnavailableError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:5
↓ 1 callersFunctionhandleUnknownError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:83
↓ 1 callersFunctioninitializeCouponEventListeners
()
src/_events/events.ts:84
↓ 1 callersFunctioninitializeEventListeners
()
src/_events/events.ts:122
↓ 1 callersFunctioninitializeMessagingEventListeners
()
src/_events/events.ts:102
↓ 1 callersFunctioninitializeTestEventListeners
()
src/_events/events.ts:14
↓ 1 callersFunctioninitializeUserEventListeners
()
src/_events/events.ts:26
↓ 1 callersFunctioninitializeWalletEventListeners
()
src/_events/events.ts:65
↓ 1 callersFunctionisResponseFile
(r:any)
src/_middleware/customResponse.ts:9
↓ 1 callersFunctionmain
()
prisma/seed.ts:8
↓ 1 callersFunctionreadStream
(dataStream: any)
src/_modules/files/minio.controller.ts:46
↓ 1 callersMethodrecoverSingleConnection
(ws: ElysiaWS, userId: string)
src/_modules/notifications/connectionsManager.ts:78
↓ 1 callersFunctionredisExists
( key: string, data: string, )
src/_config/redis.ts:47
↓ 1 callersMethodremoveConnection
(connectionId: string)
src/_modules/notifications/connectionsManager.ts:54
↓ 1 callersMethodsyncCacheWithDatabase
Cron job to sync cache with database * @interval 60000 (60 seconds)
src/_modules/notifications/connectionsManager.ts:193
↓ 1 callersMethodsyncDatabaseWithCache
Cron job to sync cache with database * @interval 60000 (60 seconds)
src/_modules/notifications/connectionsManager.ts:174
↓ 1 callersMethodupsert
* Create or update one User. * @param {UserUpsertArgs} args - Arguments to update or create a User. * @example * // Update or create a User
src/generated/prisma/models/User.ts:1288
↓ 1 callersFunctionusernameFromEmail
(email: string)
src/_utils/utilities.ts:29
Method$executeRaw
* Executes a prepared raw query and returns the number of affected rows. * @example * ``` * const result = await prisma.$executeRaw`UPDATE Us
src/generated/prisma/internal/class.ts:132
Method$executeRawUnsafe
* Executes a raw query and returns the number of affected rows. * Susceptible to SQL injections, see documentation. * @example * ``` * con
src/generated/prisma/internal/class.ts:144
Method$on
(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void)
src/generated/prisma/internal/class.ts:111
Method$queryRaw
* Performs a prepared raw query and returns the `SELECT` data. * @example * ``` * const result = await prisma.$queryRaw`SELECT * FROM User WH
src/generated/prisma/internal/class.ts:155
Method$queryRawUnsafe
* Performs a raw query and returns the `SELECT` data. * Susceptible to SQL injections, see documentation. * @example * ``` * const result
src/generated/prisma/internal/class.ts:167
FunctionDelete
(path: string, responseOptions: ResponseOptions = {})
src/_utils/routeMethods.ts:74
FunctionGet
(path: string, responseOptions: ResponseOptions = {})
src/_utils/routeMethods.ts:21
FunctionPost
(path: string, responseOptions: ResponseOptions = {})
src/_utils/routeMethods.ts:40
FunctionPut
(path: string, responseOptions: ResponseOptions = {})
src/_utils/routeMethods.ts:57
Function__transformDate__
(options?: Parameters<typeof t.String>[0])
src/generated/prismabox/__transformDate__.ts:2
Functionadd
(name: string, data: any, options?: any)
src/_queues/base.queue.ts:34
Functionadd
( roles: Role[], newRoles: Role | Role[], replaceRoles?: Role | Role[], )
src/_modules/users/users.service.ts:214
FunctionaddPrefs
(userId: string, newPrefs: string)
src/_modules/users/users.service.ts:437
Methodaggregate
* Allows you to perform aggregations operations on a User. * Note, that providing `undefined` is treated as the value not being there. * Read mo
src/generated/prisma/models/User.ts:1338
Methodaggregate
* Allows you to perform aggregations operations on a Session. * Note, that providing `undefined` is treated as the value not being there. * Read
src/generated/prisma/models/Session.ts:1058
Methodaggregate
* Allows you to perform aggregations operations on a WalletTransaction. * Note, that providing `undefined` is treated as the value not being there.
src/generated/prisma/models/WalletTransaction.ts:1188
Methodaggregate
* Allows you to perform aggregations operations on a PasswordResetToken. * Note, that providing `undefined` is treated as the value not being there
src/generated/prisma/models/PasswordResetToken.ts:669
Methodaggregate
* Allows you to perform aggregations operations on a WSConnections. * Note, that providing `undefined` is treated as the value not being there.
src/generated/prisma/models/WSConnections.ts:696
Methodaggregate
* Allows you to perform aggregations operations on a FileUpload. * Note, that providing `undefined` is treated as the value not being there. * R
src/generated/prisma/models/FileUpload.ts:1083
Methodaggregate
* Allows you to perform aggregations operations on a Profile. * Note, that providing `undefined` is treated as the value not being there. * Read
src/generated/prisma/models/Profile.ts:1753
Methodaggregate
* Allows you to perform aggregations operations on a Wallet. * Note, that providing `undefined` is treated as the value not being there. * Read
src/generated/prisma/models/Wallet.ts:1025
Methodaggregate
* Allows you to perform aggregations operations on a Message. * Note, that providing `undefined` is treated as the value not being there. * Read
src/generated/prisma/models/Message.ts:859
Methodaggregate
* Allows you to perform aggregations operations on a Subscription. * Note, that providing `undefined` is treated as the value not being there. *
src/generated/prisma/models/Subscription.ts:784
Methodaggregate
* Allows you to perform aggregations operations on a OAuth_Account. * Note, that providing `undefined` is treated as the value not being there.
src/generated/prisma/models/OAuth_Account.ts:690
Methodaggregate
* Allows you to perform aggregations operations on a CouponLog. * Note, that providing `undefined` is treated as the value not being there. * Re
src/generated/prisma/models/CouponLog.ts:930
Methodaggregate
* Allows you to perform aggregations operations on a Coupon. * Note, that providing `undefined` is treated as the value not being there. * Read
src/generated/prisma/models/Coupon.ts:1052
next →1–100 of 531, ranked by callers