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
findFirstOrThrow
* Find the first Profile that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that pr
src/generated/prisma/models/Profile.ts:1520
Method
findFirstOrThrow
* Find the first Wallet that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that pro
src/generated/prisma/models/Wallet.ts:792
Method
findFirstOrThrow
* Find the first Message that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that pr
src/generated/prisma/models/Message.ts:626
Method
findFirstOrThrow
* Find the first Subscription that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, th
src/generated/prisma/models/Subscription.ts:551
Method
findFirstOrThrow
* Find the first OAuth_Account that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, t
src/generated/prisma/models/OAuth_Account.ts:457
Method
findFirstOrThrow
* Find the first CouponLog that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that
src/generated/prisma/models/CouponLog.ts:697
Method
findFirstOrThrow
* Find the first Coupon that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that pro
src/generated/prisma/models/Coupon.ts:819
Method
findFirstOrThrow
* Find the first WalletTransactionLog that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. *
src/generated/prisma/models/WalletTransactionLog.ts:898
Method
findFirstOrThrow
* Find the first EmailVerificationCode that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. *
src/generated/prisma/models/EmailVerificationCode.ts:463
Method
findFirstOrThrow
* Find the first AutoEnrol that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that
src/generated/prisma/models/AutoEnrol.ts:580
Method
findMany
* Find zero or more Sessions that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more he
src/generated/prisma/models/Session.ts:843
Method
findMany
* Find zero or more WalletTransactions that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Re
src/generated/prisma/models/WalletTransaction.ts:973
Method
findMany
* Find zero or more PasswordResetTokens that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * R
src/generated/prisma/models/PasswordResetToken.ts:454
Method
findMany
* Find zero or more WSConnections that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read mo
src/generated/prisma/models/WSConnections.ts:481
Method
findMany
* Find zero or more FileUploads that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more
src/generated/prisma/models/FileUpload.ts:868
Method
findMany
* Find zero or more Profiles that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more he
src/generated/prisma/models/Profile.ts:1538
Method
findMany
* Find zero or more Wallets that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more her
src/generated/prisma/models/Wallet.ts:810
Method
findMany
* Find zero or more Messages that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more he
src/generated/prisma/models/Message.ts:644
Method
findMany
* Find zero or more Subscriptions that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read mo
src/generated/prisma/models/Subscription.ts:569
Method
findMany
* Find zero or more OAuth_Accounts that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read m
src/generated/prisma/models/OAuth_Account.ts:475
Method
findMany
* Find zero or more CouponLogs that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more
src/generated/prisma/models/CouponLog.ts:715
Method
findMany
* Find zero or more Coupons that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more her
src/generated/prisma/models/Coupon.ts:837
Method
findMany
* Find zero or more WalletTransactionLogs that matches the filter. * Note, that providing `undefined` is treated as the value not being there. *
src/generated/prisma/models/WalletTransactionLog.ts:916
Method
findMany
* Find zero or more EmailVerificationCodes that matches the filter. * Note, that providing `undefined` is treated as the value not being there.
src/generated/prisma/models/EmailVerificationCode.ts:481
Method
findMany
* Find zero or more AutoEnrols that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more
src/generated/prisma/models/AutoEnrol.ts:598
Method
findUnique
* Find zero or one Session that matches the filter. * @param {SessionFindUniqueArgs} args - Arguments to find a Session * @example * // Get o
src/generated/prisma/models/Session.ts:780
Method
findUnique
* Find zero or one WalletTransaction that matches the filter. * @param {WalletTransactionFindUniqueArgs} args - Arguments to find a WalletTransacti
src/generated/prisma/models/WalletTransaction.ts:910
Method
findUnique
* Find zero or one PasswordResetToken that matches the filter. * @param {PasswordResetTokenFindUniqueArgs} args - Arguments to find a PasswordReset
src/generated/prisma/models/PasswordResetToken.ts:391
Method
findUnique
* Find zero or one WSConnections that matches the filter. * @param {WSConnectionsFindUniqueArgs} args - Arguments to find a WSConnections * @exa
src/generated/prisma/models/WSConnections.ts:418
Method
findUnique
* Find zero or one FileUpload that matches the filter. * @param {FileUploadFindUniqueArgs} args - Arguments to find a FileUpload * @example *
src/generated/prisma/models/FileUpload.ts:805
Method
findUnique
* Find zero or one Profile that matches the filter. * @param {ProfileFindUniqueArgs} args - Arguments to find a Profile * @example * // Get o
src/generated/prisma/models/Profile.ts:1475
Method
findUnique
* Find zero or one Wallet that matches the filter. * @param {WalletFindUniqueArgs} args - Arguments to find a Wallet * @example * // Get one
src/generated/prisma/models/Wallet.ts:747
Method
findUnique
* Find zero or one Message that matches the filter. * @param {MessageFindUniqueArgs} args - Arguments to find a Message * @example * // Get o
src/generated/prisma/models/Message.ts:581
Method
findUnique
* Find zero or one Subscription that matches the filter. * @param {SubscriptionFindUniqueArgs} args - Arguments to find a Subscription * @exampl
src/generated/prisma/models/Subscription.ts:506
Method
findUnique
* Find zero or one OAuth_Account that matches the filter. * @param {OAuth_AccountFindUniqueArgs} args - Arguments to find a OAuth_Account * @exa
src/generated/prisma/models/OAuth_Account.ts:412
Method
findUnique
* Find zero or one CouponLog that matches the filter. * @param {CouponLogFindUniqueArgs} args - Arguments to find a CouponLog * @example * //
src/generated/prisma/models/CouponLog.ts:652
Method
findUnique
* Find zero or one Coupon that matches the filter. * @param {CouponFindUniqueArgs} args - Arguments to find a Coupon * @example * // Get one
src/generated/prisma/models/Coupon.ts:774
Method
findUnique
* Find zero or one WalletTransactionLog that matches the filter. * @param {WalletTransactionLogFindUniqueArgs} args - Arguments to find a WalletTra
src/generated/prisma/models/WalletTransactionLog.ts:853
Method
findUnique
* Find zero or one EmailVerificationCode that matches the filter. * @param {EmailVerificationCodeFindUniqueArgs} args - Arguments to find a EmailVe
src/generated/prisma/models/EmailVerificationCode.ts:418
Method
findUnique
* Find zero or one AutoEnrol that matches the filter. * @param {AutoEnrolFindUniqueArgs} args - Arguments to find a AutoEnrol * @example * //
src/generated/prisma/models/AutoEnrol.ts:535
Method
findUniqueOrThrow
* Find one User that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserFindUniqueOrThrowA
src/generated/prisma/models/User.ts:1074
Method
findUniqueOrThrow
* Find one Session that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SessionFindUniqueOr
src/generated/prisma/models/Session.ts:794
Method
findUniqueOrThrow
* Find one WalletTransaction that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WalletTra
src/generated/prisma/models/WalletTransaction.ts:924
Method
findUniqueOrThrow
* Find one PasswordResetToken that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {Password
src/generated/prisma/models/PasswordResetToken.ts:405
Method
findUniqueOrThrow
* Find one WSConnections that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WSConnections
src/generated/prisma/models/WSConnections.ts:432
Method
findUniqueOrThrow
* Find one FileUpload that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {FileUploadFindUn
src/generated/prisma/models/FileUpload.ts:819
Method
findUniqueOrThrow
* Find one Profile that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProfileFindUniqueOr
src/generated/prisma/models/Profile.ts:1489
Method
findUniqueOrThrow
* Find one Wallet that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {WalletFindUniqueOrTh
src/generated/prisma/models/Wallet.ts:761
Method
findUniqueOrThrow
* Find one Message that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {MessageFindUniqueOr
src/generated/prisma/models/Message.ts:595
Method
findUniqueOrThrow
* Find one Subscription that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SubscriptionFi
src/generated/prisma/models/Subscription.ts:520
Method
findUniqueOrThrow
* Find one OAuth_Account that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {OAuth_Account
src/generated/prisma/models/OAuth_Account.ts:426
Method
findUniqueOrThrow
* Find one CouponLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CouponLogFindUniq
src/generated/prisma/models/CouponLog.ts:666
Method
findUniqueOrThrow
* Find one Coupon that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CouponFindUniqueOrTh
src/generated/prisma/models/Coupon.ts:788
Method
findUniqueOrThrow
* Find one WalletTransactionLog that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {Wallet
src/generated/prisma/models/WalletTransactionLog.ts:867
Method
findUniqueOrThrow
* Find one EmailVerificationCode that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {Email
src/generated/prisma/models/EmailVerificationCode.ts:432
Method
findUniqueOrThrow
* Find one AutoEnrol that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AutoEnrolFindUniq
src/generated/prisma/models/AutoEnrol.ts:549
Function
generateEmailVerificationCode
( userId: string, email: string, )
src/_modules/auth/auth.service.ts:195
Function
getAll
(isActive?: boolean, profiles?: boolean)
src/_modules/users/users.service.ts:19
Function
getAllCouponsAsAdmin
(params?: { isActive: boolean })
src/_modules/coupons/coupon.service.ts:66
Function
getCachedUser
(userId: string)
src/_modules/users/users.service.ts:456
Method
getConnectionId
* Get connectionId by userId
src/_modules/notifications/connectionsManager.ts:122
Function
getCouponByCode
(couponCode: string, profileId?: string)
src/_modules/coupons/coupon.service.ts:41
Function
getCouponsByUserProfileId
(profileId: string)
src/_modules/coupons/coupon.service.ts:54
Function
getMessagesByUserId
( userId: string, query?: { isRead?: boolean; isArchive?: boolean }, )
src/_modules/messages/message.service.ts:98
Function
getPrismaClientClass
()
src/generated/prisma/internal/class.ts:352
Function
getProfileByUserId
( userId: string, query?: { account?: boolean; subscription?: boolean; usedCoupons?:
src/_modules/users/users.service.ts:286
Function
getSubscribedCategories
* Get subscribed categories for a connectionId.
src/_modules/notifications/notifications.service.ts:53
Function
getUser
( userId: string, opts?: { profile?: boolean; isActive?: boolean }, )
src/_modules/users/users.service.ts:55
Method
getUserId
* Get userId by connectionId
src/_modules/notifications/connectionsManager.ts:129
Function
getWalletByID
( userProfileId: string, query?: { transactions?: boolean; profile?: boolean }, )
src/_modules/wallets/wallet.service.ts:90
Function
gracefulShutdown
()
src/_utils/systemLogger.ts:58
Method
groupBy
* Group by User. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined
src/generated/prisma/models/User.ts:1358
Method
groupBy
* Group by Session. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefin
src/generated/prisma/models/Session.ts:1078
Method
groupBy
* Group by WalletTransaction. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/nu
src/generated/prisma/models/WalletTransaction.ts:1208
Method
groupBy
* Group by PasswordResetToken. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/n
src/generated/prisma/models/PasswordResetToken.ts:689
Method
groupBy
* Group by WSConnections. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-u
src/generated/prisma/models/WSConnections.ts:716
Method
groupBy
* Group by FileUpload. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-unde
src/generated/prisma/models/FileUpload.ts:1103
Method
groupBy
* Group by Profile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefin
src/generated/prisma/models/Profile.ts:1773
Method
groupBy
* Group by Wallet. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefine
src/generated/prisma/models/Wallet.ts:1045
Method
groupBy
* Group by Message. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefin
src/generated/prisma/models/Message.ts:879
Method
groupBy
* Group by Subscription. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-un
src/generated/prisma/models/Subscription.ts:804
Method
groupBy
* Group by OAuth_Account. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-u
src/generated/prisma/models/OAuth_Account.ts:710
Method
groupBy
* Group by CouponLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undef
src/generated/prisma/models/CouponLog.ts:950
Method
groupBy
* Group by Coupon. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefine
src/generated/prisma/models/Coupon.ts:1072
Method
groupBy
* Group by WalletTransactionLog. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d
src/generated/prisma/models/WalletTransactionLog.ts:1151
Method
groupBy
* Group by EmailVerificationCode. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/
src/generated/prisma/models/EmailVerificationCode.ts:716
Method
groupBy
* Group by AutoEnrol. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undef
src/generated/prisma/models/AutoEnrol.ts:833
Function
handleError
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:47
Function
handleOAuth2Error
(error: CustomError, set: any)
src/_middleware/errorMessages.ts:112
Function
headerCheck
({ request: { headers }, authMethod }: any)
src/_middleware/authChecks.ts:9
Function
health
()
src/_modules/auth/auth.service.ts:271
Method
instance
()
src/_modules/notifications/connectionsManager.ts:26
Function
isTokenBlacklisted
(token: string)
src/_config/redis.ts:69
Function
makePayment
( userProfId: string, amountToPay: number, discountCode: string, payeeProfileId: string, r
src/_modules/wallets/wallet.service.ts:105
Function
markMessageAsArchived
(messageId: string, userId: string)
src/_modules/messages/message.service.ts:125
Function
markMessageAsRead
(messageId: string, userId: string)
src/_modules/messages/message.service.ts:112
Function
message
(ws, body)
src/_modules/notifications/index.ts:77
Method
message
* `prisma.message`: Exposes CRUD operations for the **Message** model. * Example usage: * ```ts * // Fetch zero or more Messages * con
src/generated/prisma/internal/class.ts:259
Function
modifySubscription
( userId: string, subscription: SubscriptionType, )
src/_modules/users/users.service.ts:422
Function
monthsToDate
(months: number)
src/_utils/utilities.ts:72
← previous
next →
301–400 of 531, ranked by callers