@optimatech88/titomeet-shared-lib 1.1.0 → 1.1.2

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 (277) 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.d.ts +3 -2
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +2 -2
  74. package/dist/index.js.map +1 -1
  75. package/dist/prisma/prisma.module.d.ts +5 -0
  76. package/dist/prisma/prisma.module.d.ts.map +1 -1
  77. package/dist/prisma/prisma.module.js +31 -6
  78. package/dist/prisma/prisma.module.js.map +1 -1
  79. package/dist/prisma/prisma.service.d.ts +1 -1
  80. package/dist/prisma/prisma.service.d.ts.map +1 -1
  81. package/dist/prisma/prisma.service.js +10 -6
  82. package/dist/prisma/prisma.service.js.map +1 -1
  83. package/dist/prisma/seed.js +6 -2
  84. package/dist/prisma/seed.js.map +1 -1
  85. package/package.json +1 -2
  86. package/prisma/schema.prisma +1 -1
  87. package/src/auth/admin.middleware.ts +2 -1
  88. package/src/auth/auth.guard.ts +2 -1
  89. package/{generated/prisma/client → src/generated/prisma}/internal/class.ts +1 -1
  90. package/src/index.ts +63 -38
  91. package/src/prisma/prisma.module.ts +32 -6
  92. package/src/prisma/prisma.service.ts +12 -5
  93. package/src/prisma/seed.ts +1 -1
  94. package/tsconfig.json +4 -3
  95. package/generated/prisma/client/browser.ts +0 -139
  96. package/generated/prisma/client/client.ts +0 -163
  97. package/generated/prisma/client.d.ts +0 -33
  98. package/generated/prisma/client.d.ts.map +0 -1
  99. package/generated/prisma/client.js +0 -10
  100. package/generated/prisma/client.js.map +0 -1
  101. package/generated/prisma/commonInputTypes.d.ts +0 -966
  102. package/generated/prisma/commonInputTypes.d.ts.map +0 -1
  103. package/generated/prisma/commonInputTypes.js +0 -2
  104. package/generated/prisma/commonInputTypes.js.map +0 -1
  105. package/generated/prisma/commonInputTypes.ts +0 -1102
  106. package/generated/prisma/enums.d.ts +0 -111
  107. package/generated/prisma/enums.d.ts.map +0 -1
  108. package/generated/prisma/enums.js +0 -93
  109. package/generated/prisma/enums.js.map +0 -1
  110. package/generated/prisma/enums.ts +0 -173
  111. package/generated/prisma/internal/class.d.ts +0 -105
  112. package/generated/prisma/internal/class.d.ts.map +0 -1
  113. package/generated/prisma/internal/class.js +0 -39
  114. package/generated/prisma/internal/class.js.map +0 -1
  115. package/generated/prisma/internal/class.ts +0 -434
  116. package/generated/prisma/internal/prismaNamespace.d.ts +0 -2431
  117. package/generated/prisma/internal/prismaNamespace.d.ts.map +0 -1
  118. package/generated/prisma/internal/prismaNamespace.js +0 -338
  119. package/generated/prisma/internal/prismaNamespace.js.map +0 -1
  120. package/generated/prisma/internal/prismaNamespace.ts +0 -3141
  121. package/generated/prisma/internal/prismaNamespaceBrowser.ts +0 -489
  122. package/generated/prisma/models/Account.d.ts +0 -582
  123. package/generated/prisma/models/Account.d.ts.map +0 -1
  124. package/generated/prisma/models/Account.js +0 -2
  125. package/generated/prisma/models/Account.js.map +0 -1
  126. package/generated/prisma/models/Account.ts +0 -1384
  127. package/generated/prisma/models/Address.d.ts +0 -930
  128. package/generated/prisma/models/Address.d.ts.map +0 -1
  129. package/generated/prisma/models/Address.js +0 -2
  130. package/generated/prisma/models/Address.js.map +0 -1
  131. package/generated/prisma/models/Address.ts +0 -1791
  132. package/generated/prisma/models/Chat.d.ts +0 -788
  133. package/generated/prisma/models/Chat.d.ts.map +0 -1
  134. package/generated/prisma/models/Chat.js +0 -2
  135. package/generated/prisma/models/Chat.js.map +0 -1
  136. package/generated/prisma/models/Chat.ts +0 -1676
  137. package/generated/prisma/models/ChatUser.d.ts +0 -648
  138. package/generated/prisma/models/ChatUser.d.ts.map +0 -1
  139. package/generated/prisma/models/ChatUser.js +0 -2
  140. package/generated/prisma/models/ChatUser.js.map +0 -1
  141. package/generated/prisma/models/ChatUser.ts +0 -1465
  142. package/generated/prisma/models/Country.d.ts +0 -543
  143. package/generated/prisma/models/Country.d.ts.map +0 -1
  144. package/generated/prisma/models/Country.js +0 -2
  145. package/generated/prisma/models/Country.js.map +0 -1
  146. package/generated/prisma/models/Country.ts +0 -1361
  147. package/generated/prisma/models/Event.d.ts +0 -3206
  148. package/generated/prisma/models/Event.d.ts.map +0 -1
  149. package/generated/prisma/models/Event.js +0 -2
  150. package/generated/prisma/models/Event.js.map +0 -1
  151. package/generated/prisma/models/Event.ts +0 -4258
  152. package/generated/prisma/models/EventCategory.d.ts +0 -1004
  153. package/generated/prisma/models/EventCategory.d.ts.map +0 -1
  154. package/generated/prisma/models/EventCategory.js +0 -2
  155. package/generated/prisma/models/EventCategory.js.map +0 -1
  156. package/generated/prisma/models/EventCategory.ts +0 -1919
  157. package/generated/prisma/models/EventPrice.d.ts +0 -798
  158. package/generated/prisma/models/EventPrice.d.ts.map +0 -1
  159. package/generated/prisma/models/EventPrice.js +0 -2
  160. package/generated/prisma/models/EventPrice.js.map +0 -1
  161. package/generated/prisma/models/EventPrice.ts +0 -1657
  162. package/generated/prisma/models/Favorite.d.ts +0 -648
  163. package/generated/prisma/models/Favorite.d.ts.map +0 -1
  164. package/generated/prisma/models/Favorite.js +0 -2
  165. package/generated/prisma/models/Favorite.js.map +0 -1
  166. package/generated/prisma/models/Favorite.ts +0 -1465
  167. package/generated/prisma/models/Feedback.d.ts +0 -682
  168. package/generated/prisma/models/Feedback.d.ts.map +0 -1
  169. package/generated/prisma/models/Feedback.js +0 -2
  170. package/generated/prisma/models/Feedback.js.map +0 -1
  171. package/generated/prisma/models/Feedback.ts +0 -1513
  172. package/generated/prisma/models/Message.d.ts +0 -724
  173. package/generated/prisma/models/Message.d.ts.map +0 -1
  174. package/generated/prisma/models/Message.js +0 -2
  175. package/generated/prisma/models/Message.js.map +0 -1
  176. package/generated/prisma/models/Message.ts +0 -1541
  177. package/generated/prisma/models/Newsletter.d.ts +0 -404
  178. package/generated/prisma/models/Newsletter.d.ts.map +0 -1
  179. package/generated/prisma/models/Newsletter.js +0 -2
  180. package/generated/prisma/models/Newsletter.js.map +0 -1
  181. package/generated/prisma/models/Newsletter.ts +0 -1153
  182. package/generated/prisma/models/Notification.d.ts +0 -775
  183. package/generated/prisma/models/Notification.d.ts.map +0 -1
  184. package/generated/prisma/models/Notification.js +0 -2
  185. package/generated/prisma/models/Notification.js.map +0 -1
  186. package/generated/prisma/models/Notification.ts +0 -1605
  187. package/generated/prisma/models/Order.d.ts +0 -1009
  188. package/generated/prisma/models/Order.d.ts.map +0 -1
  189. package/generated/prisma/models/Order.js +0 -2
  190. package/generated/prisma/models/Order.js.map +0 -1
  191. package/generated/prisma/models/Order.ts +0 -1883
  192. package/generated/prisma/models/OrderItem.d.ts +0 -806
  193. package/generated/prisma/models/OrderItem.d.ts.map +0 -1
  194. package/generated/prisma/models/OrderItem.js +0 -2
  195. package/generated/prisma/models/OrderItem.js.map +0 -1
  196. package/generated/prisma/models/OrderItem.ts +0 -1641
  197. package/generated/prisma/models/Pricing.d.ts +0 -739
  198. package/generated/prisma/models/Pricing.d.ts.map +0 -1
  199. package/generated/prisma/models/Pricing.js +0 -2
  200. package/generated/prisma/models/Pricing.js.map +0 -1
  201. package/generated/prisma/models/Pricing.ts +0 -1576
  202. package/generated/prisma/models/Provider.d.ts +0 -1650
  203. package/generated/prisma/models/Provider.d.ts.map +0 -1
  204. package/generated/prisma/models/Provider.js +0 -2
  205. package/generated/prisma/models/Provider.js.map +0 -1
  206. package/generated/prisma/models/Provider.ts +0 -2577
  207. package/generated/prisma/models/ProviderCategory.d.ts +0 -830
  208. package/generated/prisma/models/ProviderCategory.d.ts.map +0 -1
  209. package/generated/prisma/models/ProviderCategory.js +0 -2
  210. package/generated/prisma/models/ProviderCategory.js.map +0 -1
  211. package/generated/prisma/models/ProviderCategory.ts +0 -1712
  212. package/generated/prisma/models/ProviderOnEvent.d.ts +0 -693
  213. package/generated/prisma/models/ProviderOnEvent.d.ts.map +0 -1
  214. package/generated/prisma/models/ProviderOnEvent.js +0 -2
  215. package/generated/prisma/models/ProviderOnEvent.js.map +0 -1
  216. package/generated/prisma/models/ProviderOnEvent.ts +0 -1510
  217. package/generated/prisma/models/Report.d.ts +0 -689
  218. package/generated/prisma/models/Report.d.ts.map +0 -1
  219. package/generated/prisma/models/Report.js +0 -2
  220. package/generated/prisma/models/Report.js.map +0 -1
  221. package/generated/prisma/models/Report.ts +0 -1506
  222. package/generated/prisma/models/Review.d.ts +0 -758
  223. package/generated/prisma/models/Review.d.ts.map +0 -1
  224. package/generated/prisma/models/Review.js +0 -2
  225. package/generated/prisma/models/Review.js.map +0 -1
  226. package/generated/prisma/models/Review.ts +0 -1591
  227. package/generated/prisma/models/Transaction.d.ts +0 -894
  228. package/generated/prisma/models/Transaction.d.ts.map +0 -1
  229. package/generated/prisma/models/Transaction.js +0 -2
  230. package/generated/prisma/models/Transaction.js.map +0 -1
  231. package/generated/prisma/models/Transaction.ts +0 -1741
  232. package/generated/prisma/models/User.d.ts +0 -2966
  233. package/generated/prisma/models/User.d.ts.map +0 -1
  234. package/generated/prisma/models/User.js +0 -2
  235. package/generated/prisma/models/User.js.map +0 -1
  236. package/generated/prisma/models/User.ts +0 -4124
  237. package/generated/prisma/models/UserInterests.d.ts +0 -605
  238. package/generated/prisma/models/UserInterests.d.ts.map +0 -1
  239. package/generated/prisma/models/UserInterests.js +0 -2
  240. package/generated/prisma/models/UserInterests.js.map +0 -1
  241. package/generated/prisma/models/UserInterests.ts +0 -1447
  242. package/generated/prisma/models.d.ts +0 -26
  243. package/generated/prisma/models.d.ts.map +0 -1
  244. package/generated/prisma/models.js +0 -2
  245. package/generated/prisma/models.js.map +0 -1
  246. package/generated/prisma/models.ts +0 -35
  247. /package/{generated → src/generated}/prisma/browser.ts +0 -0
  248. /package/{generated → src/generated}/prisma/client.ts +0 -0
  249. /package/{generated/prisma/client → src/generated/prisma}/commonInputTypes.ts +0 -0
  250. /package/{generated/prisma/client → src/generated/prisma}/enums.ts +0 -0
  251. /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespace.ts +0 -0
  252. /package/{generated/prisma/client → src/generated/prisma}/internal/prismaNamespaceBrowser.ts +0 -0
  253. /package/{generated/prisma/client → src/generated/prisma}/models/Account.ts +0 -0
  254. /package/{generated/prisma/client → src/generated/prisma}/models/Address.ts +0 -0
  255. /package/{generated/prisma/client → src/generated/prisma}/models/Chat.ts +0 -0
  256. /package/{generated/prisma/client → src/generated/prisma}/models/ChatUser.ts +0 -0
  257. /package/{generated/prisma/client → src/generated/prisma}/models/Country.ts +0 -0
  258. /package/{generated/prisma/client → src/generated/prisma}/models/Event.ts +0 -0
  259. /package/{generated/prisma/client → src/generated/prisma}/models/EventCategory.ts +0 -0
  260. /package/{generated/prisma/client → src/generated/prisma}/models/EventPrice.ts +0 -0
  261. /package/{generated/prisma/client → src/generated/prisma}/models/Favorite.ts +0 -0
  262. /package/{generated/prisma/client → src/generated/prisma}/models/Feedback.ts +0 -0
  263. /package/{generated/prisma/client → src/generated/prisma}/models/Message.ts +0 -0
  264. /package/{generated/prisma/client → src/generated/prisma}/models/Newsletter.ts +0 -0
  265. /package/{generated/prisma/client → src/generated/prisma}/models/Notification.ts +0 -0
  266. /package/{generated/prisma/client → src/generated/prisma}/models/Order.ts +0 -0
  267. /package/{generated/prisma/client → src/generated/prisma}/models/OrderItem.ts +0 -0
  268. /package/{generated/prisma/client → src/generated/prisma}/models/Pricing.ts +0 -0
  269. /package/{generated/prisma/client → src/generated/prisma}/models/Provider.ts +0 -0
  270. /package/{generated/prisma/client → src/generated/prisma}/models/ProviderCategory.ts +0 -0
  271. /package/{generated/prisma/client → src/generated/prisma}/models/ProviderOnEvent.ts +0 -0
  272. /package/{generated/prisma/client → src/generated/prisma}/models/Report.ts +0 -0
  273. /package/{generated/prisma/client → src/generated/prisma}/models/Review.ts +0 -0
  274. /package/{generated/prisma/client → src/generated/prisma}/models/Transaction.ts +0 -0
  275. /package/{generated/prisma/client → src/generated/prisma}/models/User.ts +0 -0
  276. /package/{generated/prisma/client → src/generated/prisma}/models/UserInterests.ts +0 -0
  277. /package/{generated/prisma/client → src/generated/prisma}/models.ts +0 -0
@@ -1,775 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as $Enums from "../enums";
3
- import type * as Prisma from "../internal/prismaNamespace";
4
- export type NotificationModel = runtime.Types.Result.DefaultSelection<Prisma.$NotificationPayload>;
5
- export type AggregateNotification = {
6
- _count: NotificationCountAggregateOutputType | null;
7
- _min: NotificationMinAggregateOutputType | null;
8
- _max: NotificationMaxAggregateOutputType | null;
9
- };
10
- export type NotificationMinAggregateOutputType = {
11
- id: string | null;
12
- notifiedToId: string | null;
13
- userId: string | null;
14
- type: $Enums.NotificationType | null;
15
- read: boolean | null;
16
- createdAt: Date | null;
17
- updatedAt: Date | null;
18
- };
19
- export type NotificationMaxAggregateOutputType = {
20
- id: string | null;
21
- notifiedToId: string | null;
22
- userId: string | null;
23
- type: $Enums.NotificationType | null;
24
- read: boolean | null;
25
- createdAt: Date | null;
26
- updatedAt: Date | null;
27
- };
28
- export type NotificationCountAggregateOutputType = {
29
- id: number;
30
- notifiedToId: number;
31
- userId: number;
32
- type: number;
33
- read: number;
34
- data: number;
35
- createdAt: number;
36
- updatedAt: number;
37
- _all: number;
38
- };
39
- export type NotificationMinAggregateInputType = {
40
- id?: true;
41
- notifiedToId?: true;
42
- userId?: true;
43
- type?: true;
44
- read?: true;
45
- createdAt?: true;
46
- updatedAt?: true;
47
- };
48
- export type NotificationMaxAggregateInputType = {
49
- id?: true;
50
- notifiedToId?: true;
51
- userId?: true;
52
- type?: true;
53
- read?: true;
54
- createdAt?: true;
55
- updatedAt?: true;
56
- };
57
- export type NotificationCountAggregateInputType = {
58
- id?: true;
59
- notifiedToId?: true;
60
- userId?: true;
61
- type?: true;
62
- read?: true;
63
- data?: true;
64
- createdAt?: true;
65
- updatedAt?: true;
66
- _all?: true;
67
- };
68
- export type NotificationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
69
- where?: Prisma.NotificationWhereInput;
70
- orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[];
71
- cursor?: Prisma.NotificationWhereUniqueInput;
72
- take?: number;
73
- skip?: number;
74
- _count?: true | NotificationCountAggregateInputType;
75
- _min?: NotificationMinAggregateInputType;
76
- _max?: NotificationMaxAggregateInputType;
77
- };
78
- export type GetNotificationAggregateType<T extends NotificationAggregateArgs> = {
79
- [P in keyof T & keyof AggregateNotification]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateNotification[P]> : Prisma.GetScalarType<T[P], AggregateNotification[P]>;
80
- };
81
- export type NotificationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
82
- where?: Prisma.NotificationWhereInput;
83
- orderBy?: Prisma.NotificationOrderByWithAggregationInput | Prisma.NotificationOrderByWithAggregationInput[];
84
- by: Prisma.NotificationScalarFieldEnum[] | Prisma.NotificationScalarFieldEnum;
85
- having?: Prisma.NotificationScalarWhereWithAggregatesInput;
86
- take?: number;
87
- skip?: number;
88
- _count?: NotificationCountAggregateInputType | true;
89
- _min?: NotificationMinAggregateInputType;
90
- _max?: NotificationMaxAggregateInputType;
91
- };
92
- export type NotificationGroupByOutputType = {
93
- id: string;
94
- notifiedToId: string;
95
- userId: string | null;
96
- type: $Enums.NotificationType;
97
- read: boolean;
98
- data: runtime.JsonValue | null;
99
- createdAt: Date;
100
- updatedAt: Date;
101
- _count: NotificationCountAggregateOutputType | null;
102
- _min: NotificationMinAggregateOutputType | null;
103
- _max: NotificationMaxAggregateOutputType | null;
104
- };
105
- export type GetNotificationGroupByPayload<T extends NotificationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<NotificationGroupByOutputType, T['by']> & {
106
- [P in ((keyof T) & (keyof NotificationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], NotificationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], NotificationGroupByOutputType[P]>;
107
- }>>;
108
- export type NotificationWhereInput = {
109
- AND?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[];
110
- OR?: Prisma.NotificationWhereInput[];
111
- NOT?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[];
112
- id?: Prisma.StringFilter<"Notification"> | string;
113
- notifiedToId?: Prisma.StringFilter<"Notification"> | string;
114
- userId?: Prisma.StringNullableFilter<"Notification"> | string | null;
115
- type?: Prisma.EnumNotificationTypeFilter<"Notification"> | $Enums.NotificationType;
116
- read?: Prisma.BoolFilter<"Notification"> | boolean;
117
- data?: Prisma.JsonNullableFilter<"Notification">;
118
- createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string;
119
- updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string;
120
- notifiedTo?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
121
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
122
- };
123
- export type NotificationOrderByWithRelationInput = {
124
- id?: Prisma.SortOrder;
125
- notifiedToId?: Prisma.SortOrder;
126
- userId?: Prisma.SortOrderInput | Prisma.SortOrder;
127
- type?: Prisma.SortOrder;
128
- read?: Prisma.SortOrder;
129
- data?: Prisma.SortOrderInput | Prisma.SortOrder;
130
- createdAt?: Prisma.SortOrder;
131
- updatedAt?: Prisma.SortOrder;
132
- notifiedTo?: Prisma.UserOrderByWithRelationInput;
133
- user?: Prisma.UserOrderByWithRelationInput;
134
- };
135
- export type NotificationWhereUniqueInput = Prisma.AtLeast<{
136
- id?: string;
137
- AND?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[];
138
- OR?: Prisma.NotificationWhereInput[];
139
- NOT?: Prisma.NotificationWhereInput | Prisma.NotificationWhereInput[];
140
- notifiedToId?: Prisma.StringFilter<"Notification"> | string;
141
- userId?: Prisma.StringNullableFilter<"Notification"> | string | null;
142
- type?: Prisma.EnumNotificationTypeFilter<"Notification"> | $Enums.NotificationType;
143
- read?: Prisma.BoolFilter<"Notification"> | boolean;
144
- data?: Prisma.JsonNullableFilter<"Notification">;
145
- createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string;
146
- updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string;
147
- notifiedTo?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
148
- user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
149
- }, "id">;
150
- export type NotificationOrderByWithAggregationInput = {
151
- id?: Prisma.SortOrder;
152
- notifiedToId?: Prisma.SortOrder;
153
- userId?: Prisma.SortOrderInput | Prisma.SortOrder;
154
- type?: Prisma.SortOrder;
155
- read?: Prisma.SortOrder;
156
- data?: Prisma.SortOrderInput | Prisma.SortOrder;
157
- createdAt?: Prisma.SortOrder;
158
- updatedAt?: Prisma.SortOrder;
159
- _count?: Prisma.NotificationCountOrderByAggregateInput;
160
- _max?: Prisma.NotificationMaxOrderByAggregateInput;
161
- _min?: Prisma.NotificationMinOrderByAggregateInput;
162
- };
163
- export type NotificationScalarWhereWithAggregatesInput = {
164
- AND?: Prisma.NotificationScalarWhereWithAggregatesInput | Prisma.NotificationScalarWhereWithAggregatesInput[];
165
- OR?: Prisma.NotificationScalarWhereWithAggregatesInput[];
166
- NOT?: Prisma.NotificationScalarWhereWithAggregatesInput | Prisma.NotificationScalarWhereWithAggregatesInput[];
167
- id?: Prisma.StringWithAggregatesFilter<"Notification"> | string;
168
- notifiedToId?: Prisma.StringWithAggregatesFilter<"Notification"> | string;
169
- userId?: Prisma.StringNullableWithAggregatesFilter<"Notification"> | string | null;
170
- type?: Prisma.EnumNotificationTypeWithAggregatesFilter<"Notification"> | $Enums.NotificationType;
171
- read?: Prisma.BoolWithAggregatesFilter<"Notification"> | boolean;
172
- data?: Prisma.JsonNullableWithAggregatesFilter<"Notification">;
173
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"Notification"> | Date | string;
174
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Notification"> | Date | string;
175
- };
176
- export type NotificationCreateInput = {
177
- id?: string;
178
- type: $Enums.NotificationType;
179
- read?: boolean;
180
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
181
- createdAt?: Date | string;
182
- updatedAt?: Date | string;
183
- notifiedTo: Prisma.UserCreateNestedOneWithoutNotificationsReceivedInput;
184
- user?: Prisma.UserCreateNestedOneWithoutNotificationsSentInput;
185
- };
186
- export type NotificationUncheckedCreateInput = {
187
- id?: string;
188
- notifiedToId: string;
189
- userId?: string | null;
190
- type: $Enums.NotificationType;
191
- read?: boolean;
192
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
193
- createdAt?: Date | string;
194
- updatedAt?: Date | string;
195
- };
196
- export type NotificationUpdateInput = {
197
- id?: Prisma.StringFieldUpdateOperationsInput | string;
198
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
199
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
200
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
201
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
202
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
203
- notifiedTo?: Prisma.UserUpdateOneRequiredWithoutNotificationsReceivedNestedInput;
204
- user?: Prisma.UserUpdateOneWithoutNotificationsSentNestedInput;
205
- };
206
- export type NotificationUncheckedUpdateInput = {
207
- id?: Prisma.StringFieldUpdateOperationsInput | string;
208
- notifiedToId?: Prisma.StringFieldUpdateOperationsInput | string;
209
- userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
210
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
211
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
212
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
213
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
214
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
215
- };
216
- export type NotificationCreateManyInput = {
217
- id?: string;
218
- notifiedToId: string;
219
- userId?: string | null;
220
- type: $Enums.NotificationType;
221
- read?: boolean;
222
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
223
- createdAt?: Date | string;
224
- updatedAt?: Date | string;
225
- };
226
- export type NotificationUpdateManyMutationInput = {
227
- id?: Prisma.StringFieldUpdateOperationsInput | string;
228
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
229
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
230
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
231
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
232
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
233
- };
234
- export type NotificationUncheckedUpdateManyInput = {
235
- id?: Prisma.StringFieldUpdateOperationsInput | string;
236
- notifiedToId?: Prisma.StringFieldUpdateOperationsInput | string;
237
- userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
238
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
239
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
240
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
241
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
242
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
243
- };
244
- export type NotificationListRelationFilter = {
245
- every?: Prisma.NotificationWhereInput;
246
- some?: Prisma.NotificationWhereInput;
247
- none?: Prisma.NotificationWhereInput;
248
- };
249
- export type NotificationOrderByRelationAggregateInput = {
250
- _count?: Prisma.SortOrder;
251
- };
252
- export type NotificationCountOrderByAggregateInput = {
253
- id?: Prisma.SortOrder;
254
- notifiedToId?: Prisma.SortOrder;
255
- userId?: Prisma.SortOrder;
256
- type?: Prisma.SortOrder;
257
- read?: Prisma.SortOrder;
258
- data?: Prisma.SortOrder;
259
- createdAt?: Prisma.SortOrder;
260
- updatedAt?: Prisma.SortOrder;
261
- };
262
- export type NotificationMaxOrderByAggregateInput = {
263
- id?: Prisma.SortOrder;
264
- notifiedToId?: Prisma.SortOrder;
265
- userId?: Prisma.SortOrder;
266
- type?: Prisma.SortOrder;
267
- read?: Prisma.SortOrder;
268
- createdAt?: Prisma.SortOrder;
269
- updatedAt?: Prisma.SortOrder;
270
- };
271
- export type NotificationMinOrderByAggregateInput = {
272
- id?: Prisma.SortOrder;
273
- notifiedToId?: Prisma.SortOrder;
274
- userId?: Prisma.SortOrder;
275
- type?: Prisma.SortOrder;
276
- read?: Prisma.SortOrder;
277
- createdAt?: Prisma.SortOrder;
278
- updatedAt?: Prisma.SortOrder;
279
- };
280
- export type NotificationCreateNestedManyWithoutNotifiedToInput = {
281
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutNotifiedToInput, Prisma.NotificationUncheckedCreateWithoutNotifiedToInput> | Prisma.NotificationCreateWithoutNotifiedToInput[] | Prisma.NotificationUncheckedCreateWithoutNotifiedToInput[];
282
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutNotifiedToInput | Prisma.NotificationCreateOrConnectWithoutNotifiedToInput[];
283
- createMany?: Prisma.NotificationCreateManyNotifiedToInputEnvelope;
284
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
285
- };
286
- export type NotificationCreateNestedManyWithoutUserInput = {
287
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutUserInput, Prisma.NotificationUncheckedCreateWithoutUserInput> | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[];
288
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[];
289
- createMany?: Prisma.NotificationCreateManyUserInputEnvelope;
290
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
291
- };
292
- export type NotificationUncheckedCreateNestedManyWithoutNotifiedToInput = {
293
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutNotifiedToInput, Prisma.NotificationUncheckedCreateWithoutNotifiedToInput> | Prisma.NotificationCreateWithoutNotifiedToInput[] | Prisma.NotificationUncheckedCreateWithoutNotifiedToInput[];
294
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutNotifiedToInput | Prisma.NotificationCreateOrConnectWithoutNotifiedToInput[];
295
- createMany?: Prisma.NotificationCreateManyNotifiedToInputEnvelope;
296
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
297
- };
298
- export type NotificationUncheckedCreateNestedManyWithoutUserInput = {
299
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutUserInput, Prisma.NotificationUncheckedCreateWithoutUserInput> | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[];
300
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[];
301
- createMany?: Prisma.NotificationCreateManyUserInputEnvelope;
302
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
303
- };
304
- export type NotificationUpdateManyWithoutNotifiedToNestedInput = {
305
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutNotifiedToInput, Prisma.NotificationUncheckedCreateWithoutNotifiedToInput> | Prisma.NotificationCreateWithoutNotifiedToInput[] | Prisma.NotificationUncheckedCreateWithoutNotifiedToInput[];
306
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutNotifiedToInput | Prisma.NotificationCreateOrConnectWithoutNotifiedToInput[];
307
- upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutNotifiedToInput | Prisma.NotificationUpsertWithWhereUniqueWithoutNotifiedToInput[];
308
- createMany?: Prisma.NotificationCreateManyNotifiedToInputEnvelope;
309
- set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
310
- disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
311
- delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
312
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
313
- update?: Prisma.NotificationUpdateWithWhereUniqueWithoutNotifiedToInput | Prisma.NotificationUpdateWithWhereUniqueWithoutNotifiedToInput[];
314
- updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutNotifiedToInput | Prisma.NotificationUpdateManyWithWhereWithoutNotifiedToInput[];
315
- deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[];
316
- };
317
- export type NotificationUpdateManyWithoutUserNestedInput = {
318
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutUserInput, Prisma.NotificationUncheckedCreateWithoutUserInput> | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[];
319
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[];
320
- upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput | Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput[];
321
- createMany?: Prisma.NotificationCreateManyUserInputEnvelope;
322
- set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
323
- disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
324
- delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
325
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
326
- update?: Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput | Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput[];
327
- updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutUserInput | Prisma.NotificationUpdateManyWithWhereWithoutUserInput[];
328
- deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[];
329
- };
330
- export type NotificationUncheckedUpdateManyWithoutNotifiedToNestedInput = {
331
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutNotifiedToInput, Prisma.NotificationUncheckedCreateWithoutNotifiedToInput> | Prisma.NotificationCreateWithoutNotifiedToInput[] | Prisma.NotificationUncheckedCreateWithoutNotifiedToInput[];
332
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutNotifiedToInput | Prisma.NotificationCreateOrConnectWithoutNotifiedToInput[];
333
- upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutNotifiedToInput | Prisma.NotificationUpsertWithWhereUniqueWithoutNotifiedToInput[];
334
- createMany?: Prisma.NotificationCreateManyNotifiedToInputEnvelope;
335
- set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
336
- disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
337
- delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
338
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
339
- update?: Prisma.NotificationUpdateWithWhereUniqueWithoutNotifiedToInput | Prisma.NotificationUpdateWithWhereUniqueWithoutNotifiedToInput[];
340
- updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutNotifiedToInput | Prisma.NotificationUpdateManyWithWhereWithoutNotifiedToInput[];
341
- deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[];
342
- };
343
- export type NotificationUncheckedUpdateManyWithoutUserNestedInput = {
344
- create?: Prisma.XOR<Prisma.NotificationCreateWithoutUserInput, Prisma.NotificationUncheckedCreateWithoutUserInput> | Prisma.NotificationCreateWithoutUserInput[] | Prisma.NotificationUncheckedCreateWithoutUserInput[];
345
- connectOrCreate?: Prisma.NotificationCreateOrConnectWithoutUserInput | Prisma.NotificationCreateOrConnectWithoutUserInput[];
346
- upsert?: Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput | Prisma.NotificationUpsertWithWhereUniqueWithoutUserInput[];
347
- createMany?: Prisma.NotificationCreateManyUserInputEnvelope;
348
- set?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
349
- disconnect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
350
- delete?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
351
- connect?: Prisma.NotificationWhereUniqueInput | Prisma.NotificationWhereUniqueInput[];
352
- update?: Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput | Prisma.NotificationUpdateWithWhereUniqueWithoutUserInput[];
353
- updateMany?: Prisma.NotificationUpdateManyWithWhereWithoutUserInput | Prisma.NotificationUpdateManyWithWhereWithoutUserInput[];
354
- deleteMany?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[];
355
- };
356
- export type EnumNotificationTypeFieldUpdateOperationsInput = {
357
- set?: $Enums.NotificationType;
358
- };
359
- export type NotificationCreateWithoutNotifiedToInput = {
360
- id?: string;
361
- type: $Enums.NotificationType;
362
- read?: boolean;
363
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
364
- createdAt?: Date | string;
365
- updatedAt?: Date | string;
366
- user?: Prisma.UserCreateNestedOneWithoutNotificationsSentInput;
367
- };
368
- export type NotificationUncheckedCreateWithoutNotifiedToInput = {
369
- id?: string;
370
- userId?: string | null;
371
- type: $Enums.NotificationType;
372
- read?: boolean;
373
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
374
- createdAt?: Date | string;
375
- updatedAt?: Date | string;
376
- };
377
- export type NotificationCreateOrConnectWithoutNotifiedToInput = {
378
- where: Prisma.NotificationWhereUniqueInput;
379
- create: Prisma.XOR<Prisma.NotificationCreateWithoutNotifiedToInput, Prisma.NotificationUncheckedCreateWithoutNotifiedToInput>;
380
- };
381
- export type NotificationCreateManyNotifiedToInputEnvelope = {
382
- data: Prisma.NotificationCreateManyNotifiedToInput | Prisma.NotificationCreateManyNotifiedToInput[];
383
- skipDuplicates?: boolean;
384
- };
385
- export type NotificationCreateWithoutUserInput = {
386
- id?: string;
387
- type: $Enums.NotificationType;
388
- read?: boolean;
389
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
390
- createdAt?: Date | string;
391
- updatedAt?: Date | string;
392
- notifiedTo: Prisma.UserCreateNestedOneWithoutNotificationsReceivedInput;
393
- };
394
- export type NotificationUncheckedCreateWithoutUserInput = {
395
- id?: string;
396
- notifiedToId: string;
397
- type: $Enums.NotificationType;
398
- read?: boolean;
399
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
400
- createdAt?: Date | string;
401
- updatedAt?: Date | string;
402
- };
403
- export type NotificationCreateOrConnectWithoutUserInput = {
404
- where: Prisma.NotificationWhereUniqueInput;
405
- create: Prisma.XOR<Prisma.NotificationCreateWithoutUserInput, Prisma.NotificationUncheckedCreateWithoutUserInput>;
406
- };
407
- export type NotificationCreateManyUserInputEnvelope = {
408
- data: Prisma.NotificationCreateManyUserInput | Prisma.NotificationCreateManyUserInput[];
409
- skipDuplicates?: boolean;
410
- };
411
- export type NotificationUpsertWithWhereUniqueWithoutNotifiedToInput = {
412
- where: Prisma.NotificationWhereUniqueInput;
413
- update: Prisma.XOR<Prisma.NotificationUpdateWithoutNotifiedToInput, Prisma.NotificationUncheckedUpdateWithoutNotifiedToInput>;
414
- create: Prisma.XOR<Prisma.NotificationCreateWithoutNotifiedToInput, Prisma.NotificationUncheckedCreateWithoutNotifiedToInput>;
415
- };
416
- export type NotificationUpdateWithWhereUniqueWithoutNotifiedToInput = {
417
- where: Prisma.NotificationWhereUniqueInput;
418
- data: Prisma.XOR<Prisma.NotificationUpdateWithoutNotifiedToInput, Prisma.NotificationUncheckedUpdateWithoutNotifiedToInput>;
419
- };
420
- export type NotificationUpdateManyWithWhereWithoutNotifiedToInput = {
421
- where: Prisma.NotificationScalarWhereInput;
422
- data: Prisma.XOR<Prisma.NotificationUpdateManyMutationInput, Prisma.NotificationUncheckedUpdateManyWithoutNotifiedToInput>;
423
- };
424
- export type NotificationScalarWhereInput = {
425
- AND?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[];
426
- OR?: Prisma.NotificationScalarWhereInput[];
427
- NOT?: Prisma.NotificationScalarWhereInput | Prisma.NotificationScalarWhereInput[];
428
- id?: Prisma.StringFilter<"Notification"> | string;
429
- notifiedToId?: Prisma.StringFilter<"Notification"> | string;
430
- userId?: Prisma.StringNullableFilter<"Notification"> | string | null;
431
- type?: Prisma.EnumNotificationTypeFilter<"Notification"> | $Enums.NotificationType;
432
- read?: Prisma.BoolFilter<"Notification"> | boolean;
433
- data?: Prisma.JsonNullableFilter<"Notification">;
434
- createdAt?: Prisma.DateTimeFilter<"Notification"> | Date | string;
435
- updatedAt?: Prisma.DateTimeFilter<"Notification"> | Date | string;
436
- };
437
- export type NotificationUpsertWithWhereUniqueWithoutUserInput = {
438
- where: Prisma.NotificationWhereUniqueInput;
439
- update: Prisma.XOR<Prisma.NotificationUpdateWithoutUserInput, Prisma.NotificationUncheckedUpdateWithoutUserInput>;
440
- create: Prisma.XOR<Prisma.NotificationCreateWithoutUserInput, Prisma.NotificationUncheckedCreateWithoutUserInput>;
441
- };
442
- export type NotificationUpdateWithWhereUniqueWithoutUserInput = {
443
- where: Prisma.NotificationWhereUniqueInput;
444
- data: Prisma.XOR<Prisma.NotificationUpdateWithoutUserInput, Prisma.NotificationUncheckedUpdateWithoutUserInput>;
445
- };
446
- export type NotificationUpdateManyWithWhereWithoutUserInput = {
447
- where: Prisma.NotificationScalarWhereInput;
448
- data: Prisma.XOR<Prisma.NotificationUpdateManyMutationInput, Prisma.NotificationUncheckedUpdateManyWithoutUserInput>;
449
- };
450
- export type NotificationCreateManyNotifiedToInput = {
451
- id?: string;
452
- userId?: string | null;
453
- type: $Enums.NotificationType;
454
- read?: boolean;
455
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
456
- createdAt?: Date | string;
457
- updatedAt?: Date | string;
458
- };
459
- export type NotificationCreateManyUserInput = {
460
- id?: string;
461
- notifiedToId: string;
462
- type: $Enums.NotificationType;
463
- read?: boolean;
464
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
465
- createdAt?: Date | string;
466
- updatedAt?: Date | string;
467
- };
468
- export type NotificationUpdateWithoutNotifiedToInput = {
469
- id?: Prisma.StringFieldUpdateOperationsInput | string;
470
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
471
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
472
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
473
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
474
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
475
- user?: Prisma.UserUpdateOneWithoutNotificationsSentNestedInput;
476
- };
477
- export type NotificationUncheckedUpdateWithoutNotifiedToInput = {
478
- id?: Prisma.StringFieldUpdateOperationsInput | string;
479
- userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
480
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
481
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
482
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
483
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
484
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
485
- };
486
- export type NotificationUncheckedUpdateManyWithoutNotifiedToInput = {
487
- id?: Prisma.StringFieldUpdateOperationsInput | string;
488
- userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
489
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
490
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
491
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
492
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
493
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
494
- };
495
- export type NotificationUpdateWithoutUserInput = {
496
- id?: Prisma.StringFieldUpdateOperationsInput | string;
497
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
498
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
499
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
500
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
501
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
502
- notifiedTo?: Prisma.UserUpdateOneRequiredWithoutNotificationsReceivedNestedInput;
503
- };
504
- export type NotificationUncheckedUpdateWithoutUserInput = {
505
- id?: Prisma.StringFieldUpdateOperationsInput | string;
506
- notifiedToId?: Prisma.StringFieldUpdateOperationsInput | string;
507
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
508
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
509
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
510
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
511
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
512
- };
513
- export type NotificationUncheckedUpdateManyWithoutUserInput = {
514
- id?: Prisma.StringFieldUpdateOperationsInput | string;
515
- notifiedToId?: Prisma.StringFieldUpdateOperationsInput | string;
516
- type?: Prisma.EnumNotificationTypeFieldUpdateOperationsInput | $Enums.NotificationType;
517
- read?: Prisma.BoolFieldUpdateOperationsInput | boolean;
518
- data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
519
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
520
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
521
- };
522
- export type NotificationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
523
- id?: boolean;
524
- notifiedToId?: boolean;
525
- userId?: boolean;
526
- type?: boolean;
527
- read?: boolean;
528
- data?: boolean;
529
- createdAt?: boolean;
530
- updatedAt?: boolean;
531
- notifiedTo?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
532
- user?: boolean | Prisma.Notification$userArgs<ExtArgs>;
533
- }, ExtArgs["result"]["notification"]>;
534
- export type NotificationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
535
- id?: boolean;
536
- notifiedToId?: boolean;
537
- userId?: boolean;
538
- type?: boolean;
539
- read?: boolean;
540
- data?: boolean;
541
- createdAt?: boolean;
542
- updatedAt?: boolean;
543
- notifiedTo?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
544
- user?: boolean | Prisma.Notification$userArgs<ExtArgs>;
545
- }, ExtArgs["result"]["notification"]>;
546
- export type NotificationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
547
- id?: boolean;
548
- notifiedToId?: boolean;
549
- userId?: boolean;
550
- type?: boolean;
551
- read?: boolean;
552
- data?: boolean;
553
- createdAt?: boolean;
554
- updatedAt?: boolean;
555
- notifiedTo?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
556
- user?: boolean | Prisma.Notification$userArgs<ExtArgs>;
557
- }, ExtArgs["result"]["notification"]>;
558
- export type NotificationSelectScalar = {
559
- id?: boolean;
560
- notifiedToId?: boolean;
561
- userId?: boolean;
562
- type?: boolean;
563
- read?: boolean;
564
- data?: boolean;
565
- createdAt?: boolean;
566
- updatedAt?: boolean;
567
- };
568
- export type NotificationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "notifiedToId" | "userId" | "type" | "read" | "data" | "createdAt" | "updatedAt", ExtArgs["result"]["notification"]>;
569
- export type NotificationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
570
- notifiedTo?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
571
- user?: boolean | Prisma.Notification$userArgs<ExtArgs>;
572
- };
573
- export type NotificationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
574
- notifiedTo?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
575
- user?: boolean | Prisma.Notification$userArgs<ExtArgs>;
576
- };
577
- export type NotificationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
578
- notifiedTo?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
579
- user?: boolean | Prisma.Notification$userArgs<ExtArgs>;
580
- };
581
- export type $NotificationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
582
- name: "Notification";
583
- objects: {
584
- notifiedTo: Prisma.$UserPayload<ExtArgs>;
585
- user: Prisma.$UserPayload<ExtArgs> | null;
586
- };
587
- scalars: runtime.Types.Extensions.GetPayloadResult<{
588
- id: string;
589
- notifiedToId: string;
590
- userId: string | null;
591
- type: $Enums.NotificationType;
592
- read: boolean;
593
- data: runtime.JsonValue | null;
594
- createdAt: Date;
595
- updatedAt: Date;
596
- }, ExtArgs["result"]["notification"]>;
597
- composites: {};
598
- };
599
- export type NotificationGetPayload<S extends boolean | null | undefined | NotificationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$NotificationPayload, S>;
600
- export type NotificationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<NotificationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
601
- select?: NotificationCountAggregateInputType | true;
602
- };
603
- export interface NotificationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
604
- [K: symbol]: {
605
- types: Prisma.TypeMap<ExtArgs>['model']['Notification'];
606
- meta: {
607
- name: 'Notification';
608
- };
609
- };
610
- findUnique<T extends NotificationFindUniqueArgs>(args: Prisma.SelectSubset<T, NotificationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
611
- findUniqueOrThrow<T extends NotificationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, NotificationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
612
- findFirst<T extends NotificationFindFirstArgs>(args?: Prisma.SelectSubset<T, NotificationFindFirstArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
613
- findFirstOrThrow<T extends NotificationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, NotificationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
614
- findMany<T extends NotificationFindManyArgs>(args?: Prisma.SelectSubset<T, NotificationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
615
- create<T extends NotificationCreateArgs>(args: Prisma.SelectSubset<T, NotificationCreateArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
616
- createMany<T extends NotificationCreateManyArgs>(args?: Prisma.SelectSubset<T, NotificationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
617
- createManyAndReturn<T extends NotificationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, NotificationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
618
- delete<T extends NotificationDeleteArgs>(args: Prisma.SelectSubset<T, NotificationDeleteArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
619
- update<T extends NotificationUpdateArgs>(args: Prisma.SelectSubset<T, NotificationUpdateArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
620
- deleteMany<T extends NotificationDeleteManyArgs>(args?: Prisma.SelectSubset<T, NotificationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
621
- updateMany<T extends NotificationUpdateManyArgs>(args: Prisma.SelectSubset<T, NotificationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
622
- updateManyAndReturn<T extends NotificationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, NotificationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
623
- upsert<T extends NotificationUpsertArgs>(args: Prisma.SelectSubset<T, NotificationUpsertArgs<ExtArgs>>): Prisma.Prisma__NotificationClient<runtime.Types.Result.GetResult<Prisma.$NotificationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
624
- count<T extends NotificationCountArgs>(args?: Prisma.Subset<T, NotificationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], NotificationCountAggregateOutputType> : number>;
625
- aggregate<T extends NotificationAggregateArgs>(args: Prisma.Subset<T, NotificationAggregateArgs>): Prisma.PrismaPromise<GetNotificationAggregateType<T>>;
626
- groupBy<T extends NotificationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
627
- orderBy: NotificationGroupByArgs['orderBy'];
628
- } : {
629
- orderBy?: NotificationGroupByArgs['orderBy'];
630
- }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
631
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
632
- Error,
633
- 'Field ',
634
- P,
635
- ` in "having" needs to be provided in "by"`
636
- ];
637
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
638
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
639
- }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
640
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
641
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
642
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
643
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, NotificationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNotificationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
644
- readonly fields: NotificationFieldRefs;
645
- }
646
- export interface Prisma__NotificationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
647
- readonly [Symbol.toStringTag]: "PrismaPromise";
648
- notifiedTo<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>;
649
- user<T extends Prisma.Notification$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Notification$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
650
- 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>;
651
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
652
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
653
- }
654
- export interface NotificationFieldRefs {
655
- readonly id: Prisma.FieldRef<"Notification", 'String'>;
656
- readonly notifiedToId: Prisma.FieldRef<"Notification", 'String'>;
657
- readonly userId: Prisma.FieldRef<"Notification", 'String'>;
658
- readonly type: Prisma.FieldRef<"Notification", 'NotificationType'>;
659
- readonly read: Prisma.FieldRef<"Notification", 'Boolean'>;
660
- readonly data: Prisma.FieldRef<"Notification", 'Json'>;
661
- readonly createdAt: Prisma.FieldRef<"Notification", 'DateTime'>;
662
- readonly updatedAt: Prisma.FieldRef<"Notification", 'DateTime'>;
663
- }
664
- export type NotificationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
665
- select?: Prisma.NotificationSelect<ExtArgs> | null;
666
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
667
- include?: Prisma.NotificationInclude<ExtArgs> | null;
668
- where: Prisma.NotificationWhereUniqueInput;
669
- };
670
- export type NotificationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
671
- select?: Prisma.NotificationSelect<ExtArgs> | null;
672
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
673
- include?: Prisma.NotificationInclude<ExtArgs> | null;
674
- where: Prisma.NotificationWhereUniqueInput;
675
- };
676
- export type NotificationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
677
- select?: Prisma.NotificationSelect<ExtArgs> | null;
678
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
679
- include?: Prisma.NotificationInclude<ExtArgs> | null;
680
- where?: Prisma.NotificationWhereInput;
681
- orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[];
682
- cursor?: Prisma.NotificationWhereUniqueInput;
683
- take?: number;
684
- skip?: number;
685
- distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[];
686
- };
687
- export type NotificationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
688
- select?: Prisma.NotificationSelect<ExtArgs> | null;
689
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
690
- include?: Prisma.NotificationInclude<ExtArgs> | null;
691
- where?: Prisma.NotificationWhereInput;
692
- orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[];
693
- cursor?: Prisma.NotificationWhereUniqueInput;
694
- take?: number;
695
- skip?: number;
696
- distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[];
697
- };
698
- export type NotificationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
699
- select?: Prisma.NotificationSelect<ExtArgs> | null;
700
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
701
- include?: Prisma.NotificationInclude<ExtArgs> | null;
702
- where?: Prisma.NotificationWhereInput;
703
- orderBy?: Prisma.NotificationOrderByWithRelationInput | Prisma.NotificationOrderByWithRelationInput[];
704
- cursor?: Prisma.NotificationWhereUniqueInput;
705
- take?: number;
706
- skip?: number;
707
- distinct?: Prisma.NotificationScalarFieldEnum | Prisma.NotificationScalarFieldEnum[];
708
- };
709
- export type NotificationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
710
- select?: Prisma.NotificationSelect<ExtArgs> | null;
711
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
712
- include?: Prisma.NotificationInclude<ExtArgs> | null;
713
- data: Prisma.XOR<Prisma.NotificationCreateInput, Prisma.NotificationUncheckedCreateInput>;
714
- };
715
- export type NotificationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
716
- data: Prisma.NotificationCreateManyInput | Prisma.NotificationCreateManyInput[];
717
- skipDuplicates?: boolean;
718
- };
719
- export type NotificationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
720
- select?: Prisma.NotificationSelectCreateManyAndReturn<ExtArgs> | null;
721
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
722
- data: Prisma.NotificationCreateManyInput | Prisma.NotificationCreateManyInput[];
723
- skipDuplicates?: boolean;
724
- include?: Prisma.NotificationIncludeCreateManyAndReturn<ExtArgs> | null;
725
- };
726
- export type NotificationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
727
- select?: Prisma.NotificationSelect<ExtArgs> | null;
728
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
729
- include?: Prisma.NotificationInclude<ExtArgs> | null;
730
- data: Prisma.XOR<Prisma.NotificationUpdateInput, Prisma.NotificationUncheckedUpdateInput>;
731
- where: Prisma.NotificationWhereUniqueInput;
732
- };
733
- export type NotificationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
734
- data: Prisma.XOR<Prisma.NotificationUpdateManyMutationInput, Prisma.NotificationUncheckedUpdateManyInput>;
735
- where?: Prisma.NotificationWhereInput;
736
- limit?: number;
737
- };
738
- export type NotificationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
739
- select?: Prisma.NotificationSelectUpdateManyAndReturn<ExtArgs> | null;
740
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
741
- data: Prisma.XOR<Prisma.NotificationUpdateManyMutationInput, Prisma.NotificationUncheckedUpdateManyInput>;
742
- where?: Prisma.NotificationWhereInput;
743
- limit?: number;
744
- include?: Prisma.NotificationIncludeUpdateManyAndReturn<ExtArgs> | null;
745
- };
746
- export type NotificationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
747
- select?: Prisma.NotificationSelect<ExtArgs> | null;
748
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
749
- include?: Prisma.NotificationInclude<ExtArgs> | null;
750
- where: Prisma.NotificationWhereUniqueInput;
751
- create: Prisma.XOR<Prisma.NotificationCreateInput, Prisma.NotificationUncheckedCreateInput>;
752
- update: Prisma.XOR<Prisma.NotificationUpdateInput, Prisma.NotificationUncheckedUpdateInput>;
753
- };
754
- export type NotificationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
755
- select?: Prisma.NotificationSelect<ExtArgs> | null;
756
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
757
- include?: Prisma.NotificationInclude<ExtArgs> | null;
758
- where: Prisma.NotificationWhereUniqueInput;
759
- };
760
- export type NotificationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
761
- where?: Prisma.NotificationWhereInput;
762
- limit?: number;
763
- };
764
- export type Notification$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
765
- select?: Prisma.UserSelect<ExtArgs> | null;
766
- omit?: Prisma.UserOmit<ExtArgs> | null;
767
- include?: Prisma.UserInclude<ExtArgs> | null;
768
- where?: Prisma.UserWhereInput;
769
- };
770
- export type NotificationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
771
- select?: Prisma.NotificationSelect<ExtArgs> | null;
772
- omit?: Prisma.NotificationOmit<ExtArgs> | null;
773
- include?: Prisma.NotificationInclude<ExtArgs> | null;
774
- };
775
- //# sourceMappingURL=Notification.d.ts.map