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