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