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