@naisys/erp 3.0.0-beta.3

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.

Potentially problematic release.


This version of @naisys/erp might be problematic. Click here for more details.

Files changed (201) hide show
  1. package/bin/naisys-erp +2 -0
  2. package/client-dist/android-chrome-192x192.png +0 -0
  3. package/client-dist/android-chrome-512x512.png +0 -0
  4. package/client-dist/apple-touch-icon.png +0 -0
  5. package/client-dist/assets/index-45dVo30p.css +1 -0
  6. package/client-dist/assets/index-Dffms7F_.js +168 -0
  7. package/client-dist/assets/naisys-logo-CzoPnn5I.webp +0 -0
  8. package/client-dist/favicon.ico +0 -0
  9. package/client-dist/index.html +42 -0
  10. package/client-dist/site.webmanifest +22 -0
  11. package/dist/api-reference.d.ts +10 -0
  12. package/dist/api-reference.js +101 -0
  13. package/dist/audit.d.ts +5 -0
  14. package/dist/audit.js +14 -0
  15. package/dist/auth-middleware.d.ts +18 -0
  16. package/dist/auth-middleware.js +203 -0
  17. package/dist/dbConfig.d.ts +5 -0
  18. package/dist/dbConfig.js +10 -0
  19. package/dist/erpDb.d.ts +10 -0
  20. package/dist/erpDb.js +34 -0
  21. package/dist/erpServer.d.ts +10 -0
  22. package/dist/erpServer.js +321 -0
  23. package/dist/error-handler.d.ts +7 -0
  24. package/dist/error-handler.js +17 -0
  25. package/dist/generated/prisma/client.d.ts +154 -0
  26. package/dist/generated/prisma/client.js +35 -0
  27. package/dist/generated/prisma/commonInputTypes.d.ts +637 -0
  28. package/dist/generated/prisma/commonInputTypes.js +11 -0
  29. package/dist/generated/prisma/enums.d.ts +59 -0
  30. package/dist/generated/prisma/enums.js +60 -0
  31. package/dist/generated/prisma/internal/class.d.ts +406 -0
  32. package/dist/generated/prisma/internal/class.js +50 -0
  33. package/dist/generated/prisma/internal/prismaNamespace.d.ts +2722 -0
  34. package/dist/generated/prisma/internal/prismaNamespace.js +366 -0
  35. package/dist/generated/prisma/models/Attachment.d.ts +1455 -0
  36. package/dist/generated/prisma/models/Attachment.js +2 -0
  37. package/dist/generated/prisma/models/AuditLog.d.ts +1359 -0
  38. package/dist/generated/prisma/models/AuditLog.js +2 -0
  39. package/dist/generated/prisma/models/Field.d.ts +1880 -0
  40. package/dist/generated/prisma/models/Field.js +2 -0
  41. package/dist/generated/prisma/models/FieldAttachment.d.ts +1245 -0
  42. package/dist/generated/prisma/models/FieldAttachment.js +2 -0
  43. package/dist/generated/prisma/models/FieldRecord.d.ts +1625 -0
  44. package/dist/generated/prisma/models/FieldRecord.js +2 -0
  45. package/dist/generated/prisma/models/FieldSet.d.ts +1577 -0
  46. package/dist/generated/prisma/models/FieldSet.js +2 -0
  47. package/dist/generated/prisma/models/FieldValue.d.ts +1908 -0
  48. package/dist/generated/prisma/models/FieldValue.js +2 -0
  49. package/dist/generated/prisma/models/Item.d.ts +1858 -0
  50. package/dist/generated/prisma/models/Item.js +2 -0
  51. package/dist/generated/prisma/models/ItemInstance.d.ts +1987 -0
  52. package/dist/generated/prisma/models/ItemInstance.js +2 -0
  53. package/dist/generated/prisma/models/LaborTicket.d.ts +1867 -0
  54. package/dist/generated/prisma/models/LaborTicket.js +2 -0
  55. package/dist/generated/prisma/models/Operation.d.ts +2578 -0
  56. package/dist/generated/prisma/models/Operation.js +2 -0
  57. package/dist/generated/prisma/models/OperationDependency.d.ts +1434 -0
  58. package/dist/generated/prisma/models/OperationDependency.js +2 -0
  59. package/dist/generated/prisma/models/OperationFieldRef.d.ts +1539 -0
  60. package/dist/generated/prisma/models/OperationFieldRef.js +2 -0
  61. package/dist/generated/prisma/models/OperationRun.d.ts +2563 -0
  62. package/dist/generated/prisma/models/OperationRun.js +2 -0
  63. package/dist/generated/prisma/models/OperationRunComment.d.ts +1366 -0
  64. package/dist/generated/prisma/models/OperationRunComment.js +2 -0
  65. package/dist/generated/prisma/models/Order.d.ts +1931 -0
  66. package/dist/generated/prisma/models/Order.js +2 -0
  67. package/dist/generated/prisma/models/OrderRevision.d.ts +1962 -0
  68. package/dist/generated/prisma/models/OrderRevision.js +2 -0
  69. package/dist/generated/prisma/models/OrderRun.d.ts +2310 -0
  70. package/dist/generated/prisma/models/OrderRun.js +2 -0
  71. package/dist/generated/prisma/models/SchemaVersion.d.ts +985 -0
  72. package/dist/generated/prisma/models/SchemaVersion.js +2 -0
  73. package/dist/generated/prisma/models/Session.d.ts +1213 -0
  74. package/dist/generated/prisma/models/Session.js +2 -0
  75. package/dist/generated/prisma/models/Step.d.ts +2180 -0
  76. package/dist/generated/prisma/models/Step.js +2 -0
  77. package/dist/generated/prisma/models/StepRun.d.ts +1963 -0
  78. package/dist/generated/prisma/models/StepRun.js +2 -0
  79. package/dist/generated/prisma/models/User.d.ts +11819 -0
  80. package/dist/generated/prisma/models/User.js +2 -0
  81. package/dist/generated/prisma/models/UserPermission.d.ts +1348 -0
  82. package/dist/generated/prisma/models/UserPermission.js +2 -0
  83. package/dist/generated/prisma/models/WorkCenter.d.ts +1657 -0
  84. package/dist/generated/prisma/models/WorkCenter.js +2 -0
  85. package/dist/generated/prisma/models/WorkCenterUser.d.ts +1390 -0
  86. package/dist/generated/prisma/models/WorkCenterUser.js +2 -0
  87. package/dist/generated/prisma/models.d.ts +28 -0
  88. package/dist/generated/prisma/models.js +2 -0
  89. package/dist/hateoas.d.ts +7 -0
  90. package/dist/hateoas.js +61 -0
  91. package/dist/route-helpers.d.ts +318 -0
  92. package/dist/route-helpers.js +220 -0
  93. package/dist/routes/admin.d.ts +3 -0
  94. package/dist/routes/admin.js +147 -0
  95. package/dist/routes/audit.d.ts +3 -0
  96. package/dist/routes/audit.js +36 -0
  97. package/dist/routes/auth.d.ts +3 -0
  98. package/dist/routes/auth.js +112 -0
  99. package/dist/routes/dispatch.d.ts +3 -0
  100. package/dist/routes/dispatch.js +174 -0
  101. package/dist/routes/inventory.d.ts +3 -0
  102. package/dist/routes/inventory.js +70 -0
  103. package/dist/routes/item-fields.d.ts +3 -0
  104. package/dist/routes/item-fields.js +220 -0
  105. package/dist/routes/item-instances.d.ts +3 -0
  106. package/dist/routes/item-instances.js +426 -0
  107. package/dist/routes/items.d.ts +3 -0
  108. package/dist/routes/items.js +252 -0
  109. package/dist/routes/labor-tickets.d.ts +3 -0
  110. package/dist/routes/labor-tickets.js +268 -0
  111. package/dist/routes/operation-dependencies.d.ts +3 -0
  112. package/dist/routes/operation-dependencies.js +170 -0
  113. package/dist/routes/operation-field-refs.d.ts +3 -0
  114. package/dist/routes/operation-field-refs.js +263 -0
  115. package/dist/routes/operation-run-comments.d.ts +3 -0
  116. package/dist/routes/operation-run-comments.js +108 -0
  117. package/dist/routes/operation-run-transitions.d.ts +3 -0
  118. package/dist/routes/operation-run-transitions.js +249 -0
  119. package/dist/routes/operation-runs.d.ts +112 -0
  120. package/dist/routes/operation-runs.js +299 -0
  121. package/dist/routes/operations.d.ts +3 -0
  122. package/dist/routes/operations.js +283 -0
  123. package/dist/routes/order-revision-transitions.d.ts +3 -0
  124. package/dist/routes/order-revision-transitions.js +86 -0
  125. package/dist/routes/order-revisions.d.ts +51 -0
  126. package/dist/routes/order-revisions.js +327 -0
  127. package/dist/routes/order-run-transitions.d.ts +3 -0
  128. package/dist/routes/order-run-transitions.js +215 -0
  129. package/dist/routes/order-runs.d.ts +58 -0
  130. package/dist/routes/order-runs.js +335 -0
  131. package/dist/routes/orders.d.ts +3 -0
  132. package/dist/routes/orders.js +262 -0
  133. package/dist/routes/root.d.ts +3 -0
  134. package/dist/routes/root.js +123 -0
  135. package/dist/routes/schemas.d.ts +3 -0
  136. package/dist/routes/schemas.js +31 -0
  137. package/dist/routes/step-field-attachments.d.ts +3 -0
  138. package/dist/routes/step-field-attachments.js +231 -0
  139. package/dist/routes/step-fields.d.ts +100 -0
  140. package/dist/routes/step-fields.js +315 -0
  141. package/dist/routes/step-run-fields.d.ts +3 -0
  142. package/dist/routes/step-run-fields.js +438 -0
  143. package/dist/routes/step-run-transitions.d.ts +3 -0
  144. package/dist/routes/step-run-transitions.js +113 -0
  145. package/dist/routes/step-runs.d.ts +332 -0
  146. package/dist/routes/step-runs.js +324 -0
  147. package/dist/routes/steps.d.ts +3 -0
  148. package/dist/routes/steps.js +283 -0
  149. package/dist/routes/user-permissions.d.ts +3 -0
  150. package/dist/routes/user-permissions.js +100 -0
  151. package/dist/routes/users.d.ts +57 -0
  152. package/dist/routes/users.js +381 -0
  153. package/dist/routes/work-centers.d.ts +3 -0
  154. package/dist/routes/work-centers.js +280 -0
  155. package/dist/schema-registry.d.ts +3 -0
  156. package/dist/schema-registry.js +45 -0
  157. package/dist/services/attachment-service.d.ts +33 -0
  158. package/dist/services/attachment-service.js +118 -0
  159. package/dist/services/field-ref-service.d.ts +96 -0
  160. package/dist/services/field-ref-service.js +74 -0
  161. package/dist/services/field-service.d.ts +49 -0
  162. package/dist/services/field-service.js +114 -0
  163. package/dist/services/field-value-service.d.ts +61 -0
  164. package/dist/services/field-value-service.js +256 -0
  165. package/dist/services/item-instance-service.d.ts +152 -0
  166. package/dist/services/item-instance-service.js +155 -0
  167. package/dist/services/item-service.d.ts +47 -0
  168. package/dist/services/item-service.js +56 -0
  169. package/dist/services/labor-ticket-service.d.ts +40 -0
  170. package/dist/services/labor-ticket-service.js +148 -0
  171. package/dist/services/log-file-service.d.ts +4 -0
  172. package/dist/services/log-file-service.js +11 -0
  173. package/dist/services/operation-dependency-service.d.ts +33 -0
  174. package/dist/services/operation-dependency-service.js +30 -0
  175. package/dist/services/operation-run-comment-service.d.ts +17 -0
  176. package/dist/services/operation-run-comment-service.js +26 -0
  177. package/dist/services/operation-run-service.d.ts +126 -0
  178. package/dist/services/operation-run-service.js +347 -0
  179. package/dist/services/operation-service.d.ts +47 -0
  180. package/dist/services/operation-service.js +132 -0
  181. package/dist/services/order-revision-service.d.ts +53 -0
  182. package/dist/services/order-revision-service.js +264 -0
  183. package/dist/services/order-run-service.d.ts +138 -0
  184. package/dist/services/order-run-service.js +356 -0
  185. package/dist/services/order-service.d.ts +15 -0
  186. package/dist/services/order-service.js +68 -0
  187. package/dist/services/revision-diff-service.d.ts +3 -0
  188. package/dist/services/revision-diff-service.js +194 -0
  189. package/dist/services/step-run-service.d.ts +172 -0
  190. package/dist/services/step-run-service.js +106 -0
  191. package/dist/services/step-service.d.ts +104 -0
  192. package/dist/services/step-service.js +89 -0
  193. package/dist/services/user-service.d.ts +185 -0
  194. package/dist/services/user-service.js +132 -0
  195. package/dist/services/work-center-service.d.ts +29 -0
  196. package/dist/services/work-center-service.js +106 -0
  197. package/dist/supervisorAuth.d.ts +3 -0
  198. package/dist/supervisorAuth.js +16 -0
  199. package/dist/userService.d.ts +20 -0
  200. package/dist/userService.js +118 -0
  201. package/package.json +69 -0
@@ -0,0 +1,1908 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model FieldValue
5
+ *
6
+ */
7
+ export type FieldValueModel = runtime.Types.Result.DefaultSelection<Prisma.$FieldValuePayload>;
8
+ export type AggregateFieldValue = {
9
+ _count: FieldValueCountAggregateOutputType | null;
10
+ _avg: FieldValueAvgAggregateOutputType | null;
11
+ _sum: FieldValueSumAggregateOutputType | null;
12
+ _min: FieldValueMinAggregateOutputType | null;
13
+ _max: FieldValueMaxAggregateOutputType | null;
14
+ };
15
+ export type FieldValueAvgAggregateOutputType = {
16
+ id: number | null;
17
+ fieldRecordId: number | null;
18
+ fieldId: number | null;
19
+ setIndex: number | null;
20
+ createdById: number | null;
21
+ updatedById: number | null;
22
+ };
23
+ export type FieldValueSumAggregateOutputType = {
24
+ id: number | null;
25
+ fieldRecordId: number | null;
26
+ fieldId: number | null;
27
+ setIndex: number | null;
28
+ createdById: number | null;
29
+ updatedById: number | null;
30
+ };
31
+ export type FieldValueMinAggregateOutputType = {
32
+ id: number | null;
33
+ fieldRecordId: number | null;
34
+ fieldId: number | null;
35
+ setIndex: number | null;
36
+ value: string | null;
37
+ createdAt: Date | null;
38
+ createdById: number | null;
39
+ updatedAt: Date | null;
40
+ updatedById: number | null;
41
+ };
42
+ export type FieldValueMaxAggregateOutputType = {
43
+ id: number | null;
44
+ fieldRecordId: number | null;
45
+ fieldId: number | null;
46
+ setIndex: number | null;
47
+ value: string | null;
48
+ createdAt: Date | null;
49
+ createdById: number | null;
50
+ updatedAt: Date | null;
51
+ updatedById: number | null;
52
+ };
53
+ export type FieldValueCountAggregateOutputType = {
54
+ id: number;
55
+ fieldRecordId: number;
56
+ fieldId: number;
57
+ setIndex: number;
58
+ value: number;
59
+ createdAt: number;
60
+ createdById: number;
61
+ updatedAt: number;
62
+ updatedById: number;
63
+ _all: number;
64
+ };
65
+ export type FieldValueAvgAggregateInputType = {
66
+ id?: true;
67
+ fieldRecordId?: true;
68
+ fieldId?: true;
69
+ setIndex?: true;
70
+ createdById?: true;
71
+ updatedById?: true;
72
+ };
73
+ export type FieldValueSumAggregateInputType = {
74
+ id?: true;
75
+ fieldRecordId?: true;
76
+ fieldId?: true;
77
+ setIndex?: true;
78
+ createdById?: true;
79
+ updatedById?: true;
80
+ };
81
+ export type FieldValueMinAggregateInputType = {
82
+ id?: true;
83
+ fieldRecordId?: true;
84
+ fieldId?: true;
85
+ setIndex?: true;
86
+ value?: true;
87
+ createdAt?: true;
88
+ createdById?: true;
89
+ updatedAt?: true;
90
+ updatedById?: true;
91
+ };
92
+ export type FieldValueMaxAggregateInputType = {
93
+ id?: true;
94
+ fieldRecordId?: true;
95
+ fieldId?: true;
96
+ setIndex?: true;
97
+ value?: true;
98
+ createdAt?: true;
99
+ createdById?: true;
100
+ updatedAt?: true;
101
+ updatedById?: true;
102
+ };
103
+ export type FieldValueCountAggregateInputType = {
104
+ id?: true;
105
+ fieldRecordId?: true;
106
+ fieldId?: true;
107
+ setIndex?: true;
108
+ value?: true;
109
+ createdAt?: true;
110
+ createdById?: true;
111
+ updatedAt?: true;
112
+ updatedById?: true;
113
+ _all?: true;
114
+ };
115
+ export type FieldValueAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
116
+ /**
117
+ * Filter which FieldValue to aggregate.
118
+ */
119
+ where?: Prisma.FieldValueWhereInput;
120
+ /**
121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
122
+ *
123
+ * Determine the order of FieldValues to fetch.
124
+ */
125
+ orderBy?: Prisma.FieldValueOrderByWithRelationInput | Prisma.FieldValueOrderByWithRelationInput[];
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
128
+ *
129
+ * Sets the start position
130
+ */
131
+ cursor?: Prisma.FieldValueWhereUniqueInput;
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
134
+ *
135
+ * Take `±n` FieldValues from the position of the cursor.
136
+ */
137
+ take?: number;
138
+ /**
139
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
140
+ *
141
+ * Skip the first `n` FieldValues.
142
+ */
143
+ skip?: number;
144
+ /**
145
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
146
+ *
147
+ * Count returned FieldValues
148
+ **/
149
+ _count?: true | FieldValueCountAggregateInputType;
150
+ /**
151
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
152
+ *
153
+ * Select which fields to average
154
+ **/
155
+ _avg?: FieldValueAvgAggregateInputType;
156
+ /**
157
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
158
+ *
159
+ * Select which fields to sum
160
+ **/
161
+ _sum?: FieldValueSumAggregateInputType;
162
+ /**
163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
164
+ *
165
+ * Select which fields to find the minimum value
166
+ **/
167
+ _min?: FieldValueMinAggregateInputType;
168
+ /**
169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
170
+ *
171
+ * Select which fields to find the maximum value
172
+ **/
173
+ _max?: FieldValueMaxAggregateInputType;
174
+ };
175
+ export type GetFieldValueAggregateType<T extends FieldValueAggregateArgs> = {
176
+ [P in keyof T & keyof AggregateFieldValue]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFieldValue[P]> : Prisma.GetScalarType<T[P], AggregateFieldValue[P]>;
177
+ };
178
+ export type FieldValueGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
179
+ where?: Prisma.FieldValueWhereInput;
180
+ orderBy?: Prisma.FieldValueOrderByWithAggregationInput | Prisma.FieldValueOrderByWithAggregationInput[];
181
+ by: Prisma.FieldValueScalarFieldEnum[] | Prisma.FieldValueScalarFieldEnum;
182
+ having?: Prisma.FieldValueScalarWhereWithAggregatesInput;
183
+ take?: number;
184
+ skip?: number;
185
+ _count?: FieldValueCountAggregateInputType | true;
186
+ _avg?: FieldValueAvgAggregateInputType;
187
+ _sum?: FieldValueSumAggregateInputType;
188
+ _min?: FieldValueMinAggregateInputType;
189
+ _max?: FieldValueMaxAggregateInputType;
190
+ };
191
+ export type FieldValueGroupByOutputType = {
192
+ id: number;
193
+ fieldRecordId: number;
194
+ fieldId: number;
195
+ setIndex: number;
196
+ value: string;
197
+ createdAt: Date;
198
+ createdById: number;
199
+ updatedAt: Date;
200
+ updatedById: number;
201
+ _count: FieldValueCountAggregateOutputType | null;
202
+ _avg: FieldValueAvgAggregateOutputType | null;
203
+ _sum: FieldValueSumAggregateOutputType | null;
204
+ _min: FieldValueMinAggregateOutputType | null;
205
+ _max: FieldValueMaxAggregateOutputType | null;
206
+ };
207
+ type GetFieldValueGroupByPayload<T extends FieldValueGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FieldValueGroupByOutputType, T['by']> & {
208
+ [P in ((keyof T) & (keyof FieldValueGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FieldValueGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FieldValueGroupByOutputType[P]>;
209
+ }>>;
210
+ export type FieldValueWhereInput = {
211
+ AND?: Prisma.FieldValueWhereInput | Prisma.FieldValueWhereInput[];
212
+ OR?: Prisma.FieldValueWhereInput[];
213
+ NOT?: Prisma.FieldValueWhereInput | Prisma.FieldValueWhereInput[];
214
+ id?: Prisma.IntFilter<"FieldValue"> | number;
215
+ fieldRecordId?: Prisma.IntFilter<"FieldValue"> | number;
216
+ fieldId?: Prisma.IntFilter<"FieldValue"> | number;
217
+ setIndex?: Prisma.IntFilter<"FieldValue"> | number;
218
+ value?: Prisma.StringFilter<"FieldValue"> | string;
219
+ createdAt?: Prisma.DateTimeFilter<"FieldValue"> | Date | string;
220
+ createdById?: Prisma.IntFilter<"FieldValue"> | number;
221
+ updatedAt?: Prisma.DateTimeFilter<"FieldValue"> | Date | string;
222
+ updatedById?: Prisma.IntFilter<"FieldValue"> | number;
223
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
224
+ updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
225
+ fieldRecord?: Prisma.XOR<Prisma.FieldRecordScalarRelationFilter, Prisma.FieldRecordWhereInput>;
226
+ field?: Prisma.XOR<Prisma.FieldScalarRelationFilter, Prisma.FieldWhereInput>;
227
+ fieldAttachments?: Prisma.FieldAttachmentListRelationFilter;
228
+ };
229
+ export type FieldValueOrderByWithRelationInput = {
230
+ id?: Prisma.SortOrder;
231
+ fieldRecordId?: Prisma.SortOrder;
232
+ fieldId?: Prisma.SortOrder;
233
+ setIndex?: Prisma.SortOrder;
234
+ value?: Prisma.SortOrder;
235
+ createdAt?: Prisma.SortOrder;
236
+ createdById?: Prisma.SortOrder;
237
+ updatedAt?: Prisma.SortOrder;
238
+ updatedById?: Prisma.SortOrder;
239
+ createdBy?: Prisma.UserOrderByWithRelationInput;
240
+ updatedBy?: Prisma.UserOrderByWithRelationInput;
241
+ fieldRecord?: Prisma.FieldRecordOrderByWithRelationInput;
242
+ field?: Prisma.FieldOrderByWithRelationInput;
243
+ fieldAttachments?: Prisma.FieldAttachmentOrderByRelationAggregateInput;
244
+ };
245
+ export type FieldValueWhereUniqueInput = Prisma.AtLeast<{
246
+ id?: number;
247
+ fieldRecordId_fieldId_setIndex?: Prisma.FieldValueFieldRecordIdFieldIdSetIndexCompoundUniqueInput;
248
+ AND?: Prisma.FieldValueWhereInput | Prisma.FieldValueWhereInput[];
249
+ OR?: Prisma.FieldValueWhereInput[];
250
+ NOT?: Prisma.FieldValueWhereInput | Prisma.FieldValueWhereInput[];
251
+ fieldRecordId?: Prisma.IntFilter<"FieldValue"> | number;
252
+ fieldId?: Prisma.IntFilter<"FieldValue"> | number;
253
+ setIndex?: Prisma.IntFilter<"FieldValue"> | number;
254
+ value?: Prisma.StringFilter<"FieldValue"> | string;
255
+ createdAt?: Prisma.DateTimeFilter<"FieldValue"> | Date | string;
256
+ createdById?: Prisma.IntFilter<"FieldValue"> | number;
257
+ updatedAt?: Prisma.DateTimeFilter<"FieldValue"> | Date | string;
258
+ updatedById?: Prisma.IntFilter<"FieldValue"> | number;
259
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
260
+ updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
261
+ fieldRecord?: Prisma.XOR<Prisma.FieldRecordScalarRelationFilter, Prisma.FieldRecordWhereInput>;
262
+ field?: Prisma.XOR<Prisma.FieldScalarRelationFilter, Prisma.FieldWhereInput>;
263
+ fieldAttachments?: Prisma.FieldAttachmentListRelationFilter;
264
+ }, "id" | "fieldRecordId_fieldId_setIndex">;
265
+ export type FieldValueOrderByWithAggregationInput = {
266
+ id?: Prisma.SortOrder;
267
+ fieldRecordId?: Prisma.SortOrder;
268
+ fieldId?: Prisma.SortOrder;
269
+ setIndex?: Prisma.SortOrder;
270
+ value?: Prisma.SortOrder;
271
+ createdAt?: Prisma.SortOrder;
272
+ createdById?: Prisma.SortOrder;
273
+ updatedAt?: Prisma.SortOrder;
274
+ updatedById?: Prisma.SortOrder;
275
+ _count?: Prisma.FieldValueCountOrderByAggregateInput;
276
+ _avg?: Prisma.FieldValueAvgOrderByAggregateInput;
277
+ _max?: Prisma.FieldValueMaxOrderByAggregateInput;
278
+ _min?: Prisma.FieldValueMinOrderByAggregateInput;
279
+ _sum?: Prisma.FieldValueSumOrderByAggregateInput;
280
+ };
281
+ export type FieldValueScalarWhereWithAggregatesInput = {
282
+ AND?: Prisma.FieldValueScalarWhereWithAggregatesInput | Prisma.FieldValueScalarWhereWithAggregatesInput[];
283
+ OR?: Prisma.FieldValueScalarWhereWithAggregatesInput[];
284
+ NOT?: Prisma.FieldValueScalarWhereWithAggregatesInput | Prisma.FieldValueScalarWhereWithAggregatesInput[];
285
+ id?: Prisma.IntWithAggregatesFilter<"FieldValue"> | number;
286
+ fieldRecordId?: Prisma.IntWithAggregatesFilter<"FieldValue"> | number;
287
+ fieldId?: Prisma.IntWithAggregatesFilter<"FieldValue"> | number;
288
+ setIndex?: Prisma.IntWithAggregatesFilter<"FieldValue"> | number;
289
+ value?: Prisma.StringWithAggregatesFilter<"FieldValue"> | string;
290
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"FieldValue"> | Date | string;
291
+ createdById?: Prisma.IntWithAggregatesFilter<"FieldValue"> | number;
292
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"FieldValue"> | Date | string;
293
+ updatedById?: Prisma.IntWithAggregatesFilter<"FieldValue"> | number;
294
+ };
295
+ export type FieldValueCreateInput = {
296
+ setIndex?: number;
297
+ value?: string;
298
+ createdAt?: Date | string;
299
+ updatedAt?: Date | string;
300
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldValuesCreatedInput;
301
+ updatedBy: Prisma.UserCreateNestedOneWithoutFieldValuesUpdatedInput;
302
+ fieldRecord: Prisma.FieldRecordCreateNestedOneWithoutFieldValuesInput;
303
+ field: Prisma.FieldCreateNestedOneWithoutFieldValuesInput;
304
+ fieldAttachments?: Prisma.FieldAttachmentCreateNestedManyWithoutFieldValueInput;
305
+ };
306
+ export type FieldValueUncheckedCreateInput = {
307
+ id?: number;
308
+ fieldRecordId: number;
309
+ fieldId: number;
310
+ setIndex?: number;
311
+ value?: string;
312
+ createdAt?: Date | string;
313
+ createdById: number;
314
+ updatedAt?: Date | string;
315
+ updatedById: number;
316
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedCreateNestedManyWithoutFieldValueInput;
317
+ };
318
+ export type FieldValueUpdateInput = {
319
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
320
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
321
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
322
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
323
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesCreatedNestedInput;
324
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesUpdatedNestedInput;
325
+ fieldRecord?: Prisma.FieldRecordUpdateOneRequiredWithoutFieldValuesNestedInput;
326
+ field?: Prisma.FieldUpdateOneRequiredWithoutFieldValuesNestedInput;
327
+ fieldAttachments?: Prisma.FieldAttachmentUpdateManyWithoutFieldValueNestedInput;
328
+ };
329
+ export type FieldValueUncheckedUpdateInput = {
330
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
331
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
332
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
333
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
334
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
335
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
336
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
337
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
338
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
339
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedUpdateManyWithoutFieldValueNestedInput;
340
+ };
341
+ export type FieldValueCreateManyInput = {
342
+ id?: number;
343
+ fieldRecordId: number;
344
+ fieldId: number;
345
+ setIndex?: number;
346
+ value?: string;
347
+ createdAt?: Date | string;
348
+ createdById: number;
349
+ updatedAt?: Date | string;
350
+ updatedById: number;
351
+ };
352
+ export type FieldValueUpdateManyMutationInput = {
353
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
354
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
355
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
356
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
357
+ };
358
+ export type FieldValueUncheckedUpdateManyInput = {
359
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
360
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
361
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
362
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
363
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
364
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
365
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
366
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
367
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
368
+ };
369
+ export type FieldValueListRelationFilter = {
370
+ every?: Prisma.FieldValueWhereInput;
371
+ some?: Prisma.FieldValueWhereInput;
372
+ none?: Prisma.FieldValueWhereInput;
373
+ };
374
+ export type FieldValueOrderByRelationAggregateInput = {
375
+ _count?: Prisma.SortOrder;
376
+ };
377
+ export type FieldValueFieldRecordIdFieldIdSetIndexCompoundUniqueInput = {
378
+ fieldRecordId: number;
379
+ fieldId: number;
380
+ setIndex: number;
381
+ };
382
+ export type FieldValueCountOrderByAggregateInput = {
383
+ id?: Prisma.SortOrder;
384
+ fieldRecordId?: Prisma.SortOrder;
385
+ fieldId?: Prisma.SortOrder;
386
+ setIndex?: Prisma.SortOrder;
387
+ value?: Prisma.SortOrder;
388
+ createdAt?: Prisma.SortOrder;
389
+ createdById?: Prisma.SortOrder;
390
+ updatedAt?: Prisma.SortOrder;
391
+ updatedById?: Prisma.SortOrder;
392
+ };
393
+ export type FieldValueAvgOrderByAggregateInput = {
394
+ id?: Prisma.SortOrder;
395
+ fieldRecordId?: Prisma.SortOrder;
396
+ fieldId?: Prisma.SortOrder;
397
+ setIndex?: Prisma.SortOrder;
398
+ createdById?: Prisma.SortOrder;
399
+ updatedById?: Prisma.SortOrder;
400
+ };
401
+ export type FieldValueMaxOrderByAggregateInput = {
402
+ id?: Prisma.SortOrder;
403
+ fieldRecordId?: Prisma.SortOrder;
404
+ fieldId?: Prisma.SortOrder;
405
+ setIndex?: Prisma.SortOrder;
406
+ value?: Prisma.SortOrder;
407
+ createdAt?: Prisma.SortOrder;
408
+ createdById?: Prisma.SortOrder;
409
+ updatedAt?: Prisma.SortOrder;
410
+ updatedById?: Prisma.SortOrder;
411
+ };
412
+ export type FieldValueMinOrderByAggregateInput = {
413
+ id?: Prisma.SortOrder;
414
+ fieldRecordId?: Prisma.SortOrder;
415
+ fieldId?: Prisma.SortOrder;
416
+ setIndex?: Prisma.SortOrder;
417
+ value?: Prisma.SortOrder;
418
+ createdAt?: Prisma.SortOrder;
419
+ createdById?: Prisma.SortOrder;
420
+ updatedAt?: Prisma.SortOrder;
421
+ updatedById?: Prisma.SortOrder;
422
+ };
423
+ export type FieldValueSumOrderByAggregateInput = {
424
+ id?: Prisma.SortOrder;
425
+ fieldRecordId?: Prisma.SortOrder;
426
+ fieldId?: Prisma.SortOrder;
427
+ setIndex?: Prisma.SortOrder;
428
+ createdById?: Prisma.SortOrder;
429
+ updatedById?: Prisma.SortOrder;
430
+ };
431
+ export type FieldValueScalarRelationFilter = {
432
+ is?: Prisma.FieldValueWhereInput;
433
+ isNot?: Prisma.FieldValueWhereInput;
434
+ };
435
+ export type FieldValueCreateNestedManyWithoutFieldRecordInput = {
436
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldRecordInput, Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput> | Prisma.FieldValueCreateWithoutFieldRecordInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput[];
437
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput | Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput[];
438
+ createMany?: Prisma.FieldValueCreateManyFieldRecordInputEnvelope;
439
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
440
+ };
441
+ export type FieldValueUncheckedCreateNestedManyWithoutFieldRecordInput = {
442
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldRecordInput, Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput> | Prisma.FieldValueCreateWithoutFieldRecordInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput[];
443
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput | Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput[];
444
+ createMany?: Prisma.FieldValueCreateManyFieldRecordInputEnvelope;
445
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
446
+ };
447
+ export type FieldValueUpdateManyWithoutFieldRecordNestedInput = {
448
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldRecordInput, Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput> | Prisma.FieldValueCreateWithoutFieldRecordInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput[];
449
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput | Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput[];
450
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldRecordInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldRecordInput[];
451
+ createMany?: Prisma.FieldValueCreateManyFieldRecordInputEnvelope;
452
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
453
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
454
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
455
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
456
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldRecordInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldRecordInput[];
457
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutFieldRecordInput | Prisma.FieldValueUpdateManyWithWhereWithoutFieldRecordInput[];
458
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
459
+ };
460
+ export type FieldValueUncheckedUpdateManyWithoutFieldRecordNestedInput = {
461
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldRecordInput, Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput> | Prisma.FieldValueCreateWithoutFieldRecordInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput[];
462
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput | Prisma.FieldValueCreateOrConnectWithoutFieldRecordInput[];
463
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldRecordInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldRecordInput[];
464
+ createMany?: Prisma.FieldValueCreateManyFieldRecordInputEnvelope;
465
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
466
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
467
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
468
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
469
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldRecordInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldRecordInput[];
470
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutFieldRecordInput | Prisma.FieldValueUpdateManyWithWhereWithoutFieldRecordInput[];
471
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
472
+ };
473
+ export type FieldValueCreateNestedManyWithoutFieldInput = {
474
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldInput, Prisma.FieldValueUncheckedCreateWithoutFieldInput> | Prisma.FieldValueCreateWithoutFieldInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldInput[];
475
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldInput | Prisma.FieldValueCreateOrConnectWithoutFieldInput[];
476
+ createMany?: Prisma.FieldValueCreateManyFieldInputEnvelope;
477
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
478
+ };
479
+ export type FieldValueUncheckedCreateNestedManyWithoutFieldInput = {
480
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldInput, Prisma.FieldValueUncheckedCreateWithoutFieldInput> | Prisma.FieldValueCreateWithoutFieldInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldInput[];
481
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldInput | Prisma.FieldValueCreateOrConnectWithoutFieldInput[];
482
+ createMany?: Prisma.FieldValueCreateManyFieldInputEnvelope;
483
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
484
+ };
485
+ export type FieldValueUpdateManyWithoutFieldNestedInput = {
486
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldInput, Prisma.FieldValueUncheckedCreateWithoutFieldInput> | Prisma.FieldValueCreateWithoutFieldInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldInput[];
487
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldInput | Prisma.FieldValueCreateOrConnectWithoutFieldInput[];
488
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldInput[];
489
+ createMany?: Prisma.FieldValueCreateManyFieldInputEnvelope;
490
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
491
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
492
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
493
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
494
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldInput[];
495
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutFieldInput | Prisma.FieldValueUpdateManyWithWhereWithoutFieldInput[];
496
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
497
+ };
498
+ export type FieldValueUncheckedUpdateManyWithoutFieldNestedInput = {
499
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldInput, Prisma.FieldValueUncheckedCreateWithoutFieldInput> | Prisma.FieldValueCreateWithoutFieldInput[] | Prisma.FieldValueUncheckedCreateWithoutFieldInput[];
500
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldInput | Prisma.FieldValueCreateOrConnectWithoutFieldInput[];
501
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutFieldInput[];
502
+ createMany?: Prisma.FieldValueCreateManyFieldInputEnvelope;
503
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
504
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
505
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
506
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
507
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutFieldInput[];
508
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutFieldInput | Prisma.FieldValueUpdateManyWithWhereWithoutFieldInput[];
509
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
510
+ };
511
+ export type FieldValueCreateNestedManyWithoutCreatedByInput = {
512
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutCreatedByInput, Prisma.FieldValueUncheckedCreateWithoutCreatedByInput> | Prisma.FieldValueCreateWithoutCreatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutCreatedByInput[];
513
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutCreatedByInput | Prisma.FieldValueCreateOrConnectWithoutCreatedByInput[];
514
+ createMany?: Prisma.FieldValueCreateManyCreatedByInputEnvelope;
515
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
516
+ };
517
+ export type FieldValueCreateNestedManyWithoutUpdatedByInput = {
518
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutUpdatedByInput, Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldValueCreateWithoutUpdatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput[];
519
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput | Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput[];
520
+ createMany?: Prisma.FieldValueCreateManyUpdatedByInputEnvelope;
521
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
522
+ };
523
+ export type FieldValueUncheckedCreateNestedManyWithoutCreatedByInput = {
524
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutCreatedByInput, Prisma.FieldValueUncheckedCreateWithoutCreatedByInput> | Prisma.FieldValueCreateWithoutCreatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutCreatedByInput[];
525
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutCreatedByInput | Prisma.FieldValueCreateOrConnectWithoutCreatedByInput[];
526
+ createMany?: Prisma.FieldValueCreateManyCreatedByInputEnvelope;
527
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
528
+ };
529
+ export type FieldValueUncheckedCreateNestedManyWithoutUpdatedByInput = {
530
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutUpdatedByInput, Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldValueCreateWithoutUpdatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput[];
531
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput | Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput[];
532
+ createMany?: Prisma.FieldValueCreateManyUpdatedByInputEnvelope;
533
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
534
+ };
535
+ export type FieldValueUpdateManyWithoutCreatedByNestedInput = {
536
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutCreatedByInput, Prisma.FieldValueUncheckedCreateWithoutCreatedByInput> | Prisma.FieldValueCreateWithoutCreatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutCreatedByInput[];
537
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutCreatedByInput | Prisma.FieldValueCreateOrConnectWithoutCreatedByInput[];
538
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutCreatedByInput[];
539
+ createMany?: Prisma.FieldValueCreateManyCreatedByInputEnvelope;
540
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
541
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
542
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
543
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
544
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutCreatedByInput[];
545
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutCreatedByInput | Prisma.FieldValueUpdateManyWithWhereWithoutCreatedByInput[];
546
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
547
+ };
548
+ export type FieldValueUpdateManyWithoutUpdatedByNestedInput = {
549
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutUpdatedByInput, Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldValueCreateWithoutUpdatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput[];
550
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput | Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput[];
551
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutUpdatedByInput[];
552
+ createMany?: Prisma.FieldValueCreateManyUpdatedByInputEnvelope;
553
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
554
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
555
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
556
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
557
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutUpdatedByInput[];
558
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutUpdatedByInput | Prisma.FieldValueUpdateManyWithWhereWithoutUpdatedByInput[];
559
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
560
+ };
561
+ export type FieldValueUncheckedUpdateManyWithoutCreatedByNestedInput = {
562
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutCreatedByInput, Prisma.FieldValueUncheckedCreateWithoutCreatedByInput> | Prisma.FieldValueCreateWithoutCreatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutCreatedByInput[];
563
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutCreatedByInput | Prisma.FieldValueCreateOrConnectWithoutCreatedByInput[];
564
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutCreatedByInput[];
565
+ createMany?: Prisma.FieldValueCreateManyCreatedByInputEnvelope;
566
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
567
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
568
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
569
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
570
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutCreatedByInput[];
571
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutCreatedByInput | Prisma.FieldValueUpdateManyWithWhereWithoutCreatedByInput[];
572
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
573
+ };
574
+ export type FieldValueUncheckedUpdateManyWithoutUpdatedByNestedInput = {
575
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutUpdatedByInput, Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput> | Prisma.FieldValueCreateWithoutUpdatedByInput[] | Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput[];
576
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput | Prisma.FieldValueCreateOrConnectWithoutUpdatedByInput[];
577
+ upsert?: Prisma.FieldValueUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldValueUpsertWithWhereUniqueWithoutUpdatedByInput[];
578
+ createMany?: Prisma.FieldValueCreateManyUpdatedByInputEnvelope;
579
+ set?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
580
+ disconnect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
581
+ delete?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
582
+ connect?: Prisma.FieldValueWhereUniqueInput | Prisma.FieldValueWhereUniqueInput[];
583
+ update?: Prisma.FieldValueUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.FieldValueUpdateWithWhereUniqueWithoutUpdatedByInput[];
584
+ updateMany?: Prisma.FieldValueUpdateManyWithWhereWithoutUpdatedByInput | Prisma.FieldValueUpdateManyWithWhereWithoutUpdatedByInput[];
585
+ deleteMany?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
586
+ };
587
+ export type FieldValueCreateNestedOneWithoutFieldAttachmentsInput = {
588
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldAttachmentsInput, Prisma.FieldValueUncheckedCreateWithoutFieldAttachmentsInput>;
589
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldAttachmentsInput;
590
+ connect?: Prisma.FieldValueWhereUniqueInput;
591
+ };
592
+ export type FieldValueUpdateOneRequiredWithoutFieldAttachmentsNestedInput = {
593
+ create?: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldAttachmentsInput, Prisma.FieldValueUncheckedCreateWithoutFieldAttachmentsInput>;
594
+ connectOrCreate?: Prisma.FieldValueCreateOrConnectWithoutFieldAttachmentsInput;
595
+ upsert?: Prisma.FieldValueUpsertWithoutFieldAttachmentsInput;
596
+ connect?: Prisma.FieldValueWhereUniqueInput;
597
+ update?: Prisma.XOR<Prisma.XOR<Prisma.FieldValueUpdateToOneWithWhereWithoutFieldAttachmentsInput, Prisma.FieldValueUpdateWithoutFieldAttachmentsInput>, Prisma.FieldValueUncheckedUpdateWithoutFieldAttachmentsInput>;
598
+ };
599
+ export type FieldValueCreateWithoutFieldRecordInput = {
600
+ setIndex?: number;
601
+ value?: string;
602
+ createdAt?: Date | string;
603
+ updatedAt?: Date | string;
604
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldValuesCreatedInput;
605
+ updatedBy: Prisma.UserCreateNestedOneWithoutFieldValuesUpdatedInput;
606
+ field: Prisma.FieldCreateNestedOneWithoutFieldValuesInput;
607
+ fieldAttachments?: Prisma.FieldAttachmentCreateNestedManyWithoutFieldValueInput;
608
+ };
609
+ export type FieldValueUncheckedCreateWithoutFieldRecordInput = {
610
+ id?: number;
611
+ fieldId: number;
612
+ setIndex?: number;
613
+ value?: string;
614
+ createdAt?: Date | string;
615
+ createdById: number;
616
+ updatedAt?: Date | string;
617
+ updatedById: number;
618
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedCreateNestedManyWithoutFieldValueInput;
619
+ };
620
+ export type FieldValueCreateOrConnectWithoutFieldRecordInput = {
621
+ where: Prisma.FieldValueWhereUniqueInput;
622
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldRecordInput, Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput>;
623
+ };
624
+ export type FieldValueCreateManyFieldRecordInputEnvelope = {
625
+ data: Prisma.FieldValueCreateManyFieldRecordInput | Prisma.FieldValueCreateManyFieldRecordInput[];
626
+ };
627
+ export type FieldValueUpsertWithWhereUniqueWithoutFieldRecordInput = {
628
+ where: Prisma.FieldValueWhereUniqueInput;
629
+ update: Prisma.XOR<Prisma.FieldValueUpdateWithoutFieldRecordInput, Prisma.FieldValueUncheckedUpdateWithoutFieldRecordInput>;
630
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldRecordInput, Prisma.FieldValueUncheckedCreateWithoutFieldRecordInput>;
631
+ };
632
+ export type FieldValueUpdateWithWhereUniqueWithoutFieldRecordInput = {
633
+ where: Prisma.FieldValueWhereUniqueInput;
634
+ data: Prisma.XOR<Prisma.FieldValueUpdateWithoutFieldRecordInput, Prisma.FieldValueUncheckedUpdateWithoutFieldRecordInput>;
635
+ };
636
+ export type FieldValueUpdateManyWithWhereWithoutFieldRecordInput = {
637
+ where: Prisma.FieldValueScalarWhereInput;
638
+ data: Prisma.XOR<Prisma.FieldValueUpdateManyMutationInput, Prisma.FieldValueUncheckedUpdateManyWithoutFieldRecordInput>;
639
+ };
640
+ export type FieldValueScalarWhereInput = {
641
+ AND?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
642
+ OR?: Prisma.FieldValueScalarWhereInput[];
643
+ NOT?: Prisma.FieldValueScalarWhereInput | Prisma.FieldValueScalarWhereInput[];
644
+ id?: Prisma.IntFilter<"FieldValue"> | number;
645
+ fieldRecordId?: Prisma.IntFilter<"FieldValue"> | number;
646
+ fieldId?: Prisma.IntFilter<"FieldValue"> | number;
647
+ setIndex?: Prisma.IntFilter<"FieldValue"> | number;
648
+ value?: Prisma.StringFilter<"FieldValue"> | string;
649
+ createdAt?: Prisma.DateTimeFilter<"FieldValue"> | Date | string;
650
+ createdById?: Prisma.IntFilter<"FieldValue"> | number;
651
+ updatedAt?: Prisma.DateTimeFilter<"FieldValue"> | Date | string;
652
+ updatedById?: Prisma.IntFilter<"FieldValue"> | number;
653
+ };
654
+ export type FieldValueCreateWithoutFieldInput = {
655
+ setIndex?: number;
656
+ value?: string;
657
+ createdAt?: Date | string;
658
+ updatedAt?: Date | string;
659
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldValuesCreatedInput;
660
+ updatedBy: Prisma.UserCreateNestedOneWithoutFieldValuesUpdatedInput;
661
+ fieldRecord: Prisma.FieldRecordCreateNestedOneWithoutFieldValuesInput;
662
+ fieldAttachments?: Prisma.FieldAttachmentCreateNestedManyWithoutFieldValueInput;
663
+ };
664
+ export type FieldValueUncheckedCreateWithoutFieldInput = {
665
+ id?: number;
666
+ fieldRecordId: number;
667
+ setIndex?: number;
668
+ value?: string;
669
+ createdAt?: Date | string;
670
+ createdById: number;
671
+ updatedAt?: Date | string;
672
+ updatedById: number;
673
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedCreateNestedManyWithoutFieldValueInput;
674
+ };
675
+ export type FieldValueCreateOrConnectWithoutFieldInput = {
676
+ where: Prisma.FieldValueWhereUniqueInput;
677
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldInput, Prisma.FieldValueUncheckedCreateWithoutFieldInput>;
678
+ };
679
+ export type FieldValueCreateManyFieldInputEnvelope = {
680
+ data: Prisma.FieldValueCreateManyFieldInput | Prisma.FieldValueCreateManyFieldInput[];
681
+ };
682
+ export type FieldValueUpsertWithWhereUniqueWithoutFieldInput = {
683
+ where: Prisma.FieldValueWhereUniqueInput;
684
+ update: Prisma.XOR<Prisma.FieldValueUpdateWithoutFieldInput, Prisma.FieldValueUncheckedUpdateWithoutFieldInput>;
685
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldInput, Prisma.FieldValueUncheckedCreateWithoutFieldInput>;
686
+ };
687
+ export type FieldValueUpdateWithWhereUniqueWithoutFieldInput = {
688
+ where: Prisma.FieldValueWhereUniqueInput;
689
+ data: Prisma.XOR<Prisma.FieldValueUpdateWithoutFieldInput, Prisma.FieldValueUncheckedUpdateWithoutFieldInput>;
690
+ };
691
+ export type FieldValueUpdateManyWithWhereWithoutFieldInput = {
692
+ where: Prisma.FieldValueScalarWhereInput;
693
+ data: Prisma.XOR<Prisma.FieldValueUpdateManyMutationInput, Prisma.FieldValueUncheckedUpdateManyWithoutFieldInput>;
694
+ };
695
+ export type FieldValueCreateWithoutCreatedByInput = {
696
+ setIndex?: number;
697
+ value?: string;
698
+ createdAt?: Date | string;
699
+ updatedAt?: Date | string;
700
+ updatedBy: Prisma.UserCreateNestedOneWithoutFieldValuesUpdatedInput;
701
+ fieldRecord: Prisma.FieldRecordCreateNestedOneWithoutFieldValuesInput;
702
+ field: Prisma.FieldCreateNestedOneWithoutFieldValuesInput;
703
+ fieldAttachments?: Prisma.FieldAttachmentCreateNestedManyWithoutFieldValueInput;
704
+ };
705
+ export type FieldValueUncheckedCreateWithoutCreatedByInput = {
706
+ id?: number;
707
+ fieldRecordId: number;
708
+ fieldId: number;
709
+ setIndex?: number;
710
+ value?: string;
711
+ createdAt?: Date | string;
712
+ updatedAt?: Date | string;
713
+ updatedById: number;
714
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedCreateNestedManyWithoutFieldValueInput;
715
+ };
716
+ export type FieldValueCreateOrConnectWithoutCreatedByInput = {
717
+ where: Prisma.FieldValueWhereUniqueInput;
718
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutCreatedByInput, Prisma.FieldValueUncheckedCreateWithoutCreatedByInput>;
719
+ };
720
+ export type FieldValueCreateManyCreatedByInputEnvelope = {
721
+ data: Prisma.FieldValueCreateManyCreatedByInput | Prisma.FieldValueCreateManyCreatedByInput[];
722
+ };
723
+ export type FieldValueCreateWithoutUpdatedByInput = {
724
+ setIndex?: number;
725
+ value?: string;
726
+ createdAt?: Date | string;
727
+ updatedAt?: Date | string;
728
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldValuesCreatedInput;
729
+ fieldRecord: Prisma.FieldRecordCreateNestedOneWithoutFieldValuesInput;
730
+ field: Prisma.FieldCreateNestedOneWithoutFieldValuesInput;
731
+ fieldAttachments?: Prisma.FieldAttachmentCreateNestedManyWithoutFieldValueInput;
732
+ };
733
+ export type FieldValueUncheckedCreateWithoutUpdatedByInput = {
734
+ id?: number;
735
+ fieldRecordId: number;
736
+ fieldId: number;
737
+ setIndex?: number;
738
+ value?: string;
739
+ createdAt?: Date | string;
740
+ createdById: number;
741
+ updatedAt?: Date | string;
742
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedCreateNestedManyWithoutFieldValueInput;
743
+ };
744
+ export type FieldValueCreateOrConnectWithoutUpdatedByInput = {
745
+ where: Prisma.FieldValueWhereUniqueInput;
746
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutUpdatedByInput, Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput>;
747
+ };
748
+ export type FieldValueCreateManyUpdatedByInputEnvelope = {
749
+ data: Prisma.FieldValueCreateManyUpdatedByInput | Prisma.FieldValueCreateManyUpdatedByInput[];
750
+ };
751
+ export type FieldValueUpsertWithWhereUniqueWithoutCreatedByInput = {
752
+ where: Prisma.FieldValueWhereUniqueInput;
753
+ update: Prisma.XOR<Prisma.FieldValueUpdateWithoutCreatedByInput, Prisma.FieldValueUncheckedUpdateWithoutCreatedByInput>;
754
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutCreatedByInput, Prisma.FieldValueUncheckedCreateWithoutCreatedByInput>;
755
+ };
756
+ export type FieldValueUpdateWithWhereUniqueWithoutCreatedByInput = {
757
+ where: Prisma.FieldValueWhereUniqueInput;
758
+ data: Prisma.XOR<Prisma.FieldValueUpdateWithoutCreatedByInput, Prisma.FieldValueUncheckedUpdateWithoutCreatedByInput>;
759
+ };
760
+ export type FieldValueUpdateManyWithWhereWithoutCreatedByInput = {
761
+ where: Prisma.FieldValueScalarWhereInput;
762
+ data: Prisma.XOR<Prisma.FieldValueUpdateManyMutationInput, Prisma.FieldValueUncheckedUpdateManyWithoutCreatedByInput>;
763
+ };
764
+ export type FieldValueUpsertWithWhereUniqueWithoutUpdatedByInput = {
765
+ where: Prisma.FieldValueWhereUniqueInput;
766
+ update: Prisma.XOR<Prisma.FieldValueUpdateWithoutUpdatedByInput, Prisma.FieldValueUncheckedUpdateWithoutUpdatedByInput>;
767
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutUpdatedByInput, Prisma.FieldValueUncheckedCreateWithoutUpdatedByInput>;
768
+ };
769
+ export type FieldValueUpdateWithWhereUniqueWithoutUpdatedByInput = {
770
+ where: Prisma.FieldValueWhereUniqueInput;
771
+ data: Prisma.XOR<Prisma.FieldValueUpdateWithoutUpdatedByInput, Prisma.FieldValueUncheckedUpdateWithoutUpdatedByInput>;
772
+ };
773
+ export type FieldValueUpdateManyWithWhereWithoutUpdatedByInput = {
774
+ where: Prisma.FieldValueScalarWhereInput;
775
+ data: Prisma.XOR<Prisma.FieldValueUpdateManyMutationInput, Prisma.FieldValueUncheckedUpdateManyWithoutUpdatedByInput>;
776
+ };
777
+ export type FieldValueCreateWithoutFieldAttachmentsInput = {
778
+ setIndex?: number;
779
+ value?: string;
780
+ createdAt?: Date | string;
781
+ updatedAt?: Date | string;
782
+ createdBy: Prisma.UserCreateNestedOneWithoutFieldValuesCreatedInput;
783
+ updatedBy: Prisma.UserCreateNestedOneWithoutFieldValuesUpdatedInput;
784
+ fieldRecord: Prisma.FieldRecordCreateNestedOneWithoutFieldValuesInput;
785
+ field: Prisma.FieldCreateNestedOneWithoutFieldValuesInput;
786
+ };
787
+ export type FieldValueUncheckedCreateWithoutFieldAttachmentsInput = {
788
+ id?: number;
789
+ fieldRecordId: number;
790
+ fieldId: number;
791
+ setIndex?: number;
792
+ value?: string;
793
+ createdAt?: Date | string;
794
+ createdById: number;
795
+ updatedAt?: Date | string;
796
+ updatedById: number;
797
+ };
798
+ export type FieldValueCreateOrConnectWithoutFieldAttachmentsInput = {
799
+ where: Prisma.FieldValueWhereUniqueInput;
800
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldAttachmentsInput, Prisma.FieldValueUncheckedCreateWithoutFieldAttachmentsInput>;
801
+ };
802
+ export type FieldValueUpsertWithoutFieldAttachmentsInput = {
803
+ update: Prisma.XOR<Prisma.FieldValueUpdateWithoutFieldAttachmentsInput, Prisma.FieldValueUncheckedUpdateWithoutFieldAttachmentsInput>;
804
+ create: Prisma.XOR<Prisma.FieldValueCreateWithoutFieldAttachmentsInput, Prisma.FieldValueUncheckedCreateWithoutFieldAttachmentsInput>;
805
+ where?: Prisma.FieldValueWhereInput;
806
+ };
807
+ export type FieldValueUpdateToOneWithWhereWithoutFieldAttachmentsInput = {
808
+ where?: Prisma.FieldValueWhereInput;
809
+ data: Prisma.XOR<Prisma.FieldValueUpdateWithoutFieldAttachmentsInput, Prisma.FieldValueUncheckedUpdateWithoutFieldAttachmentsInput>;
810
+ };
811
+ export type FieldValueUpdateWithoutFieldAttachmentsInput = {
812
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
813
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
814
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
815
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
816
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesCreatedNestedInput;
817
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesUpdatedNestedInput;
818
+ fieldRecord?: Prisma.FieldRecordUpdateOneRequiredWithoutFieldValuesNestedInput;
819
+ field?: Prisma.FieldUpdateOneRequiredWithoutFieldValuesNestedInput;
820
+ };
821
+ export type FieldValueUncheckedUpdateWithoutFieldAttachmentsInput = {
822
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
823
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
824
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
825
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
826
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
827
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
828
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
829
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
830
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
831
+ };
832
+ export type FieldValueCreateManyFieldRecordInput = {
833
+ id?: number;
834
+ fieldId: number;
835
+ setIndex?: number;
836
+ value?: string;
837
+ createdAt?: Date | string;
838
+ createdById: number;
839
+ updatedAt?: Date | string;
840
+ updatedById: number;
841
+ };
842
+ export type FieldValueUpdateWithoutFieldRecordInput = {
843
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
844
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
845
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
846
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
847
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesCreatedNestedInput;
848
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesUpdatedNestedInput;
849
+ field?: Prisma.FieldUpdateOneRequiredWithoutFieldValuesNestedInput;
850
+ fieldAttachments?: Prisma.FieldAttachmentUpdateManyWithoutFieldValueNestedInput;
851
+ };
852
+ export type FieldValueUncheckedUpdateWithoutFieldRecordInput = {
853
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
854
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
855
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
856
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
857
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
858
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
859
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
860
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
861
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedUpdateManyWithoutFieldValueNestedInput;
862
+ };
863
+ export type FieldValueUncheckedUpdateManyWithoutFieldRecordInput = {
864
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
865
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
866
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
867
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
868
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
869
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
870
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
871
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
872
+ };
873
+ export type FieldValueCreateManyFieldInput = {
874
+ id?: number;
875
+ fieldRecordId: number;
876
+ setIndex?: number;
877
+ value?: string;
878
+ createdAt?: Date | string;
879
+ createdById: number;
880
+ updatedAt?: Date | string;
881
+ updatedById: number;
882
+ };
883
+ export type FieldValueUpdateWithoutFieldInput = {
884
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
885
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
886
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
887
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
888
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesCreatedNestedInput;
889
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesUpdatedNestedInput;
890
+ fieldRecord?: Prisma.FieldRecordUpdateOneRequiredWithoutFieldValuesNestedInput;
891
+ fieldAttachments?: Prisma.FieldAttachmentUpdateManyWithoutFieldValueNestedInput;
892
+ };
893
+ export type FieldValueUncheckedUpdateWithoutFieldInput = {
894
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
895
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
896
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
897
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
898
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
899
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
900
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
901
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
902
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedUpdateManyWithoutFieldValueNestedInput;
903
+ };
904
+ export type FieldValueUncheckedUpdateManyWithoutFieldInput = {
905
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
906
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
907
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
908
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
909
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
910
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
911
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
912
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
913
+ };
914
+ export type FieldValueCreateManyCreatedByInput = {
915
+ id?: number;
916
+ fieldRecordId: number;
917
+ fieldId: number;
918
+ setIndex?: number;
919
+ value?: string;
920
+ createdAt?: Date | string;
921
+ updatedAt?: Date | string;
922
+ updatedById: number;
923
+ };
924
+ export type FieldValueCreateManyUpdatedByInput = {
925
+ id?: number;
926
+ fieldRecordId: number;
927
+ fieldId: number;
928
+ setIndex?: number;
929
+ value?: string;
930
+ createdAt?: Date | string;
931
+ createdById: number;
932
+ updatedAt?: Date | string;
933
+ };
934
+ export type FieldValueUpdateWithoutCreatedByInput = {
935
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
936
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
937
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
938
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
939
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesUpdatedNestedInput;
940
+ fieldRecord?: Prisma.FieldRecordUpdateOneRequiredWithoutFieldValuesNestedInput;
941
+ field?: Prisma.FieldUpdateOneRequiredWithoutFieldValuesNestedInput;
942
+ fieldAttachments?: Prisma.FieldAttachmentUpdateManyWithoutFieldValueNestedInput;
943
+ };
944
+ export type FieldValueUncheckedUpdateWithoutCreatedByInput = {
945
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
946
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
947
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
948
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
949
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
950
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
951
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
952
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
953
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedUpdateManyWithoutFieldValueNestedInput;
954
+ };
955
+ export type FieldValueUncheckedUpdateManyWithoutCreatedByInput = {
956
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
957
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
958
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
959
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
960
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
961
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
962
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
963
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
964
+ };
965
+ export type FieldValueUpdateWithoutUpdatedByInput = {
966
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
967
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
968
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
969
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
970
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutFieldValuesCreatedNestedInput;
971
+ fieldRecord?: Prisma.FieldRecordUpdateOneRequiredWithoutFieldValuesNestedInput;
972
+ field?: Prisma.FieldUpdateOneRequiredWithoutFieldValuesNestedInput;
973
+ fieldAttachments?: Prisma.FieldAttachmentUpdateManyWithoutFieldValueNestedInput;
974
+ };
975
+ export type FieldValueUncheckedUpdateWithoutUpdatedByInput = {
976
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
977
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
978
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
979
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
980
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
981
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
982
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
983
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
984
+ fieldAttachments?: Prisma.FieldAttachmentUncheckedUpdateManyWithoutFieldValueNestedInput;
985
+ };
986
+ export type FieldValueUncheckedUpdateManyWithoutUpdatedByInput = {
987
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
988
+ fieldRecordId?: Prisma.IntFieldUpdateOperationsInput | number;
989
+ fieldId?: Prisma.IntFieldUpdateOperationsInput | number;
990
+ setIndex?: Prisma.IntFieldUpdateOperationsInput | number;
991
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
992
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
993
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
994
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
995
+ };
996
+ /**
997
+ * Count Type FieldValueCountOutputType
998
+ */
999
+ export type FieldValueCountOutputType = {
1000
+ fieldAttachments: number;
1001
+ };
1002
+ export type FieldValueCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1003
+ fieldAttachments?: boolean | FieldValueCountOutputTypeCountFieldAttachmentsArgs;
1004
+ };
1005
+ /**
1006
+ * FieldValueCountOutputType without action
1007
+ */
1008
+ export type FieldValueCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1009
+ /**
1010
+ * Select specific fields to fetch from the FieldValueCountOutputType
1011
+ */
1012
+ select?: Prisma.FieldValueCountOutputTypeSelect<ExtArgs> | null;
1013
+ };
1014
+ /**
1015
+ * FieldValueCountOutputType without action
1016
+ */
1017
+ export type FieldValueCountOutputTypeCountFieldAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1018
+ where?: Prisma.FieldAttachmentWhereInput;
1019
+ };
1020
+ export type FieldValueSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1021
+ id?: boolean;
1022
+ fieldRecordId?: boolean;
1023
+ fieldId?: boolean;
1024
+ setIndex?: boolean;
1025
+ value?: boolean;
1026
+ createdAt?: boolean;
1027
+ createdById?: boolean;
1028
+ updatedAt?: boolean;
1029
+ updatedById?: boolean;
1030
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1031
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1032
+ fieldRecord?: boolean | Prisma.FieldRecordDefaultArgs<ExtArgs>;
1033
+ field?: boolean | Prisma.FieldDefaultArgs<ExtArgs>;
1034
+ fieldAttachments?: boolean | Prisma.FieldValue$fieldAttachmentsArgs<ExtArgs>;
1035
+ _count?: boolean | Prisma.FieldValueCountOutputTypeDefaultArgs<ExtArgs>;
1036
+ }, ExtArgs["result"]["fieldValue"]>;
1037
+ export type FieldValueSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1038
+ id?: boolean;
1039
+ fieldRecordId?: boolean;
1040
+ fieldId?: boolean;
1041
+ setIndex?: boolean;
1042
+ value?: boolean;
1043
+ createdAt?: boolean;
1044
+ createdById?: boolean;
1045
+ updatedAt?: boolean;
1046
+ updatedById?: boolean;
1047
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1048
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1049
+ fieldRecord?: boolean | Prisma.FieldRecordDefaultArgs<ExtArgs>;
1050
+ field?: boolean | Prisma.FieldDefaultArgs<ExtArgs>;
1051
+ }, ExtArgs["result"]["fieldValue"]>;
1052
+ export type FieldValueSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1053
+ id?: boolean;
1054
+ fieldRecordId?: boolean;
1055
+ fieldId?: boolean;
1056
+ setIndex?: boolean;
1057
+ value?: boolean;
1058
+ createdAt?: boolean;
1059
+ createdById?: boolean;
1060
+ updatedAt?: boolean;
1061
+ updatedById?: boolean;
1062
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1063
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1064
+ fieldRecord?: boolean | Prisma.FieldRecordDefaultArgs<ExtArgs>;
1065
+ field?: boolean | Prisma.FieldDefaultArgs<ExtArgs>;
1066
+ }, ExtArgs["result"]["fieldValue"]>;
1067
+ export type FieldValueSelectScalar = {
1068
+ id?: boolean;
1069
+ fieldRecordId?: boolean;
1070
+ fieldId?: boolean;
1071
+ setIndex?: boolean;
1072
+ value?: boolean;
1073
+ createdAt?: boolean;
1074
+ createdById?: boolean;
1075
+ updatedAt?: boolean;
1076
+ updatedById?: boolean;
1077
+ };
1078
+ export type FieldValueOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fieldRecordId" | "fieldId" | "setIndex" | "value" | "createdAt" | "createdById" | "updatedAt" | "updatedById", ExtArgs["result"]["fieldValue"]>;
1079
+ export type FieldValueInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1080
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1081
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1082
+ fieldRecord?: boolean | Prisma.FieldRecordDefaultArgs<ExtArgs>;
1083
+ field?: boolean | Prisma.FieldDefaultArgs<ExtArgs>;
1084
+ fieldAttachments?: boolean | Prisma.FieldValue$fieldAttachmentsArgs<ExtArgs>;
1085
+ _count?: boolean | Prisma.FieldValueCountOutputTypeDefaultArgs<ExtArgs>;
1086
+ };
1087
+ export type FieldValueIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1088
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1089
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1090
+ fieldRecord?: boolean | Prisma.FieldRecordDefaultArgs<ExtArgs>;
1091
+ field?: boolean | Prisma.FieldDefaultArgs<ExtArgs>;
1092
+ };
1093
+ export type FieldValueIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1094
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1095
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1096
+ fieldRecord?: boolean | Prisma.FieldRecordDefaultArgs<ExtArgs>;
1097
+ field?: boolean | Prisma.FieldDefaultArgs<ExtArgs>;
1098
+ };
1099
+ export type $FieldValuePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1100
+ name: "FieldValue";
1101
+ objects: {
1102
+ createdBy: Prisma.$UserPayload<ExtArgs>;
1103
+ updatedBy: Prisma.$UserPayload<ExtArgs>;
1104
+ fieldRecord: Prisma.$FieldRecordPayload<ExtArgs>;
1105
+ field: Prisma.$FieldPayload<ExtArgs>;
1106
+ fieldAttachments: Prisma.$FieldAttachmentPayload<ExtArgs>[];
1107
+ };
1108
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1109
+ id: number;
1110
+ fieldRecordId: number;
1111
+ fieldId: number;
1112
+ setIndex: number;
1113
+ value: string;
1114
+ createdAt: Date;
1115
+ createdById: number;
1116
+ updatedAt: Date;
1117
+ updatedById: number;
1118
+ }, ExtArgs["result"]["fieldValue"]>;
1119
+ composites: {};
1120
+ };
1121
+ export type FieldValueGetPayload<S extends boolean | null | undefined | FieldValueDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FieldValuePayload, S>;
1122
+ export type FieldValueCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FieldValueFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1123
+ select?: FieldValueCountAggregateInputType | true;
1124
+ };
1125
+ export interface FieldValueDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1126
+ [K: symbol]: {
1127
+ types: Prisma.TypeMap<ExtArgs>['model']['FieldValue'];
1128
+ meta: {
1129
+ name: 'FieldValue';
1130
+ };
1131
+ };
1132
+ /**
1133
+ * Find zero or one FieldValue that matches the filter.
1134
+ * @param {FieldValueFindUniqueArgs} args - Arguments to find a FieldValue
1135
+ * @example
1136
+ * // Get one FieldValue
1137
+ * const fieldValue = await prisma.fieldValue.findUnique({
1138
+ * where: {
1139
+ * // ... provide filter here
1140
+ * }
1141
+ * })
1142
+ */
1143
+ findUnique<T extends FieldValueFindUniqueArgs>(args: Prisma.SelectSubset<T, FieldValueFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1144
+ /**
1145
+ * Find one FieldValue that matches the filter or throw an error with `error.code='P2025'`
1146
+ * if no matches were found.
1147
+ * @param {FieldValueFindUniqueOrThrowArgs} args - Arguments to find a FieldValue
1148
+ * @example
1149
+ * // Get one FieldValue
1150
+ * const fieldValue = await prisma.fieldValue.findUniqueOrThrow({
1151
+ * where: {
1152
+ * // ... provide filter here
1153
+ * }
1154
+ * })
1155
+ */
1156
+ findUniqueOrThrow<T extends FieldValueFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FieldValueFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1157
+ /**
1158
+ * Find the first FieldValue that matches the filter.
1159
+ * Note, that providing `undefined` is treated as the value not being there.
1160
+ * Read more here: https://pris.ly/d/null-undefined
1161
+ * @param {FieldValueFindFirstArgs} args - Arguments to find a FieldValue
1162
+ * @example
1163
+ * // Get one FieldValue
1164
+ * const fieldValue = await prisma.fieldValue.findFirst({
1165
+ * where: {
1166
+ * // ... provide filter here
1167
+ * }
1168
+ * })
1169
+ */
1170
+ findFirst<T extends FieldValueFindFirstArgs>(args?: Prisma.SelectSubset<T, FieldValueFindFirstArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1171
+ /**
1172
+ * Find the first FieldValue that matches the filter or
1173
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1174
+ * Note, that providing `undefined` is treated as the value not being there.
1175
+ * Read more here: https://pris.ly/d/null-undefined
1176
+ * @param {FieldValueFindFirstOrThrowArgs} args - Arguments to find a FieldValue
1177
+ * @example
1178
+ * // Get one FieldValue
1179
+ * const fieldValue = await prisma.fieldValue.findFirstOrThrow({
1180
+ * where: {
1181
+ * // ... provide filter here
1182
+ * }
1183
+ * })
1184
+ */
1185
+ findFirstOrThrow<T extends FieldValueFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FieldValueFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1186
+ /**
1187
+ * Find zero or more FieldValues that matches the filter.
1188
+ * Note, that providing `undefined` is treated as the value not being there.
1189
+ * Read more here: https://pris.ly/d/null-undefined
1190
+ * @param {FieldValueFindManyArgs} args - Arguments to filter and select certain fields only.
1191
+ * @example
1192
+ * // Get all FieldValues
1193
+ * const fieldValues = await prisma.fieldValue.findMany()
1194
+ *
1195
+ * // Get first 10 FieldValues
1196
+ * const fieldValues = await prisma.fieldValue.findMany({ take: 10 })
1197
+ *
1198
+ * // Only select the `id`
1199
+ * const fieldValueWithIdOnly = await prisma.fieldValue.findMany({ select: { id: true } })
1200
+ *
1201
+ */
1202
+ findMany<T extends FieldValueFindManyArgs>(args?: Prisma.SelectSubset<T, FieldValueFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1203
+ /**
1204
+ * Create a FieldValue.
1205
+ * @param {FieldValueCreateArgs} args - Arguments to create a FieldValue.
1206
+ * @example
1207
+ * // Create one FieldValue
1208
+ * const FieldValue = await prisma.fieldValue.create({
1209
+ * data: {
1210
+ * // ... data to create a FieldValue
1211
+ * }
1212
+ * })
1213
+ *
1214
+ */
1215
+ create<T extends FieldValueCreateArgs>(args: Prisma.SelectSubset<T, FieldValueCreateArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1216
+ /**
1217
+ * Create many FieldValues.
1218
+ * @param {FieldValueCreateManyArgs} args - Arguments to create many FieldValues.
1219
+ * @example
1220
+ * // Create many FieldValues
1221
+ * const fieldValue = await prisma.fieldValue.createMany({
1222
+ * data: [
1223
+ * // ... provide data here
1224
+ * ]
1225
+ * })
1226
+ *
1227
+ */
1228
+ createMany<T extends FieldValueCreateManyArgs>(args?: Prisma.SelectSubset<T, FieldValueCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1229
+ /**
1230
+ * Create many FieldValues and returns the data saved in the database.
1231
+ * @param {FieldValueCreateManyAndReturnArgs} args - Arguments to create many FieldValues.
1232
+ * @example
1233
+ * // Create many FieldValues
1234
+ * const fieldValue = await prisma.fieldValue.createManyAndReturn({
1235
+ * data: [
1236
+ * // ... provide data here
1237
+ * ]
1238
+ * })
1239
+ *
1240
+ * // Create many FieldValues and only return the `id`
1241
+ * const fieldValueWithIdOnly = await prisma.fieldValue.createManyAndReturn({
1242
+ * select: { id: true },
1243
+ * data: [
1244
+ * // ... provide data here
1245
+ * ]
1246
+ * })
1247
+ * Note, that providing `undefined` is treated as the value not being there.
1248
+ * Read more here: https://pris.ly/d/null-undefined
1249
+ *
1250
+ */
1251
+ createManyAndReturn<T extends FieldValueCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FieldValueCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1252
+ /**
1253
+ * Delete a FieldValue.
1254
+ * @param {FieldValueDeleteArgs} args - Arguments to delete one FieldValue.
1255
+ * @example
1256
+ * // Delete one FieldValue
1257
+ * const FieldValue = await prisma.fieldValue.delete({
1258
+ * where: {
1259
+ * // ... filter to delete one FieldValue
1260
+ * }
1261
+ * })
1262
+ *
1263
+ */
1264
+ delete<T extends FieldValueDeleteArgs>(args: Prisma.SelectSubset<T, FieldValueDeleteArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1265
+ /**
1266
+ * Update one FieldValue.
1267
+ * @param {FieldValueUpdateArgs} args - Arguments to update one FieldValue.
1268
+ * @example
1269
+ * // Update one FieldValue
1270
+ * const fieldValue = await prisma.fieldValue.update({
1271
+ * where: {
1272
+ * // ... provide filter here
1273
+ * },
1274
+ * data: {
1275
+ * // ... provide data here
1276
+ * }
1277
+ * })
1278
+ *
1279
+ */
1280
+ update<T extends FieldValueUpdateArgs>(args: Prisma.SelectSubset<T, FieldValueUpdateArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1281
+ /**
1282
+ * Delete zero or more FieldValues.
1283
+ * @param {FieldValueDeleteManyArgs} args - Arguments to filter FieldValues to delete.
1284
+ * @example
1285
+ * // Delete a few FieldValues
1286
+ * const { count } = await prisma.fieldValue.deleteMany({
1287
+ * where: {
1288
+ * // ... provide filter here
1289
+ * }
1290
+ * })
1291
+ *
1292
+ */
1293
+ deleteMany<T extends FieldValueDeleteManyArgs>(args?: Prisma.SelectSubset<T, FieldValueDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1294
+ /**
1295
+ * Update zero or more FieldValues.
1296
+ * Note, that providing `undefined` is treated as the value not being there.
1297
+ * Read more here: https://pris.ly/d/null-undefined
1298
+ * @param {FieldValueUpdateManyArgs} args - Arguments to update one or more rows.
1299
+ * @example
1300
+ * // Update many FieldValues
1301
+ * const fieldValue = await prisma.fieldValue.updateMany({
1302
+ * where: {
1303
+ * // ... provide filter here
1304
+ * },
1305
+ * data: {
1306
+ * // ... provide data here
1307
+ * }
1308
+ * })
1309
+ *
1310
+ */
1311
+ updateMany<T extends FieldValueUpdateManyArgs>(args: Prisma.SelectSubset<T, FieldValueUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1312
+ /**
1313
+ * Update zero or more FieldValues and returns the data updated in the database.
1314
+ * @param {FieldValueUpdateManyAndReturnArgs} args - Arguments to update many FieldValues.
1315
+ * @example
1316
+ * // Update many FieldValues
1317
+ * const fieldValue = await prisma.fieldValue.updateManyAndReturn({
1318
+ * where: {
1319
+ * // ... provide filter here
1320
+ * },
1321
+ * data: [
1322
+ * // ... provide data here
1323
+ * ]
1324
+ * })
1325
+ *
1326
+ * // Update zero or more FieldValues and only return the `id`
1327
+ * const fieldValueWithIdOnly = await prisma.fieldValue.updateManyAndReturn({
1328
+ * select: { id: true },
1329
+ * where: {
1330
+ * // ... provide filter here
1331
+ * },
1332
+ * data: [
1333
+ * // ... provide data here
1334
+ * ]
1335
+ * })
1336
+ * Note, that providing `undefined` is treated as the value not being there.
1337
+ * Read more here: https://pris.ly/d/null-undefined
1338
+ *
1339
+ */
1340
+ updateManyAndReturn<T extends FieldValueUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FieldValueUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1341
+ /**
1342
+ * Create or update one FieldValue.
1343
+ * @param {FieldValueUpsertArgs} args - Arguments to update or create a FieldValue.
1344
+ * @example
1345
+ * // Update or create a FieldValue
1346
+ * const fieldValue = await prisma.fieldValue.upsert({
1347
+ * create: {
1348
+ * // ... data to create a FieldValue
1349
+ * },
1350
+ * update: {
1351
+ * // ... in case it already exists, update
1352
+ * },
1353
+ * where: {
1354
+ * // ... the filter for the FieldValue we want to update
1355
+ * }
1356
+ * })
1357
+ */
1358
+ upsert<T extends FieldValueUpsertArgs>(args: Prisma.SelectSubset<T, FieldValueUpsertArgs<ExtArgs>>): Prisma.Prisma__FieldValueClient<runtime.Types.Result.GetResult<Prisma.$FieldValuePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1359
+ /**
1360
+ * Count the number of FieldValues.
1361
+ * Note, that providing `undefined` is treated as the value not being there.
1362
+ * Read more here: https://pris.ly/d/null-undefined
1363
+ * @param {FieldValueCountArgs} args - Arguments to filter FieldValues to count.
1364
+ * @example
1365
+ * // Count the number of FieldValues
1366
+ * const count = await prisma.fieldValue.count({
1367
+ * where: {
1368
+ * // ... the filter for the FieldValues we want to count
1369
+ * }
1370
+ * })
1371
+ **/
1372
+ count<T extends FieldValueCountArgs>(args?: Prisma.Subset<T, FieldValueCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FieldValueCountAggregateOutputType> : number>;
1373
+ /**
1374
+ * Allows you to perform aggregations operations on a FieldValue.
1375
+ * Note, that providing `undefined` is treated as the value not being there.
1376
+ * Read more here: https://pris.ly/d/null-undefined
1377
+ * @param {FieldValueAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1378
+ * @example
1379
+ * // Ordered by age ascending
1380
+ * // Where email contains prisma.io
1381
+ * // Limited to the 10 users
1382
+ * const aggregations = await prisma.user.aggregate({
1383
+ * _avg: {
1384
+ * age: true,
1385
+ * },
1386
+ * where: {
1387
+ * email: {
1388
+ * contains: "prisma.io",
1389
+ * },
1390
+ * },
1391
+ * orderBy: {
1392
+ * age: "asc",
1393
+ * },
1394
+ * take: 10,
1395
+ * })
1396
+ **/
1397
+ aggregate<T extends FieldValueAggregateArgs>(args: Prisma.Subset<T, FieldValueAggregateArgs>): Prisma.PrismaPromise<GetFieldValueAggregateType<T>>;
1398
+ /**
1399
+ * Group by FieldValue.
1400
+ * Note, that providing `undefined` is treated as the value not being there.
1401
+ * Read more here: https://pris.ly/d/null-undefined
1402
+ * @param {FieldValueGroupByArgs} args - Group by arguments.
1403
+ * @example
1404
+ * // Group by city, order by createdAt, get count
1405
+ * const result = await prisma.user.groupBy({
1406
+ * by: ['city', 'createdAt'],
1407
+ * orderBy: {
1408
+ * createdAt: true
1409
+ * },
1410
+ * _count: {
1411
+ * _all: true
1412
+ * },
1413
+ * })
1414
+ *
1415
+ **/
1416
+ groupBy<T extends FieldValueGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1417
+ orderBy: FieldValueGroupByArgs['orderBy'];
1418
+ } : {
1419
+ orderBy?: FieldValueGroupByArgs['orderBy'];
1420
+ }, 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 ? {
1421
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1422
+ Error,
1423
+ 'Field ',
1424
+ P,
1425
+ ` in "having" needs to be provided in "by"`
1426
+ ];
1427
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1428
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1429
+ }[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 ? {} : {
1430
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1431
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1432
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1433
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, FieldValueGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFieldValueGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1434
+ /**
1435
+ * Fields of the FieldValue model
1436
+ */
1437
+ readonly fields: FieldValueFieldRefs;
1438
+ }
1439
+ /**
1440
+ * The delegate class that acts as a "Promise-like" for FieldValue.
1441
+ * Why is this prefixed with `Prisma__`?
1442
+ * Because we want to prevent naming conflicts as mentioned in
1443
+ * https://github.com/prisma/prisma-client-js/issues/707
1444
+ */
1445
+ export interface Prisma__FieldValueClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1446
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1447
+ createdBy<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>;
1448
+ updatedBy<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>;
1449
+ fieldRecord<T extends Prisma.FieldRecordDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldRecordDefaultArgs<ExtArgs>>): Prisma.Prisma__FieldRecordClient<runtime.Types.Result.GetResult<Prisma.$FieldRecordPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1450
+ field<T extends Prisma.FieldDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldDefaultArgs<ExtArgs>>): Prisma.Prisma__FieldClient<runtime.Types.Result.GetResult<Prisma.$FieldPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1451
+ fieldAttachments<T extends Prisma.FieldValue$fieldAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FieldValue$fieldAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FieldAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1452
+ /**
1453
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1454
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1455
+ * @param onrejected The callback to execute when the Promise is rejected.
1456
+ * @returns A Promise for the completion of which ever callback is executed.
1457
+ */
1458
+ 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>;
1459
+ /**
1460
+ * Attaches a callback for only the rejection of the Promise.
1461
+ * @param onrejected The callback to execute when the Promise is rejected.
1462
+ * @returns A Promise for the completion of the callback.
1463
+ */
1464
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1465
+ /**
1466
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1467
+ * resolved value cannot be modified from the callback.
1468
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1469
+ * @returns A Promise for the completion of the callback.
1470
+ */
1471
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1472
+ }
1473
+ /**
1474
+ * Fields of the FieldValue model
1475
+ */
1476
+ export interface FieldValueFieldRefs {
1477
+ readonly id: Prisma.FieldRef<"FieldValue", 'Int'>;
1478
+ readonly fieldRecordId: Prisma.FieldRef<"FieldValue", 'Int'>;
1479
+ readonly fieldId: Prisma.FieldRef<"FieldValue", 'Int'>;
1480
+ readonly setIndex: Prisma.FieldRef<"FieldValue", 'Int'>;
1481
+ readonly value: Prisma.FieldRef<"FieldValue", 'String'>;
1482
+ readonly createdAt: Prisma.FieldRef<"FieldValue", 'DateTime'>;
1483
+ readonly createdById: Prisma.FieldRef<"FieldValue", 'Int'>;
1484
+ readonly updatedAt: Prisma.FieldRef<"FieldValue", 'DateTime'>;
1485
+ readonly updatedById: Prisma.FieldRef<"FieldValue", 'Int'>;
1486
+ }
1487
+ /**
1488
+ * FieldValue findUnique
1489
+ */
1490
+ export type FieldValueFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1491
+ /**
1492
+ * Select specific fields to fetch from the FieldValue
1493
+ */
1494
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1495
+ /**
1496
+ * Omit specific fields from the FieldValue
1497
+ */
1498
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1499
+ /**
1500
+ * Choose, which related nodes to fetch as well
1501
+ */
1502
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1503
+ /**
1504
+ * Filter, which FieldValue to fetch.
1505
+ */
1506
+ where: Prisma.FieldValueWhereUniqueInput;
1507
+ };
1508
+ /**
1509
+ * FieldValue findUniqueOrThrow
1510
+ */
1511
+ export type FieldValueFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1512
+ /**
1513
+ * Select specific fields to fetch from the FieldValue
1514
+ */
1515
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1516
+ /**
1517
+ * Omit specific fields from the FieldValue
1518
+ */
1519
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1520
+ /**
1521
+ * Choose, which related nodes to fetch as well
1522
+ */
1523
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1524
+ /**
1525
+ * Filter, which FieldValue to fetch.
1526
+ */
1527
+ where: Prisma.FieldValueWhereUniqueInput;
1528
+ };
1529
+ /**
1530
+ * FieldValue findFirst
1531
+ */
1532
+ export type FieldValueFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1533
+ /**
1534
+ * Select specific fields to fetch from the FieldValue
1535
+ */
1536
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1537
+ /**
1538
+ * Omit specific fields from the FieldValue
1539
+ */
1540
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1541
+ /**
1542
+ * Choose, which related nodes to fetch as well
1543
+ */
1544
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1545
+ /**
1546
+ * Filter, which FieldValue to fetch.
1547
+ */
1548
+ where?: Prisma.FieldValueWhereInput;
1549
+ /**
1550
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1551
+ *
1552
+ * Determine the order of FieldValues to fetch.
1553
+ */
1554
+ orderBy?: Prisma.FieldValueOrderByWithRelationInput | Prisma.FieldValueOrderByWithRelationInput[];
1555
+ /**
1556
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1557
+ *
1558
+ * Sets the position for searching for FieldValues.
1559
+ */
1560
+ cursor?: Prisma.FieldValueWhereUniqueInput;
1561
+ /**
1562
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1563
+ *
1564
+ * Take `±n` FieldValues from the position of the cursor.
1565
+ */
1566
+ take?: number;
1567
+ /**
1568
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1569
+ *
1570
+ * Skip the first `n` FieldValues.
1571
+ */
1572
+ skip?: number;
1573
+ /**
1574
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1575
+ *
1576
+ * Filter by unique combinations of FieldValues.
1577
+ */
1578
+ distinct?: Prisma.FieldValueScalarFieldEnum | Prisma.FieldValueScalarFieldEnum[];
1579
+ };
1580
+ /**
1581
+ * FieldValue findFirstOrThrow
1582
+ */
1583
+ export type FieldValueFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1584
+ /**
1585
+ * Select specific fields to fetch from the FieldValue
1586
+ */
1587
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1588
+ /**
1589
+ * Omit specific fields from the FieldValue
1590
+ */
1591
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1592
+ /**
1593
+ * Choose, which related nodes to fetch as well
1594
+ */
1595
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1596
+ /**
1597
+ * Filter, which FieldValue to fetch.
1598
+ */
1599
+ where?: Prisma.FieldValueWhereInput;
1600
+ /**
1601
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1602
+ *
1603
+ * Determine the order of FieldValues to fetch.
1604
+ */
1605
+ orderBy?: Prisma.FieldValueOrderByWithRelationInput | Prisma.FieldValueOrderByWithRelationInput[];
1606
+ /**
1607
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1608
+ *
1609
+ * Sets the position for searching for FieldValues.
1610
+ */
1611
+ cursor?: Prisma.FieldValueWhereUniqueInput;
1612
+ /**
1613
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1614
+ *
1615
+ * Take `±n` FieldValues from the position of the cursor.
1616
+ */
1617
+ take?: number;
1618
+ /**
1619
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1620
+ *
1621
+ * Skip the first `n` FieldValues.
1622
+ */
1623
+ skip?: number;
1624
+ /**
1625
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1626
+ *
1627
+ * Filter by unique combinations of FieldValues.
1628
+ */
1629
+ distinct?: Prisma.FieldValueScalarFieldEnum | Prisma.FieldValueScalarFieldEnum[];
1630
+ };
1631
+ /**
1632
+ * FieldValue findMany
1633
+ */
1634
+ export type FieldValueFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1635
+ /**
1636
+ * Select specific fields to fetch from the FieldValue
1637
+ */
1638
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1639
+ /**
1640
+ * Omit specific fields from the FieldValue
1641
+ */
1642
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1643
+ /**
1644
+ * Choose, which related nodes to fetch as well
1645
+ */
1646
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1647
+ /**
1648
+ * Filter, which FieldValues to fetch.
1649
+ */
1650
+ where?: Prisma.FieldValueWhereInput;
1651
+ /**
1652
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1653
+ *
1654
+ * Determine the order of FieldValues to fetch.
1655
+ */
1656
+ orderBy?: Prisma.FieldValueOrderByWithRelationInput | Prisma.FieldValueOrderByWithRelationInput[];
1657
+ /**
1658
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1659
+ *
1660
+ * Sets the position for listing FieldValues.
1661
+ */
1662
+ cursor?: Prisma.FieldValueWhereUniqueInput;
1663
+ /**
1664
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1665
+ *
1666
+ * Take `±n` FieldValues from the position of the cursor.
1667
+ */
1668
+ take?: number;
1669
+ /**
1670
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1671
+ *
1672
+ * Skip the first `n` FieldValues.
1673
+ */
1674
+ skip?: number;
1675
+ /**
1676
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1677
+ *
1678
+ * Filter by unique combinations of FieldValues.
1679
+ */
1680
+ distinct?: Prisma.FieldValueScalarFieldEnum | Prisma.FieldValueScalarFieldEnum[];
1681
+ };
1682
+ /**
1683
+ * FieldValue create
1684
+ */
1685
+ export type FieldValueCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1686
+ /**
1687
+ * Select specific fields to fetch from the FieldValue
1688
+ */
1689
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1690
+ /**
1691
+ * Omit specific fields from the FieldValue
1692
+ */
1693
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1694
+ /**
1695
+ * Choose, which related nodes to fetch as well
1696
+ */
1697
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1698
+ /**
1699
+ * The data needed to create a FieldValue.
1700
+ */
1701
+ data: Prisma.XOR<Prisma.FieldValueCreateInput, Prisma.FieldValueUncheckedCreateInput>;
1702
+ };
1703
+ /**
1704
+ * FieldValue createMany
1705
+ */
1706
+ export type FieldValueCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1707
+ /**
1708
+ * The data used to create many FieldValues.
1709
+ */
1710
+ data: Prisma.FieldValueCreateManyInput | Prisma.FieldValueCreateManyInput[];
1711
+ };
1712
+ /**
1713
+ * FieldValue createManyAndReturn
1714
+ */
1715
+ export type FieldValueCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1716
+ /**
1717
+ * Select specific fields to fetch from the FieldValue
1718
+ */
1719
+ select?: Prisma.FieldValueSelectCreateManyAndReturn<ExtArgs> | null;
1720
+ /**
1721
+ * Omit specific fields from the FieldValue
1722
+ */
1723
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1724
+ /**
1725
+ * The data used to create many FieldValues.
1726
+ */
1727
+ data: Prisma.FieldValueCreateManyInput | Prisma.FieldValueCreateManyInput[];
1728
+ /**
1729
+ * Choose, which related nodes to fetch as well
1730
+ */
1731
+ include?: Prisma.FieldValueIncludeCreateManyAndReturn<ExtArgs> | null;
1732
+ };
1733
+ /**
1734
+ * FieldValue update
1735
+ */
1736
+ export type FieldValueUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1737
+ /**
1738
+ * Select specific fields to fetch from the FieldValue
1739
+ */
1740
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1741
+ /**
1742
+ * Omit specific fields from the FieldValue
1743
+ */
1744
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1745
+ /**
1746
+ * Choose, which related nodes to fetch as well
1747
+ */
1748
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1749
+ /**
1750
+ * The data needed to update a FieldValue.
1751
+ */
1752
+ data: Prisma.XOR<Prisma.FieldValueUpdateInput, Prisma.FieldValueUncheckedUpdateInput>;
1753
+ /**
1754
+ * Choose, which FieldValue to update.
1755
+ */
1756
+ where: Prisma.FieldValueWhereUniqueInput;
1757
+ };
1758
+ /**
1759
+ * FieldValue updateMany
1760
+ */
1761
+ export type FieldValueUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1762
+ /**
1763
+ * The data used to update FieldValues.
1764
+ */
1765
+ data: Prisma.XOR<Prisma.FieldValueUpdateManyMutationInput, Prisma.FieldValueUncheckedUpdateManyInput>;
1766
+ /**
1767
+ * Filter which FieldValues to update
1768
+ */
1769
+ where?: Prisma.FieldValueWhereInput;
1770
+ /**
1771
+ * Limit how many FieldValues to update.
1772
+ */
1773
+ limit?: number;
1774
+ };
1775
+ /**
1776
+ * FieldValue updateManyAndReturn
1777
+ */
1778
+ export type FieldValueUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1779
+ /**
1780
+ * Select specific fields to fetch from the FieldValue
1781
+ */
1782
+ select?: Prisma.FieldValueSelectUpdateManyAndReturn<ExtArgs> | null;
1783
+ /**
1784
+ * Omit specific fields from the FieldValue
1785
+ */
1786
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1787
+ /**
1788
+ * The data used to update FieldValues.
1789
+ */
1790
+ data: Prisma.XOR<Prisma.FieldValueUpdateManyMutationInput, Prisma.FieldValueUncheckedUpdateManyInput>;
1791
+ /**
1792
+ * Filter which FieldValues to update
1793
+ */
1794
+ where?: Prisma.FieldValueWhereInput;
1795
+ /**
1796
+ * Limit how many FieldValues to update.
1797
+ */
1798
+ limit?: number;
1799
+ /**
1800
+ * Choose, which related nodes to fetch as well
1801
+ */
1802
+ include?: Prisma.FieldValueIncludeUpdateManyAndReturn<ExtArgs> | null;
1803
+ };
1804
+ /**
1805
+ * FieldValue upsert
1806
+ */
1807
+ export type FieldValueUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1808
+ /**
1809
+ * Select specific fields to fetch from the FieldValue
1810
+ */
1811
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1812
+ /**
1813
+ * Omit specific fields from the FieldValue
1814
+ */
1815
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1816
+ /**
1817
+ * Choose, which related nodes to fetch as well
1818
+ */
1819
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1820
+ /**
1821
+ * The filter to search for the FieldValue to update in case it exists.
1822
+ */
1823
+ where: Prisma.FieldValueWhereUniqueInput;
1824
+ /**
1825
+ * In case the FieldValue found by the `where` argument doesn't exist, create a new FieldValue with this data.
1826
+ */
1827
+ create: Prisma.XOR<Prisma.FieldValueCreateInput, Prisma.FieldValueUncheckedCreateInput>;
1828
+ /**
1829
+ * In case the FieldValue was found with the provided `where` argument, update it with this data.
1830
+ */
1831
+ update: Prisma.XOR<Prisma.FieldValueUpdateInput, Prisma.FieldValueUncheckedUpdateInput>;
1832
+ };
1833
+ /**
1834
+ * FieldValue delete
1835
+ */
1836
+ export type FieldValueDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1837
+ /**
1838
+ * Select specific fields to fetch from the FieldValue
1839
+ */
1840
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1841
+ /**
1842
+ * Omit specific fields from the FieldValue
1843
+ */
1844
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1845
+ /**
1846
+ * Choose, which related nodes to fetch as well
1847
+ */
1848
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1849
+ /**
1850
+ * Filter which FieldValue to delete.
1851
+ */
1852
+ where: Prisma.FieldValueWhereUniqueInput;
1853
+ };
1854
+ /**
1855
+ * FieldValue deleteMany
1856
+ */
1857
+ export type FieldValueDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1858
+ /**
1859
+ * Filter which FieldValues to delete
1860
+ */
1861
+ where?: Prisma.FieldValueWhereInput;
1862
+ /**
1863
+ * Limit how many FieldValues to delete.
1864
+ */
1865
+ limit?: number;
1866
+ };
1867
+ /**
1868
+ * FieldValue.fieldAttachments
1869
+ */
1870
+ export type FieldValue$fieldAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1871
+ /**
1872
+ * Select specific fields to fetch from the FieldAttachment
1873
+ */
1874
+ select?: Prisma.FieldAttachmentSelect<ExtArgs> | null;
1875
+ /**
1876
+ * Omit specific fields from the FieldAttachment
1877
+ */
1878
+ omit?: Prisma.FieldAttachmentOmit<ExtArgs> | null;
1879
+ /**
1880
+ * Choose, which related nodes to fetch as well
1881
+ */
1882
+ include?: Prisma.FieldAttachmentInclude<ExtArgs> | null;
1883
+ where?: Prisma.FieldAttachmentWhereInput;
1884
+ orderBy?: Prisma.FieldAttachmentOrderByWithRelationInput | Prisma.FieldAttachmentOrderByWithRelationInput[];
1885
+ cursor?: Prisma.FieldAttachmentWhereUniqueInput;
1886
+ take?: number;
1887
+ skip?: number;
1888
+ distinct?: Prisma.FieldAttachmentScalarFieldEnum | Prisma.FieldAttachmentScalarFieldEnum[];
1889
+ };
1890
+ /**
1891
+ * FieldValue without action
1892
+ */
1893
+ export type FieldValueDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1894
+ /**
1895
+ * Select specific fields to fetch from the FieldValue
1896
+ */
1897
+ select?: Prisma.FieldValueSelect<ExtArgs> | null;
1898
+ /**
1899
+ * Omit specific fields from the FieldValue
1900
+ */
1901
+ omit?: Prisma.FieldValueOmit<ExtArgs> | null;
1902
+ /**
1903
+ * Choose, which related nodes to fetch as well
1904
+ */
1905
+ include?: Prisma.FieldValueInclude<ExtArgs> | null;
1906
+ };
1907
+ export {};
1908
+ //# sourceMappingURL=FieldValue.d.ts.map