@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,2180 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model Step
5
+ *
6
+ */
7
+ export type StepModel = runtime.Types.Result.DefaultSelection<Prisma.$StepPayload>;
8
+ export type AggregateStep = {
9
+ _count: StepCountAggregateOutputType | null;
10
+ _avg: StepAvgAggregateOutputType | null;
11
+ _sum: StepSumAggregateOutputType | null;
12
+ _min: StepMinAggregateOutputType | null;
13
+ _max: StepMaxAggregateOutputType | null;
14
+ };
15
+ export type StepAvgAggregateOutputType = {
16
+ id: number | null;
17
+ operationId: number | null;
18
+ fieldSetId: number | null;
19
+ seqNo: number | null;
20
+ createdById: number | null;
21
+ updatedById: number | null;
22
+ };
23
+ export type StepSumAggregateOutputType = {
24
+ id: number | null;
25
+ operationId: number | null;
26
+ fieldSetId: number | null;
27
+ seqNo: number | null;
28
+ createdById: number | null;
29
+ updatedById: number | null;
30
+ };
31
+ export type StepMinAggregateOutputType = {
32
+ id: number | null;
33
+ operationId: number | null;
34
+ fieldSetId: number | null;
35
+ seqNo: number | null;
36
+ title: string | null;
37
+ instructions: string | null;
38
+ multiSet: boolean | null;
39
+ createdAt: Date | null;
40
+ createdById: number | null;
41
+ updatedAt: Date | null;
42
+ updatedById: number | null;
43
+ };
44
+ export type StepMaxAggregateOutputType = {
45
+ id: number | null;
46
+ operationId: number | null;
47
+ fieldSetId: number | null;
48
+ seqNo: number | null;
49
+ title: string | null;
50
+ instructions: string | null;
51
+ multiSet: boolean | null;
52
+ createdAt: Date | null;
53
+ createdById: number | null;
54
+ updatedAt: Date | null;
55
+ updatedById: number | null;
56
+ };
57
+ export type StepCountAggregateOutputType = {
58
+ id: number;
59
+ operationId: number;
60
+ fieldSetId: number;
61
+ seqNo: number;
62
+ title: number;
63
+ instructions: number;
64
+ multiSet: number;
65
+ createdAt: number;
66
+ createdById: number;
67
+ updatedAt: number;
68
+ updatedById: number;
69
+ _all: number;
70
+ };
71
+ export type StepAvgAggregateInputType = {
72
+ id?: true;
73
+ operationId?: true;
74
+ fieldSetId?: true;
75
+ seqNo?: true;
76
+ createdById?: true;
77
+ updatedById?: true;
78
+ };
79
+ export type StepSumAggregateInputType = {
80
+ id?: true;
81
+ operationId?: true;
82
+ fieldSetId?: true;
83
+ seqNo?: true;
84
+ createdById?: true;
85
+ updatedById?: true;
86
+ };
87
+ export type StepMinAggregateInputType = {
88
+ id?: true;
89
+ operationId?: true;
90
+ fieldSetId?: true;
91
+ seqNo?: true;
92
+ title?: true;
93
+ instructions?: true;
94
+ multiSet?: true;
95
+ createdAt?: true;
96
+ createdById?: true;
97
+ updatedAt?: true;
98
+ updatedById?: true;
99
+ };
100
+ export type StepMaxAggregateInputType = {
101
+ id?: true;
102
+ operationId?: true;
103
+ fieldSetId?: true;
104
+ seqNo?: true;
105
+ title?: true;
106
+ instructions?: true;
107
+ multiSet?: true;
108
+ createdAt?: true;
109
+ createdById?: true;
110
+ updatedAt?: true;
111
+ updatedById?: true;
112
+ };
113
+ export type StepCountAggregateInputType = {
114
+ id?: true;
115
+ operationId?: true;
116
+ fieldSetId?: true;
117
+ seqNo?: true;
118
+ title?: true;
119
+ instructions?: true;
120
+ multiSet?: true;
121
+ createdAt?: true;
122
+ createdById?: true;
123
+ updatedAt?: true;
124
+ updatedById?: true;
125
+ _all?: true;
126
+ };
127
+ export type StepAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
128
+ /**
129
+ * Filter which Step to aggregate.
130
+ */
131
+ where?: Prisma.StepWhereInput;
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
134
+ *
135
+ * Determine the order of Steps to fetch.
136
+ */
137
+ orderBy?: Prisma.StepOrderByWithRelationInput | Prisma.StepOrderByWithRelationInput[];
138
+ /**
139
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
140
+ *
141
+ * Sets the start position
142
+ */
143
+ cursor?: Prisma.StepWhereUniqueInput;
144
+ /**
145
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
146
+ *
147
+ * Take `±n` Steps from the position of the cursor.
148
+ */
149
+ take?: number;
150
+ /**
151
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
152
+ *
153
+ * Skip the first `n` Steps.
154
+ */
155
+ skip?: number;
156
+ /**
157
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
158
+ *
159
+ * Count returned Steps
160
+ **/
161
+ _count?: true | StepCountAggregateInputType;
162
+ /**
163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
164
+ *
165
+ * Select which fields to average
166
+ **/
167
+ _avg?: StepAvgAggregateInputType;
168
+ /**
169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
170
+ *
171
+ * Select which fields to sum
172
+ **/
173
+ _sum?: StepSumAggregateInputType;
174
+ /**
175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
176
+ *
177
+ * Select which fields to find the minimum value
178
+ **/
179
+ _min?: StepMinAggregateInputType;
180
+ /**
181
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
182
+ *
183
+ * Select which fields to find the maximum value
184
+ **/
185
+ _max?: StepMaxAggregateInputType;
186
+ };
187
+ export type GetStepAggregateType<T extends StepAggregateArgs> = {
188
+ [P in keyof T & keyof AggregateStep]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateStep[P]> : Prisma.GetScalarType<T[P], AggregateStep[P]>;
189
+ };
190
+ export type StepGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
191
+ where?: Prisma.StepWhereInput;
192
+ orderBy?: Prisma.StepOrderByWithAggregationInput | Prisma.StepOrderByWithAggregationInput[];
193
+ by: Prisma.StepScalarFieldEnum[] | Prisma.StepScalarFieldEnum;
194
+ having?: Prisma.StepScalarWhereWithAggregatesInput;
195
+ take?: number;
196
+ skip?: number;
197
+ _count?: StepCountAggregateInputType | true;
198
+ _avg?: StepAvgAggregateInputType;
199
+ _sum?: StepSumAggregateInputType;
200
+ _min?: StepMinAggregateInputType;
201
+ _max?: StepMaxAggregateInputType;
202
+ };
203
+ export type StepGroupByOutputType = {
204
+ id: number;
205
+ operationId: number;
206
+ fieldSetId: number | null;
207
+ seqNo: number;
208
+ title: string;
209
+ instructions: string;
210
+ multiSet: boolean;
211
+ createdAt: Date;
212
+ createdById: number;
213
+ updatedAt: Date;
214
+ updatedById: number;
215
+ _count: StepCountAggregateOutputType | null;
216
+ _avg: StepAvgAggregateOutputType | null;
217
+ _sum: StepSumAggregateOutputType | null;
218
+ _min: StepMinAggregateOutputType | null;
219
+ _max: StepMaxAggregateOutputType | null;
220
+ };
221
+ type GetStepGroupByPayload<T extends StepGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<StepGroupByOutputType, T['by']> & {
222
+ [P in ((keyof T) & (keyof StepGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], StepGroupByOutputType[P]> : Prisma.GetScalarType<T[P], StepGroupByOutputType[P]>;
223
+ }>>;
224
+ export type StepWhereInput = {
225
+ AND?: Prisma.StepWhereInput | Prisma.StepWhereInput[];
226
+ OR?: Prisma.StepWhereInput[];
227
+ NOT?: Prisma.StepWhereInput | Prisma.StepWhereInput[];
228
+ id?: Prisma.IntFilter<"Step"> | number;
229
+ operationId?: Prisma.IntFilter<"Step"> | number;
230
+ fieldSetId?: Prisma.IntNullableFilter<"Step"> | number | null;
231
+ seqNo?: Prisma.IntFilter<"Step"> | number;
232
+ title?: Prisma.StringFilter<"Step"> | string;
233
+ instructions?: Prisma.StringFilter<"Step"> | string;
234
+ multiSet?: Prisma.BoolFilter<"Step"> | boolean;
235
+ createdAt?: Prisma.DateTimeFilter<"Step"> | Date | string;
236
+ createdById?: Prisma.IntFilter<"Step"> | number;
237
+ updatedAt?: Prisma.DateTimeFilter<"Step"> | Date | string;
238
+ updatedById?: Prisma.IntFilter<"Step"> | number;
239
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
240
+ updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
241
+ operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
242
+ fieldSet?: Prisma.XOR<Prisma.FieldSetNullableScalarRelationFilter, Prisma.FieldSetWhereInput> | null;
243
+ stepRuns?: Prisma.StepRunListRelationFilter;
244
+ fieldRefSources?: Prisma.OperationFieldRefListRelationFilter;
245
+ };
246
+ export type StepOrderByWithRelationInput = {
247
+ id?: Prisma.SortOrder;
248
+ operationId?: Prisma.SortOrder;
249
+ fieldSetId?: Prisma.SortOrderInput | Prisma.SortOrder;
250
+ seqNo?: Prisma.SortOrder;
251
+ title?: Prisma.SortOrder;
252
+ instructions?: Prisma.SortOrder;
253
+ multiSet?: Prisma.SortOrder;
254
+ createdAt?: Prisma.SortOrder;
255
+ createdById?: Prisma.SortOrder;
256
+ updatedAt?: Prisma.SortOrder;
257
+ updatedById?: Prisma.SortOrder;
258
+ createdBy?: Prisma.UserOrderByWithRelationInput;
259
+ updatedBy?: Prisma.UserOrderByWithRelationInput;
260
+ operation?: Prisma.OperationOrderByWithRelationInput;
261
+ fieldSet?: Prisma.FieldSetOrderByWithRelationInput;
262
+ stepRuns?: Prisma.StepRunOrderByRelationAggregateInput;
263
+ fieldRefSources?: Prisma.OperationFieldRefOrderByRelationAggregateInput;
264
+ };
265
+ export type StepWhereUniqueInput = Prisma.AtLeast<{
266
+ id?: number;
267
+ operationId_seqNo?: Prisma.StepOperationIdSeqNoCompoundUniqueInput;
268
+ AND?: Prisma.StepWhereInput | Prisma.StepWhereInput[];
269
+ OR?: Prisma.StepWhereInput[];
270
+ NOT?: Prisma.StepWhereInput | Prisma.StepWhereInput[];
271
+ operationId?: Prisma.IntFilter<"Step"> | number;
272
+ fieldSetId?: Prisma.IntNullableFilter<"Step"> | number | null;
273
+ seqNo?: Prisma.IntFilter<"Step"> | number;
274
+ title?: Prisma.StringFilter<"Step"> | string;
275
+ instructions?: Prisma.StringFilter<"Step"> | string;
276
+ multiSet?: Prisma.BoolFilter<"Step"> | boolean;
277
+ createdAt?: Prisma.DateTimeFilter<"Step"> | Date | string;
278
+ createdById?: Prisma.IntFilter<"Step"> | number;
279
+ updatedAt?: Prisma.DateTimeFilter<"Step"> | Date | string;
280
+ updatedById?: Prisma.IntFilter<"Step"> | number;
281
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
282
+ updatedBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
283
+ operation?: Prisma.XOR<Prisma.OperationScalarRelationFilter, Prisma.OperationWhereInput>;
284
+ fieldSet?: Prisma.XOR<Prisma.FieldSetNullableScalarRelationFilter, Prisma.FieldSetWhereInput> | null;
285
+ stepRuns?: Prisma.StepRunListRelationFilter;
286
+ fieldRefSources?: Prisma.OperationFieldRefListRelationFilter;
287
+ }, "id" | "operationId_seqNo">;
288
+ export type StepOrderByWithAggregationInput = {
289
+ id?: Prisma.SortOrder;
290
+ operationId?: Prisma.SortOrder;
291
+ fieldSetId?: Prisma.SortOrderInput | Prisma.SortOrder;
292
+ seqNo?: Prisma.SortOrder;
293
+ title?: Prisma.SortOrder;
294
+ instructions?: Prisma.SortOrder;
295
+ multiSet?: Prisma.SortOrder;
296
+ createdAt?: Prisma.SortOrder;
297
+ createdById?: Prisma.SortOrder;
298
+ updatedAt?: Prisma.SortOrder;
299
+ updatedById?: Prisma.SortOrder;
300
+ _count?: Prisma.StepCountOrderByAggregateInput;
301
+ _avg?: Prisma.StepAvgOrderByAggregateInput;
302
+ _max?: Prisma.StepMaxOrderByAggregateInput;
303
+ _min?: Prisma.StepMinOrderByAggregateInput;
304
+ _sum?: Prisma.StepSumOrderByAggregateInput;
305
+ };
306
+ export type StepScalarWhereWithAggregatesInput = {
307
+ AND?: Prisma.StepScalarWhereWithAggregatesInput | Prisma.StepScalarWhereWithAggregatesInput[];
308
+ OR?: Prisma.StepScalarWhereWithAggregatesInput[];
309
+ NOT?: Prisma.StepScalarWhereWithAggregatesInput | Prisma.StepScalarWhereWithAggregatesInput[];
310
+ id?: Prisma.IntWithAggregatesFilter<"Step"> | number;
311
+ operationId?: Prisma.IntWithAggregatesFilter<"Step"> | number;
312
+ fieldSetId?: Prisma.IntNullableWithAggregatesFilter<"Step"> | number | null;
313
+ seqNo?: Prisma.IntWithAggregatesFilter<"Step"> | number;
314
+ title?: Prisma.StringWithAggregatesFilter<"Step"> | string;
315
+ instructions?: Prisma.StringWithAggregatesFilter<"Step"> | string;
316
+ multiSet?: Prisma.BoolWithAggregatesFilter<"Step"> | boolean;
317
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Step"> | Date | string;
318
+ createdById?: Prisma.IntWithAggregatesFilter<"Step"> | number;
319
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Step"> | Date | string;
320
+ updatedById?: Prisma.IntWithAggregatesFilter<"Step"> | number;
321
+ };
322
+ export type StepCreateInput = {
323
+ seqNo: number;
324
+ title?: string;
325
+ instructions?: string;
326
+ multiSet?: boolean;
327
+ createdAt?: Date | string;
328
+ updatedAt?: Date | string;
329
+ createdBy: Prisma.UserCreateNestedOneWithoutStepsCreatedInput;
330
+ updatedBy: Prisma.UserCreateNestedOneWithoutStepsUpdatedInput;
331
+ operation: Prisma.OperationCreateNestedOneWithoutStepsInput;
332
+ fieldSet?: Prisma.FieldSetCreateNestedOneWithoutStepsInput;
333
+ stepRuns?: Prisma.StepRunCreateNestedManyWithoutStepInput;
334
+ fieldRefSources?: Prisma.OperationFieldRefCreateNestedManyWithoutSourceStepInput;
335
+ };
336
+ export type StepUncheckedCreateInput = {
337
+ id?: number;
338
+ operationId: number;
339
+ fieldSetId?: number | null;
340
+ seqNo: number;
341
+ title?: string;
342
+ instructions?: string;
343
+ multiSet?: boolean;
344
+ createdAt?: Date | string;
345
+ createdById: number;
346
+ updatedAt?: Date | string;
347
+ updatedById: number;
348
+ stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutStepInput;
349
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedCreateNestedManyWithoutSourceStepInput;
350
+ };
351
+ export type StepUpdateInput = {
352
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
353
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
354
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
355
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
356
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
357
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
358
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStepsCreatedNestedInput;
359
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutStepsUpdatedNestedInput;
360
+ operation?: Prisma.OperationUpdateOneRequiredWithoutStepsNestedInput;
361
+ fieldSet?: Prisma.FieldSetUpdateOneWithoutStepsNestedInput;
362
+ stepRuns?: Prisma.StepRunUpdateManyWithoutStepNestedInput;
363
+ fieldRefSources?: Prisma.OperationFieldRefUpdateManyWithoutSourceStepNestedInput;
364
+ };
365
+ export type StepUncheckedUpdateInput = {
366
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
367
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
368
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
369
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
370
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
371
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
372
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
373
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
374
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
375
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
376
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
377
+ stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutStepNestedInput;
378
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedUpdateManyWithoutSourceStepNestedInput;
379
+ };
380
+ export type StepCreateManyInput = {
381
+ id?: number;
382
+ operationId: number;
383
+ fieldSetId?: number | null;
384
+ seqNo: number;
385
+ title?: string;
386
+ instructions?: string;
387
+ multiSet?: boolean;
388
+ createdAt?: Date | string;
389
+ createdById: number;
390
+ updatedAt?: Date | string;
391
+ updatedById: number;
392
+ };
393
+ export type StepUpdateManyMutationInput = {
394
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
395
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
396
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
397
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
398
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
399
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
400
+ };
401
+ export type StepUncheckedUpdateManyInput = {
402
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
403
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
404
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
405
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
406
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
407
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
408
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
409
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
410
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
411
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
412
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
413
+ };
414
+ export type StepListRelationFilter = {
415
+ every?: Prisma.StepWhereInput;
416
+ some?: Prisma.StepWhereInput;
417
+ none?: Prisma.StepWhereInput;
418
+ };
419
+ export type StepOrderByRelationAggregateInput = {
420
+ _count?: Prisma.SortOrder;
421
+ };
422
+ export type StepScalarRelationFilter = {
423
+ is?: Prisma.StepWhereInput;
424
+ isNot?: Prisma.StepWhereInput;
425
+ };
426
+ export type StepOperationIdSeqNoCompoundUniqueInput = {
427
+ operationId: number;
428
+ seqNo: number;
429
+ };
430
+ export type StepCountOrderByAggregateInput = {
431
+ id?: Prisma.SortOrder;
432
+ operationId?: Prisma.SortOrder;
433
+ fieldSetId?: Prisma.SortOrder;
434
+ seqNo?: Prisma.SortOrder;
435
+ title?: Prisma.SortOrder;
436
+ instructions?: Prisma.SortOrder;
437
+ multiSet?: Prisma.SortOrder;
438
+ createdAt?: Prisma.SortOrder;
439
+ createdById?: Prisma.SortOrder;
440
+ updatedAt?: Prisma.SortOrder;
441
+ updatedById?: Prisma.SortOrder;
442
+ };
443
+ export type StepAvgOrderByAggregateInput = {
444
+ id?: Prisma.SortOrder;
445
+ operationId?: Prisma.SortOrder;
446
+ fieldSetId?: Prisma.SortOrder;
447
+ seqNo?: Prisma.SortOrder;
448
+ createdById?: Prisma.SortOrder;
449
+ updatedById?: Prisma.SortOrder;
450
+ };
451
+ export type StepMaxOrderByAggregateInput = {
452
+ id?: Prisma.SortOrder;
453
+ operationId?: Prisma.SortOrder;
454
+ fieldSetId?: Prisma.SortOrder;
455
+ seqNo?: Prisma.SortOrder;
456
+ title?: Prisma.SortOrder;
457
+ instructions?: Prisma.SortOrder;
458
+ multiSet?: Prisma.SortOrder;
459
+ createdAt?: Prisma.SortOrder;
460
+ createdById?: Prisma.SortOrder;
461
+ updatedAt?: Prisma.SortOrder;
462
+ updatedById?: Prisma.SortOrder;
463
+ };
464
+ export type StepMinOrderByAggregateInput = {
465
+ id?: Prisma.SortOrder;
466
+ operationId?: Prisma.SortOrder;
467
+ fieldSetId?: Prisma.SortOrder;
468
+ seqNo?: Prisma.SortOrder;
469
+ title?: Prisma.SortOrder;
470
+ instructions?: Prisma.SortOrder;
471
+ multiSet?: Prisma.SortOrder;
472
+ createdAt?: Prisma.SortOrder;
473
+ createdById?: Prisma.SortOrder;
474
+ updatedAt?: Prisma.SortOrder;
475
+ updatedById?: Prisma.SortOrder;
476
+ };
477
+ export type StepSumOrderByAggregateInput = {
478
+ id?: Prisma.SortOrder;
479
+ operationId?: Prisma.SortOrder;
480
+ fieldSetId?: Prisma.SortOrder;
481
+ seqNo?: Prisma.SortOrder;
482
+ createdById?: Prisma.SortOrder;
483
+ updatedById?: Prisma.SortOrder;
484
+ };
485
+ export type StepCreateNestedManyWithoutOperationInput = {
486
+ create?: Prisma.XOR<Prisma.StepCreateWithoutOperationInput, Prisma.StepUncheckedCreateWithoutOperationInput> | Prisma.StepCreateWithoutOperationInput[] | Prisma.StepUncheckedCreateWithoutOperationInput[];
487
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutOperationInput | Prisma.StepCreateOrConnectWithoutOperationInput[];
488
+ createMany?: Prisma.StepCreateManyOperationInputEnvelope;
489
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
490
+ };
491
+ export type StepUncheckedCreateNestedManyWithoutOperationInput = {
492
+ create?: Prisma.XOR<Prisma.StepCreateWithoutOperationInput, Prisma.StepUncheckedCreateWithoutOperationInput> | Prisma.StepCreateWithoutOperationInput[] | Prisma.StepUncheckedCreateWithoutOperationInput[];
493
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutOperationInput | Prisma.StepCreateOrConnectWithoutOperationInput[];
494
+ createMany?: Prisma.StepCreateManyOperationInputEnvelope;
495
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
496
+ };
497
+ export type StepUpdateManyWithoutOperationNestedInput = {
498
+ create?: Prisma.XOR<Prisma.StepCreateWithoutOperationInput, Prisma.StepUncheckedCreateWithoutOperationInput> | Prisma.StepCreateWithoutOperationInput[] | Prisma.StepUncheckedCreateWithoutOperationInput[];
499
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutOperationInput | Prisma.StepCreateOrConnectWithoutOperationInput[];
500
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutOperationInput | Prisma.StepUpsertWithWhereUniqueWithoutOperationInput[];
501
+ createMany?: Prisma.StepCreateManyOperationInputEnvelope;
502
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
503
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
504
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
505
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
506
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutOperationInput | Prisma.StepUpdateWithWhereUniqueWithoutOperationInput[];
507
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutOperationInput | Prisma.StepUpdateManyWithWhereWithoutOperationInput[];
508
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
509
+ };
510
+ export type StepUncheckedUpdateManyWithoutOperationNestedInput = {
511
+ create?: Prisma.XOR<Prisma.StepCreateWithoutOperationInput, Prisma.StepUncheckedCreateWithoutOperationInput> | Prisma.StepCreateWithoutOperationInput[] | Prisma.StepUncheckedCreateWithoutOperationInput[];
512
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutOperationInput | Prisma.StepCreateOrConnectWithoutOperationInput[];
513
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutOperationInput | Prisma.StepUpsertWithWhereUniqueWithoutOperationInput[];
514
+ createMany?: Prisma.StepCreateManyOperationInputEnvelope;
515
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
516
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
517
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
518
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
519
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutOperationInput | Prisma.StepUpdateWithWhereUniqueWithoutOperationInput[];
520
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutOperationInput | Prisma.StepUpdateManyWithWhereWithoutOperationInput[];
521
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
522
+ };
523
+ export type StepCreateNestedOneWithoutFieldRefSourcesInput = {
524
+ create?: Prisma.XOR<Prisma.StepCreateWithoutFieldRefSourcesInput, Prisma.StepUncheckedCreateWithoutFieldRefSourcesInput>;
525
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutFieldRefSourcesInput;
526
+ connect?: Prisma.StepWhereUniqueInput;
527
+ };
528
+ export type StepUpdateOneRequiredWithoutFieldRefSourcesNestedInput = {
529
+ create?: Prisma.XOR<Prisma.StepCreateWithoutFieldRefSourcesInput, Prisma.StepUncheckedCreateWithoutFieldRefSourcesInput>;
530
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutFieldRefSourcesInput;
531
+ upsert?: Prisma.StepUpsertWithoutFieldRefSourcesInput;
532
+ connect?: Prisma.StepWhereUniqueInput;
533
+ update?: Prisma.XOR<Prisma.XOR<Prisma.StepUpdateToOneWithWhereWithoutFieldRefSourcesInput, Prisma.StepUpdateWithoutFieldRefSourcesInput>, Prisma.StepUncheckedUpdateWithoutFieldRefSourcesInput>;
534
+ };
535
+ export type StepCreateNestedManyWithoutFieldSetInput = {
536
+ create?: Prisma.XOR<Prisma.StepCreateWithoutFieldSetInput, Prisma.StepUncheckedCreateWithoutFieldSetInput> | Prisma.StepCreateWithoutFieldSetInput[] | Prisma.StepUncheckedCreateWithoutFieldSetInput[];
537
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutFieldSetInput | Prisma.StepCreateOrConnectWithoutFieldSetInput[];
538
+ createMany?: Prisma.StepCreateManyFieldSetInputEnvelope;
539
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
540
+ };
541
+ export type StepUncheckedCreateNestedManyWithoutFieldSetInput = {
542
+ create?: Prisma.XOR<Prisma.StepCreateWithoutFieldSetInput, Prisma.StepUncheckedCreateWithoutFieldSetInput> | Prisma.StepCreateWithoutFieldSetInput[] | Prisma.StepUncheckedCreateWithoutFieldSetInput[];
543
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutFieldSetInput | Prisma.StepCreateOrConnectWithoutFieldSetInput[];
544
+ createMany?: Prisma.StepCreateManyFieldSetInputEnvelope;
545
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
546
+ };
547
+ export type StepUpdateManyWithoutFieldSetNestedInput = {
548
+ create?: Prisma.XOR<Prisma.StepCreateWithoutFieldSetInput, Prisma.StepUncheckedCreateWithoutFieldSetInput> | Prisma.StepCreateWithoutFieldSetInput[] | Prisma.StepUncheckedCreateWithoutFieldSetInput[];
549
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutFieldSetInput | Prisma.StepCreateOrConnectWithoutFieldSetInput[];
550
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutFieldSetInput | Prisma.StepUpsertWithWhereUniqueWithoutFieldSetInput[];
551
+ createMany?: Prisma.StepCreateManyFieldSetInputEnvelope;
552
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
553
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
554
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
555
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
556
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutFieldSetInput | Prisma.StepUpdateWithWhereUniqueWithoutFieldSetInput[];
557
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutFieldSetInput | Prisma.StepUpdateManyWithWhereWithoutFieldSetInput[];
558
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
559
+ };
560
+ export type StepUncheckedUpdateManyWithoutFieldSetNestedInput = {
561
+ create?: Prisma.XOR<Prisma.StepCreateWithoutFieldSetInput, Prisma.StepUncheckedCreateWithoutFieldSetInput> | Prisma.StepCreateWithoutFieldSetInput[] | Prisma.StepUncheckedCreateWithoutFieldSetInput[];
562
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutFieldSetInput | Prisma.StepCreateOrConnectWithoutFieldSetInput[];
563
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutFieldSetInput | Prisma.StepUpsertWithWhereUniqueWithoutFieldSetInput[];
564
+ createMany?: Prisma.StepCreateManyFieldSetInputEnvelope;
565
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
566
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
567
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
568
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
569
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutFieldSetInput | Prisma.StepUpdateWithWhereUniqueWithoutFieldSetInput[];
570
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutFieldSetInput | Prisma.StepUpdateManyWithWhereWithoutFieldSetInput[];
571
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
572
+ };
573
+ export type StepCreateNestedOneWithoutStepRunsInput = {
574
+ create?: Prisma.XOR<Prisma.StepCreateWithoutStepRunsInput, Prisma.StepUncheckedCreateWithoutStepRunsInput>;
575
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutStepRunsInput;
576
+ connect?: Prisma.StepWhereUniqueInput;
577
+ };
578
+ export type StepUpdateOneRequiredWithoutStepRunsNestedInput = {
579
+ create?: Prisma.XOR<Prisma.StepCreateWithoutStepRunsInput, Prisma.StepUncheckedCreateWithoutStepRunsInput>;
580
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutStepRunsInput;
581
+ upsert?: Prisma.StepUpsertWithoutStepRunsInput;
582
+ connect?: Prisma.StepWhereUniqueInput;
583
+ update?: Prisma.XOR<Prisma.XOR<Prisma.StepUpdateToOneWithWhereWithoutStepRunsInput, Prisma.StepUpdateWithoutStepRunsInput>, Prisma.StepUncheckedUpdateWithoutStepRunsInput>;
584
+ };
585
+ export type StepCreateNestedManyWithoutCreatedByInput = {
586
+ create?: Prisma.XOR<Prisma.StepCreateWithoutCreatedByInput, Prisma.StepUncheckedCreateWithoutCreatedByInput> | Prisma.StepCreateWithoutCreatedByInput[] | Prisma.StepUncheckedCreateWithoutCreatedByInput[];
587
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutCreatedByInput | Prisma.StepCreateOrConnectWithoutCreatedByInput[];
588
+ createMany?: Prisma.StepCreateManyCreatedByInputEnvelope;
589
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
590
+ };
591
+ export type StepCreateNestedManyWithoutUpdatedByInput = {
592
+ create?: Prisma.XOR<Prisma.StepCreateWithoutUpdatedByInput, Prisma.StepUncheckedCreateWithoutUpdatedByInput> | Prisma.StepCreateWithoutUpdatedByInput[] | Prisma.StepUncheckedCreateWithoutUpdatedByInput[];
593
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutUpdatedByInput | Prisma.StepCreateOrConnectWithoutUpdatedByInput[];
594
+ createMany?: Prisma.StepCreateManyUpdatedByInputEnvelope;
595
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
596
+ };
597
+ export type StepUncheckedCreateNestedManyWithoutCreatedByInput = {
598
+ create?: Prisma.XOR<Prisma.StepCreateWithoutCreatedByInput, Prisma.StepUncheckedCreateWithoutCreatedByInput> | Prisma.StepCreateWithoutCreatedByInput[] | Prisma.StepUncheckedCreateWithoutCreatedByInput[];
599
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutCreatedByInput | Prisma.StepCreateOrConnectWithoutCreatedByInput[];
600
+ createMany?: Prisma.StepCreateManyCreatedByInputEnvelope;
601
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
602
+ };
603
+ export type StepUncheckedCreateNestedManyWithoutUpdatedByInput = {
604
+ create?: Prisma.XOR<Prisma.StepCreateWithoutUpdatedByInput, Prisma.StepUncheckedCreateWithoutUpdatedByInput> | Prisma.StepCreateWithoutUpdatedByInput[] | Prisma.StepUncheckedCreateWithoutUpdatedByInput[];
605
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutUpdatedByInput | Prisma.StepCreateOrConnectWithoutUpdatedByInput[];
606
+ createMany?: Prisma.StepCreateManyUpdatedByInputEnvelope;
607
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
608
+ };
609
+ export type StepUpdateManyWithoutCreatedByNestedInput = {
610
+ create?: Prisma.XOR<Prisma.StepCreateWithoutCreatedByInput, Prisma.StepUncheckedCreateWithoutCreatedByInput> | Prisma.StepCreateWithoutCreatedByInput[] | Prisma.StepUncheckedCreateWithoutCreatedByInput[];
611
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutCreatedByInput | Prisma.StepCreateOrConnectWithoutCreatedByInput[];
612
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.StepUpsertWithWhereUniqueWithoutCreatedByInput[];
613
+ createMany?: Prisma.StepCreateManyCreatedByInputEnvelope;
614
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
615
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
616
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
617
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
618
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.StepUpdateWithWhereUniqueWithoutCreatedByInput[];
619
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutCreatedByInput | Prisma.StepUpdateManyWithWhereWithoutCreatedByInput[];
620
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
621
+ };
622
+ export type StepUpdateManyWithoutUpdatedByNestedInput = {
623
+ create?: Prisma.XOR<Prisma.StepCreateWithoutUpdatedByInput, Prisma.StepUncheckedCreateWithoutUpdatedByInput> | Prisma.StepCreateWithoutUpdatedByInput[] | Prisma.StepUncheckedCreateWithoutUpdatedByInput[];
624
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutUpdatedByInput | Prisma.StepCreateOrConnectWithoutUpdatedByInput[];
625
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.StepUpsertWithWhereUniqueWithoutUpdatedByInput[];
626
+ createMany?: Prisma.StepCreateManyUpdatedByInputEnvelope;
627
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
628
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
629
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
630
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
631
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.StepUpdateWithWhereUniqueWithoutUpdatedByInput[];
632
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutUpdatedByInput | Prisma.StepUpdateManyWithWhereWithoutUpdatedByInput[];
633
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
634
+ };
635
+ export type StepUncheckedUpdateManyWithoutCreatedByNestedInput = {
636
+ create?: Prisma.XOR<Prisma.StepCreateWithoutCreatedByInput, Prisma.StepUncheckedCreateWithoutCreatedByInput> | Prisma.StepCreateWithoutCreatedByInput[] | Prisma.StepUncheckedCreateWithoutCreatedByInput[];
637
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutCreatedByInput | Prisma.StepCreateOrConnectWithoutCreatedByInput[];
638
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.StepUpsertWithWhereUniqueWithoutCreatedByInput[];
639
+ createMany?: Prisma.StepCreateManyCreatedByInputEnvelope;
640
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
641
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
642
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
643
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
644
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.StepUpdateWithWhereUniqueWithoutCreatedByInput[];
645
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutCreatedByInput | Prisma.StepUpdateManyWithWhereWithoutCreatedByInput[];
646
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
647
+ };
648
+ export type StepUncheckedUpdateManyWithoutUpdatedByNestedInput = {
649
+ create?: Prisma.XOR<Prisma.StepCreateWithoutUpdatedByInput, Prisma.StepUncheckedCreateWithoutUpdatedByInput> | Prisma.StepCreateWithoutUpdatedByInput[] | Prisma.StepUncheckedCreateWithoutUpdatedByInput[];
650
+ connectOrCreate?: Prisma.StepCreateOrConnectWithoutUpdatedByInput | Prisma.StepCreateOrConnectWithoutUpdatedByInput[];
651
+ upsert?: Prisma.StepUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.StepUpsertWithWhereUniqueWithoutUpdatedByInput[];
652
+ createMany?: Prisma.StepCreateManyUpdatedByInputEnvelope;
653
+ set?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
654
+ disconnect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
655
+ delete?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
656
+ connect?: Prisma.StepWhereUniqueInput | Prisma.StepWhereUniqueInput[];
657
+ update?: Prisma.StepUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.StepUpdateWithWhereUniqueWithoutUpdatedByInput[];
658
+ updateMany?: Prisma.StepUpdateManyWithWhereWithoutUpdatedByInput | Prisma.StepUpdateManyWithWhereWithoutUpdatedByInput[];
659
+ deleteMany?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
660
+ };
661
+ export type StepCreateWithoutOperationInput = {
662
+ seqNo: number;
663
+ title?: string;
664
+ instructions?: string;
665
+ multiSet?: boolean;
666
+ createdAt?: Date | string;
667
+ updatedAt?: Date | string;
668
+ createdBy: Prisma.UserCreateNestedOneWithoutStepsCreatedInput;
669
+ updatedBy: Prisma.UserCreateNestedOneWithoutStepsUpdatedInput;
670
+ fieldSet?: Prisma.FieldSetCreateNestedOneWithoutStepsInput;
671
+ stepRuns?: Prisma.StepRunCreateNestedManyWithoutStepInput;
672
+ fieldRefSources?: Prisma.OperationFieldRefCreateNestedManyWithoutSourceStepInput;
673
+ };
674
+ export type StepUncheckedCreateWithoutOperationInput = {
675
+ id?: number;
676
+ fieldSetId?: number | null;
677
+ seqNo: number;
678
+ title?: string;
679
+ instructions?: string;
680
+ multiSet?: boolean;
681
+ createdAt?: Date | string;
682
+ createdById: number;
683
+ updatedAt?: Date | string;
684
+ updatedById: number;
685
+ stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutStepInput;
686
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedCreateNestedManyWithoutSourceStepInput;
687
+ };
688
+ export type StepCreateOrConnectWithoutOperationInput = {
689
+ where: Prisma.StepWhereUniqueInput;
690
+ create: Prisma.XOR<Prisma.StepCreateWithoutOperationInput, Prisma.StepUncheckedCreateWithoutOperationInput>;
691
+ };
692
+ export type StepCreateManyOperationInputEnvelope = {
693
+ data: Prisma.StepCreateManyOperationInput | Prisma.StepCreateManyOperationInput[];
694
+ };
695
+ export type StepUpsertWithWhereUniqueWithoutOperationInput = {
696
+ where: Prisma.StepWhereUniqueInput;
697
+ update: Prisma.XOR<Prisma.StepUpdateWithoutOperationInput, Prisma.StepUncheckedUpdateWithoutOperationInput>;
698
+ create: Prisma.XOR<Prisma.StepCreateWithoutOperationInput, Prisma.StepUncheckedCreateWithoutOperationInput>;
699
+ };
700
+ export type StepUpdateWithWhereUniqueWithoutOperationInput = {
701
+ where: Prisma.StepWhereUniqueInput;
702
+ data: Prisma.XOR<Prisma.StepUpdateWithoutOperationInput, Prisma.StepUncheckedUpdateWithoutOperationInput>;
703
+ };
704
+ export type StepUpdateManyWithWhereWithoutOperationInput = {
705
+ where: Prisma.StepScalarWhereInput;
706
+ data: Prisma.XOR<Prisma.StepUpdateManyMutationInput, Prisma.StepUncheckedUpdateManyWithoutOperationInput>;
707
+ };
708
+ export type StepScalarWhereInput = {
709
+ AND?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
710
+ OR?: Prisma.StepScalarWhereInput[];
711
+ NOT?: Prisma.StepScalarWhereInput | Prisma.StepScalarWhereInput[];
712
+ id?: Prisma.IntFilter<"Step"> | number;
713
+ operationId?: Prisma.IntFilter<"Step"> | number;
714
+ fieldSetId?: Prisma.IntNullableFilter<"Step"> | number | null;
715
+ seqNo?: Prisma.IntFilter<"Step"> | number;
716
+ title?: Prisma.StringFilter<"Step"> | string;
717
+ instructions?: Prisma.StringFilter<"Step"> | string;
718
+ multiSet?: Prisma.BoolFilter<"Step"> | boolean;
719
+ createdAt?: Prisma.DateTimeFilter<"Step"> | Date | string;
720
+ createdById?: Prisma.IntFilter<"Step"> | number;
721
+ updatedAt?: Prisma.DateTimeFilter<"Step"> | Date | string;
722
+ updatedById?: Prisma.IntFilter<"Step"> | number;
723
+ };
724
+ export type StepCreateWithoutFieldRefSourcesInput = {
725
+ seqNo: number;
726
+ title?: string;
727
+ instructions?: string;
728
+ multiSet?: boolean;
729
+ createdAt?: Date | string;
730
+ updatedAt?: Date | string;
731
+ createdBy: Prisma.UserCreateNestedOneWithoutStepsCreatedInput;
732
+ updatedBy: Prisma.UserCreateNestedOneWithoutStepsUpdatedInput;
733
+ operation: Prisma.OperationCreateNestedOneWithoutStepsInput;
734
+ fieldSet?: Prisma.FieldSetCreateNestedOneWithoutStepsInput;
735
+ stepRuns?: Prisma.StepRunCreateNestedManyWithoutStepInput;
736
+ };
737
+ export type StepUncheckedCreateWithoutFieldRefSourcesInput = {
738
+ id?: number;
739
+ operationId: number;
740
+ fieldSetId?: number | null;
741
+ seqNo: number;
742
+ title?: string;
743
+ instructions?: string;
744
+ multiSet?: boolean;
745
+ createdAt?: Date | string;
746
+ createdById: number;
747
+ updatedAt?: Date | string;
748
+ updatedById: number;
749
+ stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutStepInput;
750
+ };
751
+ export type StepCreateOrConnectWithoutFieldRefSourcesInput = {
752
+ where: Prisma.StepWhereUniqueInput;
753
+ create: Prisma.XOR<Prisma.StepCreateWithoutFieldRefSourcesInput, Prisma.StepUncheckedCreateWithoutFieldRefSourcesInput>;
754
+ };
755
+ export type StepUpsertWithoutFieldRefSourcesInput = {
756
+ update: Prisma.XOR<Prisma.StepUpdateWithoutFieldRefSourcesInput, Prisma.StepUncheckedUpdateWithoutFieldRefSourcesInput>;
757
+ create: Prisma.XOR<Prisma.StepCreateWithoutFieldRefSourcesInput, Prisma.StepUncheckedCreateWithoutFieldRefSourcesInput>;
758
+ where?: Prisma.StepWhereInput;
759
+ };
760
+ export type StepUpdateToOneWithWhereWithoutFieldRefSourcesInput = {
761
+ where?: Prisma.StepWhereInput;
762
+ data: Prisma.XOR<Prisma.StepUpdateWithoutFieldRefSourcesInput, Prisma.StepUncheckedUpdateWithoutFieldRefSourcesInput>;
763
+ };
764
+ export type StepUpdateWithoutFieldRefSourcesInput = {
765
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
766
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
767
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
768
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
769
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
770
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
771
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStepsCreatedNestedInput;
772
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutStepsUpdatedNestedInput;
773
+ operation?: Prisma.OperationUpdateOneRequiredWithoutStepsNestedInput;
774
+ fieldSet?: Prisma.FieldSetUpdateOneWithoutStepsNestedInput;
775
+ stepRuns?: Prisma.StepRunUpdateManyWithoutStepNestedInput;
776
+ };
777
+ export type StepUncheckedUpdateWithoutFieldRefSourcesInput = {
778
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
779
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
780
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
781
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
782
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
783
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
784
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
785
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
786
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
787
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
788
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
789
+ stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutStepNestedInput;
790
+ };
791
+ export type StepCreateWithoutFieldSetInput = {
792
+ seqNo: number;
793
+ title?: string;
794
+ instructions?: string;
795
+ multiSet?: boolean;
796
+ createdAt?: Date | string;
797
+ updatedAt?: Date | string;
798
+ createdBy: Prisma.UserCreateNestedOneWithoutStepsCreatedInput;
799
+ updatedBy: Prisma.UserCreateNestedOneWithoutStepsUpdatedInput;
800
+ operation: Prisma.OperationCreateNestedOneWithoutStepsInput;
801
+ stepRuns?: Prisma.StepRunCreateNestedManyWithoutStepInput;
802
+ fieldRefSources?: Prisma.OperationFieldRefCreateNestedManyWithoutSourceStepInput;
803
+ };
804
+ export type StepUncheckedCreateWithoutFieldSetInput = {
805
+ id?: number;
806
+ operationId: number;
807
+ seqNo: number;
808
+ title?: string;
809
+ instructions?: string;
810
+ multiSet?: boolean;
811
+ createdAt?: Date | string;
812
+ createdById: number;
813
+ updatedAt?: Date | string;
814
+ updatedById: number;
815
+ stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutStepInput;
816
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedCreateNestedManyWithoutSourceStepInput;
817
+ };
818
+ export type StepCreateOrConnectWithoutFieldSetInput = {
819
+ where: Prisma.StepWhereUniqueInput;
820
+ create: Prisma.XOR<Prisma.StepCreateWithoutFieldSetInput, Prisma.StepUncheckedCreateWithoutFieldSetInput>;
821
+ };
822
+ export type StepCreateManyFieldSetInputEnvelope = {
823
+ data: Prisma.StepCreateManyFieldSetInput | Prisma.StepCreateManyFieldSetInput[];
824
+ };
825
+ export type StepUpsertWithWhereUniqueWithoutFieldSetInput = {
826
+ where: Prisma.StepWhereUniqueInput;
827
+ update: Prisma.XOR<Prisma.StepUpdateWithoutFieldSetInput, Prisma.StepUncheckedUpdateWithoutFieldSetInput>;
828
+ create: Prisma.XOR<Prisma.StepCreateWithoutFieldSetInput, Prisma.StepUncheckedCreateWithoutFieldSetInput>;
829
+ };
830
+ export type StepUpdateWithWhereUniqueWithoutFieldSetInput = {
831
+ where: Prisma.StepWhereUniqueInput;
832
+ data: Prisma.XOR<Prisma.StepUpdateWithoutFieldSetInput, Prisma.StepUncheckedUpdateWithoutFieldSetInput>;
833
+ };
834
+ export type StepUpdateManyWithWhereWithoutFieldSetInput = {
835
+ where: Prisma.StepScalarWhereInput;
836
+ data: Prisma.XOR<Prisma.StepUpdateManyMutationInput, Prisma.StepUncheckedUpdateManyWithoutFieldSetInput>;
837
+ };
838
+ export type StepCreateWithoutStepRunsInput = {
839
+ seqNo: number;
840
+ title?: string;
841
+ instructions?: string;
842
+ multiSet?: boolean;
843
+ createdAt?: Date | string;
844
+ updatedAt?: Date | string;
845
+ createdBy: Prisma.UserCreateNestedOneWithoutStepsCreatedInput;
846
+ updatedBy: Prisma.UserCreateNestedOneWithoutStepsUpdatedInput;
847
+ operation: Prisma.OperationCreateNestedOneWithoutStepsInput;
848
+ fieldSet?: Prisma.FieldSetCreateNestedOneWithoutStepsInput;
849
+ fieldRefSources?: Prisma.OperationFieldRefCreateNestedManyWithoutSourceStepInput;
850
+ };
851
+ export type StepUncheckedCreateWithoutStepRunsInput = {
852
+ id?: number;
853
+ operationId: number;
854
+ fieldSetId?: number | null;
855
+ seqNo: number;
856
+ title?: string;
857
+ instructions?: string;
858
+ multiSet?: boolean;
859
+ createdAt?: Date | string;
860
+ createdById: number;
861
+ updatedAt?: Date | string;
862
+ updatedById: number;
863
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedCreateNestedManyWithoutSourceStepInput;
864
+ };
865
+ export type StepCreateOrConnectWithoutStepRunsInput = {
866
+ where: Prisma.StepWhereUniqueInput;
867
+ create: Prisma.XOR<Prisma.StepCreateWithoutStepRunsInput, Prisma.StepUncheckedCreateWithoutStepRunsInput>;
868
+ };
869
+ export type StepUpsertWithoutStepRunsInput = {
870
+ update: Prisma.XOR<Prisma.StepUpdateWithoutStepRunsInput, Prisma.StepUncheckedUpdateWithoutStepRunsInput>;
871
+ create: Prisma.XOR<Prisma.StepCreateWithoutStepRunsInput, Prisma.StepUncheckedCreateWithoutStepRunsInput>;
872
+ where?: Prisma.StepWhereInput;
873
+ };
874
+ export type StepUpdateToOneWithWhereWithoutStepRunsInput = {
875
+ where?: Prisma.StepWhereInput;
876
+ data: Prisma.XOR<Prisma.StepUpdateWithoutStepRunsInput, Prisma.StepUncheckedUpdateWithoutStepRunsInput>;
877
+ };
878
+ export type StepUpdateWithoutStepRunsInput = {
879
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
880
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
881
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
882
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
883
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
884
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
885
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStepsCreatedNestedInput;
886
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutStepsUpdatedNestedInput;
887
+ operation?: Prisma.OperationUpdateOneRequiredWithoutStepsNestedInput;
888
+ fieldSet?: Prisma.FieldSetUpdateOneWithoutStepsNestedInput;
889
+ fieldRefSources?: Prisma.OperationFieldRefUpdateManyWithoutSourceStepNestedInput;
890
+ };
891
+ export type StepUncheckedUpdateWithoutStepRunsInput = {
892
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
893
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
894
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
895
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
896
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
897
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
898
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
899
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
900
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
901
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
902
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
903
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedUpdateManyWithoutSourceStepNestedInput;
904
+ };
905
+ export type StepCreateWithoutCreatedByInput = {
906
+ seqNo: number;
907
+ title?: string;
908
+ instructions?: string;
909
+ multiSet?: boolean;
910
+ createdAt?: Date | string;
911
+ updatedAt?: Date | string;
912
+ updatedBy: Prisma.UserCreateNestedOneWithoutStepsUpdatedInput;
913
+ operation: Prisma.OperationCreateNestedOneWithoutStepsInput;
914
+ fieldSet?: Prisma.FieldSetCreateNestedOneWithoutStepsInput;
915
+ stepRuns?: Prisma.StepRunCreateNestedManyWithoutStepInput;
916
+ fieldRefSources?: Prisma.OperationFieldRefCreateNestedManyWithoutSourceStepInput;
917
+ };
918
+ export type StepUncheckedCreateWithoutCreatedByInput = {
919
+ id?: number;
920
+ operationId: number;
921
+ fieldSetId?: number | null;
922
+ seqNo: number;
923
+ title?: string;
924
+ instructions?: string;
925
+ multiSet?: boolean;
926
+ createdAt?: Date | string;
927
+ updatedAt?: Date | string;
928
+ updatedById: number;
929
+ stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutStepInput;
930
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedCreateNestedManyWithoutSourceStepInput;
931
+ };
932
+ export type StepCreateOrConnectWithoutCreatedByInput = {
933
+ where: Prisma.StepWhereUniqueInput;
934
+ create: Prisma.XOR<Prisma.StepCreateWithoutCreatedByInput, Prisma.StepUncheckedCreateWithoutCreatedByInput>;
935
+ };
936
+ export type StepCreateManyCreatedByInputEnvelope = {
937
+ data: Prisma.StepCreateManyCreatedByInput | Prisma.StepCreateManyCreatedByInput[];
938
+ };
939
+ export type StepCreateWithoutUpdatedByInput = {
940
+ seqNo: number;
941
+ title?: string;
942
+ instructions?: string;
943
+ multiSet?: boolean;
944
+ createdAt?: Date | string;
945
+ updatedAt?: Date | string;
946
+ createdBy: Prisma.UserCreateNestedOneWithoutStepsCreatedInput;
947
+ operation: Prisma.OperationCreateNestedOneWithoutStepsInput;
948
+ fieldSet?: Prisma.FieldSetCreateNestedOneWithoutStepsInput;
949
+ stepRuns?: Prisma.StepRunCreateNestedManyWithoutStepInput;
950
+ fieldRefSources?: Prisma.OperationFieldRefCreateNestedManyWithoutSourceStepInput;
951
+ };
952
+ export type StepUncheckedCreateWithoutUpdatedByInput = {
953
+ id?: number;
954
+ operationId: number;
955
+ fieldSetId?: number | null;
956
+ seqNo: number;
957
+ title?: string;
958
+ instructions?: string;
959
+ multiSet?: boolean;
960
+ createdAt?: Date | string;
961
+ createdById: number;
962
+ updatedAt?: Date | string;
963
+ stepRuns?: Prisma.StepRunUncheckedCreateNestedManyWithoutStepInput;
964
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedCreateNestedManyWithoutSourceStepInput;
965
+ };
966
+ export type StepCreateOrConnectWithoutUpdatedByInput = {
967
+ where: Prisma.StepWhereUniqueInput;
968
+ create: Prisma.XOR<Prisma.StepCreateWithoutUpdatedByInput, Prisma.StepUncheckedCreateWithoutUpdatedByInput>;
969
+ };
970
+ export type StepCreateManyUpdatedByInputEnvelope = {
971
+ data: Prisma.StepCreateManyUpdatedByInput | Prisma.StepCreateManyUpdatedByInput[];
972
+ };
973
+ export type StepUpsertWithWhereUniqueWithoutCreatedByInput = {
974
+ where: Prisma.StepWhereUniqueInput;
975
+ update: Prisma.XOR<Prisma.StepUpdateWithoutCreatedByInput, Prisma.StepUncheckedUpdateWithoutCreatedByInput>;
976
+ create: Prisma.XOR<Prisma.StepCreateWithoutCreatedByInput, Prisma.StepUncheckedCreateWithoutCreatedByInput>;
977
+ };
978
+ export type StepUpdateWithWhereUniqueWithoutCreatedByInput = {
979
+ where: Prisma.StepWhereUniqueInput;
980
+ data: Prisma.XOR<Prisma.StepUpdateWithoutCreatedByInput, Prisma.StepUncheckedUpdateWithoutCreatedByInput>;
981
+ };
982
+ export type StepUpdateManyWithWhereWithoutCreatedByInput = {
983
+ where: Prisma.StepScalarWhereInput;
984
+ data: Prisma.XOR<Prisma.StepUpdateManyMutationInput, Prisma.StepUncheckedUpdateManyWithoutCreatedByInput>;
985
+ };
986
+ export type StepUpsertWithWhereUniqueWithoutUpdatedByInput = {
987
+ where: Prisma.StepWhereUniqueInput;
988
+ update: Prisma.XOR<Prisma.StepUpdateWithoutUpdatedByInput, Prisma.StepUncheckedUpdateWithoutUpdatedByInput>;
989
+ create: Prisma.XOR<Prisma.StepCreateWithoutUpdatedByInput, Prisma.StepUncheckedCreateWithoutUpdatedByInput>;
990
+ };
991
+ export type StepUpdateWithWhereUniqueWithoutUpdatedByInput = {
992
+ where: Prisma.StepWhereUniqueInput;
993
+ data: Prisma.XOR<Prisma.StepUpdateWithoutUpdatedByInput, Prisma.StepUncheckedUpdateWithoutUpdatedByInput>;
994
+ };
995
+ export type StepUpdateManyWithWhereWithoutUpdatedByInput = {
996
+ where: Prisma.StepScalarWhereInput;
997
+ data: Prisma.XOR<Prisma.StepUpdateManyMutationInput, Prisma.StepUncheckedUpdateManyWithoutUpdatedByInput>;
998
+ };
999
+ export type StepCreateManyOperationInput = {
1000
+ id?: number;
1001
+ fieldSetId?: number | null;
1002
+ seqNo: number;
1003
+ title?: string;
1004
+ instructions?: string;
1005
+ multiSet?: boolean;
1006
+ createdAt?: Date | string;
1007
+ createdById: number;
1008
+ updatedAt?: Date | string;
1009
+ updatedById: number;
1010
+ };
1011
+ export type StepUpdateWithoutOperationInput = {
1012
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1013
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1014
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1015
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1016
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1017
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1018
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStepsCreatedNestedInput;
1019
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutStepsUpdatedNestedInput;
1020
+ fieldSet?: Prisma.FieldSetUpdateOneWithoutStepsNestedInput;
1021
+ stepRuns?: Prisma.StepRunUpdateManyWithoutStepNestedInput;
1022
+ fieldRefSources?: Prisma.OperationFieldRefUpdateManyWithoutSourceStepNestedInput;
1023
+ };
1024
+ export type StepUncheckedUpdateWithoutOperationInput = {
1025
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1026
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1027
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1028
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1029
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1030
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1031
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1032
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
1033
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1034
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
1035
+ stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutStepNestedInput;
1036
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedUpdateManyWithoutSourceStepNestedInput;
1037
+ };
1038
+ export type StepUncheckedUpdateManyWithoutOperationInput = {
1039
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1040
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1041
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1042
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1043
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1044
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1045
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1046
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
1047
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1048
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
1049
+ };
1050
+ export type StepCreateManyFieldSetInput = {
1051
+ id?: number;
1052
+ operationId: number;
1053
+ seqNo: number;
1054
+ title?: string;
1055
+ instructions?: string;
1056
+ multiSet?: boolean;
1057
+ createdAt?: Date | string;
1058
+ createdById: number;
1059
+ updatedAt?: Date | string;
1060
+ updatedById: number;
1061
+ };
1062
+ export type StepUpdateWithoutFieldSetInput = {
1063
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1064
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1065
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1066
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1067
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1068
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1069
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStepsCreatedNestedInput;
1070
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutStepsUpdatedNestedInput;
1071
+ operation?: Prisma.OperationUpdateOneRequiredWithoutStepsNestedInput;
1072
+ stepRuns?: Prisma.StepRunUpdateManyWithoutStepNestedInput;
1073
+ fieldRefSources?: Prisma.OperationFieldRefUpdateManyWithoutSourceStepNestedInput;
1074
+ };
1075
+ export type StepUncheckedUpdateWithoutFieldSetInput = {
1076
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1077
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
1078
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1079
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1080
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1081
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1082
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1083
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
1084
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1085
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
1086
+ stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutStepNestedInput;
1087
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedUpdateManyWithoutSourceStepNestedInput;
1088
+ };
1089
+ export type StepUncheckedUpdateManyWithoutFieldSetInput = {
1090
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1091
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
1092
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1093
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1094
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1095
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1096
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1097
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
1098
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1099
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
1100
+ };
1101
+ export type StepCreateManyCreatedByInput = {
1102
+ id?: number;
1103
+ operationId: number;
1104
+ fieldSetId?: number | null;
1105
+ seqNo: number;
1106
+ title?: string;
1107
+ instructions?: string;
1108
+ multiSet?: boolean;
1109
+ createdAt?: Date | string;
1110
+ updatedAt?: Date | string;
1111
+ updatedById: number;
1112
+ };
1113
+ export type StepCreateManyUpdatedByInput = {
1114
+ id?: number;
1115
+ operationId: number;
1116
+ fieldSetId?: number | null;
1117
+ seqNo: number;
1118
+ title?: string;
1119
+ instructions?: string;
1120
+ multiSet?: boolean;
1121
+ createdAt?: Date | string;
1122
+ createdById: number;
1123
+ updatedAt?: Date | string;
1124
+ };
1125
+ export type StepUpdateWithoutCreatedByInput = {
1126
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1127
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1128
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1129
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1130
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1131
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1132
+ updatedBy?: Prisma.UserUpdateOneRequiredWithoutStepsUpdatedNestedInput;
1133
+ operation?: Prisma.OperationUpdateOneRequiredWithoutStepsNestedInput;
1134
+ fieldSet?: Prisma.FieldSetUpdateOneWithoutStepsNestedInput;
1135
+ stepRuns?: Prisma.StepRunUpdateManyWithoutStepNestedInput;
1136
+ fieldRefSources?: Prisma.OperationFieldRefUpdateManyWithoutSourceStepNestedInput;
1137
+ };
1138
+ export type StepUncheckedUpdateWithoutCreatedByInput = {
1139
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1140
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
1141
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1142
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1143
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1144
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1145
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1146
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1147
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1148
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
1149
+ stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutStepNestedInput;
1150
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedUpdateManyWithoutSourceStepNestedInput;
1151
+ };
1152
+ export type StepUncheckedUpdateManyWithoutCreatedByInput = {
1153
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1154
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
1155
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1156
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1157
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1158
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1159
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1160
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1161
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1162
+ updatedById?: Prisma.IntFieldUpdateOperationsInput | number;
1163
+ };
1164
+ export type StepUpdateWithoutUpdatedByInput = {
1165
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1166
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1167
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1168
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1169
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1170
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1171
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutStepsCreatedNestedInput;
1172
+ operation?: Prisma.OperationUpdateOneRequiredWithoutStepsNestedInput;
1173
+ fieldSet?: Prisma.FieldSetUpdateOneWithoutStepsNestedInput;
1174
+ stepRuns?: Prisma.StepRunUpdateManyWithoutStepNestedInput;
1175
+ fieldRefSources?: Prisma.OperationFieldRefUpdateManyWithoutSourceStepNestedInput;
1176
+ };
1177
+ export type StepUncheckedUpdateWithoutUpdatedByInput = {
1178
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1179
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
1180
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1181
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1182
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1183
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1184
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1185
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1186
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
1187
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1188
+ stepRuns?: Prisma.StepRunUncheckedUpdateManyWithoutStepNestedInput;
1189
+ fieldRefSources?: Prisma.OperationFieldRefUncheckedUpdateManyWithoutSourceStepNestedInput;
1190
+ };
1191
+ export type StepUncheckedUpdateManyWithoutUpdatedByInput = {
1192
+ id?: Prisma.IntFieldUpdateOperationsInput | number;
1193
+ operationId?: Prisma.IntFieldUpdateOperationsInput | number;
1194
+ fieldSetId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1195
+ seqNo?: Prisma.IntFieldUpdateOperationsInput | number;
1196
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1197
+ instructions?: Prisma.StringFieldUpdateOperationsInput | string;
1198
+ multiSet?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1199
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1200
+ createdById?: Prisma.IntFieldUpdateOperationsInput | number;
1201
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1202
+ };
1203
+ /**
1204
+ * Count Type StepCountOutputType
1205
+ */
1206
+ export type StepCountOutputType = {
1207
+ stepRuns: number;
1208
+ fieldRefSources: number;
1209
+ };
1210
+ export type StepCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1211
+ stepRuns?: boolean | StepCountOutputTypeCountStepRunsArgs;
1212
+ fieldRefSources?: boolean | StepCountOutputTypeCountFieldRefSourcesArgs;
1213
+ };
1214
+ /**
1215
+ * StepCountOutputType without action
1216
+ */
1217
+ export type StepCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1218
+ /**
1219
+ * Select specific fields to fetch from the StepCountOutputType
1220
+ */
1221
+ select?: Prisma.StepCountOutputTypeSelect<ExtArgs> | null;
1222
+ };
1223
+ /**
1224
+ * StepCountOutputType without action
1225
+ */
1226
+ export type StepCountOutputTypeCountStepRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1227
+ where?: Prisma.StepRunWhereInput;
1228
+ };
1229
+ /**
1230
+ * StepCountOutputType without action
1231
+ */
1232
+ export type StepCountOutputTypeCountFieldRefSourcesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1233
+ where?: Prisma.OperationFieldRefWhereInput;
1234
+ };
1235
+ export type StepSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1236
+ id?: boolean;
1237
+ operationId?: boolean;
1238
+ fieldSetId?: boolean;
1239
+ seqNo?: boolean;
1240
+ title?: boolean;
1241
+ instructions?: boolean;
1242
+ multiSet?: boolean;
1243
+ createdAt?: boolean;
1244
+ createdById?: boolean;
1245
+ updatedAt?: boolean;
1246
+ updatedById?: boolean;
1247
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1248
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1249
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
1250
+ fieldSet?: boolean | Prisma.Step$fieldSetArgs<ExtArgs>;
1251
+ stepRuns?: boolean | Prisma.Step$stepRunsArgs<ExtArgs>;
1252
+ fieldRefSources?: boolean | Prisma.Step$fieldRefSourcesArgs<ExtArgs>;
1253
+ _count?: boolean | Prisma.StepCountOutputTypeDefaultArgs<ExtArgs>;
1254
+ }, ExtArgs["result"]["step"]>;
1255
+ export type StepSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1256
+ id?: boolean;
1257
+ operationId?: boolean;
1258
+ fieldSetId?: boolean;
1259
+ seqNo?: boolean;
1260
+ title?: boolean;
1261
+ instructions?: boolean;
1262
+ multiSet?: boolean;
1263
+ createdAt?: boolean;
1264
+ createdById?: boolean;
1265
+ updatedAt?: boolean;
1266
+ updatedById?: boolean;
1267
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1268
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1269
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
1270
+ fieldSet?: boolean | Prisma.Step$fieldSetArgs<ExtArgs>;
1271
+ }, ExtArgs["result"]["step"]>;
1272
+ export type StepSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1273
+ id?: boolean;
1274
+ operationId?: boolean;
1275
+ fieldSetId?: boolean;
1276
+ seqNo?: boolean;
1277
+ title?: boolean;
1278
+ instructions?: boolean;
1279
+ multiSet?: boolean;
1280
+ createdAt?: boolean;
1281
+ createdById?: boolean;
1282
+ updatedAt?: boolean;
1283
+ updatedById?: boolean;
1284
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1285
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1286
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
1287
+ fieldSet?: boolean | Prisma.Step$fieldSetArgs<ExtArgs>;
1288
+ }, ExtArgs["result"]["step"]>;
1289
+ export type StepSelectScalar = {
1290
+ id?: boolean;
1291
+ operationId?: boolean;
1292
+ fieldSetId?: boolean;
1293
+ seqNo?: boolean;
1294
+ title?: boolean;
1295
+ instructions?: boolean;
1296
+ multiSet?: boolean;
1297
+ createdAt?: boolean;
1298
+ createdById?: boolean;
1299
+ updatedAt?: boolean;
1300
+ updatedById?: boolean;
1301
+ };
1302
+ export type StepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "operationId" | "fieldSetId" | "seqNo" | "title" | "instructions" | "multiSet" | "createdAt" | "createdById" | "updatedAt" | "updatedById", ExtArgs["result"]["step"]>;
1303
+ export type StepInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1304
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1305
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1306
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
1307
+ fieldSet?: boolean | Prisma.Step$fieldSetArgs<ExtArgs>;
1308
+ stepRuns?: boolean | Prisma.Step$stepRunsArgs<ExtArgs>;
1309
+ fieldRefSources?: boolean | Prisma.Step$fieldRefSourcesArgs<ExtArgs>;
1310
+ _count?: boolean | Prisma.StepCountOutputTypeDefaultArgs<ExtArgs>;
1311
+ };
1312
+ export type StepIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1313
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1314
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1315
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
1316
+ fieldSet?: boolean | Prisma.Step$fieldSetArgs<ExtArgs>;
1317
+ };
1318
+ export type StepIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1319
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1320
+ updatedBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1321
+ operation?: boolean | Prisma.OperationDefaultArgs<ExtArgs>;
1322
+ fieldSet?: boolean | Prisma.Step$fieldSetArgs<ExtArgs>;
1323
+ };
1324
+ export type $StepPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1325
+ name: "Step";
1326
+ objects: {
1327
+ createdBy: Prisma.$UserPayload<ExtArgs>;
1328
+ updatedBy: Prisma.$UserPayload<ExtArgs>;
1329
+ operation: Prisma.$OperationPayload<ExtArgs>;
1330
+ fieldSet: Prisma.$FieldSetPayload<ExtArgs> | null;
1331
+ stepRuns: Prisma.$StepRunPayload<ExtArgs>[];
1332
+ fieldRefSources: Prisma.$OperationFieldRefPayload<ExtArgs>[];
1333
+ };
1334
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1335
+ id: number;
1336
+ operationId: number;
1337
+ fieldSetId: number | null;
1338
+ seqNo: number;
1339
+ title: string;
1340
+ instructions: string;
1341
+ multiSet: boolean;
1342
+ createdAt: Date;
1343
+ createdById: number;
1344
+ updatedAt: Date;
1345
+ updatedById: number;
1346
+ }, ExtArgs["result"]["step"]>;
1347
+ composites: {};
1348
+ };
1349
+ export type StepGetPayload<S extends boolean | null | undefined | StepDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$StepPayload, S>;
1350
+ export type StepCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<StepFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1351
+ select?: StepCountAggregateInputType | true;
1352
+ };
1353
+ export interface StepDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1354
+ [K: symbol]: {
1355
+ types: Prisma.TypeMap<ExtArgs>['model']['Step'];
1356
+ meta: {
1357
+ name: 'Step';
1358
+ };
1359
+ };
1360
+ /**
1361
+ * Find zero or one Step that matches the filter.
1362
+ * @param {StepFindUniqueArgs} args - Arguments to find a Step
1363
+ * @example
1364
+ * // Get one Step
1365
+ * const step = await prisma.step.findUnique({
1366
+ * where: {
1367
+ * // ... provide filter here
1368
+ * }
1369
+ * })
1370
+ */
1371
+ findUnique<T extends StepFindUniqueArgs>(args: Prisma.SelectSubset<T, StepFindUniqueArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1372
+ /**
1373
+ * Find one Step that matches the filter or throw an error with `error.code='P2025'`
1374
+ * if no matches were found.
1375
+ * @param {StepFindUniqueOrThrowArgs} args - Arguments to find a Step
1376
+ * @example
1377
+ * // Get one Step
1378
+ * const step = await prisma.step.findUniqueOrThrow({
1379
+ * where: {
1380
+ * // ... provide filter here
1381
+ * }
1382
+ * })
1383
+ */
1384
+ findUniqueOrThrow<T extends StepFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, StepFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1385
+ /**
1386
+ * Find the first Step that matches the filter.
1387
+ * Note, that providing `undefined` is treated as the value not being there.
1388
+ * Read more here: https://pris.ly/d/null-undefined
1389
+ * @param {StepFindFirstArgs} args - Arguments to find a Step
1390
+ * @example
1391
+ * // Get one Step
1392
+ * const step = await prisma.step.findFirst({
1393
+ * where: {
1394
+ * // ... provide filter here
1395
+ * }
1396
+ * })
1397
+ */
1398
+ findFirst<T extends StepFindFirstArgs>(args?: Prisma.SelectSubset<T, StepFindFirstArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1399
+ /**
1400
+ * Find the first Step that matches the filter or
1401
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1402
+ * Note, that providing `undefined` is treated as the value not being there.
1403
+ * Read more here: https://pris.ly/d/null-undefined
1404
+ * @param {StepFindFirstOrThrowArgs} args - Arguments to find a Step
1405
+ * @example
1406
+ * // Get one Step
1407
+ * const step = await prisma.step.findFirstOrThrow({
1408
+ * where: {
1409
+ * // ... provide filter here
1410
+ * }
1411
+ * })
1412
+ */
1413
+ findFirstOrThrow<T extends StepFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, StepFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1414
+ /**
1415
+ * Find zero or more Steps that matches the filter.
1416
+ * Note, that providing `undefined` is treated as the value not being there.
1417
+ * Read more here: https://pris.ly/d/null-undefined
1418
+ * @param {StepFindManyArgs} args - Arguments to filter and select certain fields only.
1419
+ * @example
1420
+ * // Get all Steps
1421
+ * const steps = await prisma.step.findMany()
1422
+ *
1423
+ * // Get first 10 Steps
1424
+ * const steps = await prisma.step.findMany({ take: 10 })
1425
+ *
1426
+ * // Only select the `id`
1427
+ * const stepWithIdOnly = await prisma.step.findMany({ select: { id: true } })
1428
+ *
1429
+ */
1430
+ findMany<T extends StepFindManyArgs>(args?: Prisma.SelectSubset<T, StepFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1431
+ /**
1432
+ * Create a Step.
1433
+ * @param {StepCreateArgs} args - Arguments to create a Step.
1434
+ * @example
1435
+ * // Create one Step
1436
+ * const Step = await prisma.step.create({
1437
+ * data: {
1438
+ * // ... data to create a Step
1439
+ * }
1440
+ * })
1441
+ *
1442
+ */
1443
+ create<T extends StepCreateArgs>(args: Prisma.SelectSubset<T, StepCreateArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1444
+ /**
1445
+ * Create many Steps.
1446
+ * @param {StepCreateManyArgs} args - Arguments to create many Steps.
1447
+ * @example
1448
+ * // Create many Steps
1449
+ * const step = await prisma.step.createMany({
1450
+ * data: [
1451
+ * // ... provide data here
1452
+ * ]
1453
+ * })
1454
+ *
1455
+ */
1456
+ createMany<T extends StepCreateManyArgs>(args?: Prisma.SelectSubset<T, StepCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1457
+ /**
1458
+ * Create many Steps and returns the data saved in the database.
1459
+ * @param {StepCreateManyAndReturnArgs} args - Arguments to create many Steps.
1460
+ * @example
1461
+ * // Create many Steps
1462
+ * const step = await prisma.step.createManyAndReturn({
1463
+ * data: [
1464
+ * // ... provide data here
1465
+ * ]
1466
+ * })
1467
+ *
1468
+ * // Create many Steps and only return the `id`
1469
+ * const stepWithIdOnly = await prisma.step.createManyAndReturn({
1470
+ * select: { id: true },
1471
+ * data: [
1472
+ * // ... provide data here
1473
+ * ]
1474
+ * })
1475
+ * Note, that providing `undefined` is treated as the value not being there.
1476
+ * Read more here: https://pris.ly/d/null-undefined
1477
+ *
1478
+ */
1479
+ createManyAndReturn<T extends StepCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, StepCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1480
+ /**
1481
+ * Delete a Step.
1482
+ * @param {StepDeleteArgs} args - Arguments to delete one Step.
1483
+ * @example
1484
+ * // Delete one Step
1485
+ * const Step = await prisma.step.delete({
1486
+ * where: {
1487
+ * // ... filter to delete one Step
1488
+ * }
1489
+ * })
1490
+ *
1491
+ */
1492
+ delete<T extends StepDeleteArgs>(args: Prisma.SelectSubset<T, StepDeleteArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1493
+ /**
1494
+ * Update one Step.
1495
+ * @param {StepUpdateArgs} args - Arguments to update one Step.
1496
+ * @example
1497
+ * // Update one Step
1498
+ * const step = await prisma.step.update({
1499
+ * where: {
1500
+ * // ... provide filter here
1501
+ * },
1502
+ * data: {
1503
+ * // ... provide data here
1504
+ * }
1505
+ * })
1506
+ *
1507
+ */
1508
+ update<T extends StepUpdateArgs>(args: Prisma.SelectSubset<T, StepUpdateArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1509
+ /**
1510
+ * Delete zero or more Steps.
1511
+ * @param {StepDeleteManyArgs} args - Arguments to filter Steps to delete.
1512
+ * @example
1513
+ * // Delete a few Steps
1514
+ * const { count } = await prisma.step.deleteMany({
1515
+ * where: {
1516
+ * // ... provide filter here
1517
+ * }
1518
+ * })
1519
+ *
1520
+ */
1521
+ deleteMany<T extends StepDeleteManyArgs>(args?: Prisma.SelectSubset<T, StepDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1522
+ /**
1523
+ * Update zero or more Steps.
1524
+ * Note, that providing `undefined` is treated as the value not being there.
1525
+ * Read more here: https://pris.ly/d/null-undefined
1526
+ * @param {StepUpdateManyArgs} args - Arguments to update one or more rows.
1527
+ * @example
1528
+ * // Update many Steps
1529
+ * const step = await prisma.step.updateMany({
1530
+ * where: {
1531
+ * // ... provide filter here
1532
+ * },
1533
+ * data: {
1534
+ * // ... provide data here
1535
+ * }
1536
+ * })
1537
+ *
1538
+ */
1539
+ updateMany<T extends StepUpdateManyArgs>(args: Prisma.SelectSubset<T, StepUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1540
+ /**
1541
+ * Update zero or more Steps and returns the data updated in the database.
1542
+ * @param {StepUpdateManyAndReturnArgs} args - Arguments to update many Steps.
1543
+ * @example
1544
+ * // Update many Steps
1545
+ * const step = await prisma.step.updateManyAndReturn({
1546
+ * where: {
1547
+ * // ... provide filter here
1548
+ * },
1549
+ * data: [
1550
+ * // ... provide data here
1551
+ * ]
1552
+ * })
1553
+ *
1554
+ * // Update zero or more Steps and only return the `id`
1555
+ * const stepWithIdOnly = await prisma.step.updateManyAndReturn({
1556
+ * select: { id: true },
1557
+ * where: {
1558
+ * // ... provide filter here
1559
+ * },
1560
+ * data: [
1561
+ * // ... provide data here
1562
+ * ]
1563
+ * })
1564
+ * Note, that providing `undefined` is treated as the value not being there.
1565
+ * Read more here: https://pris.ly/d/null-undefined
1566
+ *
1567
+ */
1568
+ updateManyAndReturn<T extends StepUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, StepUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1569
+ /**
1570
+ * Create or update one Step.
1571
+ * @param {StepUpsertArgs} args - Arguments to update or create a Step.
1572
+ * @example
1573
+ * // Update or create a Step
1574
+ * const step = await prisma.step.upsert({
1575
+ * create: {
1576
+ * // ... data to create a Step
1577
+ * },
1578
+ * update: {
1579
+ * // ... in case it already exists, update
1580
+ * },
1581
+ * where: {
1582
+ * // ... the filter for the Step we want to update
1583
+ * }
1584
+ * })
1585
+ */
1586
+ upsert<T extends StepUpsertArgs>(args: Prisma.SelectSubset<T, StepUpsertArgs<ExtArgs>>): Prisma.Prisma__StepClient<runtime.Types.Result.GetResult<Prisma.$StepPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1587
+ /**
1588
+ * Count the number of Steps.
1589
+ * Note, that providing `undefined` is treated as the value not being there.
1590
+ * Read more here: https://pris.ly/d/null-undefined
1591
+ * @param {StepCountArgs} args - Arguments to filter Steps to count.
1592
+ * @example
1593
+ * // Count the number of Steps
1594
+ * const count = await prisma.step.count({
1595
+ * where: {
1596
+ * // ... the filter for the Steps we want to count
1597
+ * }
1598
+ * })
1599
+ **/
1600
+ count<T extends StepCountArgs>(args?: Prisma.Subset<T, StepCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], StepCountAggregateOutputType> : number>;
1601
+ /**
1602
+ * Allows you to perform aggregations operations on a Step.
1603
+ * Note, that providing `undefined` is treated as the value not being there.
1604
+ * Read more here: https://pris.ly/d/null-undefined
1605
+ * @param {StepAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1606
+ * @example
1607
+ * // Ordered by age ascending
1608
+ * // Where email contains prisma.io
1609
+ * // Limited to the 10 users
1610
+ * const aggregations = await prisma.user.aggregate({
1611
+ * _avg: {
1612
+ * age: true,
1613
+ * },
1614
+ * where: {
1615
+ * email: {
1616
+ * contains: "prisma.io",
1617
+ * },
1618
+ * },
1619
+ * orderBy: {
1620
+ * age: "asc",
1621
+ * },
1622
+ * take: 10,
1623
+ * })
1624
+ **/
1625
+ aggregate<T extends StepAggregateArgs>(args: Prisma.Subset<T, StepAggregateArgs>): Prisma.PrismaPromise<GetStepAggregateType<T>>;
1626
+ /**
1627
+ * Group by Step.
1628
+ * Note, that providing `undefined` is treated as the value not being there.
1629
+ * Read more here: https://pris.ly/d/null-undefined
1630
+ * @param {StepGroupByArgs} args - Group by arguments.
1631
+ * @example
1632
+ * // Group by city, order by createdAt, get count
1633
+ * const result = await prisma.user.groupBy({
1634
+ * by: ['city', 'createdAt'],
1635
+ * orderBy: {
1636
+ * createdAt: true
1637
+ * },
1638
+ * _count: {
1639
+ * _all: true
1640
+ * },
1641
+ * })
1642
+ *
1643
+ **/
1644
+ groupBy<T extends StepGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1645
+ orderBy: StepGroupByArgs['orderBy'];
1646
+ } : {
1647
+ orderBy?: StepGroupByArgs['orderBy'];
1648
+ }, 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 ? {
1649
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1650
+ Error,
1651
+ 'Field ',
1652
+ P,
1653
+ ` in "having" needs to be provided in "by"`
1654
+ ];
1655
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1656
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1657
+ }[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 ? {} : {
1658
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1659
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1660
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1661
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, StepGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStepGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1662
+ /**
1663
+ * Fields of the Step model
1664
+ */
1665
+ readonly fields: StepFieldRefs;
1666
+ }
1667
+ /**
1668
+ * The delegate class that acts as a "Promise-like" for Step.
1669
+ * Why is this prefixed with `Prisma__`?
1670
+ * Because we want to prevent naming conflicts as mentioned in
1671
+ * https://github.com/prisma/prisma-client-js/issues/707
1672
+ */
1673
+ export interface Prisma__StepClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1674
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1675
+ 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>;
1676
+ 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>;
1677
+ operation<T extends Prisma.OperationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OperationDefaultArgs<ExtArgs>>): Prisma.Prisma__OperationClient<runtime.Types.Result.GetResult<Prisma.$OperationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1678
+ fieldSet<T extends Prisma.Step$fieldSetArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Step$fieldSetArgs<ExtArgs>>): Prisma.Prisma__FieldSetClient<runtime.Types.Result.GetResult<Prisma.$FieldSetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1679
+ stepRuns<T extends Prisma.Step$stepRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Step$stepRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1680
+ fieldRefSources<T extends Prisma.Step$fieldRefSourcesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Step$fieldRefSourcesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationFieldRefPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1681
+ /**
1682
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1683
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1684
+ * @param onrejected The callback to execute when the Promise is rejected.
1685
+ * @returns A Promise for the completion of which ever callback is executed.
1686
+ */
1687
+ 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>;
1688
+ /**
1689
+ * Attaches a callback for only the rejection of the Promise.
1690
+ * @param onrejected The callback to execute when the Promise is rejected.
1691
+ * @returns A Promise for the completion of the callback.
1692
+ */
1693
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1694
+ /**
1695
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1696
+ * resolved value cannot be modified from the callback.
1697
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1698
+ * @returns A Promise for the completion of the callback.
1699
+ */
1700
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1701
+ }
1702
+ /**
1703
+ * Fields of the Step model
1704
+ */
1705
+ export interface StepFieldRefs {
1706
+ readonly id: Prisma.FieldRef<"Step", 'Int'>;
1707
+ readonly operationId: Prisma.FieldRef<"Step", 'Int'>;
1708
+ readonly fieldSetId: Prisma.FieldRef<"Step", 'Int'>;
1709
+ readonly seqNo: Prisma.FieldRef<"Step", 'Int'>;
1710
+ readonly title: Prisma.FieldRef<"Step", 'String'>;
1711
+ readonly instructions: Prisma.FieldRef<"Step", 'String'>;
1712
+ readonly multiSet: Prisma.FieldRef<"Step", 'Boolean'>;
1713
+ readonly createdAt: Prisma.FieldRef<"Step", 'DateTime'>;
1714
+ readonly createdById: Prisma.FieldRef<"Step", 'Int'>;
1715
+ readonly updatedAt: Prisma.FieldRef<"Step", 'DateTime'>;
1716
+ readonly updatedById: Prisma.FieldRef<"Step", 'Int'>;
1717
+ }
1718
+ /**
1719
+ * Step findUnique
1720
+ */
1721
+ export type StepFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1722
+ /**
1723
+ * Select specific fields to fetch from the Step
1724
+ */
1725
+ select?: Prisma.StepSelect<ExtArgs> | null;
1726
+ /**
1727
+ * Omit specific fields from the Step
1728
+ */
1729
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1730
+ /**
1731
+ * Choose, which related nodes to fetch as well
1732
+ */
1733
+ include?: Prisma.StepInclude<ExtArgs> | null;
1734
+ /**
1735
+ * Filter, which Step to fetch.
1736
+ */
1737
+ where: Prisma.StepWhereUniqueInput;
1738
+ };
1739
+ /**
1740
+ * Step findUniqueOrThrow
1741
+ */
1742
+ export type StepFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1743
+ /**
1744
+ * Select specific fields to fetch from the Step
1745
+ */
1746
+ select?: Prisma.StepSelect<ExtArgs> | null;
1747
+ /**
1748
+ * Omit specific fields from the Step
1749
+ */
1750
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1751
+ /**
1752
+ * Choose, which related nodes to fetch as well
1753
+ */
1754
+ include?: Prisma.StepInclude<ExtArgs> | null;
1755
+ /**
1756
+ * Filter, which Step to fetch.
1757
+ */
1758
+ where: Prisma.StepWhereUniqueInput;
1759
+ };
1760
+ /**
1761
+ * Step findFirst
1762
+ */
1763
+ export type StepFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1764
+ /**
1765
+ * Select specific fields to fetch from the Step
1766
+ */
1767
+ select?: Prisma.StepSelect<ExtArgs> | null;
1768
+ /**
1769
+ * Omit specific fields from the Step
1770
+ */
1771
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1772
+ /**
1773
+ * Choose, which related nodes to fetch as well
1774
+ */
1775
+ include?: Prisma.StepInclude<ExtArgs> | null;
1776
+ /**
1777
+ * Filter, which Step to fetch.
1778
+ */
1779
+ where?: Prisma.StepWhereInput;
1780
+ /**
1781
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1782
+ *
1783
+ * Determine the order of Steps to fetch.
1784
+ */
1785
+ orderBy?: Prisma.StepOrderByWithRelationInput | Prisma.StepOrderByWithRelationInput[];
1786
+ /**
1787
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1788
+ *
1789
+ * Sets the position for searching for Steps.
1790
+ */
1791
+ cursor?: Prisma.StepWhereUniqueInput;
1792
+ /**
1793
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1794
+ *
1795
+ * Take `±n` Steps from the position of the cursor.
1796
+ */
1797
+ take?: number;
1798
+ /**
1799
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1800
+ *
1801
+ * Skip the first `n` Steps.
1802
+ */
1803
+ skip?: number;
1804
+ /**
1805
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1806
+ *
1807
+ * Filter by unique combinations of Steps.
1808
+ */
1809
+ distinct?: Prisma.StepScalarFieldEnum | Prisma.StepScalarFieldEnum[];
1810
+ };
1811
+ /**
1812
+ * Step findFirstOrThrow
1813
+ */
1814
+ export type StepFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1815
+ /**
1816
+ * Select specific fields to fetch from the Step
1817
+ */
1818
+ select?: Prisma.StepSelect<ExtArgs> | null;
1819
+ /**
1820
+ * Omit specific fields from the Step
1821
+ */
1822
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1823
+ /**
1824
+ * Choose, which related nodes to fetch as well
1825
+ */
1826
+ include?: Prisma.StepInclude<ExtArgs> | null;
1827
+ /**
1828
+ * Filter, which Step to fetch.
1829
+ */
1830
+ where?: Prisma.StepWhereInput;
1831
+ /**
1832
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1833
+ *
1834
+ * Determine the order of Steps to fetch.
1835
+ */
1836
+ orderBy?: Prisma.StepOrderByWithRelationInput | Prisma.StepOrderByWithRelationInput[];
1837
+ /**
1838
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1839
+ *
1840
+ * Sets the position for searching for Steps.
1841
+ */
1842
+ cursor?: Prisma.StepWhereUniqueInput;
1843
+ /**
1844
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1845
+ *
1846
+ * Take `±n` Steps from the position of the cursor.
1847
+ */
1848
+ take?: number;
1849
+ /**
1850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1851
+ *
1852
+ * Skip the first `n` Steps.
1853
+ */
1854
+ skip?: number;
1855
+ /**
1856
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1857
+ *
1858
+ * Filter by unique combinations of Steps.
1859
+ */
1860
+ distinct?: Prisma.StepScalarFieldEnum | Prisma.StepScalarFieldEnum[];
1861
+ };
1862
+ /**
1863
+ * Step findMany
1864
+ */
1865
+ export type StepFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1866
+ /**
1867
+ * Select specific fields to fetch from the Step
1868
+ */
1869
+ select?: Prisma.StepSelect<ExtArgs> | null;
1870
+ /**
1871
+ * Omit specific fields from the Step
1872
+ */
1873
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1874
+ /**
1875
+ * Choose, which related nodes to fetch as well
1876
+ */
1877
+ include?: Prisma.StepInclude<ExtArgs> | null;
1878
+ /**
1879
+ * Filter, which Steps to fetch.
1880
+ */
1881
+ where?: Prisma.StepWhereInput;
1882
+ /**
1883
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1884
+ *
1885
+ * Determine the order of Steps to fetch.
1886
+ */
1887
+ orderBy?: Prisma.StepOrderByWithRelationInput | Prisma.StepOrderByWithRelationInput[];
1888
+ /**
1889
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1890
+ *
1891
+ * Sets the position for listing Steps.
1892
+ */
1893
+ cursor?: Prisma.StepWhereUniqueInput;
1894
+ /**
1895
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1896
+ *
1897
+ * Take `±n` Steps from the position of the cursor.
1898
+ */
1899
+ take?: number;
1900
+ /**
1901
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1902
+ *
1903
+ * Skip the first `n` Steps.
1904
+ */
1905
+ skip?: number;
1906
+ /**
1907
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1908
+ *
1909
+ * Filter by unique combinations of Steps.
1910
+ */
1911
+ distinct?: Prisma.StepScalarFieldEnum | Prisma.StepScalarFieldEnum[];
1912
+ };
1913
+ /**
1914
+ * Step create
1915
+ */
1916
+ export type StepCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1917
+ /**
1918
+ * Select specific fields to fetch from the Step
1919
+ */
1920
+ select?: Prisma.StepSelect<ExtArgs> | null;
1921
+ /**
1922
+ * Omit specific fields from the Step
1923
+ */
1924
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1925
+ /**
1926
+ * Choose, which related nodes to fetch as well
1927
+ */
1928
+ include?: Prisma.StepInclude<ExtArgs> | null;
1929
+ /**
1930
+ * The data needed to create a Step.
1931
+ */
1932
+ data: Prisma.XOR<Prisma.StepCreateInput, Prisma.StepUncheckedCreateInput>;
1933
+ };
1934
+ /**
1935
+ * Step createMany
1936
+ */
1937
+ export type StepCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1938
+ /**
1939
+ * The data used to create many Steps.
1940
+ */
1941
+ data: Prisma.StepCreateManyInput | Prisma.StepCreateManyInput[];
1942
+ };
1943
+ /**
1944
+ * Step createManyAndReturn
1945
+ */
1946
+ export type StepCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1947
+ /**
1948
+ * Select specific fields to fetch from the Step
1949
+ */
1950
+ select?: Prisma.StepSelectCreateManyAndReturn<ExtArgs> | null;
1951
+ /**
1952
+ * Omit specific fields from the Step
1953
+ */
1954
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1955
+ /**
1956
+ * The data used to create many Steps.
1957
+ */
1958
+ data: Prisma.StepCreateManyInput | Prisma.StepCreateManyInput[];
1959
+ /**
1960
+ * Choose, which related nodes to fetch as well
1961
+ */
1962
+ include?: Prisma.StepIncludeCreateManyAndReturn<ExtArgs> | null;
1963
+ };
1964
+ /**
1965
+ * Step update
1966
+ */
1967
+ export type StepUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1968
+ /**
1969
+ * Select specific fields to fetch from the Step
1970
+ */
1971
+ select?: Prisma.StepSelect<ExtArgs> | null;
1972
+ /**
1973
+ * Omit specific fields from the Step
1974
+ */
1975
+ omit?: Prisma.StepOmit<ExtArgs> | null;
1976
+ /**
1977
+ * Choose, which related nodes to fetch as well
1978
+ */
1979
+ include?: Prisma.StepInclude<ExtArgs> | null;
1980
+ /**
1981
+ * The data needed to update a Step.
1982
+ */
1983
+ data: Prisma.XOR<Prisma.StepUpdateInput, Prisma.StepUncheckedUpdateInput>;
1984
+ /**
1985
+ * Choose, which Step to update.
1986
+ */
1987
+ where: Prisma.StepWhereUniqueInput;
1988
+ };
1989
+ /**
1990
+ * Step updateMany
1991
+ */
1992
+ export type StepUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1993
+ /**
1994
+ * The data used to update Steps.
1995
+ */
1996
+ data: Prisma.XOR<Prisma.StepUpdateManyMutationInput, Prisma.StepUncheckedUpdateManyInput>;
1997
+ /**
1998
+ * Filter which Steps to update
1999
+ */
2000
+ where?: Prisma.StepWhereInput;
2001
+ /**
2002
+ * Limit how many Steps to update.
2003
+ */
2004
+ limit?: number;
2005
+ };
2006
+ /**
2007
+ * Step updateManyAndReturn
2008
+ */
2009
+ export type StepUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2010
+ /**
2011
+ * Select specific fields to fetch from the Step
2012
+ */
2013
+ select?: Prisma.StepSelectUpdateManyAndReturn<ExtArgs> | null;
2014
+ /**
2015
+ * Omit specific fields from the Step
2016
+ */
2017
+ omit?: Prisma.StepOmit<ExtArgs> | null;
2018
+ /**
2019
+ * The data used to update Steps.
2020
+ */
2021
+ data: Prisma.XOR<Prisma.StepUpdateManyMutationInput, Prisma.StepUncheckedUpdateManyInput>;
2022
+ /**
2023
+ * Filter which Steps to update
2024
+ */
2025
+ where?: Prisma.StepWhereInput;
2026
+ /**
2027
+ * Limit how many Steps to update.
2028
+ */
2029
+ limit?: number;
2030
+ /**
2031
+ * Choose, which related nodes to fetch as well
2032
+ */
2033
+ include?: Prisma.StepIncludeUpdateManyAndReturn<ExtArgs> | null;
2034
+ };
2035
+ /**
2036
+ * Step upsert
2037
+ */
2038
+ export type StepUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2039
+ /**
2040
+ * Select specific fields to fetch from the Step
2041
+ */
2042
+ select?: Prisma.StepSelect<ExtArgs> | null;
2043
+ /**
2044
+ * Omit specific fields from the Step
2045
+ */
2046
+ omit?: Prisma.StepOmit<ExtArgs> | null;
2047
+ /**
2048
+ * Choose, which related nodes to fetch as well
2049
+ */
2050
+ include?: Prisma.StepInclude<ExtArgs> | null;
2051
+ /**
2052
+ * The filter to search for the Step to update in case it exists.
2053
+ */
2054
+ where: Prisma.StepWhereUniqueInput;
2055
+ /**
2056
+ * In case the Step found by the `where` argument doesn't exist, create a new Step with this data.
2057
+ */
2058
+ create: Prisma.XOR<Prisma.StepCreateInput, Prisma.StepUncheckedCreateInput>;
2059
+ /**
2060
+ * In case the Step was found with the provided `where` argument, update it with this data.
2061
+ */
2062
+ update: Prisma.XOR<Prisma.StepUpdateInput, Prisma.StepUncheckedUpdateInput>;
2063
+ };
2064
+ /**
2065
+ * Step delete
2066
+ */
2067
+ export type StepDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2068
+ /**
2069
+ * Select specific fields to fetch from the Step
2070
+ */
2071
+ select?: Prisma.StepSelect<ExtArgs> | null;
2072
+ /**
2073
+ * Omit specific fields from the Step
2074
+ */
2075
+ omit?: Prisma.StepOmit<ExtArgs> | null;
2076
+ /**
2077
+ * Choose, which related nodes to fetch as well
2078
+ */
2079
+ include?: Prisma.StepInclude<ExtArgs> | null;
2080
+ /**
2081
+ * Filter which Step to delete.
2082
+ */
2083
+ where: Prisma.StepWhereUniqueInput;
2084
+ };
2085
+ /**
2086
+ * Step deleteMany
2087
+ */
2088
+ export type StepDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2089
+ /**
2090
+ * Filter which Steps to delete
2091
+ */
2092
+ where?: Prisma.StepWhereInput;
2093
+ /**
2094
+ * Limit how many Steps to delete.
2095
+ */
2096
+ limit?: number;
2097
+ };
2098
+ /**
2099
+ * Step.fieldSet
2100
+ */
2101
+ export type Step$fieldSetArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2102
+ /**
2103
+ * Select specific fields to fetch from the FieldSet
2104
+ */
2105
+ select?: Prisma.FieldSetSelect<ExtArgs> | null;
2106
+ /**
2107
+ * Omit specific fields from the FieldSet
2108
+ */
2109
+ omit?: Prisma.FieldSetOmit<ExtArgs> | null;
2110
+ /**
2111
+ * Choose, which related nodes to fetch as well
2112
+ */
2113
+ include?: Prisma.FieldSetInclude<ExtArgs> | null;
2114
+ where?: Prisma.FieldSetWhereInput;
2115
+ };
2116
+ /**
2117
+ * Step.stepRuns
2118
+ */
2119
+ export type Step$stepRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2120
+ /**
2121
+ * Select specific fields to fetch from the StepRun
2122
+ */
2123
+ select?: Prisma.StepRunSelect<ExtArgs> | null;
2124
+ /**
2125
+ * Omit specific fields from the StepRun
2126
+ */
2127
+ omit?: Prisma.StepRunOmit<ExtArgs> | null;
2128
+ /**
2129
+ * Choose, which related nodes to fetch as well
2130
+ */
2131
+ include?: Prisma.StepRunInclude<ExtArgs> | null;
2132
+ where?: Prisma.StepRunWhereInput;
2133
+ orderBy?: Prisma.StepRunOrderByWithRelationInput | Prisma.StepRunOrderByWithRelationInput[];
2134
+ cursor?: Prisma.StepRunWhereUniqueInput;
2135
+ take?: number;
2136
+ skip?: number;
2137
+ distinct?: Prisma.StepRunScalarFieldEnum | Prisma.StepRunScalarFieldEnum[];
2138
+ };
2139
+ /**
2140
+ * Step.fieldRefSources
2141
+ */
2142
+ export type Step$fieldRefSourcesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2143
+ /**
2144
+ * Select specific fields to fetch from the OperationFieldRef
2145
+ */
2146
+ select?: Prisma.OperationFieldRefSelect<ExtArgs> | null;
2147
+ /**
2148
+ * Omit specific fields from the OperationFieldRef
2149
+ */
2150
+ omit?: Prisma.OperationFieldRefOmit<ExtArgs> | null;
2151
+ /**
2152
+ * Choose, which related nodes to fetch as well
2153
+ */
2154
+ include?: Prisma.OperationFieldRefInclude<ExtArgs> | null;
2155
+ where?: Prisma.OperationFieldRefWhereInput;
2156
+ orderBy?: Prisma.OperationFieldRefOrderByWithRelationInput | Prisma.OperationFieldRefOrderByWithRelationInput[];
2157
+ cursor?: Prisma.OperationFieldRefWhereUniqueInput;
2158
+ take?: number;
2159
+ skip?: number;
2160
+ distinct?: Prisma.OperationFieldRefScalarFieldEnum | Prisma.OperationFieldRefScalarFieldEnum[];
2161
+ };
2162
+ /**
2163
+ * Step without action
2164
+ */
2165
+ export type StepDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2166
+ /**
2167
+ * Select specific fields to fetch from the Step
2168
+ */
2169
+ select?: Prisma.StepSelect<ExtArgs> | null;
2170
+ /**
2171
+ * Omit specific fields from the Step
2172
+ */
2173
+ omit?: Prisma.StepOmit<ExtArgs> | null;
2174
+ /**
2175
+ * Choose, which related nodes to fetch as well
2176
+ */
2177
+ include?: Prisma.StepInclude<ExtArgs> | null;
2178
+ };
2179
+ export {};
2180
+ //# sourceMappingURL=Step.d.ts.map