@optimatech88/titomeet-shared-lib 1.1.0 → 1.1.1

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