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
createMany
* Create many Wallets. * @param {WalletCreateManyArgs} args - Arguments to create many Wallets. * @example * // Create many Wallets * cons
src/generated/prisma/models/Wallet.ts:838
Method
createMany
* Create many Messages. * @param {MessageCreateManyArgs} args - Arguments to create many Messages. * @example * // Create many Messages *
src/generated/prisma/models/Message.ts:672
Method
createMany
* Create many Subscriptions. * @param {SubscriptionCreateManyArgs} args - Arguments to create many Subscriptions. * @example * // Create many
src/generated/prisma/models/Subscription.ts:597
Method
createMany
* Create many OAuth_Accounts. * @param {OAuth_AccountCreateManyArgs} args - Arguments to create many OAuth_Accounts. * @example * // Create m
src/generated/prisma/models/OAuth_Account.ts:503
Method
createMany
* Create many CouponLogs. * @param {CouponLogCreateManyArgs} args - Arguments to create many CouponLogs. * @example * // Create many CouponLo
src/generated/prisma/models/CouponLog.ts:743
Method
createMany
* Create many Coupons. * @param {CouponCreateManyArgs} args - Arguments to create many Coupons. * @example * // Create many Coupons * cons
src/generated/prisma/models/Coupon.ts:865
Method
createMany
* Create many WalletTransactionLogs. * @param {WalletTransactionLogCreateManyArgs} args - Arguments to create many WalletTransactionLogs. * @exa
src/generated/prisma/models/WalletTransactionLog.ts:944
Method
createMany
* Create many EmailVerificationCodes. * @param {EmailVerificationCodeCreateManyArgs} args - Arguments to create many EmailVerificationCodes. * @
src/generated/prisma/models/EmailVerificationCode.ts:509
Method
createMany
* Create many AutoEnrols. * @param {AutoEnrolCreateManyArgs} args - Arguments to create many AutoEnrols. * @example * // Create many AutoEnro
src/generated/prisma/models/AutoEnrol.ts:626
Method
createManyAndReturn
* Create many Users and returns the data saved in the database. * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users. *
src/generated/prisma/models/User.ts:1175
Method
createManyAndReturn
* Create many Sessions and returns the data saved in the database. * @param {SessionCreateManyAndReturnArgs} args - Arguments to create many Sessio
src/generated/prisma/models/Session.ts:895
Method
createManyAndReturn
* Create many WalletTransactions and returns the data saved in the database. * @param {WalletTransactionCreateManyAndReturnArgs} args - Arguments t
src/generated/prisma/models/WalletTransaction.ts:1025
Method
createManyAndReturn
* Create many PasswordResetTokens and returns the data saved in the database. * @param {PasswordResetTokenCreateManyAndReturnArgs} args - Arguments
src/generated/prisma/models/PasswordResetToken.ts:506
Method
createManyAndReturn
* Create many WSConnections and returns the data saved in the database. * @param {WSConnectionsCreateManyAndReturnArgs} args - Arguments to create
src/generated/prisma/models/WSConnections.ts:533
Method
createManyAndReturn
* Create many FileUploads and returns the data saved in the database. * @param {FileUploadCreateManyAndReturnArgs} args - Arguments to create many
src/generated/prisma/models/FileUpload.ts:920
Method
createManyAndReturn
* Create many Profiles and returns the data saved in the database. * @param {ProfileCreateManyAndReturnArgs} args - Arguments to create many Profil
src/generated/prisma/models/Profile.ts:1590
Method
createManyAndReturn
* Create many Wallets and returns the data saved in the database. * @param {WalletCreateManyAndReturnArgs} args - Arguments to create many Wallets.
src/generated/prisma/models/Wallet.ts:862
Method
createManyAndReturn
* Create many Messages and returns the data saved in the database. * @param {MessageCreateManyAndReturnArgs} args - Arguments to create many Messag
src/generated/prisma/models/Message.ts:696
Method
createManyAndReturn
* Create many Subscriptions and returns the data saved in the database. * @param {SubscriptionCreateManyAndReturnArgs} args - Arguments to create m
src/generated/prisma/models/Subscription.ts:621
Method
createManyAndReturn
* Create many OAuth_Accounts and returns the data saved in the database. * @param {OAuth_AccountCreateManyAndReturnArgs} args - Arguments to create
src/generated/prisma/models/OAuth_Account.ts:527
Method
createManyAndReturn
* Create many CouponLogs and returns the data saved in the database. * @param {CouponLogCreateManyAndReturnArgs} args - Arguments to create many Co
src/generated/prisma/models/CouponLog.ts:767
Method
createManyAndReturn
* Create many Coupons and returns the data saved in the database. * @param {CouponCreateManyAndReturnArgs} args - Arguments to create many Coupons.
src/generated/prisma/models/Coupon.ts:889
Method
createManyAndReturn
* Create many WalletTransactionLogs and returns the data saved in the database. * @param {WalletTransactionLogCreateManyAndReturnArgs} args - Argum
src/generated/prisma/models/WalletTransactionLog.ts:968
Method
createManyAndReturn
* Create many EmailVerificationCodes and returns the data saved in the database. * @param {EmailVerificationCodeCreateManyAndReturnArgs} args - Arg
src/generated/prisma/models/EmailVerificationCode.ts:533
Method
createManyAndReturn
* Create many AutoEnrols and returns the data saved in the database. * @param {AutoEnrolCreateManyAndReturnArgs} args - Arguments to create many Au
src/generated/prisma/models/AutoEnrol.ts:650
Function
createPasswordResetToken
(userId: string)
src/_modules/auth/auth.service.ts:277
Function
createUserProfile
(data: any)
src/_modules/users/users.service.ts:87
Function
default
()
src/_modules/messages/message.service.ts:12
Function
default
()
src/_modules/wallets/wallet.service.ts:15
Function
default
()
src/_modules/coupons/coupon.service.ts:6
Method
delete
* Delete a Session. * @param {SessionDeleteArgs} args - Arguments to delete one Session. * @example * // Delete one Session * const Sessio
src/generated/prisma/models/Session.ts:909
Method
delete
* Delete a WalletTransaction. * @param {WalletTransactionDeleteArgs} args - Arguments to delete one WalletTransaction. * @example * // Delete
src/generated/prisma/models/WalletTransaction.ts:1039
Method
delete
* Delete a PasswordResetToken. * @param {PasswordResetTokenDeleteArgs} args - Arguments to delete one PasswordResetToken. * @example * // Del
src/generated/prisma/models/PasswordResetToken.ts:520
Method
delete
* Delete a WSConnections. * @param {WSConnectionsDeleteArgs} args - Arguments to delete one WSConnections. * @example * // Delete one WSConne
src/generated/prisma/models/WSConnections.ts:547
Method
delete
* Delete a FileUpload. * @param {FileUploadDeleteArgs} args - Arguments to delete one FileUpload. * @example * // Delete one FileUpload *
src/generated/prisma/models/FileUpload.ts:934
Method
delete
* Delete a Profile. * @param {ProfileDeleteArgs} args - Arguments to delete one Profile. * @example * // Delete one Profile * const Profil
src/generated/prisma/models/Profile.ts:1604
Method
delete
* Delete a Wallet. * @param {WalletDeleteArgs} args - Arguments to delete one Wallet. * @example * // Delete one Wallet * const Wallet = a
src/generated/prisma/models/Wallet.ts:876
Method
delete
* Delete a Message. * @param {MessageDeleteArgs} args - Arguments to delete one Message. * @example * // Delete one Message * const Messag
src/generated/prisma/models/Message.ts:710
Method
delete
* Delete a Subscription. * @param {SubscriptionDeleteArgs} args - Arguments to delete one Subscription. * @example * // Delete one Subscripti
src/generated/prisma/models/Subscription.ts:635
Method
delete
* Delete a OAuth_Account. * @param {OAuth_AccountDeleteArgs} args - Arguments to delete one OAuth_Account. * @example * // Delete one OAuth_A
src/generated/prisma/models/OAuth_Account.ts:541
Method
delete
* Delete a CouponLog. * @param {CouponLogDeleteArgs} args - Arguments to delete one CouponLog. * @example * // Delete one CouponLog * cons
src/generated/prisma/models/CouponLog.ts:781
Method
delete
* Delete a Coupon. * @param {CouponDeleteArgs} args - Arguments to delete one Coupon. * @example * // Delete one Coupon * const Coupon = a
src/generated/prisma/models/Coupon.ts:903
Method
delete
* Delete a WalletTransactionLog. * @param {WalletTransactionLogDeleteArgs} args - Arguments to delete one WalletTransactionLog. * @example *
src/generated/prisma/models/WalletTransactionLog.ts:982
Method
delete
* Delete a EmailVerificationCode. * @param {EmailVerificationCodeDeleteArgs} args - Arguments to delete one EmailVerificationCode. * @example
src/generated/prisma/models/EmailVerificationCode.ts:547
Method
delete
* Delete a AutoEnrol. * @param {AutoEnrolDeleteArgs} args - Arguments to delete one AutoEnrol. * @example * // Delete one AutoEnrol * cons
src/generated/prisma/models/AutoEnrol.ts:664
Method
deleteMany
* Delete zero or more Sessions. * @param {SessionDeleteManyArgs} args - Arguments to filter Sessions to delete. * @example * // Delete a few
src/generated/prisma/models/Session.ts:940
Method
deleteMany
* Delete zero or more WalletTransactions. * @param {WalletTransactionDeleteManyArgs} args - Arguments to filter WalletTransactions to delete. *
src/generated/prisma/models/WalletTransaction.ts:1070
Method
deleteMany
* Delete zero or more PasswordResetTokens. * @param {PasswordResetTokenDeleteManyArgs} args - Arguments to filter PasswordResetTokens to delete.
src/generated/prisma/models/PasswordResetToken.ts:551
Method
deleteMany
* Delete zero or more WSConnections. * @param {WSConnectionsDeleteManyArgs} args - Arguments to filter WSConnections to delete. * @example *
src/generated/prisma/models/WSConnections.ts:578
Method
deleteMany
* Delete zero or more FileUploads. * @param {FileUploadDeleteManyArgs} args - Arguments to filter FileUploads to delete. * @example * // Dele
src/generated/prisma/models/FileUpload.ts:965
Method
deleteMany
* Delete zero or more Profiles. * @param {ProfileDeleteManyArgs} args - Arguments to filter Profiles to delete. * @example * // Delete a few
src/generated/prisma/models/Profile.ts:1635
Method
deleteMany
* Delete zero or more Wallets. * @param {WalletDeleteManyArgs} args - Arguments to filter Wallets to delete. * @example * // Delete a few Wal
src/generated/prisma/models/Wallet.ts:907
Method
deleteMany
* Delete zero or more Messages. * @param {MessageDeleteManyArgs} args - Arguments to filter Messages to delete. * @example * // Delete a few
src/generated/prisma/models/Message.ts:741
Method
deleteMany
* Delete zero or more Subscriptions. * @param {SubscriptionDeleteManyArgs} args - Arguments to filter Subscriptions to delete. * @example * /
src/generated/prisma/models/Subscription.ts:666
Method
deleteMany
* Delete zero or more OAuth_Accounts. * @param {OAuth_AccountDeleteManyArgs} args - Arguments to filter OAuth_Accounts to delete. * @example
src/generated/prisma/models/OAuth_Account.ts:572
Method
deleteMany
* Delete zero or more CouponLogs. * @param {CouponLogDeleteManyArgs} args - Arguments to filter CouponLogs to delete. * @example * // Delete
src/generated/prisma/models/CouponLog.ts:812
Method
deleteMany
* Delete zero or more Coupons. * @param {CouponDeleteManyArgs} args - Arguments to filter Coupons to delete. * @example * // Delete a few Cou
src/generated/prisma/models/Coupon.ts:934
Method
deleteMany
* Delete zero or more WalletTransactionLogs. * @param {WalletTransactionLogDeleteManyArgs} args - Arguments to filter WalletTransactionLogs to dele
src/generated/prisma/models/WalletTransactionLog.ts:1013
Method
deleteMany
* Delete zero or more EmailVerificationCodes. * @param {EmailVerificationCodeDeleteManyArgs} args - Arguments to filter EmailVerificationCodes to d
src/generated/prisma/models/EmailVerificationCode.ts:578
Method
deleteMany
* Delete zero or more AutoEnrols. * @param {AutoEnrolDeleteManyArgs} args - Arguments to filter AutoEnrols to delete. * @example * // Delete
src/generated/prisma/models/AutoEnrol.ts:695
Function
deleteMessage
(messageId: string, userId: string)
src/_modules/messages/message.service.ts:138
Method
emailVerificationCode
* `prisma.emailVerificationCode`: Exposes CRUD operations for the **EmailVerificationCode** model. * Example usage: * ```ts * // Fetch zer
src/generated/prisma/internal/class.ts:309
Function
errorMessages
({ code, error, set }:any)
src/_middleware/errorMessages.ts:163
Method
fileUpload
* `prisma.fileUpload`: Exposes CRUD operations for the **FileUpload** model. * Example usage: * ```ts * // Fetch zero or more FileUploads
src/generated/prisma/internal/class.ts:199
Method
finally
* 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/Session.ts:1170
Method
finally
* 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/WalletTransaction.ts:1300
Method
finally
* 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/PasswordResetToken.ts:780
Method
finally
* 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/WSConnections.ts:807
Method
finally
* 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/FileUpload.ts:1194
Method
finally
* 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/Profile.ts:1868
Method
finally
* 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/Wallet.ts:1138
Method
finally
* 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/Message.ts:970
Method
finally
* 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/Subscription.ts:896
Method
finally
* 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/OAuth_Account.ts:802
Method
finally
* 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/CouponLog.ts:1041
Method
finally
* 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/Coupon.ts:1164
Method
finally
* 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/WalletTransactionLog.ts:1242
Method
finally
* 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/EmailVerificationCode.ts:807
Method
finally
* 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/AutoEnrol.ts:924
Method
findFirst
* Find the first Session that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here:
src/generated/prisma/models/Session.ts:809
Method
findFirst
* Find the first WalletTransaction that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read m
src/generated/prisma/models/WalletTransaction.ts:939
Method
findFirst
* Find the first PasswordResetToken that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read
src/generated/prisma/models/PasswordResetToken.ts:420
Method
findFirst
* Find the first WSConnections that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more
src/generated/prisma/models/WSConnections.ts:447
Method
findFirst
* Find the first FileUpload that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more her
src/generated/prisma/models/FileUpload.ts:834
Method
findFirst
* Find the first Profile that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here:
src/generated/prisma/models/Profile.ts:1504
Method
findFirst
* Find the first Wallet that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: h
src/generated/prisma/models/Wallet.ts:776
Method
findFirst
* Find the first Message that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here:
src/generated/prisma/models/Message.ts:610
Method
findFirst
* Find the first Subscription that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more h
src/generated/prisma/models/Subscription.ts:535
Method
findFirst
* Find the first OAuth_Account that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more
src/generated/prisma/models/OAuth_Account.ts:441
Method
findFirst
* Find the first CouponLog that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here
src/generated/prisma/models/CouponLog.ts:681
Method
findFirst
* Find the first Coupon that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: h
src/generated/prisma/models/Coupon.ts:803
Method
findFirst
* Find the first WalletTransactionLog that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Rea
src/generated/prisma/models/WalletTransactionLog.ts:882
Method
findFirst
* Find the first EmailVerificationCode that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Re
src/generated/prisma/models/EmailVerificationCode.ts:447
Method
findFirst
* Find the first AutoEnrol that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here
src/generated/prisma/models/AutoEnrol.ts:564
Method
findFirstOrThrow
* Find the first User that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that provi
src/generated/prisma/models/User.ts:1105
Method
findFirstOrThrow
* Find the first Session that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that pr
src/generated/prisma/models/Session.ts:825
Method
findFirstOrThrow
* Find the first WalletTransaction that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Not
src/generated/prisma/models/WalletTransaction.ts:955
Method
findFirstOrThrow
* Find the first PasswordResetToken that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * No
src/generated/prisma/models/PasswordResetToken.ts:436
Method
findFirstOrThrow
* Find the first WSConnections that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, t
src/generated/prisma/models/WSConnections.ts:463
Method
findFirstOrThrow
* Find the first FileUpload that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that
src/generated/prisma/models/FileUpload.ts:850
← previous
next →
201–300 of 531, ranked by callers