@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,1366 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model OperationRunComment
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type OperationRunCommentModel = runtime.Types.Result.DefaultSelection<Prisma.$OperationRunCommentPayload>;
|
|
9
|
+
export type AggregateOperationRunComment = {
|
|
10
|
+
_count: OperationRunCommentCountAggregateOutputType | null;
|
|
11
|
+
_avg: OperationRunCommentAvgAggregateOutputType | null;
|
|
12
|
+
_sum: OperationRunCommentSumAggregateOutputType | null;
|
|
13
|
+
_min: OperationRunCommentMinAggregateOutputType | null;
|
|
14
|
+
_max: OperationRunCommentMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type OperationRunCommentAvgAggregateOutputType = {
|
|
17
|
+
id: number | null;
|
|
18
|
+
operationRunId: number | null;
|
|
19
|
+
createdById: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type OperationRunCommentSumAggregateOutputType = {
|
|
22
|
+
id: number | null;
|
|
23
|
+
operationRunId: number | null;
|
|
24
|
+
createdById: number | null;
|
|
25
|
+
};
|
|
26
|
+
export type OperationRunCommentMinAggregateOutputType = {
|
|
27
|
+
id: number | null;
|
|
28
|
+
operationRunId: number | null;
|
|
29
|
+
type: $Enums.OperationRunCommentType | null;
|
|
30
|
+
body: string | null;
|
|
31
|
+
createdAt: Date | null;
|
|
32
|
+
createdById: number | null;
|
|
33
|
+
};
|
|
34
|
+
export type OperationRunCommentMaxAggregateOutputType = {
|
|
35
|
+
id: number | null;
|
|
36
|
+
operationRunId: number | null;
|
|
37
|
+
type: $Enums.OperationRunCommentType | null;
|
|
38
|
+
body: string | null;
|
|
39
|
+
createdAt: Date | null;
|
|
40
|
+
createdById: number | null;
|
|
41
|
+
};
|
|
42
|
+
export type OperationRunCommentCountAggregateOutputType = {
|
|
43
|
+
id: number;
|
|
44
|
+
operationRunId: number;
|
|
45
|
+
type: number;
|
|
46
|
+
body: number;
|
|
47
|
+
createdAt: number;
|
|
48
|
+
createdById: number;
|
|
49
|
+
_all: number;
|
|
50
|
+
};
|
|
51
|
+
export type OperationRunCommentAvgAggregateInputType = {
|
|
52
|
+
id?: true;
|
|
53
|
+
operationRunId?: true;
|
|
54
|
+
createdById?: true;
|
|
55
|
+
};
|
|
56
|
+
export type OperationRunCommentSumAggregateInputType = {
|
|
57
|
+
id?: true;
|
|
58
|
+
operationRunId?: true;
|
|
59
|
+
createdById?: true;
|
|
60
|
+
};
|
|
61
|
+
export type OperationRunCommentMinAggregateInputType = {
|
|
62
|
+
id?: true;
|
|
63
|
+
operationRunId?: true;
|
|
64
|
+
type?: true;
|
|
65
|
+
body?: true;
|
|
66
|
+
createdAt?: true;
|
|
67
|
+
createdById?: true;
|
|
68
|
+
};
|
|
69
|
+
export type OperationRunCommentMaxAggregateInputType = {
|
|
70
|
+
id?: true;
|
|
71
|
+
operationRunId?: true;
|
|
72
|
+
type?: true;
|
|
73
|
+
body?: true;
|
|
74
|
+
createdAt?: true;
|
|
75
|
+
createdById?: true;
|
|
76
|
+
};
|
|
77
|
+
export type OperationRunCommentCountAggregateInputType = {
|
|
78
|
+
id?: true;
|
|
79
|
+
operationRunId?: true;
|
|
80
|
+
type?: true;
|
|
81
|
+
body?: true;
|
|
82
|
+
createdAt?: true;
|
|
83
|
+
createdById?: true;
|
|
84
|
+
_all?: true;
|
|
85
|
+
};
|
|
86
|
+
export type OperationRunCommentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
87
|
+
/**
|
|
88
|
+
* Filter which OperationRunComment to aggregate.
|
|
89
|
+
*/
|
|
90
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
93
|
+
*
|
|
94
|
+
* Determine the order of OperationRunComments to fetch.
|
|
95
|
+
*/
|
|
96
|
+
orderBy?: Prisma.OperationRunCommentOrderByWithRelationInput | Prisma.OperationRunCommentOrderByWithRelationInput[];
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
99
|
+
*
|
|
100
|
+
* Sets the start position
|
|
101
|
+
*/
|
|
102
|
+
cursor?: Prisma.OperationRunCommentWhereUniqueInput;
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105
|
+
*
|
|
106
|
+
* Take `±n` OperationRunComments from the position of the cursor.
|
|
107
|
+
*/
|
|
108
|
+
take?: number;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
111
|
+
*
|
|
112
|
+
* Skip the first `n` OperationRunComments.
|
|
113
|
+
*/
|
|
114
|
+
skip?: number;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Count returned OperationRunComments
|
|
119
|
+
**/
|
|
120
|
+
_count?: true | OperationRunCommentCountAggregateInputType;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to average
|
|
125
|
+
**/
|
|
126
|
+
_avg?: OperationRunCommentAvgAggregateInputType;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to sum
|
|
131
|
+
**/
|
|
132
|
+
_sum?: OperationRunCommentSumAggregateInputType;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Select which fields to find the minimum value
|
|
137
|
+
**/
|
|
138
|
+
_min?: OperationRunCommentMinAggregateInputType;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to find the maximum value
|
|
143
|
+
**/
|
|
144
|
+
_max?: OperationRunCommentMaxAggregateInputType;
|
|
145
|
+
};
|
|
146
|
+
export type GetOperationRunCommentAggregateType<T extends OperationRunCommentAggregateArgs> = {
|
|
147
|
+
[P in keyof T & keyof AggregateOperationRunComment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOperationRunComment[P]> : Prisma.GetScalarType<T[P], AggregateOperationRunComment[P]>;
|
|
148
|
+
};
|
|
149
|
+
export type OperationRunCommentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
150
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
151
|
+
orderBy?: Prisma.OperationRunCommentOrderByWithAggregationInput | Prisma.OperationRunCommentOrderByWithAggregationInput[];
|
|
152
|
+
by: Prisma.OperationRunCommentScalarFieldEnum[] | Prisma.OperationRunCommentScalarFieldEnum;
|
|
153
|
+
having?: Prisma.OperationRunCommentScalarWhereWithAggregatesInput;
|
|
154
|
+
take?: number;
|
|
155
|
+
skip?: number;
|
|
156
|
+
_count?: OperationRunCommentCountAggregateInputType | true;
|
|
157
|
+
_avg?: OperationRunCommentAvgAggregateInputType;
|
|
158
|
+
_sum?: OperationRunCommentSumAggregateInputType;
|
|
159
|
+
_min?: OperationRunCommentMinAggregateInputType;
|
|
160
|
+
_max?: OperationRunCommentMaxAggregateInputType;
|
|
161
|
+
};
|
|
162
|
+
export type OperationRunCommentGroupByOutputType = {
|
|
163
|
+
id: number;
|
|
164
|
+
operationRunId: number;
|
|
165
|
+
type: $Enums.OperationRunCommentType;
|
|
166
|
+
body: string;
|
|
167
|
+
createdAt: Date;
|
|
168
|
+
createdById: number;
|
|
169
|
+
_count: OperationRunCommentCountAggregateOutputType | null;
|
|
170
|
+
_avg: OperationRunCommentAvgAggregateOutputType | null;
|
|
171
|
+
_sum: OperationRunCommentSumAggregateOutputType | null;
|
|
172
|
+
_min: OperationRunCommentMinAggregateOutputType | null;
|
|
173
|
+
_max: OperationRunCommentMaxAggregateOutputType | null;
|
|
174
|
+
};
|
|
175
|
+
type GetOperationRunCommentGroupByPayload<T extends OperationRunCommentGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OperationRunCommentGroupByOutputType, T['by']> & {
|
|
176
|
+
[P in ((keyof T) & (keyof OperationRunCommentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OperationRunCommentGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OperationRunCommentGroupByOutputType[P]>;
|
|
177
|
+
}>>;
|
|
178
|
+
export type OperationRunCommentWhereInput = {
|
|
179
|
+
AND?: Prisma.OperationRunCommentWhereInput | Prisma.OperationRunCommentWhereInput[];
|
|
180
|
+
OR?: Prisma.OperationRunCommentWhereInput[];
|
|
181
|
+
NOT?: Prisma.OperationRunCommentWhereInput | Prisma.OperationRunCommentWhereInput[];
|
|
182
|
+
id?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
183
|
+
operationRunId?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
184
|
+
type?: Prisma.EnumOperationRunCommentTypeFilter<"OperationRunComment"> | $Enums.OperationRunCommentType;
|
|
185
|
+
body?: Prisma.StringFilter<"OperationRunComment"> | string;
|
|
186
|
+
createdAt?: Prisma.DateTimeFilter<"OperationRunComment"> | Date | string;
|
|
187
|
+
createdById?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
188
|
+
operationRun?: Prisma.XOR<Prisma.OperationRunScalarRelationFilter, Prisma.OperationRunWhereInput>;
|
|
189
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
190
|
+
};
|
|
191
|
+
export type OperationRunCommentOrderByWithRelationInput = {
|
|
192
|
+
id?: Prisma.SortOrder;
|
|
193
|
+
operationRunId?: Prisma.SortOrder;
|
|
194
|
+
type?: Prisma.SortOrder;
|
|
195
|
+
body?: Prisma.SortOrder;
|
|
196
|
+
createdAt?: Prisma.SortOrder;
|
|
197
|
+
createdById?: Prisma.SortOrder;
|
|
198
|
+
operationRun?: Prisma.OperationRunOrderByWithRelationInput;
|
|
199
|
+
createdBy?: Prisma.UserOrderByWithRelationInput;
|
|
200
|
+
};
|
|
201
|
+
export type OperationRunCommentWhereUniqueInput = Prisma.AtLeast<{
|
|
202
|
+
id?: number;
|
|
203
|
+
AND?: Prisma.OperationRunCommentWhereInput | Prisma.OperationRunCommentWhereInput[];
|
|
204
|
+
OR?: Prisma.OperationRunCommentWhereInput[];
|
|
205
|
+
NOT?: Prisma.OperationRunCommentWhereInput | Prisma.OperationRunCommentWhereInput[];
|
|
206
|
+
operationRunId?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
207
|
+
type?: Prisma.EnumOperationRunCommentTypeFilter<"OperationRunComment"> | $Enums.OperationRunCommentType;
|
|
208
|
+
body?: Prisma.StringFilter<"OperationRunComment"> | string;
|
|
209
|
+
createdAt?: Prisma.DateTimeFilter<"OperationRunComment"> | Date | string;
|
|
210
|
+
createdById?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
211
|
+
operationRun?: Prisma.XOR<Prisma.OperationRunScalarRelationFilter, Prisma.OperationRunWhereInput>;
|
|
212
|
+
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
213
|
+
}, "id">;
|
|
214
|
+
export type OperationRunCommentOrderByWithAggregationInput = {
|
|
215
|
+
id?: Prisma.SortOrder;
|
|
216
|
+
operationRunId?: Prisma.SortOrder;
|
|
217
|
+
type?: Prisma.SortOrder;
|
|
218
|
+
body?: Prisma.SortOrder;
|
|
219
|
+
createdAt?: Prisma.SortOrder;
|
|
220
|
+
createdById?: Prisma.SortOrder;
|
|
221
|
+
_count?: Prisma.OperationRunCommentCountOrderByAggregateInput;
|
|
222
|
+
_avg?: Prisma.OperationRunCommentAvgOrderByAggregateInput;
|
|
223
|
+
_max?: Prisma.OperationRunCommentMaxOrderByAggregateInput;
|
|
224
|
+
_min?: Prisma.OperationRunCommentMinOrderByAggregateInput;
|
|
225
|
+
_sum?: Prisma.OperationRunCommentSumOrderByAggregateInput;
|
|
226
|
+
};
|
|
227
|
+
export type OperationRunCommentScalarWhereWithAggregatesInput = {
|
|
228
|
+
AND?: Prisma.OperationRunCommentScalarWhereWithAggregatesInput | Prisma.OperationRunCommentScalarWhereWithAggregatesInput[];
|
|
229
|
+
OR?: Prisma.OperationRunCommentScalarWhereWithAggregatesInput[];
|
|
230
|
+
NOT?: Prisma.OperationRunCommentScalarWhereWithAggregatesInput | Prisma.OperationRunCommentScalarWhereWithAggregatesInput[];
|
|
231
|
+
id?: Prisma.IntWithAggregatesFilter<"OperationRunComment"> | number;
|
|
232
|
+
operationRunId?: Prisma.IntWithAggregatesFilter<"OperationRunComment"> | number;
|
|
233
|
+
type?: Prisma.EnumOperationRunCommentTypeWithAggregatesFilter<"OperationRunComment"> | $Enums.OperationRunCommentType;
|
|
234
|
+
body?: Prisma.StringWithAggregatesFilter<"OperationRunComment"> | string;
|
|
235
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"OperationRunComment"> | Date | string;
|
|
236
|
+
createdById?: Prisma.IntWithAggregatesFilter<"OperationRunComment"> | number;
|
|
237
|
+
};
|
|
238
|
+
export type OperationRunCommentCreateInput = {
|
|
239
|
+
type?: $Enums.OperationRunCommentType;
|
|
240
|
+
body: string;
|
|
241
|
+
createdAt?: Date | string;
|
|
242
|
+
operationRun: Prisma.OperationRunCreateNestedOneWithoutCommentsInput;
|
|
243
|
+
createdBy: Prisma.UserCreateNestedOneWithoutCommentsCreatedInput;
|
|
244
|
+
};
|
|
245
|
+
export type OperationRunCommentUncheckedCreateInput = {
|
|
246
|
+
id?: number;
|
|
247
|
+
operationRunId: number;
|
|
248
|
+
type?: $Enums.OperationRunCommentType;
|
|
249
|
+
body: string;
|
|
250
|
+
createdAt?: Date | string;
|
|
251
|
+
createdById: number;
|
|
252
|
+
};
|
|
253
|
+
export type OperationRunCommentUpdateInput = {
|
|
254
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
255
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
256
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
257
|
+
operationRun?: Prisma.OperationRunUpdateOneRequiredWithoutCommentsNestedInput;
|
|
258
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutCommentsCreatedNestedInput;
|
|
259
|
+
};
|
|
260
|
+
export type OperationRunCommentUncheckedUpdateInput = {
|
|
261
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
262
|
+
operationRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
263
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
264
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
265
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
266
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
267
|
+
};
|
|
268
|
+
export type OperationRunCommentCreateManyInput = {
|
|
269
|
+
id?: number;
|
|
270
|
+
operationRunId: number;
|
|
271
|
+
type?: $Enums.OperationRunCommentType;
|
|
272
|
+
body: string;
|
|
273
|
+
createdAt?: Date | string;
|
|
274
|
+
createdById: number;
|
|
275
|
+
};
|
|
276
|
+
export type OperationRunCommentUpdateManyMutationInput = {
|
|
277
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
278
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
280
|
+
};
|
|
281
|
+
export type OperationRunCommentUncheckedUpdateManyInput = {
|
|
282
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
283
|
+
operationRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
284
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
285
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
286
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
287
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
288
|
+
};
|
|
289
|
+
export type OperationRunCommentListRelationFilter = {
|
|
290
|
+
every?: Prisma.OperationRunCommentWhereInput;
|
|
291
|
+
some?: Prisma.OperationRunCommentWhereInput;
|
|
292
|
+
none?: Prisma.OperationRunCommentWhereInput;
|
|
293
|
+
};
|
|
294
|
+
export type OperationRunCommentOrderByRelationAggregateInput = {
|
|
295
|
+
_count?: Prisma.SortOrder;
|
|
296
|
+
};
|
|
297
|
+
export type OperationRunCommentCountOrderByAggregateInput = {
|
|
298
|
+
id?: Prisma.SortOrder;
|
|
299
|
+
operationRunId?: Prisma.SortOrder;
|
|
300
|
+
type?: Prisma.SortOrder;
|
|
301
|
+
body?: Prisma.SortOrder;
|
|
302
|
+
createdAt?: Prisma.SortOrder;
|
|
303
|
+
createdById?: Prisma.SortOrder;
|
|
304
|
+
};
|
|
305
|
+
export type OperationRunCommentAvgOrderByAggregateInput = {
|
|
306
|
+
id?: Prisma.SortOrder;
|
|
307
|
+
operationRunId?: Prisma.SortOrder;
|
|
308
|
+
createdById?: Prisma.SortOrder;
|
|
309
|
+
};
|
|
310
|
+
export type OperationRunCommentMaxOrderByAggregateInput = {
|
|
311
|
+
id?: Prisma.SortOrder;
|
|
312
|
+
operationRunId?: Prisma.SortOrder;
|
|
313
|
+
type?: Prisma.SortOrder;
|
|
314
|
+
body?: Prisma.SortOrder;
|
|
315
|
+
createdAt?: Prisma.SortOrder;
|
|
316
|
+
createdById?: Prisma.SortOrder;
|
|
317
|
+
};
|
|
318
|
+
export type OperationRunCommentMinOrderByAggregateInput = {
|
|
319
|
+
id?: Prisma.SortOrder;
|
|
320
|
+
operationRunId?: Prisma.SortOrder;
|
|
321
|
+
type?: Prisma.SortOrder;
|
|
322
|
+
body?: Prisma.SortOrder;
|
|
323
|
+
createdAt?: Prisma.SortOrder;
|
|
324
|
+
createdById?: Prisma.SortOrder;
|
|
325
|
+
};
|
|
326
|
+
export type OperationRunCommentSumOrderByAggregateInput = {
|
|
327
|
+
id?: Prisma.SortOrder;
|
|
328
|
+
operationRunId?: Prisma.SortOrder;
|
|
329
|
+
createdById?: Prisma.SortOrder;
|
|
330
|
+
};
|
|
331
|
+
export type OperationRunCommentCreateNestedManyWithoutOperationRunInput = {
|
|
332
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput> | Prisma.OperationRunCommentCreateWithoutOperationRunInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput[];
|
|
333
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput | Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput[];
|
|
334
|
+
createMany?: Prisma.OperationRunCommentCreateManyOperationRunInputEnvelope;
|
|
335
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
336
|
+
};
|
|
337
|
+
export type OperationRunCommentUncheckedCreateNestedManyWithoutOperationRunInput = {
|
|
338
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput> | Prisma.OperationRunCommentCreateWithoutOperationRunInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput[];
|
|
339
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput | Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput[];
|
|
340
|
+
createMany?: Prisma.OperationRunCommentCreateManyOperationRunInputEnvelope;
|
|
341
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
342
|
+
};
|
|
343
|
+
export type OperationRunCommentUpdateManyWithoutOperationRunNestedInput = {
|
|
344
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput> | Prisma.OperationRunCommentCreateWithoutOperationRunInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput[];
|
|
345
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput | Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput[];
|
|
346
|
+
upsert?: Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutOperationRunInput | Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutOperationRunInput[];
|
|
347
|
+
createMany?: Prisma.OperationRunCommentCreateManyOperationRunInputEnvelope;
|
|
348
|
+
set?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
349
|
+
disconnect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
350
|
+
delete?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
351
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
352
|
+
update?: Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutOperationRunInput | Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutOperationRunInput[];
|
|
353
|
+
updateMany?: Prisma.OperationRunCommentUpdateManyWithWhereWithoutOperationRunInput | Prisma.OperationRunCommentUpdateManyWithWhereWithoutOperationRunInput[];
|
|
354
|
+
deleteMany?: Prisma.OperationRunCommentScalarWhereInput | Prisma.OperationRunCommentScalarWhereInput[];
|
|
355
|
+
};
|
|
356
|
+
export type OperationRunCommentUncheckedUpdateManyWithoutOperationRunNestedInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput> | Prisma.OperationRunCommentCreateWithoutOperationRunInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput[];
|
|
358
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput | Prisma.OperationRunCommentCreateOrConnectWithoutOperationRunInput[];
|
|
359
|
+
upsert?: Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutOperationRunInput | Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutOperationRunInput[];
|
|
360
|
+
createMany?: Prisma.OperationRunCommentCreateManyOperationRunInputEnvelope;
|
|
361
|
+
set?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
362
|
+
disconnect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
363
|
+
delete?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
364
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
365
|
+
update?: Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutOperationRunInput | Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutOperationRunInput[];
|
|
366
|
+
updateMany?: Prisma.OperationRunCommentUpdateManyWithWhereWithoutOperationRunInput | Prisma.OperationRunCommentUpdateManyWithWhereWithoutOperationRunInput[];
|
|
367
|
+
deleteMany?: Prisma.OperationRunCommentScalarWhereInput | Prisma.OperationRunCommentScalarWhereInput[];
|
|
368
|
+
};
|
|
369
|
+
export type OperationRunCommentCreateNestedManyWithoutCreatedByInput = {
|
|
370
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCommentCreateWithoutCreatedByInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput[];
|
|
371
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput[];
|
|
372
|
+
createMany?: Prisma.OperationRunCommentCreateManyCreatedByInputEnvelope;
|
|
373
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
374
|
+
};
|
|
375
|
+
export type OperationRunCommentUncheckedCreateNestedManyWithoutCreatedByInput = {
|
|
376
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCommentCreateWithoutCreatedByInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput[];
|
|
377
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput[];
|
|
378
|
+
createMany?: Prisma.OperationRunCommentCreateManyCreatedByInputEnvelope;
|
|
379
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
380
|
+
};
|
|
381
|
+
export type OperationRunCommentUpdateManyWithoutCreatedByNestedInput = {
|
|
382
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCommentCreateWithoutCreatedByInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput[];
|
|
383
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput[];
|
|
384
|
+
upsert?: Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
385
|
+
createMany?: Prisma.OperationRunCommentCreateManyCreatedByInputEnvelope;
|
|
386
|
+
set?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
387
|
+
disconnect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
388
|
+
delete?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
389
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
390
|
+
update?: Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
391
|
+
updateMany?: Prisma.OperationRunCommentUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationRunCommentUpdateManyWithWhereWithoutCreatedByInput[];
|
|
392
|
+
deleteMany?: Prisma.OperationRunCommentScalarWhereInput | Prisma.OperationRunCommentScalarWhereInput[];
|
|
393
|
+
};
|
|
394
|
+
export type OperationRunCommentUncheckedUpdateManyWithoutCreatedByNestedInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput> | Prisma.OperationRunCommentCreateWithoutCreatedByInput[] | Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput[];
|
|
396
|
+
connectOrCreate?: Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput | Prisma.OperationRunCommentCreateOrConnectWithoutCreatedByInput[];
|
|
397
|
+
upsert?: Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunCommentUpsertWithWhereUniqueWithoutCreatedByInput[];
|
|
398
|
+
createMany?: Prisma.OperationRunCommentCreateManyCreatedByInputEnvelope;
|
|
399
|
+
set?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
400
|
+
disconnect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
401
|
+
delete?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
402
|
+
connect?: Prisma.OperationRunCommentWhereUniqueInput | Prisma.OperationRunCommentWhereUniqueInput[];
|
|
403
|
+
update?: Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.OperationRunCommentUpdateWithWhereUniqueWithoutCreatedByInput[];
|
|
404
|
+
updateMany?: Prisma.OperationRunCommentUpdateManyWithWhereWithoutCreatedByInput | Prisma.OperationRunCommentUpdateManyWithWhereWithoutCreatedByInput[];
|
|
405
|
+
deleteMany?: Prisma.OperationRunCommentScalarWhereInput | Prisma.OperationRunCommentScalarWhereInput[];
|
|
406
|
+
};
|
|
407
|
+
export type EnumOperationRunCommentTypeFieldUpdateOperationsInput = {
|
|
408
|
+
set?: $Enums.OperationRunCommentType;
|
|
409
|
+
};
|
|
410
|
+
export type OperationRunCommentCreateWithoutOperationRunInput = {
|
|
411
|
+
type?: $Enums.OperationRunCommentType;
|
|
412
|
+
body: string;
|
|
413
|
+
createdAt?: Date | string;
|
|
414
|
+
createdBy: Prisma.UserCreateNestedOneWithoutCommentsCreatedInput;
|
|
415
|
+
};
|
|
416
|
+
export type OperationRunCommentUncheckedCreateWithoutOperationRunInput = {
|
|
417
|
+
id?: number;
|
|
418
|
+
type?: $Enums.OperationRunCommentType;
|
|
419
|
+
body: string;
|
|
420
|
+
createdAt?: Date | string;
|
|
421
|
+
createdById: number;
|
|
422
|
+
};
|
|
423
|
+
export type OperationRunCommentCreateOrConnectWithoutOperationRunInput = {
|
|
424
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
425
|
+
create: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput>;
|
|
426
|
+
};
|
|
427
|
+
export type OperationRunCommentCreateManyOperationRunInputEnvelope = {
|
|
428
|
+
data: Prisma.OperationRunCommentCreateManyOperationRunInput | Prisma.OperationRunCommentCreateManyOperationRunInput[];
|
|
429
|
+
};
|
|
430
|
+
export type OperationRunCommentUpsertWithWhereUniqueWithoutOperationRunInput = {
|
|
431
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
432
|
+
update: Prisma.XOR<Prisma.OperationRunCommentUpdateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedUpdateWithoutOperationRunInput>;
|
|
433
|
+
create: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedCreateWithoutOperationRunInput>;
|
|
434
|
+
};
|
|
435
|
+
export type OperationRunCommentUpdateWithWhereUniqueWithoutOperationRunInput = {
|
|
436
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
437
|
+
data: Prisma.XOR<Prisma.OperationRunCommentUpdateWithoutOperationRunInput, Prisma.OperationRunCommentUncheckedUpdateWithoutOperationRunInput>;
|
|
438
|
+
};
|
|
439
|
+
export type OperationRunCommentUpdateManyWithWhereWithoutOperationRunInput = {
|
|
440
|
+
where: Prisma.OperationRunCommentScalarWhereInput;
|
|
441
|
+
data: Prisma.XOR<Prisma.OperationRunCommentUpdateManyMutationInput, Prisma.OperationRunCommentUncheckedUpdateManyWithoutOperationRunInput>;
|
|
442
|
+
};
|
|
443
|
+
export type OperationRunCommentScalarWhereInput = {
|
|
444
|
+
AND?: Prisma.OperationRunCommentScalarWhereInput | Prisma.OperationRunCommentScalarWhereInput[];
|
|
445
|
+
OR?: Prisma.OperationRunCommentScalarWhereInput[];
|
|
446
|
+
NOT?: Prisma.OperationRunCommentScalarWhereInput | Prisma.OperationRunCommentScalarWhereInput[];
|
|
447
|
+
id?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
448
|
+
operationRunId?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
449
|
+
type?: Prisma.EnumOperationRunCommentTypeFilter<"OperationRunComment"> | $Enums.OperationRunCommentType;
|
|
450
|
+
body?: Prisma.StringFilter<"OperationRunComment"> | string;
|
|
451
|
+
createdAt?: Prisma.DateTimeFilter<"OperationRunComment"> | Date | string;
|
|
452
|
+
createdById?: Prisma.IntFilter<"OperationRunComment"> | number;
|
|
453
|
+
};
|
|
454
|
+
export type OperationRunCommentCreateWithoutCreatedByInput = {
|
|
455
|
+
type?: $Enums.OperationRunCommentType;
|
|
456
|
+
body: string;
|
|
457
|
+
createdAt?: Date | string;
|
|
458
|
+
operationRun: Prisma.OperationRunCreateNestedOneWithoutCommentsInput;
|
|
459
|
+
};
|
|
460
|
+
export type OperationRunCommentUncheckedCreateWithoutCreatedByInput = {
|
|
461
|
+
id?: number;
|
|
462
|
+
operationRunId: number;
|
|
463
|
+
type?: $Enums.OperationRunCommentType;
|
|
464
|
+
body: string;
|
|
465
|
+
createdAt?: Date | string;
|
|
466
|
+
};
|
|
467
|
+
export type OperationRunCommentCreateOrConnectWithoutCreatedByInput = {
|
|
468
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
469
|
+
create: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput>;
|
|
470
|
+
};
|
|
471
|
+
export type OperationRunCommentCreateManyCreatedByInputEnvelope = {
|
|
472
|
+
data: Prisma.OperationRunCommentCreateManyCreatedByInput | Prisma.OperationRunCommentCreateManyCreatedByInput[];
|
|
473
|
+
};
|
|
474
|
+
export type OperationRunCommentUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
475
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
476
|
+
update: Prisma.XOR<Prisma.OperationRunCommentUpdateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedUpdateWithoutCreatedByInput>;
|
|
477
|
+
create: Prisma.XOR<Prisma.OperationRunCommentCreateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedCreateWithoutCreatedByInput>;
|
|
478
|
+
};
|
|
479
|
+
export type OperationRunCommentUpdateWithWhereUniqueWithoutCreatedByInput = {
|
|
480
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
481
|
+
data: Prisma.XOR<Prisma.OperationRunCommentUpdateWithoutCreatedByInput, Prisma.OperationRunCommentUncheckedUpdateWithoutCreatedByInput>;
|
|
482
|
+
};
|
|
483
|
+
export type OperationRunCommentUpdateManyWithWhereWithoutCreatedByInput = {
|
|
484
|
+
where: Prisma.OperationRunCommentScalarWhereInput;
|
|
485
|
+
data: Prisma.XOR<Prisma.OperationRunCommentUpdateManyMutationInput, Prisma.OperationRunCommentUncheckedUpdateManyWithoutCreatedByInput>;
|
|
486
|
+
};
|
|
487
|
+
export type OperationRunCommentCreateManyOperationRunInput = {
|
|
488
|
+
id?: number;
|
|
489
|
+
type?: $Enums.OperationRunCommentType;
|
|
490
|
+
body: string;
|
|
491
|
+
createdAt?: Date | string;
|
|
492
|
+
createdById: number;
|
|
493
|
+
};
|
|
494
|
+
export type OperationRunCommentUpdateWithoutOperationRunInput = {
|
|
495
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
496
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
497
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
498
|
+
createdBy?: Prisma.UserUpdateOneRequiredWithoutCommentsCreatedNestedInput;
|
|
499
|
+
};
|
|
500
|
+
export type OperationRunCommentUncheckedUpdateWithoutOperationRunInput = {
|
|
501
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
502
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
503
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
504
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
505
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
506
|
+
};
|
|
507
|
+
export type OperationRunCommentUncheckedUpdateManyWithoutOperationRunInput = {
|
|
508
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
509
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
510
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
511
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
512
|
+
createdById?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
513
|
+
};
|
|
514
|
+
export type OperationRunCommentCreateManyCreatedByInput = {
|
|
515
|
+
id?: number;
|
|
516
|
+
operationRunId: number;
|
|
517
|
+
type?: $Enums.OperationRunCommentType;
|
|
518
|
+
body: string;
|
|
519
|
+
createdAt?: Date | string;
|
|
520
|
+
};
|
|
521
|
+
export type OperationRunCommentUpdateWithoutCreatedByInput = {
|
|
522
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
523
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
524
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
525
|
+
operationRun?: Prisma.OperationRunUpdateOneRequiredWithoutCommentsNestedInput;
|
|
526
|
+
};
|
|
527
|
+
export type OperationRunCommentUncheckedUpdateWithoutCreatedByInput = {
|
|
528
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
529
|
+
operationRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
530
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
531
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
532
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
533
|
+
};
|
|
534
|
+
export type OperationRunCommentUncheckedUpdateManyWithoutCreatedByInput = {
|
|
535
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
536
|
+
operationRunId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
537
|
+
type?: Prisma.EnumOperationRunCommentTypeFieldUpdateOperationsInput | $Enums.OperationRunCommentType;
|
|
538
|
+
body?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
539
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
540
|
+
};
|
|
541
|
+
export type OperationRunCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
542
|
+
id?: boolean;
|
|
543
|
+
operationRunId?: boolean;
|
|
544
|
+
type?: boolean;
|
|
545
|
+
body?: boolean;
|
|
546
|
+
createdAt?: boolean;
|
|
547
|
+
createdById?: boolean;
|
|
548
|
+
operationRun?: boolean | Prisma.OperationRunDefaultArgs<ExtArgs>;
|
|
549
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
550
|
+
}, ExtArgs["result"]["operationRunComment"]>;
|
|
551
|
+
export type OperationRunCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
552
|
+
id?: boolean;
|
|
553
|
+
operationRunId?: boolean;
|
|
554
|
+
type?: boolean;
|
|
555
|
+
body?: boolean;
|
|
556
|
+
createdAt?: boolean;
|
|
557
|
+
createdById?: boolean;
|
|
558
|
+
operationRun?: boolean | Prisma.OperationRunDefaultArgs<ExtArgs>;
|
|
559
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
560
|
+
}, ExtArgs["result"]["operationRunComment"]>;
|
|
561
|
+
export type OperationRunCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
562
|
+
id?: boolean;
|
|
563
|
+
operationRunId?: boolean;
|
|
564
|
+
type?: boolean;
|
|
565
|
+
body?: boolean;
|
|
566
|
+
createdAt?: boolean;
|
|
567
|
+
createdById?: boolean;
|
|
568
|
+
operationRun?: boolean | Prisma.OperationRunDefaultArgs<ExtArgs>;
|
|
569
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
570
|
+
}, ExtArgs["result"]["operationRunComment"]>;
|
|
571
|
+
export type OperationRunCommentSelectScalar = {
|
|
572
|
+
id?: boolean;
|
|
573
|
+
operationRunId?: boolean;
|
|
574
|
+
type?: boolean;
|
|
575
|
+
body?: boolean;
|
|
576
|
+
createdAt?: boolean;
|
|
577
|
+
createdById?: boolean;
|
|
578
|
+
};
|
|
579
|
+
export type OperationRunCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "operationRunId" | "type" | "body" | "createdAt" | "createdById", ExtArgs["result"]["operationRunComment"]>;
|
|
580
|
+
export type OperationRunCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
581
|
+
operationRun?: boolean | Prisma.OperationRunDefaultArgs<ExtArgs>;
|
|
582
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
583
|
+
};
|
|
584
|
+
export type OperationRunCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
585
|
+
operationRun?: boolean | Prisma.OperationRunDefaultArgs<ExtArgs>;
|
|
586
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
587
|
+
};
|
|
588
|
+
export type OperationRunCommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
589
|
+
operationRun?: boolean | Prisma.OperationRunDefaultArgs<ExtArgs>;
|
|
590
|
+
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
591
|
+
};
|
|
592
|
+
export type $OperationRunCommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
593
|
+
name: "OperationRunComment";
|
|
594
|
+
objects: {
|
|
595
|
+
operationRun: Prisma.$OperationRunPayload<ExtArgs>;
|
|
596
|
+
createdBy: Prisma.$UserPayload<ExtArgs>;
|
|
597
|
+
};
|
|
598
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
599
|
+
id: number;
|
|
600
|
+
operationRunId: number;
|
|
601
|
+
type: $Enums.OperationRunCommentType;
|
|
602
|
+
body: string;
|
|
603
|
+
createdAt: Date;
|
|
604
|
+
createdById: number;
|
|
605
|
+
}, ExtArgs["result"]["operationRunComment"]>;
|
|
606
|
+
composites: {};
|
|
607
|
+
};
|
|
608
|
+
export type OperationRunCommentGetPayload<S extends boolean | null | undefined | OperationRunCommentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload, S>;
|
|
609
|
+
export type OperationRunCommentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OperationRunCommentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
610
|
+
select?: OperationRunCommentCountAggregateInputType | true;
|
|
611
|
+
};
|
|
612
|
+
export interface OperationRunCommentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
613
|
+
[K: symbol]: {
|
|
614
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OperationRunComment'];
|
|
615
|
+
meta: {
|
|
616
|
+
name: 'OperationRunComment';
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
/**
|
|
620
|
+
* Find zero or one OperationRunComment that matches the filter.
|
|
621
|
+
* @param {OperationRunCommentFindUniqueArgs} args - Arguments to find a OperationRunComment
|
|
622
|
+
* @example
|
|
623
|
+
* // Get one OperationRunComment
|
|
624
|
+
* const operationRunComment = await prisma.operationRunComment.findUnique({
|
|
625
|
+
* where: {
|
|
626
|
+
* // ... provide filter here
|
|
627
|
+
* }
|
|
628
|
+
* })
|
|
629
|
+
*/
|
|
630
|
+
findUnique<T extends OperationRunCommentFindUniqueArgs>(args: Prisma.SelectSubset<T, OperationRunCommentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
631
|
+
/**
|
|
632
|
+
* Find one OperationRunComment that matches the filter or throw an error with `error.code='P2025'`
|
|
633
|
+
* if no matches were found.
|
|
634
|
+
* @param {OperationRunCommentFindUniqueOrThrowArgs} args - Arguments to find a OperationRunComment
|
|
635
|
+
* @example
|
|
636
|
+
* // Get one OperationRunComment
|
|
637
|
+
* const operationRunComment = await prisma.operationRunComment.findUniqueOrThrow({
|
|
638
|
+
* where: {
|
|
639
|
+
* // ... provide filter here
|
|
640
|
+
* }
|
|
641
|
+
* })
|
|
642
|
+
*/
|
|
643
|
+
findUniqueOrThrow<T extends OperationRunCommentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OperationRunCommentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
644
|
+
/**
|
|
645
|
+
* Find the first OperationRunComment that matches the filter.
|
|
646
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
647
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
648
|
+
* @param {OperationRunCommentFindFirstArgs} args - Arguments to find a OperationRunComment
|
|
649
|
+
* @example
|
|
650
|
+
* // Get one OperationRunComment
|
|
651
|
+
* const operationRunComment = await prisma.operationRunComment.findFirst({
|
|
652
|
+
* where: {
|
|
653
|
+
* // ... provide filter here
|
|
654
|
+
* }
|
|
655
|
+
* })
|
|
656
|
+
*/
|
|
657
|
+
findFirst<T extends OperationRunCommentFindFirstArgs>(args?: Prisma.SelectSubset<T, OperationRunCommentFindFirstArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
658
|
+
/**
|
|
659
|
+
* Find the first OperationRunComment that matches the filter or
|
|
660
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
661
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
662
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
663
|
+
* @param {OperationRunCommentFindFirstOrThrowArgs} args - Arguments to find a OperationRunComment
|
|
664
|
+
* @example
|
|
665
|
+
* // Get one OperationRunComment
|
|
666
|
+
* const operationRunComment = await prisma.operationRunComment.findFirstOrThrow({
|
|
667
|
+
* where: {
|
|
668
|
+
* // ... provide filter here
|
|
669
|
+
* }
|
|
670
|
+
* })
|
|
671
|
+
*/
|
|
672
|
+
findFirstOrThrow<T extends OperationRunCommentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OperationRunCommentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
673
|
+
/**
|
|
674
|
+
* Find zero or more OperationRunComments that matches the filter.
|
|
675
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
676
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
677
|
+
* @param {OperationRunCommentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
678
|
+
* @example
|
|
679
|
+
* // Get all OperationRunComments
|
|
680
|
+
* const operationRunComments = await prisma.operationRunComment.findMany()
|
|
681
|
+
*
|
|
682
|
+
* // Get first 10 OperationRunComments
|
|
683
|
+
* const operationRunComments = await prisma.operationRunComment.findMany({ take: 10 })
|
|
684
|
+
*
|
|
685
|
+
* // Only select the `id`
|
|
686
|
+
* const operationRunCommentWithIdOnly = await prisma.operationRunComment.findMany({ select: { id: true } })
|
|
687
|
+
*
|
|
688
|
+
*/
|
|
689
|
+
findMany<T extends OperationRunCommentFindManyArgs>(args?: Prisma.SelectSubset<T, OperationRunCommentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
690
|
+
/**
|
|
691
|
+
* Create a OperationRunComment.
|
|
692
|
+
* @param {OperationRunCommentCreateArgs} args - Arguments to create a OperationRunComment.
|
|
693
|
+
* @example
|
|
694
|
+
* // Create one OperationRunComment
|
|
695
|
+
* const OperationRunComment = await prisma.operationRunComment.create({
|
|
696
|
+
* data: {
|
|
697
|
+
* // ... data to create a OperationRunComment
|
|
698
|
+
* }
|
|
699
|
+
* })
|
|
700
|
+
*
|
|
701
|
+
*/
|
|
702
|
+
create<T extends OperationRunCommentCreateArgs>(args: Prisma.SelectSubset<T, OperationRunCommentCreateArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
703
|
+
/**
|
|
704
|
+
* Create many OperationRunComments.
|
|
705
|
+
* @param {OperationRunCommentCreateManyArgs} args - Arguments to create many OperationRunComments.
|
|
706
|
+
* @example
|
|
707
|
+
* // Create many OperationRunComments
|
|
708
|
+
* const operationRunComment = await prisma.operationRunComment.createMany({
|
|
709
|
+
* data: [
|
|
710
|
+
* // ... provide data here
|
|
711
|
+
* ]
|
|
712
|
+
* })
|
|
713
|
+
*
|
|
714
|
+
*/
|
|
715
|
+
createMany<T extends OperationRunCommentCreateManyArgs>(args?: Prisma.SelectSubset<T, OperationRunCommentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
716
|
+
/**
|
|
717
|
+
* Create many OperationRunComments and returns the data saved in the database.
|
|
718
|
+
* @param {OperationRunCommentCreateManyAndReturnArgs} args - Arguments to create many OperationRunComments.
|
|
719
|
+
* @example
|
|
720
|
+
* // Create many OperationRunComments
|
|
721
|
+
* const operationRunComment = await prisma.operationRunComment.createManyAndReturn({
|
|
722
|
+
* data: [
|
|
723
|
+
* // ... provide data here
|
|
724
|
+
* ]
|
|
725
|
+
* })
|
|
726
|
+
*
|
|
727
|
+
* // Create many OperationRunComments and only return the `id`
|
|
728
|
+
* const operationRunCommentWithIdOnly = await prisma.operationRunComment.createManyAndReturn({
|
|
729
|
+
* select: { id: true },
|
|
730
|
+
* data: [
|
|
731
|
+
* // ... provide data here
|
|
732
|
+
* ]
|
|
733
|
+
* })
|
|
734
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
735
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
736
|
+
*
|
|
737
|
+
*/
|
|
738
|
+
createManyAndReturn<T extends OperationRunCommentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OperationRunCommentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
739
|
+
/**
|
|
740
|
+
* Delete a OperationRunComment.
|
|
741
|
+
* @param {OperationRunCommentDeleteArgs} args - Arguments to delete one OperationRunComment.
|
|
742
|
+
* @example
|
|
743
|
+
* // Delete one OperationRunComment
|
|
744
|
+
* const OperationRunComment = await prisma.operationRunComment.delete({
|
|
745
|
+
* where: {
|
|
746
|
+
* // ... filter to delete one OperationRunComment
|
|
747
|
+
* }
|
|
748
|
+
* })
|
|
749
|
+
*
|
|
750
|
+
*/
|
|
751
|
+
delete<T extends OperationRunCommentDeleteArgs>(args: Prisma.SelectSubset<T, OperationRunCommentDeleteArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
752
|
+
/**
|
|
753
|
+
* Update one OperationRunComment.
|
|
754
|
+
* @param {OperationRunCommentUpdateArgs} args - Arguments to update one OperationRunComment.
|
|
755
|
+
* @example
|
|
756
|
+
* // Update one OperationRunComment
|
|
757
|
+
* const operationRunComment = await prisma.operationRunComment.update({
|
|
758
|
+
* where: {
|
|
759
|
+
* // ... provide filter here
|
|
760
|
+
* },
|
|
761
|
+
* data: {
|
|
762
|
+
* // ... provide data here
|
|
763
|
+
* }
|
|
764
|
+
* })
|
|
765
|
+
*
|
|
766
|
+
*/
|
|
767
|
+
update<T extends OperationRunCommentUpdateArgs>(args: Prisma.SelectSubset<T, OperationRunCommentUpdateArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
768
|
+
/**
|
|
769
|
+
* Delete zero or more OperationRunComments.
|
|
770
|
+
* @param {OperationRunCommentDeleteManyArgs} args - Arguments to filter OperationRunComments to delete.
|
|
771
|
+
* @example
|
|
772
|
+
* // Delete a few OperationRunComments
|
|
773
|
+
* const { count } = await prisma.operationRunComment.deleteMany({
|
|
774
|
+
* where: {
|
|
775
|
+
* // ... provide filter here
|
|
776
|
+
* }
|
|
777
|
+
* })
|
|
778
|
+
*
|
|
779
|
+
*/
|
|
780
|
+
deleteMany<T extends OperationRunCommentDeleteManyArgs>(args?: Prisma.SelectSubset<T, OperationRunCommentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
781
|
+
/**
|
|
782
|
+
* Update zero or more OperationRunComments.
|
|
783
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
784
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
785
|
+
* @param {OperationRunCommentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
786
|
+
* @example
|
|
787
|
+
* // Update many OperationRunComments
|
|
788
|
+
* const operationRunComment = await prisma.operationRunComment.updateMany({
|
|
789
|
+
* where: {
|
|
790
|
+
* // ... provide filter here
|
|
791
|
+
* },
|
|
792
|
+
* data: {
|
|
793
|
+
* // ... provide data here
|
|
794
|
+
* }
|
|
795
|
+
* })
|
|
796
|
+
*
|
|
797
|
+
*/
|
|
798
|
+
updateMany<T extends OperationRunCommentUpdateManyArgs>(args: Prisma.SelectSubset<T, OperationRunCommentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
799
|
+
/**
|
|
800
|
+
* Update zero or more OperationRunComments and returns the data updated in the database.
|
|
801
|
+
* @param {OperationRunCommentUpdateManyAndReturnArgs} args - Arguments to update many OperationRunComments.
|
|
802
|
+
* @example
|
|
803
|
+
* // Update many OperationRunComments
|
|
804
|
+
* const operationRunComment = await prisma.operationRunComment.updateManyAndReturn({
|
|
805
|
+
* where: {
|
|
806
|
+
* // ... provide filter here
|
|
807
|
+
* },
|
|
808
|
+
* data: [
|
|
809
|
+
* // ... provide data here
|
|
810
|
+
* ]
|
|
811
|
+
* })
|
|
812
|
+
*
|
|
813
|
+
* // Update zero or more OperationRunComments and only return the `id`
|
|
814
|
+
* const operationRunCommentWithIdOnly = await prisma.operationRunComment.updateManyAndReturn({
|
|
815
|
+
* select: { id: true },
|
|
816
|
+
* where: {
|
|
817
|
+
* // ... provide filter here
|
|
818
|
+
* },
|
|
819
|
+
* data: [
|
|
820
|
+
* // ... provide data here
|
|
821
|
+
* ]
|
|
822
|
+
* })
|
|
823
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
824
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
825
|
+
*
|
|
826
|
+
*/
|
|
827
|
+
updateManyAndReturn<T extends OperationRunCommentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OperationRunCommentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
828
|
+
/**
|
|
829
|
+
* Create or update one OperationRunComment.
|
|
830
|
+
* @param {OperationRunCommentUpsertArgs} args - Arguments to update or create a OperationRunComment.
|
|
831
|
+
* @example
|
|
832
|
+
* // Update or create a OperationRunComment
|
|
833
|
+
* const operationRunComment = await prisma.operationRunComment.upsert({
|
|
834
|
+
* create: {
|
|
835
|
+
* // ... data to create a OperationRunComment
|
|
836
|
+
* },
|
|
837
|
+
* update: {
|
|
838
|
+
* // ... in case it already exists, update
|
|
839
|
+
* },
|
|
840
|
+
* where: {
|
|
841
|
+
* // ... the filter for the OperationRunComment we want to update
|
|
842
|
+
* }
|
|
843
|
+
* })
|
|
844
|
+
*/
|
|
845
|
+
upsert<T extends OperationRunCommentUpsertArgs>(args: Prisma.SelectSubset<T, OperationRunCommentUpsertArgs<ExtArgs>>): Prisma.Prisma__OperationRunCommentClient<runtime.Types.Result.GetResult<Prisma.$OperationRunCommentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
846
|
+
/**
|
|
847
|
+
* Count the number of OperationRunComments.
|
|
848
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
849
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
850
|
+
* @param {OperationRunCommentCountArgs} args - Arguments to filter OperationRunComments to count.
|
|
851
|
+
* @example
|
|
852
|
+
* // Count the number of OperationRunComments
|
|
853
|
+
* const count = await prisma.operationRunComment.count({
|
|
854
|
+
* where: {
|
|
855
|
+
* // ... the filter for the OperationRunComments we want to count
|
|
856
|
+
* }
|
|
857
|
+
* })
|
|
858
|
+
**/
|
|
859
|
+
count<T extends OperationRunCommentCountArgs>(args?: Prisma.Subset<T, OperationRunCommentCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OperationRunCommentCountAggregateOutputType> : number>;
|
|
860
|
+
/**
|
|
861
|
+
* Allows you to perform aggregations operations on a OperationRunComment.
|
|
862
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
863
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
864
|
+
* @param {OperationRunCommentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
865
|
+
* @example
|
|
866
|
+
* // Ordered by age ascending
|
|
867
|
+
* // Where email contains prisma.io
|
|
868
|
+
* // Limited to the 10 users
|
|
869
|
+
* const aggregations = await prisma.user.aggregate({
|
|
870
|
+
* _avg: {
|
|
871
|
+
* age: true,
|
|
872
|
+
* },
|
|
873
|
+
* where: {
|
|
874
|
+
* email: {
|
|
875
|
+
* contains: "prisma.io",
|
|
876
|
+
* },
|
|
877
|
+
* },
|
|
878
|
+
* orderBy: {
|
|
879
|
+
* age: "asc",
|
|
880
|
+
* },
|
|
881
|
+
* take: 10,
|
|
882
|
+
* })
|
|
883
|
+
**/
|
|
884
|
+
aggregate<T extends OperationRunCommentAggregateArgs>(args: Prisma.Subset<T, OperationRunCommentAggregateArgs>): Prisma.PrismaPromise<GetOperationRunCommentAggregateType<T>>;
|
|
885
|
+
/**
|
|
886
|
+
* Group by OperationRunComment.
|
|
887
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
888
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
889
|
+
* @param {OperationRunCommentGroupByArgs} args - Group by arguments.
|
|
890
|
+
* @example
|
|
891
|
+
* // Group by city, order by createdAt, get count
|
|
892
|
+
* const result = await prisma.user.groupBy({
|
|
893
|
+
* by: ['city', 'createdAt'],
|
|
894
|
+
* orderBy: {
|
|
895
|
+
* createdAt: true
|
|
896
|
+
* },
|
|
897
|
+
* _count: {
|
|
898
|
+
* _all: true
|
|
899
|
+
* },
|
|
900
|
+
* })
|
|
901
|
+
*
|
|
902
|
+
**/
|
|
903
|
+
groupBy<T extends OperationRunCommentGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
904
|
+
orderBy: OperationRunCommentGroupByArgs['orderBy'];
|
|
905
|
+
} : {
|
|
906
|
+
orderBy?: OperationRunCommentGroupByArgs['orderBy'];
|
|
907
|
+
}, 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 ? {
|
|
908
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
909
|
+
Error,
|
|
910
|
+
'Field ',
|
|
911
|
+
P,
|
|
912
|
+
` in "having" needs to be provided in "by"`
|
|
913
|
+
];
|
|
914
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
915
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
916
|
+
}[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 ? {} : {
|
|
917
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
918
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
919
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
920
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OperationRunCommentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOperationRunCommentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
921
|
+
/**
|
|
922
|
+
* Fields of the OperationRunComment model
|
|
923
|
+
*/
|
|
924
|
+
readonly fields: OperationRunCommentFieldRefs;
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* The delegate class that acts as a "Promise-like" for OperationRunComment.
|
|
928
|
+
* Why is this prefixed with `Prisma__`?
|
|
929
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
930
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
931
|
+
*/
|
|
932
|
+
export interface Prisma__OperationRunCommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
933
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
934
|
+
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>;
|
|
935
|
+
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>;
|
|
936
|
+
/**
|
|
937
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
938
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
939
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
940
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
941
|
+
*/
|
|
942
|
+
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>;
|
|
943
|
+
/**
|
|
944
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
945
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
946
|
+
* @returns A Promise for the completion of the callback.
|
|
947
|
+
*/
|
|
948
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
949
|
+
/**
|
|
950
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
951
|
+
* resolved value cannot be modified from the callback.
|
|
952
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
953
|
+
* @returns A Promise for the completion of the callback.
|
|
954
|
+
*/
|
|
955
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* Fields of the OperationRunComment model
|
|
959
|
+
*/
|
|
960
|
+
export interface OperationRunCommentFieldRefs {
|
|
961
|
+
readonly id: Prisma.FieldRef<"OperationRunComment", 'Int'>;
|
|
962
|
+
readonly operationRunId: Prisma.FieldRef<"OperationRunComment", 'Int'>;
|
|
963
|
+
readonly type: Prisma.FieldRef<"OperationRunComment", 'OperationRunCommentType'>;
|
|
964
|
+
readonly body: Prisma.FieldRef<"OperationRunComment", 'String'>;
|
|
965
|
+
readonly createdAt: Prisma.FieldRef<"OperationRunComment", 'DateTime'>;
|
|
966
|
+
readonly createdById: Prisma.FieldRef<"OperationRunComment", 'Int'>;
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* OperationRunComment findUnique
|
|
970
|
+
*/
|
|
971
|
+
export type OperationRunCommentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
972
|
+
/**
|
|
973
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
974
|
+
*/
|
|
975
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
976
|
+
/**
|
|
977
|
+
* Omit specific fields from the OperationRunComment
|
|
978
|
+
*/
|
|
979
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
980
|
+
/**
|
|
981
|
+
* Choose, which related nodes to fetch as well
|
|
982
|
+
*/
|
|
983
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
984
|
+
/**
|
|
985
|
+
* Filter, which OperationRunComment to fetch.
|
|
986
|
+
*/
|
|
987
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
988
|
+
};
|
|
989
|
+
/**
|
|
990
|
+
* OperationRunComment findUniqueOrThrow
|
|
991
|
+
*/
|
|
992
|
+
export type OperationRunCommentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
/**
|
|
994
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
995
|
+
*/
|
|
996
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Omit specific fields from the OperationRunComment
|
|
999
|
+
*/
|
|
1000
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Choose, which related nodes to fetch as well
|
|
1003
|
+
*/
|
|
1004
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1005
|
+
/**
|
|
1006
|
+
* Filter, which OperationRunComment to fetch.
|
|
1007
|
+
*/
|
|
1008
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* OperationRunComment findFirst
|
|
1012
|
+
*/
|
|
1013
|
+
export type OperationRunCommentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1014
|
+
/**
|
|
1015
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1016
|
+
*/
|
|
1017
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* Omit specific fields from the OperationRunComment
|
|
1020
|
+
*/
|
|
1021
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1022
|
+
/**
|
|
1023
|
+
* Choose, which related nodes to fetch as well
|
|
1024
|
+
*/
|
|
1025
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1026
|
+
/**
|
|
1027
|
+
* Filter, which OperationRunComment to fetch.
|
|
1028
|
+
*/
|
|
1029
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
1030
|
+
/**
|
|
1031
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1032
|
+
*
|
|
1033
|
+
* Determine the order of OperationRunComments to fetch.
|
|
1034
|
+
*/
|
|
1035
|
+
orderBy?: Prisma.OperationRunCommentOrderByWithRelationInput | Prisma.OperationRunCommentOrderByWithRelationInput[];
|
|
1036
|
+
/**
|
|
1037
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1038
|
+
*
|
|
1039
|
+
* Sets the position for searching for OperationRunComments.
|
|
1040
|
+
*/
|
|
1041
|
+
cursor?: Prisma.OperationRunCommentWhereUniqueInput;
|
|
1042
|
+
/**
|
|
1043
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1044
|
+
*
|
|
1045
|
+
* Take `±n` OperationRunComments from the position of the cursor.
|
|
1046
|
+
*/
|
|
1047
|
+
take?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1050
|
+
*
|
|
1051
|
+
* Skip the first `n` OperationRunComments.
|
|
1052
|
+
*/
|
|
1053
|
+
skip?: number;
|
|
1054
|
+
/**
|
|
1055
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1056
|
+
*
|
|
1057
|
+
* Filter by unique combinations of OperationRunComments.
|
|
1058
|
+
*/
|
|
1059
|
+
distinct?: Prisma.OperationRunCommentScalarFieldEnum | Prisma.OperationRunCommentScalarFieldEnum[];
|
|
1060
|
+
};
|
|
1061
|
+
/**
|
|
1062
|
+
* OperationRunComment findFirstOrThrow
|
|
1063
|
+
*/
|
|
1064
|
+
export type OperationRunCommentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1065
|
+
/**
|
|
1066
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1067
|
+
*/
|
|
1068
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1069
|
+
/**
|
|
1070
|
+
* Omit specific fields from the OperationRunComment
|
|
1071
|
+
*/
|
|
1072
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Choose, which related nodes to fetch as well
|
|
1075
|
+
*/
|
|
1076
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1077
|
+
/**
|
|
1078
|
+
* Filter, which OperationRunComment to fetch.
|
|
1079
|
+
*/
|
|
1080
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
1081
|
+
/**
|
|
1082
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1083
|
+
*
|
|
1084
|
+
* Determine the order of OperationRunComments to fetch.
|
|
1085
|
+
*/
|
|
1086
|
+
orderBy?: Prisma.OperationRunCommentOrderByWithRelationInput | Prisma.OperationRunCommentOrderByWithRelationInput[];
|
|
1087
|
+
/**
|
|
1088
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1089
|
+
*
|
|
1090
|
+
* Sets the position for searching for OperationRunComments.
|
|
1091
|
+
*/
|
|
1092
|
+
cursor?: Prisma.OperationRunCommentWhereUniqueInput;
|
|
1093
|
+
/**
|
|
1094
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1095
|
+
*
|
|
1096
|
+
* Take `±n` OperationRunComments from the position of the cursor.
|
|
1097
|
+
*/
|
|
1098
|
+
take?: number;
|
|
1099
|
+
/**
|
|
1100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1101
|
+
*
|
|
1102
|
+
* Skip the first `n` OperationRunComments.
|
|
1103
|
+
*/
|
|
1104
|
+
skip?: number;
|
|
1105
|
+
/**
|
|
1106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1107
|
+
*
|
|
1108
|
+
* Filter by unique combinations of OperationRunComments.
|
|
1109
|
+
*/
|
|
1110
|
+
distinct?: Prisma.OperationRunCommentScalarFieldEnum | Prisma.OperationRunCommentScalarFieldEnum[];
|
|
1111
|
+
};
|
|
1112
|
+
/**
|
|
1113
|
+
* OperationRunComment findMany
|
|
1114
|
+
*/
|
|
1115
|
+
export type OperationRunCommentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1116
|
+
/**
|
|
1117
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1118
|
+
*/
|
|
1119
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1120
|
+
/**
|
|
1121
|
+
* Omit specific fields from the OperationRunComment
|
|
1122
|
+
*/
|
|
1123
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1124
|
+
/**
|
|
1125
|
+
* Choose, which related nodes to fetch as well
|
|
1126
|
+
*/
|
|
1127
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* Filter, which OperationRunComments to fetch.
|
|
1130
|
+
*/
|
|
1131
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
1132
|
+
/**
|
|
1133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1134
|
+
*
|
|
1135
|
+
* Determine the order of OperationRunComments to fetch.
|
|
1136
|
+
*/
|
|
1137
|
+
orderBy?: Prisma.OperationRunCommentOrderByWithRelationInput | Prisma.OperationRunCommentOrderByWithRelationInput[];
|
|
1138
|
+
/**
|
|
1139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1140
|
+
*
|
|
1141
|
+
* Sets the position for listing OperationRunComments.
|
|
1142
|
+
*/
|
|
1143
|
+
cursor?: Prisma.OperationRunCommentWhereUniqueInput;
|
|
1144
|
+
/**
|
|
1145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1146
|
+
*
|
|
1147
|
+
* Take `±n` OperationRunComments from the position of the cursor.
|
|
1148
|
+
*/
|
|
1149
|
+
take?: number;
|
|
1150
|
+
/**
|
|
1151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1152
|
+
*
|
|
1153
|
+
* Skip the first `n` OperationRunComments.
|
|
1154
|
+
*/
|
|
1155
|
+
skip?: number;
|
|
1156
|
+
/**
|
|
1157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1158
|
+
*
|
|
1159
|
+
* Filter by unique combinations of OperationRunComments.
|
|
1160
|
+
*/
|
|
1161
|
+
distinct?: Prisma.OperationRunCommentScalarFieldEnum | Prisma.OperationRunCommentScalarFieldEnum[];
|
|
1162
|
+
};
|
|
1163
|
+
/**
|
|
1164
|
+
* OperationRunComment create
|
|
1165
|
+
*/
|
|
1166
|
+
export type OperationRunCommentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1171
|
+
/**
|
|
1172
|
+
* Omit specific fields from the OperationRunComment
|
|
1173
|
+
*/
|
|
1174
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Choose, which related nodes to fetch as well
|
|
1177
|
+
*/
|
|
1178
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1179
|
+
/**
|
|
1180
|
+
* The data needed to create a OperationRunComment.
|
|
1181
|
+
*/
|
|
1182
|
+
data: Prisma.XOR<Prisma.OperationRunCommentCreateInput, Prisma.OperationRunCommentUncheckedCreateInput>;
|
|
1183
|
+
};
|
|
1184
|
+
/**
|
|
1185
|
+
* OperationRunComment createMany
|
|
1186
|
+
*/
|
|
1187
|
+
export type OperationRunCommentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1188
|
+
/**
|
|
1189
|
+
* The data used to create many OperationRunComments.
|
|
1190
|
+
*/
|
|
1191
|
+
data: Prisma.OperationRunCommentCreateManyInput | Prisma.OperationRunCommentCreateManyInput[];
|
|
1192
|
+
};
|
|
1193
|
+
/**
|
|
1194
|
+
* OperationRunComment createManyAndReturn
|
|
1195
|
+
*/
|
|
1196
|
+
export type OperationRunCommentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1197
|
+
/**
|
|
1198
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1199
|
+
*/
|
|
1200
|
+
select?: Prisma.OperationRunCommentSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1201
|
+
/**
|
|
1202
|
+
* Omit specific fields from the OperationRunComment
|
|
1203
|
+
*/
|
|
1204
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1205
|
+
/**
|
|
1206
|
+
* The data used to create many OperationRunComments.
|
|
1207
|
+
*/
|
|
1208
|
+
data: Prisma.OperationRunCommentCreateManyInput | Prisma.OperationRunCommentCreateManyInput[];
|
|
1209
|
+
/**
|
|
1210
|
+
* Choose, which related nodes to fetch as well
|
|
1211
|
+
*/
|
|
1212
|
+
include?: Prisma.OperationRunCommentIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* OperationRunComment update
|
|
1216
|
+
*/
|
|
1217
|
+
export type OperationRunCommentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1218
|
+
/**
|
|
1219
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1220
|
+
*/
|
|
1221
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Omit specific fields from the OperationRunComment
|
|
1224
|
+
*/
|
|
1225
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* Choose, which related nodes to fetch as well
|
|
1228
|
+
*/
|
|
1229
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1230
|
+
/**
|
|
1231
|
+
* The data needed to update a OperationRunComment.
|
|
1232
|
+
*/
|
|
1233
|
+
data: Prisma.XOR<Prisma.OperationRunCommentUpdateInput, Prisma.OperationRunCommentUncheckedUpdateInput>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Choose, which OperationRunComment to update.
|
|
1236
|
+
*/
|
|
1237
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* OperationRunComment updateMany
|
|
1241
|
+
*/
|
|
1242
|
+
export type OperationRunCommentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1243
|
+
/**
|
|
1244
|
+
* The data used to update OperationRunComments.
|
|
1245
|
+
*/
|
|
1246
|
+
data: Prisma.XOR<Prisma.OperationRunCommentUpdateManyMutationInput, Prisma.OperationRunCommentUncheckedUpdateManyInput>;
|
|
1247
|
+
/**
|
|
1248
|
+
* Filter which OperationRunComments to update
|
|
1249
|
+
*/
|
|
1250
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
1251
|
+
/**
|
|
1252
|
+
* Limit how many OperationRunComments to update.
|
|
1253
|
+
*/
|
|
1254
|
+
limit?: number;
|
|
1255
|
+
};
|
|
1256
|
+
/**
|
|
1257
|
+
* OperationRunComment updateManyAndReturn
|
|
1258
|
+
*/
|
|
1259
|
+
export type OperationRunCommentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1260
|
+
/**
|
|
1261
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1262
|
+
*/
|
|
1263
|
+
select?: Prisma.OperationRunCommentSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1264
|
+
/**
|
|
1265
|
+
* Omit specific fields from the OperationRunComment
|
|
1266
|
+
*/
|
|
1267
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1268
|
+
/**
|
|
1269
|
+
* The data used to update OperationRunComments.
|
|
1270
|
+
*/
|
|
1271
|
+
data: Prisma.XOR<Prisma.OperationRunCommentUpdateManyMutationInput, Prisma.OperationRunCommentUncheckedUpdateManyInput>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Filter which OperationRunComments to update
|
|
1274
|
+
*/
|
|
1275
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
1276
|
+
/**
|
|
1277
|
+
* Limit how many OperationRunComments to update.
|
|
1278
|
+
*/
|
|
1279
|
+
limit?: number;
|
|
1280
|
+
/**
|
|
1281
|
+
* Choose, which related nodes to fetch as well
|
|
1282
|
+
*/
|
|
1283
|
+
include?: Prisma.OperationRunCommentIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* OperationRunComment upsert
|
|
1287
|
+
*/
|
|
1288
|
+
export type OperationRunCommentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1289
|
+
/**
|
|
1290
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1291
|
+
*/
|
|
1292
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* Omit specific fields from the OperationRunComment
|
|
1295
|
+
*/
|
|
1296
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1297
|
+
/**
|
|
1298
|
+
* Choose, which related nodes to fetch as well
|
|
1299
|
+
*/
|
|
1300
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1301
|
+
/**
|
|
1302
|
+
* The filter to search for the OperationRunComment to update in case it exists.
|
|
1303
|
+
*/
|
|
1304
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
1305
|
+
/**
|
|
1306
|
+
* In case the OperationRunComment found by the `where` argument doesn't exist, create a new OperationRunComment with this data.
|
|
1307
|
+
*/
|
|
1308
|
+
create: Prisma.XOR<Prisma.OperationRunCommentCreateInput, Prisma.OperationRunCommentUncheckedCreateInput>;
|
|
1309
|
+
/**
|
|
1310
|
+
* In case the OperationRunComment was found with the provided `where` argument, update it with this data.
|
|
1311
|
+
*/
|
|
1312
|
+
update: Prisma.XOR<Prisma.OperationRunCommentUpdateInput, Prisma.OperationRunCommentUncheckedUpdateInput>;
|
|
1313
|
+
};
|
|
1314
|
+
/**
|
|
1315
|
+
* OperationRunComment delete
|
|
1316
|
+
*/
|
|
1317
|
+
export type OperationRunCommentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1318
|
+
/**
|
|
1319
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1320
|
+
*/
|
|
1321
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1322
|
+
/**
|
|
1323
|
+
* Omit specific fields from the OperationRunComment
|
|
1324
|
+
*/
|
|
1325
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1326
|
+
/**
|
|
1327
|
+
* Choose, which related nodes to fetch as well
|
|
1328
|
+
*/
|
|
1329
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* Filter which OperationRunComment to delete.
|
|
1332
|
+
*/
|
|
1333
|
+
where: Prisma.OperationRunCommentWhereUniqueInput;
|
|
1334
|
+
};
|
|
1335
|
+
/**
|
|
1336
|
+
* OperationRunComment deleteMany
|
|
1337
|
+
*/
|
|
1338
|
+
export type OperationRunCommentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1339
|
+
/**
|
|
1340
|
+
* Filter which OperationRunComments to delete
|
|
1341
|
+
*/
|
|
1342
|
+
where?: Prisma.OperationRunCommentWhereInput;
|
|
1343
|
+
/**
|
|
1344
|
+
* Limit how many OperationRunComments to delete.
|
|
1345
|
+
*/
|
|
1346
|
+
limit?: number;
|
|
1347
|
+
};
|
|
1348
|
+
/**
|
|
1349
|
+
* OperationRunComment without action
|
|
1350
|
+
*/
|
|
1351
|
+
export type OperationRunCommentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1352
|
+
/**
|
|
1353
|
+
* Select specific fields to fetch from the OperationRunComment
|
|
1354
|
+
*/
|
|
1355
|
+
select?: Prisma.OperationRunCommentSelect<ExtArgs> | null;
|
|
1356
|
+
/**
|
|
1357
|
+
* Omit specific fields from the OperationRunComment
|
|
1358
|
+
*/
|
|
1359
|
+
omit?: Prisma.OperationRunCommentOmit<ExtArgs> | null;
|
|
1360
|
+
/**
|
|
1361
|
+
* Choose, which related nodes to fetch as well
|
|
1362
|
+
*/
|
|
1363
|
+
include?: Prisma.OperationRunCommentInclude<ExtArgs> | null;
|
|
1364
|
+
};
|
|
1365
|
+
export {};
|
|
1366
|
+
//# sourceMappingURL=OperationRunComment.d.ts.map
|