MCPcopy Create free account

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

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

MethodoAuth_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
Methodoauth
(args?: Prisma.Subset<T, Prisma.User$oauthArgs<ExtArgs>>)
src/generated/prisma/models/User.ts:1431
Functionopen
(ws)
src/_modules/notifications/index.ts:48
MethodpasswordResetToken
* `prisma.passwordResetToken`: Exposes CRUD operations for the **PasswordResetToken** model. * Example usage: * ```ts * // Fetch zero or m
src/generated/prisma/internal/class.ts:319
MethodpayerWallet
(args?: Prisma.Subset<T, Prisma.WalletDefaultArgs<ExtArgs>>)
src/generated/prisma/models/WalletTransaction.ts:1280
FunctionphoneSanitizer
(phone: string)
src/_utils/utilities.ts:49
MethodprocessJob
(job: any)
src/_queues/file.queue.ts:10
MethodprocessJob
(job: any)
src/_queues/email.queue.ts:15
MethodprocessJob
(job: any)
src/_queues/workers/file.worker.ts:10
MethodprocessJob
(job: any)
src/_queues/workers/email.worker.ts:16
Methodprofile
* `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
Methodprofile
(args?: Prisma.Subset<T, Prisma.User$profileArgs<ExtArgs>>)
src/generated/prisma/models/User.ts:1430
MethodrecoverConnections
()
src/_modules/notifications/connectionsManager.ts:99
FunctionredisGetAll
( key: string, )
src/_config/redis.ts:55
FunctionrefreshTokens
( refreshToken: string, jwt: any, rememberMe?: boolean, )
src/_modules/auth/auth.service.ts:181
FunctionregisterControllers
(app: any, controllers: any[])
src/_utils/registerControllers.ts:2
Functionremove
(roles: Role[], removeRoles: Role | Role[])
src/_modules/users/users.service.ts:243
FunctionremovePrefs
(userId: string, prefs: string)
src/_modules/users/users.service.ts:443
FunctionremoveSubscription
* Remove a subscription.
src/_modules/notifications/notifications.service.ts:39
FunctionreplacePrefs
(userId: string, newPrefs: string)
src/_modules/users/users.service.ts:449
FunctionrequestLogger
({request, code, set, user}: any)
src/_utils/systemLogger.ts:5
Functionrun
()
src/index.ts:220
FunctionsanitizeUserObject
(user: User)
src/_modules/users/users.service.ts:262
FunctionsendEmailToUser
( userProfile: Partial<Profile>, message: string, subject?: string, )
src/_modules/users/users.service.ts:356
FunctionsendEmailVerificationCode
( email: string, verificationCode: string, )
src/_modules/auth/auth.service.ts:219
FunctionsendPasswordResetToken
(email: string, verificationLink: string)
src/_modules/auth/auth.service.ts:294
Methodsession
* `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
FunctionsessionDerive
({ request: { headers, method }, cookie, jwt, locals, }: any)
src/_middleware/session.derive.ts:11
FunctionsetAuthService
(service: AuthService)
src/_queues/queues.ts:8
FunctionsetupListeners
()
src/_queues/base.queue.ts:23
FunctionsetupListeners
()
src/_queues/workers/base.worker.ts:25
FunctionstoreFile
(file: File, bucket: string, filePath:string, metadata?: any)
src/_modules/files/minio.controller.ts:6
Methodsubscription
* `prisma.subscription`: Exposes CRUD operations for the **Subscription** model. * Example usage: * ```ts * // Fetch zero or more Subscrip
src/generated/prisma/internal/class.ts:349
Methodsubscription
(args?: Prisma.Subset<T, Prisma.SubscriptionDefaultArgs<ExtArgs>>)
src/generated/prisma/models/Profile.ts:1846
FunctionswaggerResponse
(data: TSchema | null, defaultMessage?: string)
src/_utils/response_helper.ts:7
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodthen
* 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
Methodtransactions
(args?: Prisma.Subset<T, Prisma.Wallet$transactionsArgs<ExtArgs>>)
src/generated/prisma/models/Wallet.ts:1117
Methodupdate
* Update one Session. * @param {SessionUpdateArgs} args - Arguments to update one Session. * @example * // Update one Session * const sess
src/generated/prisma/models/Session.ts:926
Methodupdate
* Update one WalletTransaction. * @param {WalletTransactionUpdateArgs} args - Arguments to update one WalletTransaction. * @example * // Upda
src/generated/prisma/models/WalletTransaction.ts:1056
Methodupdate
* Update one PasswordResetToken. * @param {PasswordResetTokenUpdateArgs} args - Arguments to update one PasswordResetToken. * @example * // U
src/generated/prisma/models/PasswordResetToken.ts:537
Methodupdate
* Update one WSConnections. * @param {WSConnectionsUpdateArgs} args - Arguments to update one WSConnections. * @example * // Update one WSCon
src/generated/prisma/models/WSConnections.ts:564
Methodupdate
* Update one FileUpload. * @param {FileUploadUpdateArgs} args - Arguments to update one FileUpload. * @example * // Update one FileUpload
src/generated/prisma/models/FileUpload.ts:951
Methodupdate
* Update one Profile. * @param {ProfileUpdateArgs} args - Arguments to update one Profile. * @example * // Update one Profile * const prof
src/generated/prisma/models/Profile.ts:1621
Methodupdate
* Update one Wallet. * @param {WalletUpdateArgs} args - Arguments to update one Wallet. * @example * // Update one Wallet * const wallet =
src/generated/prisma/models/Wallet.ts:893
Methodupdate
* Update one Message. * @param {MessageUpdateArgs} args - Arguments to update one Message. * @example * // Update one Message * const mess
src/generated/prisma/models/Message.ts:727
Methodupdate
* Update one Subscription. * @param {SubscriptionUpdateArgs} args - Arguments to update one Subscription. * @example * // Update one Subscrip
src/generated/prisma/models/Subscription.ts:652
Methodupdate
* 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
Methodupdate
* Update one CouponLog. * @param {CouponLogUpdateArgs} args - Arguments to update one CouponLog. * @example * // Update one CouponLog * co
src/generated/prisma/models/CouponLog.ts:798
Methodupdate
* Update one Coupon. * @param {CouponUpdateArgs} args - Arguments to update one Coupon. * @example * // Update one Coupon * const coupon =
src/generated/prisma/models/Coupon.ts:920
Methodupdate
* Update one WalletTransactionLog. * @param {WalletTransactionLogUpdateArgs} args - Arguments to update one WalletTransactionLog. * @example
src/generated/prisma/models/WalletTransactionLog.ts:999
Methodupdate
* Update one EmailVerificationCode. * @param {EmailVerificationCodeUpdateArgs} args - Arguments to update one EmailVerificationCode. * @example
src/generated/prisma/models/EmailVerificationCode.ts:564
Methodupdate
* Update one AutoEnrol. * @param {AutoEnrolUpdateArgs} args - Arguments to update one AutoEnrol. * @example * // Update one AutoEnrol * co
src/generated/prisma/models/AutoEnrol.ts:681
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateMany
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* Update zero or more WalletTransactions and returns the data updated in the database. * @param {WalletTransactionUpdateManyAndReturnArgs} args - A
src/generated/prisma/models/WalletTransaction.ts:1119
MethodupdateManyAndReturn
* Update zero or more PasswordResetTokens and returns the data updated in the database. * @param {PasswordResetTokenUpdateManyAndReturnArgs} args -
src/generated/prisma/models/PasswordResetToken.ts:600
MethodupdateManyAndReturn
* Update zero or more WSConnections and returns the data updated in the database. * @param {WSConnectionsUpdateManyAndReturnArgs} args - Arguments
src/generated/prisma/models/WSConnections.ts:627
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* 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
MethodupdateManyAndReturn
* Update zero or more WalletTransactionLogs and returns the data updated in the database. * @param {WalletTransactionLogUpdateManyAndReturnArgs} ar
src/generated/prisma/models/WalletTransactionLog.ts:1062
MethodupdateManyAndReturn
* Update zero or more EmailVerificationCodes and returns the data updated in the database. * @param {EmailVerificationCodeUpdateManyAndReturnArgs}
src/generated/prisma/models/EmailVerificationCode.ts:627
MethodupdateManyAndReturn
* 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
Methodupsert
* 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
Methodupsert
* Create or update one WalletTransaction. * @param {WalletTransactionUpsertArgs} args - Arguments to update or create a WalletTransaction. * @ex
src/generated/prisma/models/WalletTransaction.ts:1138
← previousnext →401–500 of 531, ranked by callers