Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cholasimmons/bun-elysia-modular_auth
/ functions
Functions
531 in github.com/cholasimmons/bun-elysia-modular_auth
⨍
Functions
531
◇
Types & classes
124
Method
oAuth_Account
* `prisma.oAuth_Account`: Exposes CRUD operations for the **OAuth_Account** model. * Example usage: * ```ts * // Fetch zero or more OAuth_
src/generated/prisma/internal/class.ts:279
Method
oauth
(args?: Prisma.Subset<T, Prisma.User$oauthArgs<ExtArgs>>)
src/generated/prisma/models/User.ts:1431
Function
open
(ws)
src/_modules/notifications/index.ts:48
Method
passwordResetToken
* `prisma.passwordResetToken`: Exposes CRUD operations for the **PasswordResetToken** model. * Example usage: * ```ts * // Fetch zero or m
src/generated/prisma/internal/class.ts:319
Method
payerWallet
(args?: Prisma.Subset<T, Prisma.WalletDefaultArgs<ExtArgs>>)
src/generated/prisma/models/WalletTransaction.ts:1280
Function
phoneSanitizer
(phone: string)
src/_utils/utilities.ts:49
Method
processJob
(job: any)
src/_queues/file.queue.ts:10
Method
processJob
(job: any)
src/_queues/email.queue.ts:15
Method
processJob
(job: any)
src/_queues/workers/file.worker.ts:10
Method
processJob
(job: any)
src/_queues/workers/email.worker.ts:16
Method
profile
* `prisma.profile`: Exposes CRUD operations for the **Profile** model. * Example usage: * ```ts * // Fetch zero or more Profiles * con
src/generated/prisma/internal/class.ts:329
Method
profile
(args?: Prisma.Subset<T, Prisma.User$profileArgs<ExtArgs>>)
src/generated/prisma/models/User.ts:1430
Method
recoverConnections
()
src/_modules/notifications/connectionsManager.ts:99
Function
redisGetAll
( key: string, )
src/_config/redis.ts:55
Function
refreshTokens
( refreshToken: string, jwt: any, rememberMe?: boolean, )
src/_modules/auth/auth.service.ts:181
Function
registerControllers
(app: any, controllers: any[])
src/_utils/registerControllers.ts:2
Function
remove
(roles: Role[], removeRoles: Role | Role[])
src/_modules/users/users.service.ts:243
Function
removePrefs
(userId: string, prefs: string)
src/_modules/users/users.service.ts:443
Function
removeSubscription
* Remove a subscription.
src/_modules/notifications/notifications.service.ts:39
Function
replacePrefs
(userId: string, newPrefs: string)
src/_modules/users/users.service.ts:449
Function
requestLogger
({request, code, set, user}: any)
src/_utils/systemLogger.ts:5
Function
run
()
src/index.ts:220
Function
sanitizeUserObject
(user: User)
src/_modules/users/users.service.ts:262
Function
sendEmailToUser
( userProfile: Partial<Profile>, message: string, subject?: string, )
src/_modules/users/users.service.ts:356
Function
sendEmailVerificationCode
( email: string, verificationCode: string, )
src/_modules/auth/auth.service.ts:219
Function
sendPasswordResetToken
(email: string, verificationLink: string)
src/_modules/auth/auth.service.ts:294
Method
session
* `prisma.session`: Exposes CRUD operations for the **Session** model. * Example usage: * ```ts * // Fetch zero or more Sessions * con
src/generated/prisma/internal/class.ts:299
Function
sessionDerive
({ request: { headers, method }, cookie, jwt, locals, }: any)
src/_middleware/session.derive.ts:11
Function
setAuthService
(service: AuthService)
src/_queues/queues.ts:8
Function
setupListeners
()
src/_queues/base.queue.ts:23
Function
setupListeners
()
src/_queues/workers/base.worker.ts:25
Function
storeFile
(file: File, bucket: string, filePath:string, metadata?: any)
src/_modules/files/minio.controller.ts:6
Method
subscription
* `prisma.subscription`: Exposes CRUD operations for the **Subscription** model. * Example usage: * ```ts * // Fetch zero or more Subscrip
src/generated/prisma/internal/class.ts:349
Method
subscription
(args?: Prisma.Subset<T, Prisma.SubscriptionDefaultArgs<ExtArgs>>)
src/generated/prisma/models/Profile.ts:1846
Function
swaggerResponse
(data: TSchema | null, defaultMessage?: string)
src/_utils/response_helper.ts:7
Method
then
* 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/Session.ts:1157
Method
then
* 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/WalletTransaction.ts:1287
Method
then
* 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/PasswordResetToken.ts:767
Method
then
* 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/WSConnections.ts:794
Method
then
* 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/FileUpload.ts:1181
Method
then
* 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/Profile.ts:1855
Method
then
* 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/Wallet.ts:1125
Method
then
* 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/Message.ts:957
Method
then
* 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/Subscription.ts:883
Method
then
* 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/OAuth_Account.ts:789
Method
then
* 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/CouponLog.ts:1028
Method
then
* 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/Coupon.ts:1151
Method
then
* 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/WalletTransactionLog.ts:1229
Method
then
* 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/EmailVerificationCode.ts:794
Method
then
* 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/AutoEnrol.ts:911
Method
transactions
(args?: Prisma.Subset<T, Prisma.Wallet$transactionsArgs<ExtArgs>>)
src/generated/prisma/models/Wallet.ts:1117
Method
update
* Update one Session. * @param {SessionUpdateArgs} args - Arguments to update one Session. * @example * // Update one Session * const sess
src/generated/prisma/models/Session.ts:926
Method
update
* Update one WalletTransaction. * @param {WalletTransactionUpdateArgs} args - Arguments to update one WalletTransaction. * @example * // Upda
src/generated/prisma/models/WalletTransaction.ts:1056
Method
update
* Update one PasswordResetToken. * @param {PasswordResetTokenUpdateArgs} args - Arguments to update one PasswordResetToken. * @example * // U
src/generated/prisma/models/PasswordResetToken.ts:537
Method
update
* Update one WSConnections. * @param {WSConnectionsUpdateArgs} args - Arguments to update one WSConnections. * @example * // Update one WSCon
src/generated/prisma/models/WSConnections.ts:564
Method
update
* Update one FileUpload. * @param {FileUploadUpdateArgs} args - Arguments to update one FileUpload. * @example * // Update one FileUpload
src/generated/prisma/models/FileUpload.ts:951
Method
update
* Update one Profile. * @param {ProfileUpdateArgs} args - Arguments to update one Profile. * @example * // Update one Profile * const prof
src/generated/prisma/models/Profile.ts:1621
Method
update
* Update one Wallet. * @param {WalletUpdateArgs} args - Arguments to update one Wallet. * @example * // Update one Wallet * const wallet =
src/generated/prisma/models/Wallet.ts:893
Method
update
* Update one Message. * @param {MessageUpdateArgs} args - Arguments to update one Message. * @example * // Update one Message * const mess
src/generated/prisma/models/Message.ts:727
Method
update
* Update one Subscription. * @param {SubscriptionUpdateArgs} args - Arguments to update one Subscription. * @example * // Update one Subscrip
src/generated/prisma/models/Subscription.ts:652
Method
update
* Update one OAuth_Account. * @param {OAuth_AccountUpdateArgs} args - Arguments to update one OAuth_Account. * @example * // Update one OAuth
src/generated/prisma/models/OAuth_Account.ts:558
Method
update
* Update one CouponLog. * @param {CouponLogUpdateArgs} args - Arguments to update one CouponLog. * @example * // Update one CouponLog * co
src/generated/prisma/models/CouponLog.ts:798
Method
update
* Update one Coupon. * @param {CouponUpdateArgs} args - Arguments to update one Coupon. * @example * // Update one Coupon * const coupon =
src/generated/prisma/models/Coupon.ts:920
Method
update
* Update one WalletTransactionLog. * @param {WalletTransactionLogUpdateArgs} args - Arguments to update one WalletTransactionLog. * @example
src/generated/prisma/models/WalletTransactionLog.ts:999
Method
update
* Update one EmailVerificationCode. * @param {EmailVerificationCodeUpdateArgs} args - Arguments to update one EmailVerificationCode. * @example
src/generated/prisma/models/EmailVerificationCode.ts:564
Method
update
* Update one AutoEnrol. * @param {AutoEnrolUpdateArgs} args - Arguments to update one AutoEnrol. * @example * // Update one AutoEnrol * co
src/generated/prisma/models/AutoEnrol.ts:681
Method
updateMany
* Update zero or more 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:1239
Method
updateMany
* Update zero or more Sessions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/
src/generated/prisma/models/Session.ts:959
Method
updateMany
* Update zero or more WalletTransactions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://
src/generated/prisma/models/WalletTransaction.ts:1089
Method
updateMany
* Update zero or more PasswordResetTokens. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https:/
src/generated/prisma/models/PasswordResetToken.ts:570
Method
updateMany
* Update zero or more WSConnections. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.
src/generated/prisma/models/WSConnections.ts:597
Method
updateMany
* Update zero or more FileUploads. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly
src/generated/prisma/models/FileUpload.ts:984
Method
updateMany
* Update zero or more Profiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/
src/generated/prisma/models/Profile.ts:1654
Method
updateMany
* Update zero or more Wallets. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/n
src/generated/prisma/models/Wallet.ts:926
Method
updateMany
* Update zero or more Messages. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/
src/generated/prisma/models/Message.ts:760
Method
updateMany
* Update zero or more Subscriptions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.
src/generated/prisma/models/Subscription.ts:685
Method
updateMany
* Update zero or more OAuth_Accounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris
src/generated/prisma/models/OAuth_Account.ts:591
Method
updateMany
* Update zero or more CouponLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/
src/generated/prisma/models/CouponLog.ts:831
Method
updateMany
* Update zero or more Coupons. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/n
src/generated/prisma/models/Coupon.ts:953
Method
updateMany
* Update zero or more WalletTransactionLogs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https
src/generated/prisma/models/WalletTransactionLog.ts:1032
Method
updateMany
* Update zero or more EmailVerificationCodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: http
src/generated/prisma/models/EmailVerificationCode.ts:597
Method
updateMany
* Update zero or more AutoEnrols. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/
src/generated/prisma/models/AutoEnrol.ts:714
Method
updateManyAndReturn
* Update zero or more Users and returns the data updated in the database. * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Us
src/generated/prisma/models/User.ts:1269
Method
updateManyAndReturn
* Update zero or more Sessions and returns the data updated in the database. * @param {SessionUpdateManyAndReturnArgs} args - Arguments to update m
src/generated/prisma/models/Session.ts:989
Method
updateManyAndReturn
* Update zero or more WalletTransactions and returns the data updated in the database. * @param {WalletTransactionUpdateManyAndReturnArgs} args - A
src/generated/prisma/models/WalletTransaction.ts:1119
Method
updateManyAndReturn
* Update zero or more PasswordResetTokens and returns the data updated in the database. * @param {PasswordResetTokenUpdateManyAndReturnArgs} args -
src/generated/prisma/models/PasswordResetToken.ts:600
Method
updateManyAndReturn
* Update zero or more WSConnections and returns the data updated in the database. * @param {WSConnectionsUpdateManyAndReturnArgs} args - Arguments
src/generated/prisma/models/WSConnections.ts:627
Method
updateManyAndReturn
* Update zero or more FileUploads and returns the data updated in the database. * @param {FileUploadUpdateManyAndReturnArgs} args - Arguments to up
src/generated/prisma/models/FileUpload.ts:1014
Method
updateManyAndReturn
* Update zero or more Profiles and returns the data updated in the database. * @param {ProfileUpdateManyAndReturnArgs} args - Arguments to update m
src/generated/prisma/models/Profile.ts:1684
Method
updateManyAndReturn
* Update zero or more Wallets and returns the data updated in the database. * @param {WalletUpdateManyAndReturnArgs} args - Arguments to update man
src/generated/prisma/models/Wallet.ts:956
Method
updateManyAndReturn
* Update zero or more Messages and returns the data updated in the database. * @param {MessageUpdateManyAndReturnArgs} args - Arguments to update m
src/generated/prisma/models/Message.ts:790
Method
updateManyAndReturn
* Update zero or more Subscriptions and returns the data updated in the database. * @param {SubscriptionUpdateManyAndReturnArgs} args - Arguments t
src/generated/prisma/models/Subscription.ts:715
Method
updateManyAndReturn
* Update zero or more OAuth_Accounts and returns the data updated in the database. * @param {OAuth_AccountUpdateManyAndReturnArgs} args - Arguments
src/generated/prisma/models/OAuth_Account.ts:621
Method
updateManyAndReturn
* Update zero or more CouponLogs and returns the data updated in the database. * @param {CouponLogUpdateManyAndReturnArgs} args - Arguments to upda
src/generated/prisma/models/CouponLog.ts:861
Method
updateManyAndReturn
* Update zero or more Coupons and returns the data updated in the database. * @param {CouponUpdateManyAndReturnArgs} args - Arguments to update man
src/generated/prisma/models/Coupon.ts:983
Method
updateManyAndReturn
* Update zero or more WalletTransactionLogs and returns the data updated in the database. * @param {WalletTransactionLogUpdateManyAndReturnArgs} ar
src/generated/prisma/models/WalletTransactionLog.ts:1062
Method
updateManyAndReturn
* Update zero or more EmailVerificationCodes and returns the data updated in the database. * @param {EmailVerificationCodeUpdateManyAndReturnArgs}
src/generated/prisma/models/EmailVerificationCode.ts:627
Method
updateManyAndReturn
* Update zero or more AutoEnrols and returns the data updated in the database. * @param {AutoEnrolUpdateManyAndReturnArgs} args - Arguments to upda
src/generated/prisma/models/AutoEnrol.ts:744
Method
upsert
* Create or update one Session. * @param {SessionUpsertArgs} args - Arguments to update or create a Session. * @example * // Update or create
src/generated/prisma/models/Session.ts:1008
Method
upsert
* Create or update one WalletTransaction. * @param {WalletTransactionUpsertArgs} args - Arguments to update or create a WalletTransaction. * @ex
src/generated/prisma/models/WalletTransaction.ts:1138
← previous
next →
401–500 of 531, ranked by callers