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