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