@optimatech88/titomeet-shared-lib 1.0.56 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +2 -0
- package/dist/auth/admin.middleware.d.ts +1 -1
- package/dist/auth/admin.middleware.d.ts.map +1 -1
- package/dist/auth/admin.middleware.js +7 -11
- package/dist/auth/admin.middleware.js.map +1 -1
- package/dist/auth/auth.guard.js +41 -41
- package/dist/auth/auth.guard.js.map +1 -1
- package/dist/auth/auth.module.js +8 -11
- package/dist/auth/auth.module.js.map +1 -1
- package/dist/cache/cache.module.js +12 -18
- package/dist/cache/cache.module.js.map +1 -1
- package/dist/cache/cache.service.js +8 -10
- package/dist/cache/cache.service.js.map +1 -1
- package/dist/generated/prisma/client.d.ts +33 -0
- package/dist/generated/prisma/client.d.ts.map +1 -0
- package/dist/generated/prisma/client.js +10 -0
- package/dist/generated/prisma/client.js.map +1 -0
- package/dist/generated/prisma/commonInputTypes.d.ts +966 -0
- package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/generated/prisma/commonInputTypes.js +2 -0
- package/dist/generated/prisma/commonInputTypes.js.map +1 -0
- package/dist/generated/prisma/enums.d.ts +111 -0
- package/dist/generated/prisma/enums.d.ts.map +1 -0
- package/dist/generated/prisma/enums.js +93 -0
- package/dist/generated/prisma/enums.js.map +1 -0
- package/dist/generated/prisma/internal/class.d.ts +105 -0
- package/dist/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/generated/prisma/internal/class.js +39 -0
- package/dist/generated/prisma/internal/class.js.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +2431 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.js +338 -0
- package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/dist/generated/prisma/models/Account.d.ts +582 -0
- package/dist/generated/prisma/models/Account.d.ts.map +1 -0
- package/dist/generated/prisma/models/Account.js +2 -0
- package/dist/generated/prisma/models/Account.js.map +1 -0
- package/dist/generated/prisma/models/Address.d.ts +930 -0
- package/dist/generated/prisma/models/Address.d.ts.map +1 -0
- package/dist/generated/prisma/models/Address.js +2 -0
- package/dist/generated/prisma/models/Address.js.map +1 -0
- package/dist/generated/prisma/models/Chat.d.ts +788 -0
- package/dist/generated/prisma/models/Chat.d.ts.map +1 -0
- package/dist/generated/prisma/models/Chat.js +2 -0
- package/dist/generated/prisma/models/Chat.js.map +1 -0
- package/dist/generated/prisma/models/ChatUser.d.ts +648 -0
- package/dist/generated/prisma/models/ChatUser.d.ts.map +1 -0
- package/dist/generated/prisma/models/ChatUser.js +2 -0
- package/dist/generated/prisma/models/ChatUser.js.map +1 -0
- package/dist/generated/prisma/models/Country.d.ts +543 -0
- package/dist/generated/prisma/models/Country.d.ts.map +1 -0
- package/dist/generated/prisma/models/Country.js +2 -0
- package/dist/generated/prisma/models/Country.js.map +1 -0
- package/dist/generated/prisma/models/Event.d.ts +3206 -0
- package/dist/generated/prisma/models/Event.d.ts.map +1 -0
- package/dist/generated/prisma/models/Event.js +2 -0
- package/dist/generated/prisma/models/Event.js.map +1 -0
- package/dist/generated/prisma/models/EventCategory.d.ts +1004 -0
- package/dist/generated/prisma/models/EventCategory.d.ts.map +1 -0
- package/dist/generated/prisma/models/EventCategory.js +2 -0
- package/dist/generated/prisma/models/EventCategory.js.map +1 -0
- package/dist/generated/prisma/models/EventPrice.d.ts +798 -0
- package/dist/generated/prisma/models/EventPrice.d.ts.map +1 -0
- package/dist/generated/prisma/models/EventPrice.js +2 -0
- package/dist/generated/prisma/models/EventPrice.js.map +1 -0
- package/dist/generated/prisma/models/Favorite.d.ts +648 -0
- package/dist/generated/prisma/models/Favorite.d.ts.map +1 -0
- package/dist/generated/prisma/models/Favorite.js +2 -0
- package/dist/generated/prisma/models/Favorite.js.map +1 -0
- package/dist/generated/prisma/models/Feedback.d.ts +682 -0
- package/dist/generated/prisma/models/Feedback.d.ts.map +1 -0
- package/dist/generated/prisma/models/Feedback.js +2 -0
- package/dist/generated/prisma/models/Feedback.js.map +1 -0
- package/dist/generated/prisma/models/Message.d.ts +724 -0
- package/dist/generated/prisma/models/Message.d.ts.map +1 -0
- package/dist/generated/prisma/models/Message.js +2 -0
- package/dist/generated/prisma/models/Message.js.map +1 -0
- package/dist/generated/prisma/models/Newsletter.d.ts +404 -0
- package/dist/generated/prisma/models/Newsletter.d.ts.map +1 -0
- package/dist/generated/prisma/models/Newsletter.js +2 -0
- package/dist/generated/prisma/models/Newsletter.js.map +1 -0
- package/dist/generated/prisma/models/Notification.d.ts +775 -0
- package/dist/generated/prisma/models/Notification.d.ts.map +1 -0
- package/dist/generated/prisma/models/Notification.js +2 -0
- package/dist/generated/prisma/models/Notification.js.map +1 -0
- package/dist/generated/prisma/models/Order.d.ts +1009 -0
- package/dist/generated/prisma/models/Order.d.ts.map +1 -0
- package/dist/generated/prisma/models/Order.js +2 -0
- package/dist/generated/prisma/models/Order.js.map +1 -0
- package/dist/generated/prisma/models/OrderItem.d.ts +806 -0
- package/dist/generated/prisma/models/OrderItem.d.ts.map +1 -0
- package/dist/generated/prisma/models/OrderItem.js +2 -0
- package/dist/generated/prisma/models/OrderItem.js.map +1 -0
- package/dist/generated/prisma/models/Pricing.d.ts +739 -0
- package/dist/generated/prisma/models/Pricing.d.ts.map +1 -0
- package/dist/generated/prisma/models/Pricing.js +2 -0
- package/dist/generated/prisma/models/Pricing.js.map +1 -0
- package/dist/generated/prisma/models/Provider.d.ts +1650 -0
- package/dist/generated/prisma/models/Provider.d.ts.map +1 -0
- package/dist/generated/prisma/models/Provider.js +2 -0
- package/dist/generated/prisma/models/Provider.js.map +1 -0
- package/dist/generated/prisma/models/ProviderCategory.d.ts +830 -0
- package/dist/generated/prisma/models/ProviderCategory.d.ts.map +1 -0
- package/dist/generated/prisma/models/ProviderCategory.js +2 -0
- package/dist/generated/prisma/models/ProviderCategory.js.map +1 -0
- package/dist/generated/prisma/models/ProviderOnEvent.d.ts +693 -0
- package/dist/generated/prisma/models/ProviderOnEvent.d.ts.map +1 -0
- package/dist/generated/prisma/models/ProviderOnEvent.js +2 -0
- package/dist/generated/prisma/models/ProviderOnEvent.js.map +1 -0
- package/dist/generated/prisma/models/Report.d.ts +689 -0
- package/dist/generated/prisma/models/Report.d.ts.map +1 -0
- package/dist/generated/prisma/models/Report.js +2 -0
- package/dist/generated/prisma/models/Report.js.map +1 -0
- package/dist/generated/prisma/models/Review.d.ts +758 -0
- package/dist/generated/prisma/models/Review.d.ts.map +1 -0
- package/dist/generated/prisma/models/Review.js +2 -0
- package/dist/generated/prisma/models/Review.js.map +1 -0
- package/dist/generated/prisma/models/Transaction.d.ts +894 -0
- package/dist/generated/prisma/models/Transaction.d.ts.map +1 -0
- package/dist/generated/prisma/models/Transaction.js +2 -0
- package/dist/generated/prisma/models/Transaction.js.map +1 -0
- package/dist/generated/prisma/models/User.d.ts +2966 -0
- package/dist/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/generated/prisma/models/User.js +2 -0
- package/dist/generated/prisma/models/User.js.map +1 -0
- package/dist/generated/prisma/models/UserInterests.d.ts +605 -0
- package/dist/generated/prisma/models/UserInterests.d.ts.map +1 -0
- package/dist/generated/prisma/models/UserInterests.js +2 -0
- package/dist/generated/prisma/models/UserInterests.js.map +1 -0
- package/dist/generated/prisma/models.d.ts +26 -0
- package/dist/generated/prisma/models.d.ts.map +1 -0
- package/dist/generated/prisma/models.js +2 -0
- package/dist/generated/prisma/models.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -51
- package/dist/index.js.map +1 -1
- package/dist/prisma/prisma.module.js +8 -11
- package/dist/prisma/prisma.module.js.map +1 -1
- package/dist/prisma/prisma.service.d.ts +2 -1
- package/dist/prisma/prisma.service.d.ts.map +1 -1
- package/dist/prisma/prisma.service.js +17 -9
- package/dist/prisma/prisma.service.js.map +1 -1
- package/dist/prisma/seed.js +2 -4
- package/dist/prisma/seed.js.map +1 -1
- package/dist/src/auth/admin.middleware.d.ts +11 -0
- package/dist/src/auth/admin.middleware.d.ts.map +1 -0
- package/dist/src/auth/admin.middleware.js +22 -0
- package/dist/src/auth/admin.middleware.js.map +1 -0
- package/dist/src/auth/auth.guard.d.ts +25 -0
- package/dist/src/auth/auth.guard.d.ts.map +1 -0
- package/dist/src/auth/auth.guard.js +137 -0
- package/dist/src/auth/auth.guard.js.map +1 -0
- package/dist/src/auth/auth.module.d.ts +9 -0
- package/dist/src/auth/auth.module.d.ts.map +1 -0
- package/dist/src/auth/auth.module.js +30 -0
- package/dist/src/auth/auth.module.js.map +1 -0
- package/dist/src/cache/cache.module.d.ts +5 -0
- package/dist/src/cache/cache.module.d.ts.map +1 -0
- package/dist/src/cache/cache.module.js +35 -0
- package/dist/src/cache/cache.module.js.map +1 -0
- package/dist/src/cache/cache.service.d.ts +9 -0
- package/dist/src/cache/cache.service.d.ts.map +1 -0
- package/dist/src/cache/cache.service.js +36 -0
- package/dist/src/cache/cache.service.js.map +1 -0
- package/dist/src/index.d.ts +16 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +16 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/prisma/prisma.module.d.ts +3 -0
- package/dist/src/prisma/prisma.module.d.ts.map +1 -0
- package/dist/src/prisma/prisma.module.js +19 -0
- package/dist/src/prisma/prisma.module.js.map +1 -0
- package/dist/src/prisma/prisma.service.d.ts +8 -0
- package/dist/src/prisma/prisma.service.d.ts.map +1 -0
- package/dist/src/prisma/prisma.service.js +32 -0
- package/dist/src/prisma/prisma.service.js.map +1 -0
- package/dist/src/prisma/seed.d.ts +2 -0
- package/dist/src/prisma/seed.d.ts.map +1 -0
- package/dist/src/prisma/seed.js +75 -0
- package/dist/src/prisma/seed.js.map +1 -0
- package/dist/src/types/index.d.ts +12 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/index.js +2 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/utils/api/endpoints.d.ts +7 -0
- package/dist/src/utils/api/endpoints.d.ts.map +1 -0
- package/dist/src/utils/api/endpoints.js +7 -0
- package/dist/src/utils/api/endpoints.js.map +1 -0
- package/dist/src/utils/constants.d.ts +3 -0
- package/dist/src/utils/constants.d.ts.map +1 -0
- package/dist/src/utils/constants.js +12 -0
- package/dist/src/utils/constants.js.map +1 -0
- package/dist/src/utils/events.d.ts +7 -0
- package/dist/src/utils/events.d.ts.map +1 -0
- package/dist/src/utils/events.js +7 -0
- package/dist/src/utils/events.js.map +1 -0
- package/dist/src/utils/index.d.ts +8 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/index.js +9 -0
- package/dist/src/utils/index.js.map +1 -0
- package/dist/types/index.js +1 -2
- package/dist/utils/api/endpoints.js +3 -6
- package/dist/utils/api/endpoints.js.map +1 -1
- package/dist/utils/constants.js +2 -5
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/events.js +1 -4
- package/dist/utils/events.js.map +1 -1
- package/dist/utils/index.js +2 -7
- package/dist/utils/index.js.map +1 -1
- package/generated/prisma/browser.ts +139 -0
- package/generated/prisma/client/browser.ts +139 -0
- package/generated/prisma/client/client.ts +163 -0
- package/generated/prisma/client/commonInputTypes.ts +1102 -0
- package/generated/prisma/client/enums.ts +173 -0
- package/generated/prisma/client/internal/class.ts +434 -0
- package/generated/prisma/client/internal/prismaNamespace.ts +3141 -0
- package/generated/prisma/client/internal/prismaNamespaceBrowser.ts +489 -0
- package/generated/prisma/client/models/Account.ts +1384 -0
- package/generated/prisma/client/models/Address.ts +1791 -0
- package/generated/prisma/client/models/Chat.ts +1676 -0
- package/generated/prisma/client/models/ChatUser.ts +1465 -0
- package/generated/prisma/client/models/Country.ts +1361 -0
- package/generated/prisma/client/models/Event.ts +4258 -0
- package/generated/prisma/client/models/EventCategory.ts +1919 -0
- package/generated/prisma/client/models/EventPrice.ts +1657 -0
- package/generated/prisma/client/models/Favorite.ts +1465 -0
- package/generated/prisma/client/models/Feedback.ts +1513 -0
- package/generated/prisma/client/models/Message.ts +1541 -0
- package/generated/prisma/client/models/Newsletter.ts +1153 -0
- package/generated/prisma/client/models/Notification.ts +1605 -0
- package/generated/prisma/client/models/Order.ts +1883 -0
- package/generated/prisma/client/models/OrderItem.ts +1641 -0
- package/generated/prisma/client/models/Pricing.ts +1576 -0
- package/generated/prisma/client/models/Provider.ts +2577 -0
- package/generated/prisma/client/models/ProviderCategory.ts +1712 -0
- package/generated/prisma/client/models/ProviderOnEvent.ts +1510 -0
- package/generated/prisma/client/models/Report.ts +1506 -0
- package/generated/prisma/client/models/Review.ts +1591 -0
- package/generated/prisma/client/models/Transaction.ts +1741 -0
- package/generated/prisma/client/models/User.ts +4124 -0
- package/generated/prisma/client/models/UserInterests.ts +1447 -0
- package/generated/prisma/client/models.ts +35 -0
- package/generated/prisma/client.d.ts +33 -0
- package/generated/prisma/client.d.ts.map +1 -0
- package/generated/prisma/client.js +10 -0
- package/generated/prisma/client.js.map +1 -0
- package/generated/prisma/client.ts +163 -0
- package/generated/prisma/commonInputTypes.d.ts +966 -0
- package/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/generated/prisma/commonInputTypes.js +2 -0
- package/generated/prisma/commonInputTypes.js.map +1 -0
- package/generated/prisma/commonInputTypes.ts +1102 -0
- package/generated/prisma/enums.d.ts +111 -0
- package/generated/prisma/enums.d.ts.map +1 -0
- package/generated/prisma/enums.js +93 -0
- package/generated/prisma/enums.js.map +1 -0
- package/generated/prisma/enums.ts +173 -0
- package/generated/prisma/internal/class.d.ts +105 -0
- package/generated/prisma/internal/class.d.ts.map +1 -0
- package/generated/prisma/internal/class.js +39 -0
- package/generated/prisma/internal/class.js.map +1 -0
- package/generated/prisma/internal/class.ts +434 -0
- package/generated/prisma/internal/prismaNamespace.d.ts +2431 -0
- package/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/generated/prisma/internal/prismaNamespace.js +338 -0
- package/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/generated/prisma/internal/prismaNamespace.ts +3141 -0
- package/generated/prisma/internal/prismaNamespaceBrowser.ts +489 -0
- package/generated/prisma/models/Account.d.ts +582 -0
- package/generated/prisma/models/Account.d.ts.map +1 -0
- package/generated/prisma/models/Account.js +2 -0
- package/generated/prisma/models/Account.js.map +1 -0
- package/generated/prisma/models/Account.ts +1384 -0
- package/generated/prisma/models/Address.d.ts +930 -0
- package/generated/prisma/models/Address.d.ts.map +1 -0
- package/generated/prisma/models/Address.js +2 -0
- package/generated/prisma/models/Address.js.map +1 -0
- package/generated/prisma/models/Address.ts +1791 -0
- package/generated/prisma/models/Chat.d.ts +788 -0
- package/generated/prisma/models/Chat.d.ts.map +1 -0
- package/generated/prisma/models/Chat.js +2 -0
- package/generated/prisma/models/Chat.js.map +1 -0
- package/generated/prisma/models/Chat.ts +1676 -0
- package/generated/prisma/models/ChatUser.d.ts +648 -0
- package/generated/prisma/models/ChatUser.d.ts.map +1 -0
- package/generated/prisma/models/ChatUser.js +2 -0
- package/generated/prisma/models/ChatUser.js.map +1 -0
- package/generated/prisma/models/ChatUser.ts +1465 -0
- package/generated/prisma/models/Country.d.ts +543 -0
- package/generated/prisma/models/Country.d.ts.map +1 -0
- package/generated/prisma/models/Country.js +2 -0
- package/generated/prisma/models/Country.js.map +1 -0
- package/generated/prisma/models/Country.ts +1361 -0
- package/generated/prisma/models/Event.d.ts +3206 -0
- package/generated/prisma/models/Event.d.ts.map +1 -0
- package/generated/prisma/models/Event.js +2 -0
- package/generated/prisma/models/Event.js.map +1 -0
- package/generated/prisma/models/Event.ts +4258 -0
- package/generated/prisma/models/EventCategory.d.ts +1004 -0
- package/generated/prisma/models/EventCategory.d.ts.map +1 -0
- package/generated/prisma/models/EventCategory.js +2 -0
- package/generated/prisma/models/EventCategory.js.map +1 -0
- package/generated/prisma/models/EventCategory.ts +1919 -0
- package/generated/prisma/models/EventPrice.d.ts +798 -0
- package/generated/prisma/models/EventPrice.d.ts.map +1 -0
- package/generated/prisma/models/EventPrice.js +2 -0
- package/generated/prisma/models/EventPrice.js.map +1 -0
- package/generated/prisma/models/EventPrice.ts +1657 -0
- package/generated/prisma/models/Favorite.d.ts +648 -0
- package/generated/prisma/models/Favorite.d.ts.map +1 -0
- package/generated/prisma/models/Favorite.js +2 -0
- package/generated/prisma/models/Favorite.js.map +1 -0
- package/generated/prisma/models/Favorite.ts +1465 -0
- package/generated/prisma/models/Feedback.d.ts +682 -0
- package/generated/prisma/models/Feedback.d.ts.map +1 -0
- package/generated/prisma/models/Feedback.js +2 -0
- package/generated/prisma/models/Feedback.js.map +1 -0
- package/generated/prisma/models/Feedback.ts +1513 -0
- package/generated/prisma/models/Message.d.ts +724 -0
- package/generated/prisma/models/Message.d.ts.map +1 -0
- package/generated/prisma/models/Message.js +2 -0
- package/generated/prisma/models/Message.js.map +1 -0
- package/generated/prisma/models/Message.ts +1541 -0
- package/generated/prisma/models/Newsletter.d.ts +404 -0
- package/generated/prisma/models/Newsletter.d.ts.map +1 -0
- package/generated/prisma/models/Newsletter.js +2 -0
- package/generated/prisma/models/Newsletter.js.map +1 -0
- package/generated/prisma/models/Newsletter.ts +1153 -0
- package/generated/prisma/models/Notification.d.ts +775 -0
- package/generated/prisma/models/Notification.d.ts.map +1 -0
- package/generated/prisma/models/Notification.js +2 -0
- package/generated/prisma/models/Notification.js.map +1 -0
- package/generated/prisma/models/Notification.ts +1605 -0
- package/generated/prisma/models/Order.d.ts +1009 -0
- package/generated/prisma/models/Order.d.ts.map +1 -0
- package/generated/prisma/models/Order.js +2 -0
- package/generated/prisma/models/Order.js.map +1 -0
- package/generated/prisma/models/Order.ts +1883 -0
- package/generated/prisma/models/OrderItem.d.ts +806 -0
- package/generated/prisma/models/OrderItem.d.ts.map +1 -0
- package/generated/prisma/models/OrderItem.js +2 -0
- package/generated/prisma/models/OrderItem.js.map +1 -0
- package/generated/prisma/models/OrderItem.ts +1641 -0
- package/generated/prisma/models/Pricing.d.ts +739 -0
- package/generated/prisma/models/Pricing.d.ts.map +1 -0
- package/generated/prisma/models/Pricing.js +2 -0
- package/generated/prisma/models/Pricing.js.map +1 -0
- package/generated/prisma/models/Pricing.ts +1576 -0
- package/generated/prisma/models/Provider.d.ts +1650 -0
- package/generated/prisma/models/Provider.d.ts.map +1 -0
- package/generated/prisma/models/Provider.js +2 -0
- package/generated/prisma/models/Provider.js.map +1 -0
- package/generated/prisma/models/Provider.ts +2577 -0
- package/generated/prisma/models/ProviderCategory.d.ts +830 -0
- package/generated/prisma/models/ProviderCategory.d.ts.map +1 -0
- package/generated/prisma/models/ProviderCategory.js +2 -0
- package/generated/prisma/models/ProviderCategory.js.map +1 -0
- package/generated/prisma/models/ProviderCategory.ts +1712 -0
- package/generated/prisma/models/ProviderOnEvent.d.ts +693 -0
- package/generated/prisma/models/ProviderOnEvent.d.ts.map +1 -0
- package/generated/prisma/models/ProviderOnEvent.js +2 -0
- package/generated/prisma/models/ProviderOnEvent.js.map +1 -0
- package/generated/prisma/models/ProviderOnEvent.ts +1510 -0
- package/generated/prisma/models/Report.d.ts +689 -0
- package/generated/prisma/models/Report.d.ts.map +1 -0
- package/generated/prisma/models/Report.js +2 -0
- package/generated/prisma/models/Report.js.map +1 -0
- package/generated/prisma/models/Report.ts +1506 -0
- package/generated/prisma/models/Review.d.ts +758 -0
- package/generated/prisma/models/Review.d.ts.map +1 -0
- package/generated/prisma/models/Review.js +2 -0
- package/generated/prisma/models/Review.js.map +1 -0
- package/generated/prisma/models/Review.ts +1591 -0
- package/generated/prisma/models/Transaction.d.ts +894 -0
- package/generated/prisma/models/Transaction.d.ts.map +1 -0
- package/generated/prisma/models/Transaction.js +2 -0
- package/generated/prisma/models/Transaction.js.map +1 -0
- package/generated/prisma/models/Transaction.ts +1741 -0
- package/generated/prisma/models/User.d.ts +2966 -0
- package/generated/prisma/models/User.d.ts.map +1 -0
- package/generated/prisma/models/User.js +2 -0
- package/generated/prisma/models/User.js.map +1 -0
- package/generated/prisma/models/User.ts +4124 -0
- package/generated/prisma/models/UserInterests.d.ts +605 -0
- package/generated/prisma/models/UserInterests.d.ts.map +1 -0
- package/generated/prisma/models/UserInterests.js +2 -0
- package/generated/prisma/models/UserInterests.js.map +1 -0
- package/generated/prisma/models/UserInterests.ts +1447 -0
- package/generated/prisma/models.d.ts +26 -0
- package/generated/prisma/models.d.ts.map +1 -0
- package/generated/prisma/models.js +2 -0
- package/generated/prisma/models.js.map +1 -0
- package/generated/prisma/models.ts +35 -0
- package/package.json +26 -20
- package/prisma/schema.prisma +3 -2
- package/prisma.config.ts +13 -0
- package/src/auth/admin.middleware.ts +1 -1
- package/src/auth/auth.guard.ts +10 -4
- package/src/auth/auth.module.ts +1 -1
- package/src/index.ts +1 -1
- package/src/prisma/prisma.service.ts +10 -1
- package/src/prisma/seed.ts +7 -2
- package/tsconfig.json +12 -7
|
@@ -0,0 +1,1465 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `ChatUser` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model ChatUser
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ChatUserModel = runtime.Types.Result.DefaultSelection<Prisma.$ChatUserPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateChatUser = {
|
|
22
|
+
_count: ChatUserCountAggregateOutputType | null
|
|
23
|
+
_min: ChatUserMinAggregateOutputType | null
|
|
24
|
+
_max: ChatUserMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ChatUserMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
chatId: string | null
|
|
30
|
+
userId: string | null
|
|
31
|
+
createdAt: Date | null
|
|
32
|
+
updatedAt: Date | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type ChatUserMaxAggregateOutputType = {
|
|
36
|
+
id: string | null
|
|
37
|
+
chatId: string | null
|
|
38
|
+
userId: string | null
|
|
39
|
+
createdAt: Date | null
|
|
40
|
+
updatedAt: Date | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type ChatUserCountAggregateOutputType = {
|
|
44
|
+
id: number
|
|
45
|
+
chatId: number
|
|
46
|
+
userId: number
|
|
47
|
+
createdAt: number
|
|
48
|
+
updatedAt: number
|
|
49
|
+
_all: number
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export type ChatUserMinAggregateInputType = {
|
|
54
|
+
id?: true
|
|
55
|
+
chatId?: true
|
|
56
|
+
userId?: true
|
|
57
|
+
createdAt?: true
|
|
58
|
+
updatedAt?: true
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type ChatUserMaxAggregateInputType = {
|
|
62
|
+
id?: true
|
|
63
|
+
chatId?: true
|
|
64
|
+
userId?: true
|
|
65
|
+
createdAt?: true
|
|
66
|
+
updatedAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type ChatUserCountAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
chatId?: true
|
|
72
|
+
userId?: true
|
|
73
|
+
createdAt?: true
|
|
74
|
+
updatedAt?: true
|
|
75
|
+
_all?: true
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type ChatUserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
79
|
+
/**
|
|
80
|
+
* Filter which ChatUser to aggregate.
|
|
81
|
+
*/
|
|
82
|
+
where?: Prisma.ChatUserWhereInput
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
85
|
+
*
|
|
86
|
+
* Determine the order of ChatUsers to fetch.
|
|
87
|
+
*/
|
|
88
|
+
orderBy?: Prisma.ChatUserOrderByWithRelationInput | Prisma.ChatUserOrderByWithRelationInput[]
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
91
|
+
*
|
|
92
|
+
* Sets the start position
|
|
93
|
+
*/
|
|
94
|
+
cursor?: Prisma.ChatUserWhereUniqueInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Take `±n` ChatUsers from the position of the cursor.
|
|
99
|
+
*/
|
|
100
|
+
take?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
+
*
|
|
104
|
+
* Skip the first `n` ChatUsers.
|
|
105
|
+
*/
|
|
106
|
+
skip?: number
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Count returned ChatUsers
|
|
111
|
+
**/
|
|
112
|
+
_count?: true | ChatUserCountAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the minimum value
|
|
117
|
+
**/
|
|
118
|
+
_min?: ChatUserMinAggregateInputType
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Select which fields to find the maximum value
|
|
123
|
+
**/
|
|
124
|
+
_max?: ChatUserMaxAggregateInputType
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export type GetChatUserAggregateType<T extends ChatUserAggregateArgs> = {
|
|
128
|
+
[P in keyof T & keyof AggregateChatUser]: P extends '_count' | 'count'
|
|
129
|
+
? T[P] extends true
|
|
130
|
+
? number
|
|
131
|
+
: Prisma.GetScalarType<T[P], AggregateChatUser[P]>
|
|
132
|
+
: Prisma.GetScalarType<T[P], AggregateChatUser[P]>
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
export type ChatUserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
where?: Prisma.ChatUserWhereInput
|
|
140
|
+
orderBy?: Prisma.ChatUserOrderByWithAggregationInput | Prisma.ChatUserOrderByWithAggregationInput[]
|
|
141
|
+
by: Prisma.ChatUserScalarFieldEnum[] | Prisma.ChatUserScalarFieldEnum
|
|
142
|
+
having?: Prisma.ChatUserScalarWhereWithAggregatesInput
|
|
143
|
+
take?: number
|
|
144
|
+
skip?: number
|
|
145
|
+
_count?: ChatUserCountAggregateInputType | true
|
|
146
|
+
_min?: ChatUserMinAggregateInputType
|
|
147
|
+
_max?: ChatUserMaxAggregateInputType
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type ChatUserGroupByOutputType = {
|
|
151
|
+
id: string
|
|
152
|
+
chatId: string
|
|
153
|
+
userId: string
|
|
154
|
+
createdAt: Date
|
|
155
|
+
updatedAt: Date
|
|
156
|
+
_count: ChatUserCountAggregateOutputType | null
|
|
157
|
+
_min: ChatUserMinAggregateOutputType | null
|
|
158
|
+
_max: ChatUserMaxAggregateOutputType | null
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export type GetChatUserGroupByPayload<T extends ChatUserGroupByArgs> = Prisma.PrismaPromise<
|
|
162
|
+
Array<
|
|
163
|
+
Prisma.PickEnumerable<ChatUserGroupByOutputType, T['by']> &
|
|
164
|
+
{
|
|
165
|
+
[P in ((keyof T) & (keyof ChatUserGroupByOutputType))]: P extends '_count'
|
|
166
|
+
? T[P] extends boolean
|
|
167
|
+
? number
|
|
168
|
+
: Prisma.GetScalarType<T[P], ChatUserGroupByOutputType[P]>
|
|
169
|
+
: Prisma.GetScalarType<T[P], ChatUserGroupByOutputType[P]>
|
|
170
|
+
}
|
|
171
|
+
>
|
|
172
|
+
>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
export type ChatUserWhereInput = {
|
|
177
|
+
AND?: Prisma.ChatUserWhereInput | Prisma.ChatUserWhereInput[]
|
|
178
|
+
OR?: Prisma.ChatUserWhereInput[]
|
|
179
|
+
NOT?: Prisma.ChatUserWhereInput | Prisma.ChatUserWhereInput[]
|
|
180
|
+
id?: Prisma.StringFilter<"ChatUser"> | string
|
|
181
|
+
chatId?: Prisma.StringFilter<"ChatUser"> | string
|
|
182
|
+
userId?: Prisma.StringFilter<"ChatUser"> | string
|
|
183
|
+
createdAt?: Prisma.DateTimeFilter<"ChatUser"> | Date | string
|
|
184
|
+
updatedAt?: Prisma.DateTimeFilter<"ChatUser"> | Date | string
|
|
185
|
+
chat?: Prisma.XOR<Prisma.ChatScalarRelationFilter, Prisma.ChatWhereInput>
|
|
186
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export type ChatUserOrderByWithRelationInput = {
|
|
190
|
+
id?: Prisma.SortOrder
|
|
191
|
+
chatId?: Prisma.SortOrder
|
|
192
|
+
userId?: Prisma.SortOrder
|
|
193
|
+
createdAt?: Prisma.SortOrder
|
|
194
|
+
updatedAt?: Prisma.SortOrder
|
|
195
|
+
chat?: Prisma.ChatOrderByWithRelationInput
|
|
196
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type ChatUserWhereUniqueInput = Prisma.AtLeast<{
|
|
200
|
+
id?: string
|
|
201
|
+
AND?: Prisma.ChatUserWhereInput | Prisma.ChatUserWhereInput[]
|
|
202
|
+
OR?: Prisma.ChatUserWhereInput[]
|
|
203
|
+
NOT?: Prisma.ChatUserWhereInput | Prisma.ChatUserWhereInput[]
|
|
204
|
+
chatId?: Prisma.StringFilter<"ChatUser"> | string
|
|
205
|
+
userId?: Prisma.StringFilter<"ChatUser"> | string
|
|
206
|
+
createdAt?: Prisma.DateTimeFilter<"ChatUser"> | Date | string
|
|
207
|
+
updatedAt?: Prisma.DateTimeFilter<"ChatUser"> | Date | string
|
|
208
|
+
chat?: Prisma.XOR<Prisma.ChatScalarRelationFilter, Prisma.ChatWhereInput>
|
|
209
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
210
|
+
}, "id">
|
|
211
|
+
|
|
212
|
+
export type ChatUserOrderByWithAggregationInput = {
|
|
213
|
+
id?: Prisma.SortOrder
|
|
214
|
+
chatId?: Prisma.SortOrder
|
|
215
|
+
userId?: Prisma.SortOrder
|
|
216
|
+
createdAt?: Prisma.SortOrder
|
|
217
|
+
updatedAt?: Prisma.SortOrder
|
|
218
|
+
_count?: Prisma.ChatUserCountOrderByAggregateInput
|
|
219
|
+
_max?: Prisma.ChatUserMaxOrderByAggregateInput
|
|
220
|
+
_min?: Prisma.ChatUserMinOrderByAggregateInput
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export type ChatUserScalarWhereWithAggregatesInput = {
|
|
224
|
+
AND?: Prisma.ChatUserScalarWhereWithAggregatesInput | Prisma.ChatUserScalarWhereWithAggregatesInput[]
|
|
225
|
+
OR?: Prisma.ChatUserScalarWhereWithAggregatesInput[]
|
|
226
|
+
NOT?: Prisma.ChatUserScalarWhereWithAggregatesInput | Prisma.ChatUserScalarWhereWithAggregatesInput[]
|
|
227
|
+
id?: Prisma.StringWithAggregatesFilter<"ChatUser"> | string
|
|
228
|
+
chatId?: Prisma.StringWithAggregatesFilter<"ChatUser"> | string
|
|
229
|
+
userId?: Prisma.StringWithAggregatesFilter<"ChatUser"> | string
|
|
230
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ChatUser"> | Date | string
|
|
231
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ChatUser"> | Date | string
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export type ChatUserCreateInput = {
|
|
235
|
+
id?: string
|
|
236
|
+
createdAt?: Date | string
|
|
237
|
+
updatedAt?: Date | string
|
|
238
|
+
chat: Prisma.ChatCreateNestedOneWithoutUsersInput
|
|
239
|
+
user: Prisma.UserCreateNestedOneWithoutChatUsersInput
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type ChatUserUncheckedCreateInput = {
|
|
243
|
+
id?: string
|
|
244
|
+
chatId: string
|
|
245
|
+
userId: string
|
|
246
|
+
createdAt?: Date | string
|
|
247
|
+
updatedAt?: Date | string
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type ChatUserUpdateInput = {
|
|
251
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
252
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
253
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
254
|
+
chat?: Prisma.ChatUpdateOneRequiredWithoutUsersNestedInput
|
|
255
|
+
user?: Prisma.UserUpdateOneRequiredWithoutChatUsersNestedInput
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export type ChatUserUncheckedUpdateInput = {
|
|
259
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
260
|
+
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
263
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type ChatUserCreateManyInput = {
|
|
267
|
+
id?: string
|
|
268
|
+
chatId: string
|
|
269
|
+
userId: string
|
|
270
|
+
createdAt?: Date | string
|
|
271
|
+
updatedAt?: Date | string
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export type ChatUserUpdateManyMutationInput = {
|
|
275
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
277
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export type ChatUserUncheckedUpdateManyInput = {
|
|
281
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
282
|
+
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
283
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
285
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export type ChatUserListRelationFilter = {
|
|
289
|
+
every?: Prisma.ChatUserWhereInput
|
|
290
|
+
some?: Prisma.ChatUserWhereInput
|
|
291
|
+
none?: Prisma.ChatUserWhereInput
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type ChatUserOrderByRelationAggregateInput = {
|
|
295
|
+
_count?: Prisma.SortOrder
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type ChatUserCountOrderByAggregateInput = {
|
|
299
|
+
id?: Prisma.SortOrder
|
|
300
|
+
chatId?: Prisma.SortOrder
|
|
301
|
+
userId?: Prisma.SortOrder
|
|
302
|
+
createdAt?: Prisma.SortOrder
|
|
303
|
+
updatedAt?: Prisma.SortOrder
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export type ChatUserMaxOrderByAggregateInput = {
|
|
307
|
+
id?: Prisma.SortOrder
|
|
308
|
+
chatId?: Prisma.SortOrder
|
|
309
|
+
userId?: Prisma.SortOrder
|
|
310
|
+
createdAt?: Prisma.SortOrder
|
|
311
|
+
updatedAt?: Prisma.SortOrder
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type ChatUserMinOrderByAggregateInput = {
|
|
315
|
+
id?: Prisma.SortOrder
|
|
316
|
+
chatId?: Prisma.SortOrder
|
|
317
|
+
userId?: Prisma.SortOrder
|
|
318
|
+
createdAt?: Prisma.SortOrder
|
|
319
|
+
updatedAt?: Prisma.SortOrder
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type ChatUserCreateNestedManyWithoutUserInput = {
|
|
323
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutUserInput, Prisma.ChatUserUncheckedCreateWithoutUserInput> | Prisma.ChatUserCreateWithoutUserInput[] | Prisma.ChatUserUncheckedCreateWithoutUserInput[]
|
|
324
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutUserInput | Prisma.ChatUserCreateOrConnectWithoutUserInput[]
|
|
325
|
+
createMany?: Prisma.ChatUserCreateManyUserInputEnvelope
|
|
326
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export type ChatUserUncheckedCreateNestedManyWithoutUserInput = {
|
|
330
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutUserInput, Prisma.ChatUserUncheckedCreateWithoutUserInput> | Prisma.ChatUserCreateWithoutUserInput[] | Prisma.ChatUserUncheckedCreateWithoutUserInput[]
|
|
331
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutUserInput | Prisma.ChatUserCreateOrConnectWithoutUserInput[]
|
|
332
|
+
createMany?: Prisma.ChatUserCreateManyUserInputEnvelope
|
|
333
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export type ChatUserUpdateManyWithoutUserNestedInput = {
|
|
337
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutUserInput, Prisma.ChatUserUncheckedCreateWithoutUserInput> | Prisma.ChatUserCreateWithoutUserInput[] | Prisma.ChatUserUncheckedCreateWithoutUserInput[]
|
|
338
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutUserInput | Prisma.ChatUserCreateOrConnectWithoutUserInput[]
|
|
339
|
+
upsert?: Prisma.ChatUserUpsertWithWhereUniqueWithoutUserInput | Prisma.ChatUserUpsertWithWhereUniqueWithoutUserInput[]
|
|
340
|
+
createMany?: Prisma.ChatUserCreateManyUserInputEnvelope
|
|
341
|
+
set?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
342
|
+
disconnect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
343
|
+
delete?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
344
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
345
|
+
update?: Prisma.ChatUserUpdateWithWhereUniqueWithoutUserInput | Prisma.ChatUserUpdateWithWhereUniqueWithoutUserInput[]
|
|
346
|
+
updateMany?: Prisma.ChatUserUpdateManyWithWhereWithoutUserInput | Prisma.ChatUserUpdateManyWithWhereWithoutUserInput[]
|
|
347
|
+
deleteMany?: Prisma.ChatUserScalarWhereInput | Prisma.ChatUserScalarWhereInput[]
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export type ChatUserUncheckedUpdateManyWithoutUserNestedInput = {
|
|
351
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutUserInput, Prisma.ChatUserUncheckedCreateWithoutUserInput> | Prisma.ChatUserCreateWithoutUserInput[] | Prisma.ChatUserUncheckedCreateWithoutUserInput[]
|
|
352
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutUserInput | Prisma.ChatUserCreateOrConnectWithoutUserInput[]
|
|
353
|
+
upsert?: Prisma.ChatUserUpsertWithWhereUniqueWithoutUserInput | Prisma.ChatUserUpsertWithWhereUniqueWithoutUserInput[]
|
|
354
|
+
createMany?: Prisma.ChatUserCreateManyUserInputEnvelope
|
|
355
|
+
set?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
356
|
+
disconnect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
357
|
+
delete?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
358
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
359
|
+
update?: Prisma.ChatUserUpdateWithWhereUniqueWithoutUserInput | Prisma.ChatUserUpdateWithWhereUniqueWithoutUserInput[]
|
|
360
|
+
updateMany?: Prisma.ChatUserUpdateManyWithWhereWithoutUserInput | Prisma.ChatUserUpdateManyWithWhereWithoutUserInput[]
|
|
361
|
+
deleteMany?: Prisma.ChatUserScalarWhereInput | Prisma.ChatUserScalarWhereInput[]
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
export type ChatUserCreateNestedManyWithoutChatInput = {
|
|
365
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutChatInput, Prisma.ChatUserUncheckedCreateWithoutChatInput> | Prisma.ChatUserCreateWithoutChatInput[] | Prisma.ChatUserUncheckedCreateWithoutChatInput[]
|
|
366
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutChatInput | Prisma.ChatUserCreateOrConnectWithoutChatInput[]
|
|
367
|
+
createMany?: Prisma.ChatUserCreateManyChatInputEnvelope
|
|
368
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export type ChatUserUncheckedCreateNestedManyWithoutChatInput = {
|
|
372
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutChatInput, Prisma.ChatUserUncheckedCreateWithoutChatInput> | Prisma.ChatUserCreateWithoutChatInput[] | Prisma.ChatUserUncheckedCreateWithoutChatInput[]
|
|
373
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutChatInput | Prisma.ChatUserCreateOrConnectWithoutChatInput[]
|
|
374
|
+
createMany?: Prisma.ChatUserCreateManyChatInputEnvelope
|
|
375
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type ChatUserUpdateManyWithoutChatNestedInput = {
|
|
379
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutChatInput, Prisma.ChatUserUncheckedCreateWithoutChatInput> | Prisma.ChatUserCreateWithoutChatInput[] | Prisma.ChatUserUncheckedCreateWithoutChatInput[]
|
|
380
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutChatInput | Prisma.ChatUserCreateOrConnectWithoutChatInput[]
|
|
381
|
+
upsert?: Prisma.ChatUserUpsertWithWhereUniqueWithoutChatInput | Prisma.ChatUserUpsertWithWhereUniqueWithoutChatInput[]
|
|
382
|
+
createMany?: Prisma.ChatUserCreateManyChatInputEnvelope
|
|
383
|
+
set?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
384
|
+
disconnect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
385
|
+
delete?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
386
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
387
|
+
update?: Prisma.ChatUserUpdateWithWhereUniqueWithoutChatInput | Prisma.ChatUserUpdateWithWhereUniqueWithoutChatInput[]
|
|
388
|
+
updateMany?: Prisma.ChatUserUpdateManyWithWhereWithoutChatInput | Prisma.ChatUserUpdateManyWithWhereWithoutChatInput[]
|
|
389
|
+
deleteMany?: Prisma.ChatUserScalarWhereInput | Prisma.ChatUserScalarWhereInput[]
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type ChatUserUncheckedUpdateManyWithoutChatNestedInput = {
|
|
393
|
+
create?: Prisma.XOR<Prisma.ChatUserCreateWithoutChatInput, Prisma.ChatUserUncheckedCreateWithoutChatInput> | Prisma.ChatUserCreateWithoutChatInput[] | Prisma.ChatUserUncheckedCreateWithoutChatInput[]
|
|
394
|
+
connectOrCreate?: Prisma.ChatUserCreateOrConnectWithoutChatInput | Prisma.ChatUserCreateOrConnectWithoutChatInput[]
|
|
395
|
+
upsert?: Prisma.ChatUserUpsertWithWhereUniqueWithoutChatInput | Prisma.ChatUserUpsertWithWhereUniqueWithoutChatInput[]
|
|
396
|
+
createMany?: Prisma.ChatUserCreateManyChatInputEnvelope
|
|
397
|
+
set?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
398
|
+
disconnect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
399
|
+
delete?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
400
|
+
connect?: Prisma.ChatUserWhereUniqueInput | Prisma.ChatUserWhereUniqueInput[]
|
|
401
|
+
update?: Prisma.ChatUserUpdateWithWhereUniqueWithoutChatInput | Prisma.ChatUserUpdateWithWhereUniqueWithoutChatInput[]
|
|
402
|
+
updateMany?: Prisma.ChatUserUpdateManyWithWhereWithoutChatInput | Prisma.ChatUserUpdateManyWithWhereWithoutChatInput[]
|
|
403
|
+
deleteMany?: Prisma.ChatUserScalarWhereInput | Prisma.ChatUserScalarWhereInput[]
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type ChatUserCreateWithoutUserInput = {
|
|
407
|
+
id?: string
|
|
408
|
+
createdAt?: Date | string
|
|
409
|
+
updatedAt?: Date | string
|
|
410
|
+
chat: Prisma.ChatCreateNestedOneWithoutUsersInput
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export type ChatUserUncheckedCreateWithoutUserInput = {
|
|
414
|
+
id?: string
|
|
415
|
+
chatId: string
|
|
416
|
+
createdAt?: Date | string
|
|
417
|
+
updatedAt?: Date | string
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type ChatUserCreateOrConnectWithoutUserInput = {
|
|
421
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
422
|
+
create: Prisma.XOR<Prisma.ChatUserCreateWithoutUserInput, Prisma.ChatUserUncheckedCreateWithoutUserInput>
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export type ChatUserCreateManyUserInputEnvelope = {
|
|
426
|
+
data: Prisma.ChatUserCreateManyUserInput | Prisma.ChatUserCreateManyUserInput[]
|
|
427
|
+
skipDuplicates?: boolean
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export type ChatUserUpsertWithWhereUniqueWithoutUserInput = {
|
|
431
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
432
|
+
update: Prisma.XOR<Prisma.ChatUserUpdateWithoutUserInput, Prisma.ChatUserUncheckedUpdateWithoutUserInput>
|
|
433
|
+
create: Prisma.XOR<Prisma.ChatUserCreateWithoutUserInput, Prisma.ChatUserUncheckedCreateWithoutUserInput>
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export type ChatUserUpdateWithWhereUniqueWithoutUserInput = {
|
|
437
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
438
|
+
data: Prisma.XOR<Prisma.ChatUserUpdateWithoutUserInput, Prisma.ChatUserUncheckedUpdateWithoutUserInput>
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export type ChatUserUpdateManyWithWhereWithoutUserInput = {
|
|
442
|
+
where: Prisma.ChatUserScalarWhereInput
|
|
443
|
+
data: Prisma.XOR<Prisma.ChatUserUpdateManyMutationInput, Prisma.ChatUserUncheckedUpdateManyWithoutUserInput>
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type ChatUserScalarWhereInput = {
|
|
447
|
+
AND?: Prisma.ChatUserScalarWhereInput | Prisma.ChatUserScalarWhereInput[]
|
|
448
|
+
OR?: Prisma.ChatUserScalarWhereInput[]
|
|
449
|
+
NOT?: Prisma.ChatUserScalarWhereInput | Prisma.ChatUserScalarWhereInput[]
|
|
450
|
+
id?: Prisma.StringFilter<"ChatUser"> | string
|
|
451
|
+
chatId?: Prisma.StringFilter<"ChatUser"> | string
|
|
452
|
+
userId?: Prisma.StringFilter<"ChatUser"> | string
|
|
453
|
+
createdAt?: Prisma.DateTimeFilter<"ChatUser"> | Date | string
|
|
454
|
+
updatedAt?: Prisma.DateTimeFilter<"ChatUser"> | Date | string
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type ChatUserCreateWithoutChatInput = {
|
|
458
|
+
id?: string
|
|
459
|
+
createdAt?: Date | string
|
|
460
|
+
updatedAt?: Date | string
|
|
461
|
+
user: Prisma.UserCreateNestedOneWithoutChatUsersInput
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export type ChatUserUncheckedCreateWithoutChatInput = {
|
|
465
|
+
id?: string
|
|
466
|
+
userId: string
|
|
467
|
+
createdAt?: Date | string
|
|
468
|
+
updatedAt?: Date | string
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type ChatUserCreateOrConnectWithoutChatInput = {
|
|
472
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
473
|
+
create: Prisma.XOR<Prisma.ChatUserCreateWithoutChatInput, Prisma.ChatUserUncheckedCreateWithoutChatInput>
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type ChatUserCreateManyChatInputEnvelope = {
|
|
477
|
+
data: Prisma.ChatUserCreateManyChatInput | Prisma.ChatUserCreateManyChatInput[]
|
|
478
|
+
skipDuplicates?: boolean
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type ChatUserUpsertWithWhereUniqueWithoutChatInput = {
|
|
482
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
483
|
+
update: Prisma.XOR<Prisma.ChatUserUpdateWithoutChatInput, Prisma.ChatUserUncheckedUpdateWithoutChatInput>
|
|
484
|
+
create: Prisma.XOR<Prisma.ChatUserCreateWithoutChatInput, Prisma.ChatUserUncheckedCreateWithoutChatInput>
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export type ChatUserUpdateWithWhereUniqueWithoutChatInput = {
|
|
488
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
489
|
+
data: Prisma.XOR<Prisma.ChatUserUpdateWithoutChatInput, Prisma.ChatUserUncheckedUpdateWithoutChatInput>
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export type ChatUserUpdateManyWithWhereWithoutChatInput = {
|
|
493
|
+
where: Prisma.ChatUserScalarWhereInput
|
|
494
|
+
data: Prisma.XOR<Prisma.ChatUserUpdateManyMutationInput, Prisma.ChatUserUncheckedUpdateManyWithoutChatInput>
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export type ChatUserCreateManyUserInput = {
|
|
498
|
+
id?: string
|
|
499
|
+
chatId: string
|
|
500
|
+
createdAt?: Date | string
|
|
501
|
+
updatedAt?: Date | string
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type ChatUserUpdateWithoutUserInput = {
|
|
505
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
506
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
507
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
508
|
+
chat?: Prisma.ChatUpdateOneRequiredWithoutUsersNestedInput
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export type ChatUserUncheckedUpdateWithoutUserInput = {
|
|
512
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
513
|
+
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
514
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
515
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type ChatUserUncheckedUpdateManyWithoutUserInput = {
|
|
519
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
520
|
+
chatId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
521
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
522
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type ChatUserCreateManyChatInput = {
|
|
526
|
+
id?: string
|
|
527
|
+
userId: string
|
|
528
|
+
createdAt?: Date | string
|
|
529
|
+
updatedAt?: Date | string
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type ChatUserUpdateWithoutChatInput = {
|
|
533
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
534
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
535
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
536
|
+
user?: Prisma.UserUpdateOneRequiredWithoutChatUsersNestedInput
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export type ChatUserUncheckedUpdateWithoutChatInput = {
|
|
540
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
541
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
542
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
543
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export type ChatUserUncheckedUpdateManyWithoutChatInput = {
|
|
547
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
548
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
549
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
550
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
export type ChatUserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
556
|
+
id?: boolean
|
|
557
|
+
chatId?: boolean
|
|
558
|
+
userId?: boolean
|
|
559
|
+
createdAt?: boolean
|
|
560
|
+
updatedAt?: boolean
|
|
561
|
+
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
562
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
563
|
+
}, ExtArgs["result"]["chatUser"]>
|
|
564
|
+
|
|
565
|
+
export type ChatUserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
566
|
+
id?: boolean
|
|
567
|
+
chatId?: boolean
|
|
568
|
+
userId?: boolean
|
|
569
|
+
createdAt?: boolean
|
|
570
|
+
updatedAt?: boolean
|
|
571
|
+
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
572
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
573
|
+
}, ExtArgs["result"]["chatUser"]>
|
|
574
|
+
|
|
575
|
+
export type ChatUserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
576
|
+
id?: boolean
|
|
577
|
+
chatId?: boolean
|
|
578
|
+
userId?: boolean
|
|
579
|
+
createdAt?: boolean
|
|
580
|
+
updatedAt?: boolean
|
|
581
|
+
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
582
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
583
|
+
}, ExtArgs["result"]["chatUser"]>
|
|
584
|
+
|
|
585
|
+
export type ChatUserSelectScalar = {
|
|
586
|
+
id?: boolean
|
|
587
|
+
chatId?: boolean
|
|
588
|
+
userId?: boolean
|
|
589
|
+
createdAt?: boolean
|
|
590
|
+
updatedAt?: boolean
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export type ChatUserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "chatId" | "userId" | "createdAt" | "updatedAt", ExtArgs["result"]["chatUser"]>
|
|
594
|
+
export type ChatUserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
595
|
+
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
596
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
597
|
+
}
|
|
598
|
+
export type ChatUserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
599
|
+
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
600
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
601
|
+
}
|
|
602
|
+
export type ChatUserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
603
|
+
chat?: boolean | Prisma.ChatDefaultArgs<ExtArgs>
|
|
604
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export type $ChatUserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
608
|
+
name: "ChatUser"
|
|
609
|
+
objects: {
|
|
610
|
+
chat: Prisma.$ChatPayload<ExtArgs>
|
|
611
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
612
|
+
}
|
|
613
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
614
|
+
id: string
|
|
615
|
+
chatId: string
|
|
616
|
+
userId: string
|
|
617
|
+
createdAt: Date
|
|
618
|
+
updatedAt: Date
|
|
619
|
+
}, ExtArgs["result"]["chatUser"]>
|
|
620
|
+
composites: {}
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export type ChatUserGetPayload<S extends boolean | null | undefined | ChatUserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ChatUserPayload, S>
|
|
624
|
+
|
|
625
|
+
export type ChatUserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
626
|
+
Omit<ChatUserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
627
|
+
select?: ChatUserCountAggregateInputType | true
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export interface ChatUserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
631
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ChatUser'], meta: { name: 'ChatUser' } }
|
|
632
|
+
/**
|
|
633
|
+
* Find zero or one ChatUser that matches the filter.
|
|
634
|
+
* @param {ChatUserFindUniqueArgs} args - Arguments to find a ChatUser
|
|
635
|
+
* @example
|
|
636
|
+
* // Get one ChatUser
|
|
637
|
+
* const chatUser = await prisma.chatUser.findUnique({
|
|
638
|
+
* where: {
|
|
639
|
+
* // ... provide filter here
|
|
640
|
+
* }
|
|
641
|
+
* })
|
|
642
|
+
*/
|
|
643
|
+
findUnique<T extends ChatUserFindUniqueArgs>(args: Prisma.SelectSubset<T, ChatUserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Find one ChatUser that matches the filter or throw an error with `error.code='P2025'`
|
|
647
|
+
* if no matches were found.
|
|
648
|
+
* @param {ChatUserFindUniqueOrThrowArgs} args - Arguments to find a ChatUser
|
|
649
|
+
* @example
|
|
650
|
+
* // Get one ChatUser
|
|
651
|
+
* const chatUser = await prisma.chatUser.findUniqueOrThrow({
|
|
652
|
+
* where: {
|
|
653
|
+
* // ... provide filter here
|
|
654
|
+
* }
|
|
655
|
+
* })
|
|
656
|
+
*/
|
|
657
|
+
findUniqueOrThrow<T extends ChatUserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ChatUserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Find the first ChatUser that matches the filter.
|
|
661
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
662
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
663
|
+
* @param {ChatUserFindFirstArgs} args - Arguments to find a ChatUser
|
|
664
|
+
* @example
|
|
665
|
+
* // Get one ChatUser
|
|
666
|
+
* const chatUser = await prisma.chatUser.findFirst({
|
|
667
|
+
* where: {
|
|
668
|
+
* // ... provide filter here
|
|
669
|
+
* }
|
|
670
|
+
* })
|
|
671
|
+
*/
|
|
672
|
+
findFirst<T extends ChatUserFindFirstArgs>(args?: Prisma.SelectSubset<T, ChatUserFindFirstArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Find the first ChatUser that matches the filter or
|
|
676
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
677
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
678
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
679
|
+
* @param {ChatUserFindFirstOrThrowArgs} args - Arguments to find a ChatUser
|
|
680
|
+
* @example
|
|
681
|
+
* // Get one ChatUser
|
|
682
|
+
* const chatUser = await prisma.chatUser.findFirstOrThrow({
|
|
683
|
+
* where: {
|
|
684
|
+
* // ... provide filter here
|
|
685
|
+
* }
|
|
686
|
+
* })
|
|
687
|
+
*/
|
|
688
|
+
findFirstOrThrow<T extends ChatUserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ChatUserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Find zero or more ChatUsers that matches the filter.
|
|
692
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
693
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
694
|
+
* @param {ChatUserFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
695
|
+
* @example
|
|
696
|
+
* // Get all ChatUsers
|
|
697
|
+
* const chatUsers = await prisma.chatUser.findMany()
|
|
698
|
+
*
|
|
699
|
+
* // Get first 10 ChatUsers
|
|
700
|
+
* const chatUsers = await prisma.chatUser.findMany({ take: 10 })
|
|
701
|
+
*
|
|
702
|
+
* // Only select the `id`
|
|
703
|
+
* const chatUserWithIdOnly = await prisma.chatUser.findMany({ select: { id: true } })
|
|
704
|
+
*
|
|
705
|
+
*/
|
|
706
|
+
findMany<T extends ChatUserFindManyArgs>(args?: Prisma.SelectSubset<T, ChatUserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Create a ChatUser.
|
|
710
|
+
* @param {ChatUserCreateArgs} args - Arguments to create a ChatUser.
|
|
711
|
+
* @example
|
|
712
|
+
* // Create one ChatUser
|
|
713
|
+
* const ChatUser = await prisma.chatUser.create({
|
|
714
|
+
* data: {
|
|
715
|
+
* // ... data to create a ChatUser
|
|
716
|
+
* }
|
|
717
|
+
* })
|
|
718
|
+
*
|
|
719
|
+
*/
|
|
720
|
+
create<T extends ChatUserCreateArgs>(args: Prisma.SelectSubset<T, ChatUserCreateArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Create many ChatUsers.
|
|
724
|
+
* @param {ChatUserCreateManyArgs} args - Arguments to create many ChatUsers.
|
|
725
|
+
* @example
|
|
726
|
+
* // Create many ChatUsers
|
|
727
|
+
* const chatUser = await prisma.chatUser.createMany({
|
|
728
|
+
* data: [
|
|
729
|
+
* // ... provide data here
|
|
730
|
+
* ]
|
|
731
|
+
* })
|
|
732
|
+
*
|
|
733
|
+
*/
|
|
734
|
+
createMany<T extends ChatUserCreateManyArgs>(args?: Prisma.SelectSubset<T, ChatUserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Create many ChatUsers and returns the data saved in the database.
|
|
738
|
+
* @param {ChatUserCreateManyAndReturnArgs} args - Arguments to create many ChatUsers.
|
|
739
|
+
* @example
|
|
740
|
+
* // Create many ChatUsers
|
|
741
|
+
* const chatUser = await prisma.chatUser.createManyAndReturn({
|
|
742
|
+
* data: [
|
|
743
|
+
* // ... provide data here
|
|
744
|
+
* ]
|
|
745
|
+
* })
|
|
746
|
+
*
|
|
747
|
+
* // Create many ChatUsers and only return the `id`
|
|
748
|
+
* const chatUserWithIdOnly = await prisma.chatUser.createManyAndReturn({
|
|
749
|
+
* select: { id: true },
|
|
750
|
+
* data: [
|
|
751
|
+
* // ... provide data here
|
|
752
|
+
* ]
|
|
753
|
+
* })
|
|
754
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
755
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
756
|
+
*
|
|
757
|
+
*/
|
|
758
|
+
createManyAndReturn<T extends ChatUserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ChatUserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Delete a ChatUser.
|
|
762
|
+
* @param {ChatUserDeleteArgs} args - Arguments to delete one ChatUser.
|
|
763
|
+
* @example
|
|
764
|
+
* // Delete one ChatUser
|
|
765
|
+
* const ChatUser = await prisma.chatUser.delete({
|
|
766
|
+
* where: {
|
|
767
|
+
* // ... filter to delete one ChatUser
|
|
768
|
+
* }
|
|
769
|
+
* })
|
|
770
|
+
*
|
|
771
|
+
*/
|
|
772
|
+
delete<T extends ChatUserDeleteArgs>(args: Prisma.SelectSubset<T, ChatUserDeleteArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* Update one ChatUser.
|
|
776
|
+
* @param {ChatUserUpdateArgs} args - Arguments to update one ChatUser.
|
|
777
|
+
* @example
|
|
778
|
+
* // Update one ChatUser
|
|
779
|
+
* const chatUser = await prisma.chatUser.update({
|
|
780
|
+
* where: {
|
|
781
|
+
* // ... provide filter here
|
|
782
|
+
* },
|
|
783
|
+
* data: {
|
|
784
|
+
* // ... provide data here
|
|
785
|
+
* }
|
|
786
|
+
* })
|
|
787
|
+
*
|
|
788
|
+
*/
|
|
789
|
+
update<T extends ChatUserUpdateArgs>(args: Prisma.SelectSubset<T, ChatUserUpdateArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Delete zero or more ChatUsers.
|
|
793
|
+
* @param {ChatUserDeleteManyArgs} args - Arguments to filter ChatUsers to delete.
|
|
794
|
+
* @example
|
|
795
|
+
* // Delete a few ChatUsers
|
|
796
|
+
* const { count } = await prisma.chatUser.deleteMany({
|
|
797
|
+
* where: {
|
|
798
|
+
* // ... provide filter here
|
|
799
|
+
* }
|
|
800
|
+
* })
|
|
801
|
+
*
|
|
802
|
+
*/
|
|
803
|
+
deleteMany<T extends ChatUserDeleteManyArgs>(args?: Prisma.SelectSubset<T, ChatUserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Update zero or more ChatUsers.
|
|
807
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
808
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
809
|
+
* @param {ChatUserUpdateManyArgs} args - Arguments to update one or more rows.
|
|
810
|
+
* @example
|
|
811
|
+
* // Update many ChatUsers
|
|
812
|
+
* const chatUser = await prisma.chatUser.updateMany({
|
|
813
|
+
* where: {
|
|
814
|
+
* // ... provide filter here
|
|
815
|
+
* },
|
|
816
|
+
* data: {
|
|
817
|
+
* // ... provide data here
|
|
818
|
+
* }
|
|
819
|
+
* })
|
|
820
|
+
*
|
|
821
|
+
*/
|
|
822
|
+
updateMany<T extends ChatUserUpdateManyArgs>(args: Prisma.SelectSubset<T, ChatUserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* Update zero or more ChatUsers and returns the data updated in the database.
|
|
826
|
+
* @param {ChatUserUpdateManyAndReturnArgs} args - Arguments to update many ChatUsers.
|
|
827
|
+
* @example
|
|
828
|
+
* // Update many ChatUsers
|
|
829
|
+
* const chatUser = await prisma.chatUser.updateManyAndReturn({
|
|
830
|
+
* where: {
|
|
831
|
+
* // ... provide filter here
|
|
832
|
+
* },
|
|
833
|
+
* data: [
|
|
834
|
+
* // ... provide data here
|
|
835
|
+
* ]
|
|
836
|
+
* })
|
|
837
|
+
*
|
|
838
|
+
* // Update zero or more ChatUsers and only return the `id`
|
|
839
|
+
* const chatUserWithIdOnly = await prisma.chatUser.updateManyAndReturn({
|
|
840
|
+
* select: { id: true },
|
|
841
|
+
* where: {
|
|
842
|
+
* // ... provide filter here
|
|
843
|
+
* },
|
|
844
|
+
* data: [
|
|
845
|
+
* // ... provide data here
|
|
846
|
+
* ]
|
|
847
|
+
* })
|
|
848
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
849
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
850
|
+
*
|
|
851
|
+
*/
|
|
852
|
+
updateManyAndReturn<T extends ChatUserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ChatUserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Create or update one ChatUser.
|
|
856
|
+
* @param {ChatUserUpsertArgs} args - Arguments to update or create a ChatUser.
|
|
857
|
+
* @example
|
|
858
|
+
* // Update or create a ChatUser
|
|
859
|
+
* const chatUser = await prisma.chatUser.upsert({
|
|
860
|
+
* create: {
|
|
861
|
+
* // ... data to create a ChatUser
|
|
862
|
+
* },
|
|
863
|
+
* update: {
|
|
864
|
+
* // ... in case it already exists, update
|
|
865
|
+
* },
|
|
866
|
+
* where: {
|
|
867
|
+
* // ... the filter for the ChatUser we want to update
|
|
868
|
+
* }
|
|
869
|
+
* })
|
|
870
|
+
*/
|
|
871
|
+
upsert<T extends ChatUserUpsertArgs>(args: Prisma.SelectSubset<T, ChatUserUpsertArgs<ExtArgs>>): Prisma.Prisma__ChatUserClient<runtime.Types.Result.GetResult<Prisma.$ChatUserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Count the number of ChatUsers.
|
|
876
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
877
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
878
|
+
* @param {ChatUserCountArgs} args - Arguments to filter ChatUsers to count.
|
|
879
|
+
* @example
|
|
880
|
+
* // Count the number of ChatUsers
|
|
881
|
+
* const count = await prisma.chatUser.count({
|
|
882
|
+
* where: {
|
|
883
|
+
* // ... the filter for the ChatUsers we want to count
|
|
884
|
+
* }
|
|
885
|
+
* })
|
|
886
|
+
**/
|
|
887
|
+
count<T extends ChatUserCountArgs>(
|
|
888
|
+
args?: Prisma.Subset<T, ChatUserCountArgs>,
|
|
889
|
+
): Prisma.PrismaPromise<
|
|
890
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
891
|
+
? T['select'] extends true
|
|
892
|
+
? number
|
|
893
|
+
: Prisma.GetScalarType<T['select'], ChatUserCountAggregateOutputType>
|
|
894
|
+
: number
|
|
895
|
+
>
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Allows you to perform aggregations operations on a ChatUser.
|
|
899
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
900
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
901
|
+
* @param {ChatUserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
902
|
+
* @example
|
|
903
|
+
* // Ordered by age ascending
|
|
904
|
+
* // Where email contains prisma.io
|
|
905
|
+
* // Limited to the 10 users
|
|
906
|
+
* const aggregations = await prisma.user.aggregate({
|
|
907
|
+
* _avg: {
|
|
908
|
+
* age: true,
|
|
909
|
+
* },
|
|
910
|
+
* where: {
|
|
911
|
+
* email: {
|
|
912
|
+
* contains: "prisma.io",
|
|
913
|
+
* },
|
|
914
|
+
* },
|
|
915
|
+
* orderBy: {
|
|
916
|
+
* age: "asc",
|
|
917
|
+
* },
|
|
918
|
+
* take: 10,
|
|
919
|
+
* })
|
|
920
|
+
**/
|
|
921
|
+
aggregate<T extends ChatUserAggregateArgs>(args: Prisma.Subset<T, ChatUserAggregateArgs>): Prisma.PrismaPromise<GetChatUserAggregateType<T>>
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Group by ChatUser.
|
|
925
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
926
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
927
|
+
* @param {ChatUserGroupByArgs} args - Group by arguments.
|
|
928
|
+
* @example
|
|
929
|
+
* // Group by city, order by createdAt, get count
|
|
930
|
+
* const result = await prisma.user.groupBy({
|
|
931
|
+
* by: ['city', 'createdAt'],
|
|
932
|
+
* orderBy: {
|
|
933
|
+
* createdAt: true
|
|
934
|
+
* },
|
|
935
|
+
* _count: {
|
|
936
|
+
* _all: true
|
|
937
|
+
* },
|
|
938
|
+
* })
|
|
939
|
+
*
|
|
940
|
+
**/
|
|
941
|
+
groupBy<
|
|
942
|
+
T extends ChatUserGroupByArgs,
|
|
943
|
+
HasSelectOrTake extends Prisma.Or<
|
|
944
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
945
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
946
|
+
>,
|
|
947
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
948
|
+
? { orderBy: ChatUserGroupByArgs['orderBy'] }
|
|
949
|
+
: { orderBy?: ChatUserGroupByArgs['orderBy'] },
|
|
950
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
951
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
952
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
953
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
954
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
955
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
956
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
957
|
+
? `Error: "by" must not be empty.`
|
|
958
|
+
: HavingValid extends Prisma.False
|
|
959
|
+
? {
|
|
960
|
+
[P in HavingFields]: P extends ByFields
|
|
961
|
+
? never
|
|
962
|
+
: P extends string
|
|
963
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
964
|
+
: [
|
|
965
|
+
Error,
|
|
966
|
+
'Field ',
|
|
967
|
+
P,
|
|
968
|
+
` in "having" needs to be provided in "by"`,
|
|
969
|
+
]
|
|
970
|
+
}[HavingFields]
|
|
971
|
+
: 'take' extends Prisma.Keys<T>
|
|
972
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
973
|
+
? ByValid extends Prisma.True
|
|
974
|
+
? {}
|
|
975
|
+
: {
|
|
976
|
+
[P in OrderFields]: P extends ByFields
|
|
977
|
+
? never
|
|
978
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
979
|
+
}[OrderFields]
|
|
980
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
981
|
+
: 'skip' extends Prisma.Keys<T>
|
|
982
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
983
|
+
? ByValid extends Prisma.True
|
|
984
|
+
? {}
|
|
985
|
+
: {
|
|
986
|
+
[P in OrderFields]: P extends ByFields
|
|
987
|
+
? never
|
|
988
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
989
|
+
}[OrderFields]
|
|
990
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
991
|
+
: ByValid extends Prisma.True
|
|
992
|
+
? {}
|
|
993
|
+
: {
|
|
994
|
+
[P in OrderFields]: P extends ByFields
|
|
995
|
+
? never
|
|
996
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
997
|
+
}[OrderFields]
|
|
998
|
+
>(args: Prisma.SubsetIntersection<T, ChatUserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChatUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
999
|
+
/**
|
|
1000
|
+
* Fields of the ChatUser model
|
|
1001
|
+
*/
|
|
1002
|
+
readonly fields: ChatUserFieldRefs;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* The delegate class that acts as a "Promise-like" for ChatUser.
|
|
1007
|
+
* Why is this prefixed with `Prisma__`?
|
|
1008
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1009
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1010
|
+
*/
|
|
1011
|
+
export interface Prisma__ChatUserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1012
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1013
|
+
chat<T extends Prisma.ChatDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ChatDefaultArgs<ExtArgs>>): Prisma.Prisma__ChatClient<runtime.Types.Result.GetResult<Prisma.$ChatPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1014
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1015
|
+
/**
|
|
1016
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1017
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1018
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1019
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1020
|
+
*/
|
|
1021
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1022
|
+
/**
|
|
1023
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1024
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1025
|
+
* @returns A Promise for the completion of the callback.
|
|
1026
|
+
*/
|
|
1027
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1028
|
+
/**
|
|
1029
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1030
|
+
* resolved value cannot be modified from the callback.
|
|
1031
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1032
|
+
* @returns A Promise for the completion of the callback.
|
|
1033
|
+
*/
|
|
1034
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Fields of the ChatUser model
|
|
1042
|
+
*/
|
|
1043
|
+
export interface ChatUserFieldRefs {
|
|
1044
|
+
readonly id: Prisma.FieldRef<"ChatUser", 'String'>
|
|
1045
|
+
readonly chatId: Prisma.FieldRef<"ChatUser", 'String'>
|
|
1046
|
+
readonly userId: Prisma.FieldRef<"ChatUser", 'String'>
|
|
1047
|
+
readonly createdAt: Prisma.FieldRef<"ChatUser", 'DateTime'>
|
|
1048
|
+
readonly updatedAt: Prisma.FieldRef<"ChatUser", 'DateTime'>
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
// Custom InputTypes
|
|
1053
|
+
/**
|
|
1054
|
+
* ChatUser findUnique
|
|
1055
|
+
*/
|
|
1056
|
+
export type ChatUserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1057
|
+
/**
|
|
1058
|
+
* Select specific fields to fetch from the ChatUser
|
|
1059
|
+
*/
|
|
1060
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1061
|
+
/**
|
|
1062
|
+
* Omit specific fields from the ChatUser
|
|
1063
|
+
*/
|
|
1064
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1065
|
+
/**
|
|
1066
|
+
* Choose, which related nodes to fetch as well
|
|
1067
|
+
*/
|
|
1068
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1069
|
+
/**
|
|
1070
|
+
* Filter, which ChatUser to fetch.
|
|
1071
|
+
*/
|
|
1072
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* ChatUser findUniqueOrThrow
|
|
1077
|
+
*/
|
|
1078
|
+
export type ChatUserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1079
|
+
/**
|
|
1080
|
+
* Select specific fields to fetch from the ChatUser
|
|
1081
|
+
*/
|
|
1082
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1083
|
+
/**
|
|
1084
|
+
* Omit specific fields from the ChatUser
|
|
1085
|
+
*/
|
|
1086
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1087
|
+
/**
|
|
1088
|
+
* Choose, which related nodes to fetch as well
|
|
1089
|
+
*/
|
|
1090
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1091
|
+
/**
|
|
1092
|
+
* Filter, which ChatUser to fetch.
|
|
1093
|
+
*/
|
|
1094
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* ChatUser findFirst
|
|
1099
|
+
*/
|
|
1100
|
+
export type ChatUserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1101
|
+
/**
|
|
1102
|
+
* Select specific fields to fetch from the ChatUser
|
|
1103
|
+
*/
|
|
1104
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1105
|
+
/**
|
|
1106
|
+
* Omit specific fields from the ChatUser
|
|
1107
|
+
*/
|
|
1108
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1109
|
+
/**
|
|
1110
|
+
* Choose, which related nodes to fetch as well
|
|
1111
|
+
*/
|
|
1112
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1113
|
+
/**
|
|
1114
|
+
* Filter, which ChatUser to fetch.
|
|
1115
|
+
*/
|
|
1116
|
+
where?: Prisma.ChatUserWhereInput
|
|
1117
|
+
/**
|
|
1118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1119
|
+
*
|
|
1120
|
+
* Determine the order of ChatUsers to fetch.
|
|
1121
|
+
*/
|
|
1122
|
+
orderBy?: Prisma.ChatUserOrderByWithRelationInput | Prisma.ChatUserOrderByWithRelationInput[]
|
|
1123
|
+
/**
|
|
1124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1125
|
+
*
|
|
1126
|
+
* Sets the position for searching for ChatUsers.
|
|
1127
|
+
*/
|
|
1128
|
+
cursor?: Prisma.ChatUserWhereUniqueInput
|
|
1129
|
+
/**
|
|
1130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1131
|
+
*
|
|
1132
|
+
* Take `±n` ChatUsers from the position of the cursor.
|
|
1133
|
+
*/
|
|
1134
|
+
take?: number
|
|
1135
|
+
/**
|
|
1136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1137
|
+
*
|
|
1138
|
+
* Skip the first `n` ChatUsers.
|
|
1139
|
+
*/
|
|
1140
|
+
skip?: number
|
|
1141
|
+
/**
|
|
1142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1143
|
+
*
|
|
1144
|
+
* Filter by unique combinations of ChatUsers.
|
|
1145
|
+
*/
|
|
1146
|
+
distinct?: Prisma.ChatUserScalarFieldEnum | Prisma.ChatUserScalarFieldEnum[]
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* ChatUser findFirstOrThrow
|
|
1151
|
+
*/
|
|
1152
|
+
export type ChatUserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1153
|
+
/**
|
|
1154
|
+
* Select specific fields to fetch from the ChatUser
|
|
1155
|
+
*/
|
|
1156
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1157
|
+
/**
|
|
1158
|
+
* Omit specific fields from the ChatUser
|
|
1159
|
+
*/
|
|
1160
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1161
|
+
/**
|
|
1162
|
+
* Choose, which related nodes to fetch as well
|
|
1163
|
+
*/
|
|
1164
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1165
|
+
/**
|
|
1166
|
+
* Filter, which ChatUser to fetch.
|
|
1167
|
+
*/
|
|
1168
|
+
where?: Prisma.ChatUserWhereInput
|
|
1169
|
+
/**
|
|
1170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1171
|
+
*
|
|
1172
|
+
* Determine the order of ChatUsers to fetch.
|
|
1173
|
+
*/
|
|
1174
|
+
orderBy?: Prisma.ChatUserOrderByWithRelationInput | Prisma.ChatUserOrderByWithRelationInput[]
|
|
1175
|
+
/**
|
|
1176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1177
|
+
*
|
|
1178
|
+
* Sets the position for searching for ChatUsers.
|
|
1179
|
+
*/
|
|
1180
|
+
cursor?: Prisma.ChatUserWhereUniqueInput
|
|
1181
|
+
/**
|
|
1182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1183
|
+
*
|
|
1184
|
+
* Take `±n` ChatUsers from the position of the cursor.
|
|
1185
|
+
*/
|
|
1186
|
+
take?: number
|
|
1187
|
+
/**
|
|
1188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1189
|
+
*
|
|
1190
|
+
* Skip the first `n` ChatUsers.
|
|
1191
|
+
*/
|
|
1192
|
+
skip?: number
|
|
1193
|
+
/**
|
|
1194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1195
|
+
*
|
|
1196
|
+
* Filter by unique combinations of ChatUsers.
|
|
1197
|
+
*/
|
|
1198
|
+
distinct?: Prisma.ChatUserScalarFieldEnum | Prisma.ChatUserScalarFieldEnum[]
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* ChatUser findMany
|
|
1203
|
+
*/
|
|
1204
|
+
export type ChatUserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1205
|
+
/**
|
|
1206
|
+
* Select specific fields to fetch from the ChatUser
|
|
1207
|
+
*/
|
|
1208
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1209
|
+
/**
|
|
1210
|
+
* Omit specific fields from the ChatUser
|
|
1211
|
+
*/
|
|
1212
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1213
|
+
/**
|
|
1214
|
+
* Choose, which related nodes to fetch as well
|
|
1215
|
+
*/
|
|
1216
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1217
|
+
/**
|
|
1218
|
+
* Filter, which ChatUsers to fetch.
|
|
1219
|
+
*/
|
|
1220
|
+
where?: Prisma.ChatUserWhereInput
|
|
1221
|
+
/**
|
|
1222
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1223
|
+
*
|
|
1224
|
+
* Determine the order of ChatUsers to fetch.
|
|
1225
|
+
*/
|
|
1226
|
+
orderBy?: Prisma.ChatUserOrderByWithRelationInput | Prisma.ChatUserOrderByWithRelationInput[]
|
|
1227
|
+
/**
|
|
1228
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1229
|
+
*
|
|
1230
|
+
* Sets the position for listing ChatUsers.
|
|
1231
|
+
*/
|
|
1232
|
+
cursor?: Prisma.ChatUserWhereUniqueInput
|
|
1233
|
+
/**
|
|
1234
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1235
|
+
*
|
|
1236
|
+
* Take `±n` ChatUsers from the position of the cursor.
|
|
1237
|
+
*/
|
|
1238
|
+
take?: number
|
|
1239
|
+
/**
|
|
1240
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1241
|
+
*
|
|
1242
|
+
* Skip the first `n` ChatUsers.
|
|
1243
|
+
*/
|
|
1244
|
+
skip?: number
|
|
1245
|
+
/**
|
|
1246
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1247
|
+
*
|
|
1248
|
+
* Filter by unique combinations of ChatUsers.
|
|
1249
|
+
*/
|
|
1250
|
+
distinct?: Prisma.ChatUserScalarFieldEnum | Prisma.ChatUserScalarFieldEnum[]
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* ChatUser create
|
|
1255
|
+
*/
|
|
1256
|
+
export type ChatUserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1257
|
+
/**
|
|
1258
|
+
* Select specific fields to fetch from the ChatUser
|
|
1259
|
+
*/
|
|
1260
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1261
|
+
/**
|
|
1262
|
+
* Omit specific fields from the ChatUser
|
|
1263
|
+
*/
|
|
1264
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1265
|
+
/**
|
|
1266
|
+
* Choose, which related nodes to fetch as well
|
|
1267
|
+
*/
|
|
1268
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1269
|
+
/**
|
|
1270
|
+
* The data needed to create a ChatUser.
|
|
1271
|
+
*/
|
|
1272
|
+
data: Prisma.XOR<Prisma.ChatUserCreateInput, Prisma.ChatUserUncheckedCreateInput>
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* ChatUser createMany
|
|
1277
|
+
*/
|
|
1278
|
+
export type ChatUserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1279
|
+
/**
|
|
1280
|
+
* The data used to create many ChatUsers.
|
|
1281
|
+
*/
|
|
1282
|
+
data: Prisma.ChatUserCreateManyInput | Prisma.ChatUserCreateManyInput[]
|
|
1283
|
+
skipDuplicates?: boolean
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* ChatUser createManyAndReturn
|
|
1288
|
+
*/
|
|
1289
|
+
export type ChatUserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1290
|
+
/**
|
|
1291
|
+
* Select specific fields to fetch from the ChatUser
|
|
1292
|
+
*/
|
|
1293
|
+
select?: Prisma.ChatUserSelectCreateManyAndReturn<ExtArgs> | null
|
|
1294
|
+
/**
|
|
1295
|
+
* Omit specific fields from the ChatUser
|
|
1296
|
+
*/
|
|
1297
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1298
|
+
/**
|
|
1299
|
+
* The data used to create many ChatUsers.
|
|
1300
|
+
*/
|
|
1301
|
+
data: Prisma.ChatUserCreateManyInput | Prisma.ChatUserCreateManyInput[]
|
|
1302
|
+
skipDuplicates?: boolean
|
|
1303
|
+
/**
|
|
1304
|
+
* Choose, which related nodes to fetch as well
|
|
1305
|
+
*/
|
|
1306
|
+
include?: Prisma.ChatUserIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* ChatUser update
|
|
1311
|
+
*/
|
|
1312
|
+
export type ChatUserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1313
|
+
/**
|
|
1314
|
+
* Select specific fields to fetch from the ChatUser
|
|
1315
|
+
*/
|
|
1316
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1317
|
+
/**
|
|
1318
|
+
* Omit specific fields from the ChatUser
|
|
1319
|
+
*/
|
|
1320
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1321
|
+
/**
|
|
1322
|
+
* Choose, which related nodes to fetch as well
|
|
1323
|
+
*/
|
|
1324
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1325
|
+
/**
|
|
1326
|
+
* The data needed to update a ChatUser.
|
|
1327
|
+
*/
|
|
1328
|
+
data: Prisma.XOR<Prisma.ChatUserUpdateInput, Prisma.ChatUserUncheckedUpdateInput>
|
|
1329
|
+
/**
|
|
1330
|
+
* Choose, which ChatUser to update.
|
|
1331
|
+
*/
|
|
1332
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* ChatUser updateMany
|
|
1337
|
+
*/
|
|
1338
|
+
export type ChatUserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1339
|
+
/**
|
|
1340
|
+
* The data used to update ChatUsers.
|
|
1341
|
+
*/
|
|
1342
|
+
data: Prisma.XOR<Prisma.ChatUserUpdateManyMutationInput, Prisma.ChatUserUncheckedUpdateManyInput>
|
|
1343
|
+
/**
|
|
1344
|
+
* Filter which ChatUsers to update
|
|
1345
|
+
*/
|
|
1346
|
+
where?: Prisma.ChatUserWhereInput
|
|
1347
|
+
/**
|
|
1348
|
+
* Limit how many ChatUsers to update.
|
|
1349
|
+
*/
|
|
1350
|
+
limit?: number
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* ChatUser updateManyAndReturn
|
|
1355
|
+
*/
|
|
1356
|
+
export type ChatUserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1357
|
+
/**
|
|
1358
|
+
* Select specific fields to fetch from the ChatUser
|
|
1359
|
+
*/
|
|
1360
|
+
select?: Prisma.ChatUserSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1361
|
+
/**
|
|
1362
|
+
* Omit specific fields from the ChatUser
|
|
1363
|
+
*/
|
|
1364
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1365
|
+
/**
|
|
1366
|
+
* The data used to update ChatUsers.
|
|
1367
|
+
*/
|
|
1368
|
+
data: Prisma.XOR<Prisma.ChatUserUpdateManyMutationInput, Prisma.ChatUserUncheckedUpdateManyInput>
|
|
1369
|
+
/**
|
|
1370
|
+
* Filter which ChatUsers to update
|
|
1371
|
+
*/
|
|
1372
|
+
where?: Prisma.ChatUserWhereInput
|
|
1373
|
+
/**
|
|
1374
|
+
* Limit how many ChatUsers to update.
|
|
1375
|
+
*/
|
|
1376
|
+
limit?: number
|
|
1377
|
+
/**
|
|
1378
|
+
* Choose, which related nodes to fetch as well
|
|
1379
|
+
*/
|
|
1380
|
+
include?: Prisma.ChatUserIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* ChatUser upsert
|
|
1385
|
+
*/
|
|
1386
|
+
export type ChatUserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1387
|
+
/**
|
|
1388
|
+
* Select specific fields to fetch from the ChatUser
|
|
1389
|
+
*/
|
|
1390
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1391
|
+
/**
|
|
1392
|
+
* Omit specific fields from the ChatUser
|
|
1393
|
+
*/
|
|
1394
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1395
|
+
/**
|
|
1396
|
+
* Choose, which related nodes to fetch as well
|
|
1397
|
+
*/
|
|
1398
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1399
|
+
/**
|
|
1400
|
+
* The filter to search for the ChatUser to update in case it exists.
|
|
1401
|
+
*/
|
|
1402
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
1403
|
+
/**
|
|
1404
|
+
* In case the ChatUser found by the `where` argument doesn't exist, create a new ChatUser with this data.
|
|
1405
|
+
*/
|
|
1406
|
+
create: Prisma.XOR<Prisma.ChatUserCreateInput, Prisma.ChatUserUncheckedCreateInput>
|
|
1407
|
+
/**
|
|
1408
|
+
* In case the ChatUser was found with the provided `where` argument, update it with this data.
|
|
1409
|
+
*/
|
|
1410
|
+
update: Prisma.XOR<Prisma.ChatUserUpdateInput, Prisma.ChatUserUncheckedUpdateInput>
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* ChatUser delete
|
|
1415
|
+
*/
|
|
1416
|
+
export type ChatUserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1417
|
+
/**
|
|
1418
|
+
* Select specific fields to fetch from the ChatUser
|
|
1419
|
+
*/
|
|
1420
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1421
|
+
/**
|
|
1422
|
+
* Omit specific fields from the ChatUser
|
|
1423
|
+
*/
|
|
1424
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1425
|
+
/**
|
|
1426
|
+
* Choose, which related nodes to fetch as well
|
|
1427
|
+
*/
|
|
1428
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1429
|
+
/**
|
|
1430
|
+
* Filter which ChatUser to delete.
|
|
1431
|
+
*/
|
|
1432
|
+
where: Prisma.ChatUserWhereUniqueInput
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* ChatUser deleteMany
|
|
1437
|
+
*/
|
|
1438
|
+
export type ChatUserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1439
|
+
/**
|
|
1440
|
+
* Filter which ChatUsers to delete
|
|
1441
|
+
*/
|
|
1442
|
+
where?: Prisma.ChatUserWhereInput
|
|
1443
|
+
/**
|
|
1444
|
+
* Limit how many ChatUsers to delete.
|
|
1445
|
+
*/
|
|
1446
|
+
limit?: number
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* ChatUser without action
|
|
1451
|
+
*/
|
|
1452
|
+
export type ChatUserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1453
|
+
/**
|
|
1454
|
+
* Select specific fields to fetch from the ChatUser
|
|
1455
|
+
*/
|
|
1456
|
+
select?: Prisma.ChatUserSelect<ExtArgs> | null
|
|
1457
|
+
/**
|
|
1458
|
+
* Omit specific fields from the ChatUser
|
|
1459
|
+
*/
|
|
1460
|
+
omit?: Prisma.ChatUserOmit<ExtArgs> | null
|
|
1461
|
+
/**
|
|
1462
|
+
* Choose, which related nodes to fetch as well
|
|
1463
|
+
*/
|
|
1464
|
+
include?: Prisma.ChatUserInclude<ExtArgs> | null
|
|
1465
|
+
}
|