MCPcopy Create free account

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

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

MethodcreateMany
* Create many Wallets. * @param {WalletCreateManyArgs} args - Arguments to create many Wallets. * @example * // Create many Wallets * cons
src/generated/prisma/models/Wallet.ts:838
MethodcreateMany
* Create many Messages. * @param {MessageCreateManyArgs} args - Arguments to create many Messages. * @example * // Create many Messages *
src/generated/prisma/models/Message.ts:672
MethodcreateMany
* Create many Subscriptions. * @param {SubscriptionCreateManyArgs} args - Arguments to create many Subscriptions. * @example * // Create many
src/generated/prisma/models/Subscription.ts:597
MethodcreateMany
* 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
MethodcreateMany
* Create many CouponLogs. * @param {CouponLogCreateManyArgs} args - Arguments to create many CouponLogs. * @example * // Create many CouponLo
src/generated/prisma/models/CouponLog.ts:743
MethodcreateMany
* Create many Coupons. * @param {CouponCreateManyArgs} args - Arguments to create many Coupons. * @example * // Create many Coupons * cons
src/generated/prisma/models/Coupon.ts:865
MethodcreateMany
* Create many WalletTransactionLogs. * @param {WalletTransactionLogCreateManyArgs} args - Arguments to create many WalletTransactionLogs. * @exa
src/generated/prisma/models/WalletTransactionLog.ts:944
MethodcreateMany
* Create many EmailVerificationCodes. * @param {EmailVerificationCodeCreateManyArgs} args - Arguments to create many EmailVerificationCodes. * @
src/generated/prisma/models/EmailVerificationCode.ts:509
MethodcreateMany
* Create many AutoEnrols. * @param {AutoEnrolCreateManyArgs} args - Arguments to create many AutoEnrols. * @example * // Create many AutoEnro
src/generated/prisma/models/AutoEnrol.ts:626
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* Create many WalletTransactions and returns the data saved in the database. * @param {WalletTransactionCreateManyAndReturnArgs} args - Arguments t
src/generated/prisma/models/WalletTransaction.ts:1025
MethodcreateManyAndReturn
* Create many PasswordResetTokens and returns the data saved in the database. * @param {PasswordResetTokenCreateManyAndReturnArgs} args - Arguments
src/generated/prisma/models/PasswordResetToken.ts:506
MethodcreateManyAndReturn
* Create many WSConnections and returns the data saved in the database. * @param {WSConnectionsCreateManyAndReturnArgs} args - Arguments to create
src/generated/prisma/models/WSConnections.ts:533
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* 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
MethodcreateManyAndReturn
* Create many WalletTransactionLogs and returns the data saved in the database. * @param {WalletTransactionLogCreateManyAndReturnArgs} args - Argum
src/generated/prisma/models/WalletTransactionLog.ts:968
MethodcreateManyAndReturn
* Create many EmailVerificationCodes and returns the data saved in the database. * @param {EmailVerificationCodeCreateManyAndReturnArgs} args - Arg
src/generated/prisma/models/EmailVerificationCode.ts:533
MethodcreateManyAndReturn
* 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
FunctioncreatePasswordResetToken
(userId: string)
src/_modules/auth/auth.service.ts:277
FunctioncreateUserProfile
(data: any)
src/_modules/users/users.service.ts:87
Functiondefault
()
src/_modules/messages/message.service.ts:12
Functiondefault
()
src/_modules/wallets/wallet.service.ts:15
Functiondefault
()
src/_modules/coupons/coupon.service.ts:6
Methoddelete
* Delete a Session. * @param {SessionDeleteArgs} args - Arguments to delete one Session. * @example * // Delete one Session * const Sessio
src/generated/prisma/models/Session.ts:909
Methoddelete
* Delete a WalletTransaction. * @param {WalletTransactionDeleteArgs} args - Arguments to delete one WalletTransaction. * @example * // Delete
src/generated/prisma/models/WalletTransaction.ts:1039
Methoddelete
* Delete a PasswordResetToken. * @param {PasswordResetTokenDeleteArgs} args - Arguments to delete one PasswordResetToken. * @example * // Del
src/generated/prisma/models/PasswordResetToken.ts:520
Methoddelete
* Delete a WSConnections. * @param {WSConnectionsDeleteArgs} args - Arguments to delete one WSConnections. * @example * // Delete one WSConne
src/generated/prisma/models/WSConnections.ts:547
Methoddelete
* Delete a FileUpload. * @param {FileUploadDeleteArgs} args - Arguments to delete one FileUpload. * @example * // Delete one FileUpload *
src/generated/prisma/models/FileUpload.ts:934
Methoddelete
* Delete a Profile. * @param {ProfileDeleteArgs} args - Arguments to delete one Profile. * @example * // Delete one Profile * const Profil
src/generated/prisma/models/Profile.ts:1604
Methoddelete
* 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
Methoddelete
* Delete a Message. * @param {MessageDeleteArgs} args - Arguments to delete one Message. * @example * // Delete one Message * const Messag
src/generated/prisma/models/Message.ts:710
Methoddelete
* Delete a Subscription. * @param {SubscriptionDeleteArgs} args - Arguments to delete one Subscription. * @example * // Delete one Subscripti
src/generated/prisma/models/Subscription.ts:635
Methoddelete
* 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
Methoddelete
* Delete a CouponLog. * @param {CouponLogDeleteArgs} args - Arguments to delete one CouponLog. * @example * // Delete one CouponLog * cons
src/generated/prisma/models/CouponLog.ts:781
Methoddelete
* 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
Methoddelete
* Delete a WalletTransactionLog. * @param {WalletTransactionLogDeleteArgs} args - Arguments to delete one WalletTransactionLog. * @example *
src/generated/prisma/models/WalletTransactionLog.ts:982
Methoddelete
* Delete a EmailVerificationCode. * @param {EmailVerificationCodeDeleteArgs} args - Arguments to delete one EmailVerificationCode. * @example
src/generated/prisma/models/EmailVerificationCode.ts:547
Methoddelete
* Delete a AutoEnrol. * @param {AutoEnrolDeleteArgs} args - Arguments to delete one AutoEnrol. * @example * // Delete one AutoEnrol * cons
src/generated/prisma/models/AutoEnrol.ts:664
MethoddeleteMany
* 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
MethoddeleteMany
* Delete zero or more WalletTransactions. * @param {WalletTransactionDeleteManyArgs} args - Arguments to filter WalletTransactions to delete. *
src/generated/prisma/models/WalletTransaction.ts:1070
MethoddeleteMany
* Delete zero or more PasswordResetTokens. * @param {PasswordResetTokenDeleteManyArgs} args - Arguments to filter PasswordResetTokens to delete.
src/generated/prisma/models/PasswordResetToken.ts:551
MethoddeleteMany
* Delete zero or more WSConnections. * @param {WSConnectionsDeleteManyArgs} args - Arguments to filter WSConnections to delete. * @example *
src/generated/prisma/models/WSConnections.ts:578
MethoddeleteMany
* Delete zero or more FileUploads. * @param {FileUploadDeleteManyArgs} args - Arguments to filter FileUploads to delete. * @example * // Dele
src/generated/prisma/models/FileUpload.ts:965
MethoddeleteMany
* 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
MethoddeleteMany
* 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
MethoddeleteMany
* 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
MethoddeleteMany
* Delete zero or more Subscriptions. * @param {SubscriptionDeleteManyArgs} args - Arguments to filter Subscriptions to delete. * @example * /
src/generated/prisma/models/Subscription.ts:666
MethoddeleteMany
* 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
MethoddeleteMany
* Delete zero or more CouponLogs. * @param {CouponLogDeleteManyArgs} args - Arguments to filter CouponLogs to delete. * @example * // Delete
src/generated/prisma/models/CouponLog.ts:812
MethoddeleteMany
* 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
MethoddeleteMany
* Delete zero or more WalletTransactionLogs. * @param {WalletTransactionLogDeleteManyArgs} args - Arguments to filter WalletTransactionLogs to dele
src/generated/prisma/models/WalletTransactionLog.ts:1013
MethoddeleteMany
* Delete zero or more EmailVerificationCodes. * @param {EmailVerificationCodeDeleteManyArgs} args - Arguments to filter EmailVerificationCodes to d
src/generated/prisma/models/EmailVerificationCode.ts:578
MethoddeleteMany
* Delete zero or more AutoEnrols. * @param {AutoEnrolDeleteManyArgs} args - Arguments to filter AutoEnrols to delete. * @example * // Delete
src/generated/prisma/models/AutoEnrol.ts:695
FunctiondeleteMessage
(messageId: string, userId: string)
src/_modules/messages/message.service.ts:138
MethodemailVerificationCode
* `prisma.emailVerificationCode`: Exposes CRUD operations for the **EmailVerificationCode** model. * Example usage: * ```ts * // Fetch zer
src/generated/prisma/internal/class.ts:309
FunctionerrorMessages
({ code, error, set }:any)
src/_middleware/errorMessages.ts:163
MethodfileUpload
* `prisma.fileUpload`: Exposes CRUD operations for the **FileUpload** model. * Example usage: * ```ts * // Fetch zero or more FileUploads
src/generated/prisma/internal/class.ts:199
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
Methodfinally
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirst
* 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
MethodfindFirstOrThrow
* 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
MethodfindFirstOrThrow
* 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
MethodfindFirstOrThrow
* 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
MethodfindFirstOrThrow
* 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
MethodfindFirstOrThrow
* 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
MethodfindFirstOrThrow
* 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
← previousnext →201–300 of 531, ranked by callers