@robert-brightline/ims-db 0.0.10 → 0.0.13
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/assets/favicon.png +0 -0
- package/dist/index.d.ts +1 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -13
- package/dist/index.js.map +1 -1
- package/package.json +26 -12
- package/prisma/schema.prisma +38 -13
- package/dist/generated/prisma/browser.d.ts +0 -10
- package/dist/generated/prisma/browser.d.ts.map +0 -1
- package/dist/generated/prisma/browser.js +0 -17
- package/dist/generated/prisma/browser.js.map +0 -1
- package/dist/generated/prisma/client.d.ts +0 -27
- package/dist/generated/prisma/client.d.ts.map +0 -1
- package/dist/generated/prisma/client.js +0 -31
- package/dist/generated/prisma/client.js.map +0 -1
- package/dist/generated/prisma/commonInputTypes.d.ts +0 -228
- package/dist/generated/prisma/commonInputTypes.d.ts.map +0 -1
- package/dist/generated/prisma/commonInputTypes.js +0 -9
- package/dist/generated/prisma/commonInputTypes.js.map +0 -1
- package/dist/generated/prisma/enums.d.ts +0 -2
- package/dist/generated/prisma/enums.d.ts.map +0 -1
- package/dist/generated/prisma/enums.js +0 -10
- package/dist/generated/prisma/enums.js.map +0 -1
- package/dist/generated/prisma/internal/class.d.ts +0 -127
- package/dist/generated/prisma/internal/class.d.ts.map +0 -1
- package/dist/generated/prisma/internal/class.js +0 -39
- package/dist/generated/prisma/internal/class.js.map +0 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -539
- package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +0 -1
- package/dist/generated/prisma/internal/prismaNamespace.js +0 -92
- package/dist/generated/prisma/internal/prismaNamespace.js.map +0 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -63
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +0 -1
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +0 -67
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js.map +0 -1
- package/dist/generated/prisma/models/Sample.d.ts +0 -1073
- package/dist/generated/prisma/models/Sample.d.ts.map +0 -1
- package/dist/generated/prisma/models/Sample.js +0 -11
- package/dist/generated/prisma/models/Sample.js.map +0 -1
- package/dist/generated/prisma/models.d.ts +0 -3
- package/dist/generated/prisma/models.d.ts.map +0 -1
- package/dist/generated/prisma/models.js +0 -9
- package/dist/generated/prisma/models.js.map +0 -1
- package/dist/generated/zod/index.d.ts +0 -95
- package/dist/generated/zod/index.d.ts.map +0 -1
- package/dist/generated/zod/index.js +0 -802
- package/dist/generated/zod/index.js.map +0 -1
- package/prisma/migrations/20260102221818_initial/migration.sql +0 -32
- package/prisma/migrations/migration_lock.toml +0 -3
|
@@ -1,1073 +0,0 @@
|
|
|
1
|
-
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
-
/**
|
|
4
|
-
* Model Sample
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export type SampleModel = runtime.Types.Result.DefaultSelection<Prisma.$SamplePayload>;
|
|
8
|
-
export type AggregateSample = {
|
|
9
|
-
_count: SampleCountAggregateOutputType | null;
|
|
10
|
-
_avg: SampleAvgAggregateOutputType | null;
|
|
11
|
-
_sum: SampleSumAggregateOutputType | null;
|
|
12
|
-
_min: SampleMinAggregateOutputType | null;
|
|
13
|
-
_max: SampleMaxAggregateOutputType | null;
|
|
14
|
-
};
|
|
15
|
-
export type SampleAvgAggregateOutputType = {
|
|
16
|
-
id: number | null;
|
|
17
|
-
};
|
|
18
|
-
export type SampleSumAggregateOutputType = {
|
|
19
|
-
id: number | null;
|
|
20
|
-
};
|
|
21
|
-
export type SampleMinAggregateOutputType = {
|
|
22
|
-
id: number | null;
|
|
23
|
-
uuid: string | null;
|
|
24
|
-
createdAt: Date | null;
|
|
25
|
-
updatedAt: Date | null;
|
|
26
|
-
deletedAt: Date | null;
|
|
27
|
-
name: string | null;
|
|
28
|
-
};
|
|
29
|
-
export type SampleMaxAggregateOutputType = {
|
|
30
|
-
id: number | null;
|
|
31
|
-
uuid: string | null;
|
|
32
|
-
createdAt: Date | null;
|
|
33
|
-
updatedAt: Date | null;
|
|
34
|
-
deletedAt: Date | null;
|
|
35
|
-
name: string | null;
|
|
36
|
-
};
|
|
37
|
-
export type SampleCountAggregateOutputType = {
|
|
38
|
-
id: number;
|
|
39
|
-
uuid: number;
|
|
40
|
-
createdAt: number;
|
|
41
|
-
updatedAt: number;
|
|
42
|
-
deletedAt: number;
|
|
43
|
-
name: number;
|
|
44
|
-
_all: number;
|
|
45
|
-
};
|
|
46
|
-
export type SampleAvgAggregateInputType = {
|
|
47
|
-
id?: true;
|
|
48
|
-
};
|
|
49
|
-
export type SampleSumAggregateInputType = {
|
|
50
|
-
id?: true;
|
|
51
|
-
};
|
|
52
|
-
export type SampleMinAggregateInputType = {
|
|
53
|
-
id?: true;
|
|
54
|
-
uuid?: true;
|
|
55
|
-
createdAt?: true;
|
|
56
|
-
updatedAt?: true;
|
|
57
|
-
deletedAt?: true;
|
|
58
|
-
name?: true;
|
|
59
|
-
};
|
|
60
|
-
export type SampleMaxAggregateInputType = {
|
|
61
|
-
id?: true;
|
|
62
|
-
uuid?: true;
|
|
63
|
-
createdAt?: true;
|
|
64
|
-
updatedAt?: true;
|
|
65
|
-
deletedAt?: true;
|
|
66
|
-
name?: true;
|
|
67
|
-
};
|
|
68
|
-
export type SampleCountAggregateInputType = {
|
|
69
|
-
id?: true;
|
|
70
|
-
uuid?: true;
|
|
71
|
-
createdAt?: true;
|
|
72
|
-
updatedAt?: true;
|
|
73
|
-
deletedAt?: true;
|
|
74
|
-
name?: true;
|
|
75
|
-
_all?: true;
|
|
76
|
-
};
|
|
77
|
-
export type SampleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
78
|
-
/**
|
|
79
|
-
* Filter which Sample to aggregate.
|
|
80
|
-
*/
|
|
81
|
-
where?: Prisma.SampleWhereInput;
|
|
82
|
-
/**
|
|
83
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
84
|
-
*
|
|
85
|
-
* Determine the order of Samples to fetch.
|
|
86
|
-
*/
|
|
87
|
-
orderBy?: Prisma.SampleOrderByWithRelationInput | Prisma.SampleOrderByWithRelationInput[];
|
|
88
|
-
/**
|
|
89
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
90
|
-
*
|
|
91
|
-
* Sets the start position
|
|
92
|
-
*/
|
|
93
|
-
cursor?: Prisma.SampleWhereUniqueInput;
|
|
94
|
-
/**
|
|
95
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
-
*
|
|
97
|
-
* Take `±n` Samples from the position of the cursor.
|
|
98
|
-
*/
|
|
99
|
-
take?: number;
|
|
100
|
-
/**
|
|
101
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
102
|
-
*
|
|
103
|
-
* Skip the first `n` Samples.
|
|
104
|
-
*/
|
|
105
|
-
skip?: number;
|
|
106
|
-
/**
|
|
107
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
-
*
|
|
109
|
-
* Count returned Samples
|
|
110
|
-
**/
|
|
111
|
-
_count?: true | SampleCountAggregateInputType;
|
|
112
|
-
/**
|
|
113
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
-
*
|
|
115
|
-
* Select which fields to average
|
|
116
|
-
**/
|
|
117
|
-
_avg?: SampleAvgAggregateInputType;
|
|
118
|
-
/**
|
|
119
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
-
*
|
|
121
|
-
* Select which fields to sum
|
|
122
|
-
**/
|
|
123
|
-
_sum?: SampleSumAggregateInputType;
|
|
124
|
-
/**
|
|
125
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
-
*
|
|
127
|
-
* Select which fields to find the minimum value
|
|
128
|
-
**/
|
|
129
|
-
_min?: SampleMinAggregateInputType;
|
|
130
|
-
/**
|
|
131
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
-
*
|
|
133
|
-
* Select which fields to find the maximum value
|
|
134
|
-
**/
|
|
135
|
-
_max?: SampleMaxAggregateInputType;
|
|
136
|
-
};
|
|
137
|
-
export type GetSampleAggregateType<T extends SampleAggregateArgs> = {
|
|
138
|
-
[P in keyof T & keyof AggregateSample]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSample[P]> : Prisma.GetScalarType<T[P], AggregateSample[P]>;
|
|
139
|
-
};
|
|
140
|
-
export type SampleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
141
|
-
where?: Prisma.SampleWhereInput;
|
|
142
|
-
orderBy?: Prisma.SampleOrderByWithAggregationInput | Prisma.SampleOrderByWithAggregationInput[];
|
|
143
|
-
by: Prisma.SampleScalarFieldEnum[] | Prisma.SampleScalarFieldEnum;
|
|
144
|
-
having?: Prisma.SampleScalarWhereWithAggregatesInput;
|
|
145
|
-
take?: number;
|
|
146
|
-
skip?: number;
|
|
147
|
-
_count?: SampleCountAggregateInputType | true;
|
|
148
|
-
_avg?: SampleAvgAggregateInputType;
|
|
149
|
-
_sum?: SampleSumAggregateInputType;
|
|
150
|
-
_min?: SampleMinAggregateInputType;
|
|
151
|
-
_max?: SampleMaxAggregateInputType;
|
|
152
|
-
};
|
|
153
|
-
export type SampleGroupByOutputType = {
|
|
154
|
-
id: number;
|
|
155
|
-
uuid: string;
|
|
156
|
-
createdAt: Date;
|
|
157
|
-
updatedAt: Date;
|
|
158
|
-
deletedAt: Date | null;
|
|
159
|
-
name: string;
|
|
160
|
-
_count: SampleCountAggregateOutputType | null;
|
|
161
|
-
_avg: SampleAvgAggregateOutputType | null;
|
|
162
|
-
_sum: SampleSumAggregateOutputType | null;
|
|
163
|
-
_min: SampleMinAggregateOutputType | null;
|
|
164
|
-
_max: SampleMaxAggregateOutputType | null;
|
|
165
|
-
};
|
|
166
|
-
type GetSampleGroupByPayload<T extends SampleGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SampleGroupByOutputType, T['by']> & {
|
|
167
|
-
[P in ((keyof T) & (keyof SampleGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SampleGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SampleGroupByOutputType[P]>;
|
|
168
|
-
}>>;
|
|
169
|
-
export type SampleWhereInput = {
|
|
170
|
-
AND?: Prisma.SampleWhereInput | Prisma.SampleWhereInput[];
|
|
171
|
-
OR?: Prisma.SampleWhereInput[];
|
|
172
|
-
NOT?: Prisma.SampleWhereInput | Prisma.SampleWhereInput[];
|
|
173
|
-
id?: Prisma.IntFilter<"Sample"> | number;
|
|
174
|
-
uuid?: Prisma.StringFilter<"Sample"> | string;
|
|
175
|
-
createdAt?: Prisma.DateTimeFilter<"Sample"> | Date | string;
|
|
176
|
-
updatedAt?: Prisma.DateTimeFilter<"Sample"> | Date | string;
|
|
177
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"Sample"> | Date | string | null;
|
|
178
|
-
name?: Prisma.StringFilter<"Sample"> | string;
|
|
179
|
-
};
|
|
180
|
-
export type SampleOrderByWithRelationInput = {
|
|
181
|
-
id?: Prisma.SortOrder;
|
|
182
|
-
uuid?: Prisma.SortOrder;
|
|
183
|
-
createdAt?: Prisma.SortOrder;
|
|
184
|
-
updatedAt?: Prisma.SortOrder;
|
|
185
|
-
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
186
|
-
name?: Prisma.SortOrder;
|
|
187
|
-
};
|
|
188
|
-
export type SampleWhereUniqueInput = Prisma.AtLeast<{
|
|
189
|
-
id?: number;
|
|
190
|
-
uuid?: string;
|
|
191
|
-
name?: string;
|
|
192
|
-
AND?: Prisma.SampleWhereInput | Prisma.SampleWhereInput[];
|
|
193
|
-
OR?: Prisma.SampleWhereInput[];
|
|
194
|
-
NOT?: Prisma.SampleWhereInput | Prisma.SampleWhereInput[];
|
|
195
|
-
createdAt?: Prisma.DateTimeFilter<"Sample"> | Date | string;
|
|
196
|
-
updatedAt?: Prisma.DateTimeFilter<"Sample"> | Date | string;
|
|
197
|
-
deletedAt?: Prisma.DateTimeNullableFilter<"Sample"> | Date | string | null;
|
|
198
|
-
}, "id" | "uuid" | "name">;
|
|
199
|
-
export type SampleOrderByWithAggregationInput = {
|
|
200
|
-
id?: Prisma.SortOrder;
|
|
201
|
-
uuid?: Prisma.SortOrder;
|
|
202
|
-
createdAt?: Prisma.SortOrder;
|
|
203
|
-
updatedAt?: Prisma.SortOrder;
|
|
204
|
-
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
205
|
-
name?: Prisma.SortOrder;
|
|
206
|
-
_count?: Prisma.SampleCountOrderByAggregateInput;
|
|
207
|
-
_avg?: Prisma.SampleAvgOrderByAggregateInput;
|
|
208
|
-
_max?: Prisma.SampleMaxOrderByAggregateInput;
|
|
209
|
-
_min?: Prisma.SampleMinOrderByAggregateInput;
|
|
210
|
-
_sum?: Prisma.SampleSumOrderByAggregateInput;
|
|
211
|
-
};
|
|
212
|
-
export type SampleScalarWhereWithAggregatesInput = {
|
|
213
|
-
AND?: Prisma.SampleScalarWhereWithAggregatesInput | Prisma.SampleScalarWhereWithAggregatesInput[];
|
|
214
|
-
OR?: Prisma.SampleScalarWhereWithAggregatesInput[];
|
|
215
|
-
NOT?: Prisma.SampleScalarWhereWithAggregatesInput | Prisma.SampleScalarWhereWithAggregatesInput[];
|
|
216
|
-
id?: Prisma.IntWithAggregatesFilter<"Sample"> | number;
|
|
217
|
-
uuid?: Prisma.StringWithAggregatesFilter<"Sample"> | string;
|
|
218
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Sample"> | Date | string;
|
|
219
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Sample"> | Date | string;
|
|
220
|
-
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Sample"> | Date | string | null;
|
|
221
|
-
name?: Prisma.StringWithAggregatesFilter<"Sample"> | string;
|
|
222
|
-
};
|
|
223
|
-
export type SampleCreateInput = {
|
|
224
|
-
uuid?: string;
|
|
225
|
-
createdAt?: Date | string;
|
|
226
|
-
updatedAt?: Date | string;
|
|
227
|
-
deletedAt?: Date | string | null;
|
|
228
|
-
name: string;
|
|
229
|
-
};
|
|
230
|
-
export type SampleUncheckedCreateInput = {
|
|
231
|
-
id?: number;
|
|
232
|
-
uuid?: string;
|
|
233
|
-
createdAt?: Date | string;
|
|
234
|
-
updatedAt?: Date | string;
|
|
235
|
-
deletedAt?: Date | string | null;
|
|
236
|
-
name: string;
|
|
237
|
-
};
|
|
238
|
-
export type SampleUpdateInput = {
|
|
239
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
241
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
242
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
243
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
244
|
-
};
|
|
245
|
-
export type SampleUncheckedUpdateInput = {
|
|
246
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
247
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
248
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
249
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
250
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
251
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
252
|
-
};
|
|
253
|
-
export type SampleCreateManyInput = {
|
|
254
|
-
id?: number;
|
|
255
|
-
uuid?: string;
|
|
256
|
-
createdAt?: Date | string;
|
|
257
|
-
updatedAt?: Date | string;
|
|
258
|
-
deletedAt?: Date | string | null;
|
|
259
|
-
name: string;
|
|
260
|
-
};
|
|
261
|
-
export type SampleUpdateManyMutationInput = {
|
|
262
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
263
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
264
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
265
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
266
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
267
|
-
};
|
|
268
|
-
export type SampleUncheckedUpdateManyInput = {
|
|
269
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
270
|
-
uuid?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
271
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
272
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
273
|
-
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
274
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
275
|
-
};
|
|
276
|
-
export type SampleCountOrderByAggregateInput = {
|
|
277
|
-
id?: Prisma.SortOrder;
|
|
278
|
-
uuid?: Prisma.SortOrder;
|
|
279
|
-
createdAt?: Prisma.SortOrder;
|
|
280
|
-
updatedAt?: Prisma.SortOrder;
|
|
281
|
-
deletedAt?: Prisma.SortOrder;
|
|
282
|
-
name?: Prisma.SortOrder;
|
|
283
|
-
};
|
|
284
|
-
export type SampleAvgOrderByAggregateInput = {
|
|
285
|
-
id?: Prisma.SortOrder;
|
|
286
|
-
};
|
|
287
|
-
export type SampleMaxOrderByAggregateInput = {
|
|
288
|
-
id?: Prisma.SortOrder;
|
|
289
|
-
uuid?: Prisma.SortOrder;
|
|
290
|
-
createdAt?: Prisma.SortOrder;
|
|
291
|
-
updatedAt?: Prisma.SortOrder;
|
|
292
|
-
deletedAt?: Prisma.SortOrder;
|
|
293
|
-
name?: Prisma.SortOrder;
|
|
294
|
-
};
|
|
295
|
-
export type SampleMinOrderByAggregateInput = {
|
|
296
|
-
id?: Prisma.SortOrder;
|
|
297
|
-
uuid?: Prisma.SortOrder;
|
|
298
|
-
createdAt?: Prisma.SortOrder;
|
|
299
|
-
updatedAt?: Prisma.SortOrder;
|
|
300
|
-
deletedAt?: Prisma.SortOrder;
|
|
301
|
-
name?: Prisma.SortOrder;
|
|
302
|
-
};
|
|
303
|
-
export type SampleSumOrderByAggregateInput = {
|
|
304
|
-
id?: Prisma.SortOrder;
|
|
305
|
-
};
|
|
306
|
-
export type StringFieldUpdateOperationsInput = {
|
|
307
|
-
set?: string;
|
|
308
|
-
};
|
|
309
|
-
export type DateTimeFieldUpdateOperationsInput = {
|
|
310
|
-
set?: Date | string;
|
|
311
|
-
};
|
|
312
|
-
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
313
|
-
set?: Date | string | null;
|
|
314
|
-
};
|
|
315
|
-
export type IntFieldUpdateOperationsInput = {
|
|
316
|
-
set?: number;
|
|
317
|
-
increment?: number;
|
|
318
|
-
decrement?: number;
|
|
319
|
-
multiply?: number;
|
|
320
|
-
divide?: number;
|
|
321
|
-
};
|
|
322
|
-
export type SampleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
323
|
-
id?: boolean;
|
|
324
|
-
uuid?: boolean;
|
|
325
|
-
createdAt?: boolean;
|
|
326
|
-
updatedAt?: boolean;
|
|
327
|
-
deletedAt?: boolean;
|
|
328
|
-
name?: boolean;
|
|
329
|
-
}, ExtArgs["result"]["sample"]>;
|
|
330
|
-
export type SampleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
331
|
-
id?: boolean;
|
|
332
|
-
uuid?: boolean;
|
|
333
|
-
createdAt?: boolean;
|
|
334
|
-
updatedAt?: boolean;
|
|
335
|
-
deletedAt?: boolean;
|
|
336
|
-
name?: boolean;
|
|
337
|
-
}, ExtArgs["result"]["sample"]>;
|
|
338
|
-
export type SampleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
339
|
-
id?: boolean;
|
|
340
|
-
uuid?: boolean;
|
|
341
|
-
createdAt?: boolean;
|
|
342
|
-
updatedAt?: boolean;
|
|
343
|
-
deletedAt?: boolean;
|
|
344
|
-
name?: boolean;
|
|
345
|
-
}, ExtArgs["result"]["sample"]>;
|
|
346
|
-
export type SampleSelectScalar = {
|
|
347
|
-
id?: boolean;
|
|
348
|
-
uuid?: boolean;
|
|
349
|
-
createdAt?: boolean;
|
|
350
|
-
updatedAt?: boolean;
|
|
351
|
-
deletedAt?: boolean;
|
|
352
|
-
name?: boolean;
|
|
353
|
-
};
|
|
354
|
-
export type SampleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "createdAt" | "updatedAt" | "deletedAt" | "name", ExtArgs["result"]["sample"]>;
|
|
355
|
-
export type $SamplePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
356
|
-
name: "Sample";
|
|
357
|
-
objects: {};
|
|
358
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
359
|
-
id: number;
|
|
360
|
-
uuid: string;
|
|
361
|
-
createdAt: Date;
|
|
362
|
-
updatedAt: Date;
|
|
363
|
-
deletedAt: Date | null;
|
|
364
|
-
name: string;
|
|
365
|
-
}, ExtArgs["result"]["sample"]>;
|
|
366
|
-
composites: {};
|
|
367
|
-
};
|
|
368
|
-
export type SampleGetPayload<S extends boolean | null | undefined | SampleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SamplePayload, S>;
|
|
369
|
-
export type SampleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<SampleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
370
|
-
select?: SampleCountAggregateInputType | true;
|
|
371
|
-
};
|
|
372
|
-
export interface SampleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
373
|
-
[K: symbol]: {
|
|
374
|
-
types: Prisma.TypeMap<ExtArgs>['model']['Sample'];
|
|
375
|
-
meta: {
|
|
376
|
-
name: 'Sample';
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
/**
|
|
380
|
-
* Find zero or one Sample that matches the filter.
|
|
381
|
-
* @param {SampleFindUniqueArgs} args - Arguments to find a Sample
|
|
382
|
-
* @example
|
|
383
|
-
* // Get one Sample
|
|
384
|
-
* const sample = await prisma.sample.findUnique({
|
|
385
|
-
* where: {
|
|
386
|
-
* // ... provide filter here
|
|
387
|
-
* }
|
|
388
|
-
* })
|
|
389
|
-
*/
|
|
390
|
-
findUnique<T extends SampleFindUniqueArgs>(args: Prisma.SelectSubset<T, SampleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
391
|
-
/**
|
|
392
|
-
* Find one Sample that matches the filter or throw an error with `error.code='P2025'`
|
|
393
|
-
* if no matches were found.
|
|
394
|
-
* @param {SampleFindUniqueOrThrowArgs} args - Arguments to find a Sample
|
|
395
|
-
* @example
|
|
396
|
-
* // Get one Sample
|
|
397
|
-
* const sample = await prisma.sample.findUniqueOrThrow({
|
|
398
|
-
* where: {
|
|
399
|
-
* // ... provide filter here
|
|
400
|
-
* }
|
|
401
|
-
* })
|
|
402
|
-
*/
|
|
403
|
-
findUniqueOrThrow<T extends SampleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SampleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
404
|
-
/**
|
|
405
|
-
* Find the first Sample that matches the filter.
|
|
406
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
407
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
408
|
-
* @param {SampleFindFirstArgs} args - Arguments to find a Sample
|
|
409
|
-
* @example
|
|
410
|
-
* // Get one Sample
|
|
411
|
-
* const sample = await prisma.sample.findFirst({
|
|
412
|
-
* where: {
|
|
413
|
-
* // ... provide filter here
|
|
414
|
-
* }
|
|
415
|
-
* })
|
|
416
|
-
*/
|
|
417
|
-
findFirst<T extends SampleFindFirstArgs>(args?: Prisma.SelectSubset<T, SampleFindFirstArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
418
|
-
/**
|
|
419
|
-
* Find the first Sample that matches the filter or
|
|
420
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
421
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
422
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
423
|
-
* @param {SampleFindFirstOrThrowArgs} args - Arguments to find a Sample
|
|
424
|
-
* @example
|
|
425
|
-
* // Get one Sample
|
|
426
|
-
* const sample = await prisma.sample.findFirstOrThrow({
|
|
427
|
-
* where: {
|
|
428
|
-
* // ... provide filter here
|
|
429
|
-
* }
|
|
430
|
-
* })
|
|
431
|
-
*/
|
|
432
|
-
findFirstOrThrow<T extends SampleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SampleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
433
|
-
/**
|
|
434
|
-
* Find zero or more Samples that matches the filter.
|
|
435
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
436
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
437
|
-
* @param {SampleFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
438
|
-
* @example
|
|
439
|
-
* // Get all Samples
|
|
440
|
-
* const samples = await prisma.sample.findMany()
|
|
441
|
-
*
|
|
442
|
-
* // Get first 10 Samples
|
|
443
|
-
* const samples = await prisma.sample.findMany({ take: 10 })
|
|
444
|
-
*
|
|
445
|
-
* // Only select the `id`
|
|
446
|
-
* const sampleWithIdOnly = await prisma.sample.findMany({ select: { id: true } })
|
|
447
|
-
*
|
|
448
|
-
*/
|
|
449
|
-
findMany<T extends SampleFindManyArgs>(args?: Prisma.SelectSubset<T, SampleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
450
|
-
/**
|
|
451
|
-
* Create a Sample.
|
|
452
|
-
* @param {SampleCreateArgs} args - Arguments to create a Sample.
|
|
453
|
-
* @example
|
|
454
|
-
* // Create one Sample
|
|
455
|
-
* const Sample = await prisma.sample.create({
|
|
456
|
-
* data: {
|
|
457
|
-
* // ... data to create a Sample
|
|
458
|
-
* }
|
|
459
|
-
* })
|
|
460
|
-
*
|
|
461
|
-
*/
|
|
462
|
-
create<T extends SampleCreateArgs>(args: Prisma.SelectSubset<T, SampleCreateArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
463
|
-
/**
|
|
464
|
-
* Create many Samples.
|
|
465
|
-
* @param {SampleCreateManyArgs} args - Arguments to create many Samples.
|
|
466
|
-
* @example
|
|
467
|
-
* // Create many Samples
|
|
468
|
-
* const sample = await prisma.sample.createMany({
|
|
469
|
-
* data: [
|
|
470
|
-
* // ... provide data here
|
|
471
|
-
* ]
|
|
472
|
-
* })
|
|
473
|
-
*
|
|
474
|
-
*/
|
|
475
|
-
createMany<T extends SampleCreateManyArgs>(args?: Prisma.SelectSubset<T, SampleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
476
|
-
/**
|
|
477
|
-
* Create many Samples and returns the data saved in the database.
|
|
478
|
-
* @param {SampleCreateManyAndReturnArgs} args - Arguments to create many Samples.
|
|
479
|
-
* @example
|
|
480
|
-
* // Create many Samples
|
|
481
|
-
* const sample = await prisma.sample.createManyAndReturn({
|
|
482
|
-
* data: [
|
|
483
|
-
* // ... provide data here
|
|
484
|
-
* ]
|
|
485
|
-
* })
|
|
486
|
-
*
|
|
487
|
-
* // Create many Samples and only return the `id`
|
|
488
|
-
* const sampleWithIdOnly = await prisma.sample.createManyAndReturn({
|
|
489
|
-
* select: { id: true },
|
|
490
|
-
* data: [
|
|
491
|
-
* // ... provide data here
|
|
492
|
-
* ]
|
|
493
|
-
* })
|
|
494
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
495
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
496
|
-
*
|
|
497
|
-
*/
|
|
498
|
-
createManyAndReturn<T extends SampleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SampleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
499
|
-
/**
|
|
500
|
-
* Delete a Sample.
|
|
501
|
-
* @param {SampleDeleteArgs} args - Arguments to delete one Sample.
|
|
502
|
-
* @example
|
|
503
|
-
* // Delete one Sample
|
|
504
|
-
* const Sample = await prisma.sample.delete({
|
|
505
|
-
* where: {
|
|
506
|
-
* // ... filter to delete one Sample
|
|
507
|
-
* }
|
|
508
|
-
* })
|
|
509
|
-
*
|
|
510
|
-
*/
|
|
511
|
-
delete<T extends SampleDeleteArgs>(args: Prisma.SelectSubset<T, SampleDeleteArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
512
|
-
/**
|
|
513
|
-
* Update one Sample.
|
|
514
|
-
* @param {SampleUpdateArgs} args - Arguments to update one Sample.
|
|
515
|
-
* @example
|
|
516
|
-
* // Update one Sample
|
|
517
|
-
* const sample = await prisma.sample.update({
|
|
518
|
-
* where: {
|
|
519
|
-
* // ... provide filter here
|
|
520
|
-
* },
|
|
521
|
-
* data: {
|
|
522
|
-
* // ... provide data here
|
|
523
|
-
* }
|
|
524
|
-
* })
|
|
525
|
-
*
|
|
526
|
-
*/
|
|
527
|
-
update<T extends SampleUpdateArgs>(args: Prisma.SelectSubset<T, SampleUpdateArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
528
|
-
/**
|
|
529
|
-
* Delete zero or more Samples.
|
|
530
|
-
* @param {SampleDeleteManyArgs} args - Arguments to filter Samples to delete.
|
|
531
|
-
* @example
|
|
532
|
-
* // Delete a few Samples
|
|
533
|
-
* const { count } = await prisma.sample.deleteMany({
|
|
534
|
-
* where: {
|
|
535
|
-
* // ... provide filter here
|
|
536
|
-
* }
|
|
537
|
-
* })
|
|
538
|
-
*
|
|
539
|
-
*/
|
|
540
|
-
deleteMany<T extends SampleDeleteManyArgs>(args?: Prisma.SelectSubset<T, SampleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
541
|
-
/**
|
|
542
|
-
* Update zero or more Samples.
|
|
543
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
544
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
545
|
-
* @param {SampleUpdateManyArgs} args - Arguments to update one or more rows.
|
|
546
|
-
* @example
|
|
547
|
-
* // Update many Samples
|
|
548
|
-
* const sample = await prisma.sample.updateMany({
|
|
549
|
-
* where: {
|
|
550
|
-
* // ... provide filter here
|
|
551
|
-
* },
|
|
552
|
-
* data: {
|
|
553
|
-
* // ... provide data here
|
|
554
|
-
* }
|
|
555
|
-
* })
|
|
556
|
-
*
|
|
557
|
-
*/
|
|
558
|
-
updateMany<T extends SampleUpdateManyArgs>(args: Prisma.SelectSubset<T, SampleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
559
|
-
/**
|
|
560
|
-
* Update zero or more Samples and returns the data updated in the database.
|
|
561
|
-
* @param {SampleUpdateManyAndReturnArgs} args - Arguments to update many Samples.
|
|
562
|
-
* @example
|
|
563
|
-
* // Update many Samples
|
|
564
|
-
* const sample = await prisma.sample.updateManyAndReturn({
|
|
565
|
-
* where: {
|
|
566
|
-
* // ... provide filter here
|
|
567
|
-
* },
|
|
568
|
-
* data: [
|
|
569
|
-
* // ... provide data here
|
|
570
|
-
* ]
|
|
571
|
-
* })
|
|
572
|
-
*
|
|
573
|
-
* // Update zero or more Samples and only return the `id`
|
|
574
|
-
* const sampleWithIdOnly = await prisma.sample.updateManyAndReturn({
|
|
575
|
-
* select: { id: true },
|
|
576
|
-
* where: {
|
|
577
|
-
* // ... provide filter here
|
|
578
|
-
* },
|
|
579
|
-
* data: [
|
|
580
|
-
* // ... provide data here
|
|
581
|
-
* ]
|
|
582
|
-
* })
|
|
583
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
584
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
585
|
-
*
|
|
586
|
-
*/
|
|
587
|
-
updateManyAndReturn<T extends SampleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SampleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
588
|
-
/**
|
|
589
|
-
* Create or update one Sample.
|
|
590
|
-
* @param {SampleUpsertArgs} args - Arguments to update or create a Sample.
|
|
591
|
-
* @example
|
|
592
|
-
* // Update or create a Sample
|
|
593
|
-
* const sample = await prisma.sample.upsert({
|
|
594
|
-
* create: {
|
|
595
|
-
* // ... data to create a Sample
|
|
596
|
-
* },
|
|
597
|
-
* update: {
|
|
598
|
-
* // ... in case it already exists, update
|
|
599
|
-
* },
|
|
600
|
-
* where: {
|
|
601
|
-
* // ... the filter for the Sample we want to update
|
|
602
|
-
* }
|
|
603
|
-
* })
|
|
604
|
-
*/
|
|
605
|
-
upsert<T extends SampleUpsertArgs>(args: Prisma.SelectSubset<T, SampleUpsertArgs<ExtArgs>>): Prisma.Prisma__SampleClient<runtime.Types.Result.GetResult<Prisma.$SamplePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
606
|
-
/**
|
|
607
|
-
* Count the number of Samples.
|
|
608
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
609
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
610
|
-
* @param {SampleCountArgs} args - Arguments to filter Samples to count.
|
|
611
|
-
* @example
|
|
612
|
-
* // Count the number of Samples
|
|
613
|
-
* const count = await prisma.sample.count({
|
|
614
|
-
* where: {
|
|
615
|
-
* // ... the filter for the Samples we want to count
|
|
616
|
-
* }
|
|
617
|
-
* })
|
|
618
|
-
**/
|
|
619
|
-
count<T extends SampleCountArgs>(args?: Prisma.Subset<T, SampleCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SampleCountAggregateOutputType> : number>;
|
|
620
|
-
/**
|
|
621
|
-
* Allows you to perform aggregations operations on a Sample.
|
|
622
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
623
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
624
|
-
* @param {SampleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
625
|
-
* @example
|
|
626
|
-
* // Ordered by age ascending
|
|
627
|
-
* // Where email contains prisma.io
|
|
628
|
-
* // Limited to the 10 users
|
|
629
|
-
* const aggregations = await prisma.user.aggregate({
|
|
630
|
-
* _avg: {
|
|
631
|
-
* age: true,
|
|
632
|
-
* },
|
|
633
|
-
* where: {
|
|
634
|
-
* email: {
|
|
635
|
-
* contains: "prisma.io",
|
|
636
|
-
* },
|
|
637
|
-
* },
|
|
638
|
-
* orderBy: {
|
|
639
|
-
* age: "asc",
|
|
640
|
-
* },
|
|
641
|
-
* take: 10,
|
|
642
|
-
* })
|
|
643
|
-
**/
|
|
644
|
-
aggregate<T extends SampleAggregateArgs>(args: Prisma.Subset<T, SampleAggregateArgs>): Prisma.PrismaPromise<GetSampleAggregateType<T>>;
|
|
645
|
-
/**
|
|
646
|
-
* Group by Sample.
|
|
647
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
648
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
649
|
-
* @param {SampleGroupByArgs} args - Group by arguments.
|
|
650
|
-
* @example
|
|
651
|
-
* // Group by city, order by createdAt, get count
|
|
652
|
-
* const result = await prisma.user.groupBy({
|
|
653
|
-
* by: ['city', 'createdAt'],
|
|
654
|
-
* orderBy: {
|
|
655
|
-
* createdAt: true
|
|
656
|
-
* },
|
|
657
|
-
* _count: {
|
|
658
|
-
* _all: true
|
|
659
|
-
* },
|
|
660
|
-
* })
|
|
661
|
-
*
|
|
662
|
-
**/
|
|
663
|
-
groupBy<T extends SampleGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
664
|
-
orderBy: SampleGroupByArgs['orderBy'];
|
|
665
|
-
} : {
|
|
666
|
-
orderBy?: SampleGroupByArgs['orderBy'];
|
|
667
|
-
}, 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 ? {
|
|
668
|
-
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
669
|
-
Error,
|
|
670
|
-
'Field ',
|
|
671
|
-
P,
|
|
672
|
-
` in "having" needs to be provided in "by"`
|
|
673
|
-
];
|
|
674
|
-
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
675
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
676
|
-
}[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 ? {} : {
|
|
677
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
678
|
-
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
679
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
680
|
-
}[OrderFields]>(args: Prisma.SubsetIntersection<T, SampleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSampleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
681
|
-
/**
|
|
682
|
-
* Fields of the Sample model
|
|
683
|
-
*/
|
|
684
|
-
readonly fields: SampleFieldRefs;
|
|
685
|
-
}
|
|
686
|
-
/**
|
|
687
|
-
* The delegate class that acts as a "Promise-like" for Sample.
|
|
688
|
-
* Why is this prefixed with `Prisma__`?
|
|
689
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
690
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
691
|
-
*/
|
|
692
|
-
export interface Prisma__SampleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
693
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
694
|
-
/**
|
|
695
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
696
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
697
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
698
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
699
|
-
*/
|
|
700
|
-
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>;
|
|
701
|
-
/**
|
|
702
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
703
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
704
|
-
* @returns A Promise for the completion of the callback.
|
|
705
|
-
*/
|
|
706
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
707
|
-
/**
|
|
708
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
709
|
-
* resolved value cannot be modified from the callback.
|
|
710
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
711
|
-
* @returns A Promise for the completion of the callback.
|
|
712
|
-
*/
|
|
713
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
714
|
-
}
|
|
715
|
-
/**
|
|
716
|
-
* Fields of the Sample model
|
|
717
|
-
*/
|
|
718
|
-
export interface SampleFieldRefs {
|
|
719
|
-
readonly id: Prisma.FieldRef<"Sample", 'Int'>;
|
|
720
|
-
readonly uuid: Prisma.FieldRef<"Sample", 'String'>;
|
|
721
|
-
readonly createdAt: Prisma.FieldRef<"Sample", 'DateTime'>;
|
|
722
|
-
readonly updatedAt: Prisma.FieldRef<"Sample", 'DateTime'>;
|
|
723
|
-
readonly deletedAt: Prisma.FieldRef<"Sample", 'DateTime'>;
|
|
724
|
-
readonly name: Prisma.FieldRef<"Sample", 'String'>;
|
|
725
|
-
}
|
|
726
|
-
/**
|
|
727
|
-
* Sample findUnique
|
|
728
|
-
*/
|
|
729
|
-
export type SampleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
730
|
-
/**
|
|
731
|
-
* Select specific fields to fetch from the Sample
|
|
732
|
-
*/
|
|
733
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
734
|
-
/**
|
|
735
|
-
* Omit specific fields from the Sample
|
|
736
|
-
*/
|
|
737
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
738
|
-
/**
|
|
739
|
-
* Filter, which Sample to fetch.
|
|
740
|
-
*/
|
|
741
|
-
where: Prisma.SampleWhereUniqueInput;
|
|
742
|
-
};
|
|
743
|
-
/**
|
|
744
|
-
* Sample findUniqueOrThrow
|
|
745
|
-
*/
|
|
746
|
-
export type SampleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
747
|
-
/**
|
|
748
|
-
* Select specific fields to fetch from the Sample
|
|
749
|
-
*/
|
|
750
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
751
|
-
/**
|
|
752
|
-
* Omit specific fields from the Sample
|
|
753
|
-
*/
|
|
754
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
755
|
-
/**
|
|
756
|
-
* Filter, which Sample to fetch.
|
|
757
|
-
*/
|
|
758
|
-
where: Prisma.SampleWhereUniqueInput;
|
|
759
|
-
};
|
|
760
|
-
/**
|
|
761
|
-
* Sample findFirst
|
|
762
|
-
*/
|
|
763
|
-
export type SampleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
764
|
-
/**
|
|
765
|
-
* Select specific fields to fetch from the Sample
|
|
766
|
-
*/
|
|
767
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
768
|
-
/**
|
|
769
|
-
* Omit specific fields from the Sample
|
|
770
|
-
*/
|
|
771
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
772
|
-
/**
|
|
773
|
-
* Filter, which Sample to fetch.
|
|
774
|
-
*/
|
|
775
|
-
where?: Prisma.SampleWhereInput;
|
|
776
|
-
/**
|
|
777
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
778
|
-
*
|
|
779
|
-
* Determine the order of Samples to fetch.
|
|
780
|
-
*/
|
|
781
|
-
orderBy?: Prisma.SampleOrderByWithRelationInput | Prisma.SampleOrderByWithRelationInput[];
|
|
782
|
-
/**
|
|
783
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
784
|
-
*
|
|
785
|
-
* Sets the position for searching for Samples.
|
|
786
|
-
*/
|
|
787
|
-
cursor?: Prisma.SampleWhereUniqueInput;
|
|
788
|
-
/**
|
|
789
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
790
|
-
*
|
|
791
|
-
* Take `±n` Samples from the position of the cursor.
|
|
792
|
-
*/
|
|
793
|
-
take?: number;
|
|
794
|
-
/**
|
|
795
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
796
|
-
*
|
|
797
|
-
* Skip the first `n` Samples.
|
|
798
|
-
*/
|
|
799
|
-
skip?: number;
|
|
800
|
-
/**
|
|
801
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
802
|
-
*
|
|
803
|
-
* Filter by unique combinations of Samples.
|
|
804
|
-
*/
|
|
805
|
-
distinct?: Prisma.SampleScalarFieldEnum | Prisma.SampleScalarFieldEnum[];
|
|
806
|
-
};
|
|
807
|
-
/**
|
|
808
|
-
* Sample findFirstOrThrow
|
|
809
|
-
*/
|
|
810
|
-
export type SampleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
811
|
-
/**
|
|
812
|
-
* Select specific fields to fetch from the Sample
|
|
813
|
-
*/
|
|
814
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
815
|
-
/**
|
|
816
|
-
* Omit specific fields from the Sample
|
|
817
|
-
*/
|
|
818
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
819
|
-
/**
|
|
820
|
-
* Filter, which Sample to fetch.
|
|
821
|
-
*/
|
|
822
|
-
where?: Prisma.SampleWhereInput;
|
|
823
|
-
/**
|
|
824
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
825
|
-
*
|
|
826
|
-
* Determine the order of Samples to fetch.
|
|
827
|
-
*/
|
|
828
|
-
orderBy?: Prisma.SampleOrderByWithRelationInput | Prisma.SampleOrderByWithRelationInput[];
|
|
829
|
-
/**
|
|
830
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
831
|
-
*
|
|
832
|
-
* Sets the position for searching for Samples.
|
|
833
|
-
*/
|
|
834
|
-
cursor?: Prisma.SampleWhereUniqueInput;
|
|
835
|
-
/**
|
|
836
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
837
|
-
*
|
|
838
|
-
* Take `±n` Samples from the position of the cursor.
|
|
839
|
-
*/
|
|
840
|
-
take?: number;
|
|
841
|
-
/**
|
|
842
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
843
|
-
*
|
|
844
|
-
* Skip the first `n` Samples.
|
|
845
|
-
*/
|
|
846
|
-
skip?: number;
|
|
847
|
-
/**
|
|
848
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
849
|
-
*
|
|
850
|
-
* Filter by unique combinations of Samples.
|
|
851
|
-
*/
|
|
852
|
-
distinct?: Prisma.SampleScalarFieldEnum | Prisma.SampleScalarFieldEnum[];
|
|
853
|
-
};
|
|
854
|
-
/**
|
|
855
|
-
* Sample findMany
|
|
856
|
-
*/
|
|
857
|
-
export type SampleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
858
|
-
/**
|
|
859
|
-
* Select specific fields to fetch from the Sample
|
|
860
|
-
*/
|
|
861
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
862
|
-
/**
|
|
863
|
-
* Omit specific fields from the Sample
|
|
864
|
-
*/
|
|
865
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
866
|
-
/**
|
|
867
|
-
* Filter, which Samples to fetch.
|
|
868
|
-
*/
|
|
869
|
-
where?: Prisma.SampleWhereInput;
|
|
870
|
-
/**
|
|
871
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
872
|
-
*
|
|
873
|
-
* Determine the order of Samples to fetch.
|
|
874
|
-
*/
|
|
875
|
-
orderBy?: Prisma.SampleOrderByWithRelationInput | Prisma.SampleOrderByWithRelationInput[];
|
|
876
|
-
/**
|
|
877
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
878
|
-
*
|
|
879
|
-
* Sets the position for listing Samples.
|
|
880
|
-
*/
|
|
881
|
-
cursor?: Prisma.SampleWhereUniqueInput;
|
|
882
|
-
/**
|
|
883
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
884
|
-
*
|
|
885
|
-
* Take `±n` Samples from the position of the cursor.
|
|
886
|
-
*/
|
|
887
|
-
take?: number;
|
|
888
|
-
/**
|
|
889
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
890
|
-
*
|
|
891
|
-
* Skip the first `n` Samples.
|
|
892
|
-
*/
|
|
893
|
-
skip?: number;
|
|
894
|
-
distinct?: Prisma.SampleScalarFieldEnum | Prisma.SampleScalarFieldEnum[];
|
|
895
|
-
};
|
|
896
|
-
/**
|
|
897
|
-
* Sample create
|
|
898
|
-
*/
|
|
899
|
-
export type SampleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
900
|
-
/**
|
|
901
|
-
* Select specific fields to fetch from the Sample
|
|
902
|
-
*/
|
|
903
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
904
|
-
/**
|
|
905
|
-
* Omit specific fields from the Sample
|
|
906
|
-
*/
|
|
907
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
908
|
-
/**
|
|
909
|
-
* The data needed to create a Sample.
|
|
910
|
-
*/
|
|
911
|
-
data: Prisma.XOR<Prisma.SampleCreateInput, Prisma.SampleUncheckedCreateInput>;
|
|
912
|
-
};
|
|
913
|
-
/**
|
|
914
|
-
* Sample createMany
|
|
915
|
-
*/
|
|
916
|
-
export type SampleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
917
|
-
/**
|
|
918
|
-
* The data used to create many Samples.
|
|
919
|
-
*/
|
|
920
|
-
data: Prisma.SampleCreateManyInput | Prisma.SampleCreateManyInput[];
|
|
921
|
-
skipDuplicates?: boolean;
|
|
922
|
-
};
|
|
923
|
-
/**
|
|
924
|
-
* Sample createManyAndReturn
|
|
925
|
-
*/
|
|
926
|
-
export type SampleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
927
|
-
/**
|
|
928
|
-
* Select specific fields to fetch from the Sample
|
|
929
|
-
*/
|
|
930
|
-
select?: Prisma.SampleSelectCreateManyAndReturn<ExtArgs> | null;
|
|
931
|
-
/**
|
|
932
|
-
* Omit specific fields from the Sample
|
|
933
|
-
*/
|
|
934
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
935
|
-
/**
|
|
936
|
-
* The data used to create many Samples.
|
|
937
|
-
*/
|
|
938
|
-
data: Prisma.SampleCreateManyInput | Prisma.SampleCreateManyInput[];
|
|
939
|
-
skipDuplicates?: boolean;
|
|
940
|
-
};
|
|
941
|
-
/**
|
|
942
|
-
* Sample update
|
|
943
|
-
*/
|
|
944
|
-
export type SampleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
945
|
-
/**
|
|
946
|
-
* Select specific fields to fetch from the Sample
|
|
947
|
-
*/
|
|
948
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
949
|
-
/**
|
|
950
|
-
* Omit specific fields from the Sample
|
|
951
|
-
*/
|
|
952
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
953
|
-
/**
|
|
954
|
-
* The data needed to update a Sample.
|
|
955
|
-
*/
|
|
956
|
-
data: Prisma.XOR<Prisma.SampleUpdateInput, Prisma.SampleUncheckedUpdateInput>;
|
|
957
|
-
/**
|
|
958
|
-
* Choose, which Sample to update.
|
|
959
|
-
*/
|
|
960
|
-
where: Prisma.SampleWhereUniqueInput;
|
|
961
|
-
};
|
|
962
|
-
/**
|
|
963
|
-
* Sample updateMany
|
|
964
|
-
*/
|
|
965
|
-
export type SampleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
966
|
-
/**
|
|
967
|
-
* The data used to update Samples.
|
|
968
|
-
*/
|
|
969
|
-
data: Prisma.XOR<Prisma.SampleUpdateManyMutationInput, Prisma.SampleUncheckedUpdateManyInput>;
|
|
970
|
-
/**
|
|
971
|
-
* Filter which Samples to update
|
|
972
|
-
*/
|
|
973
|
-
where?: Prisma.SampleWhereInput;
|
|
974
|
-
/**
|
|
975
|
-
* Limit how many Samples to update.
|
|
976
|
-
*/
|
|
977
|
-
limit?: number;
|
|
978
|
-
};
|
|
979
|
-
/**
|
|
980
|
-
* Sample updateManyAndReturn
|
|
981
|
-
*/
|
|
982
|
-
export type SampleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
983
|
-
/**
|
|
984
|
-
* Select specific fields to fetch from the Sample
|
|
985
|
-
*/
|
|
986
|
-
select?: Prisma.SampleSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
987
|
-
/**
|
|
988
|
-
* Omit specific fields from the Sample
|
|
989
|
-
*/
|
|
990
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
991
|
-
/**
|
|
992
|
-
* The data used to update Samples.
|
|
993
|
-
*/
|
|
994
|
-
data: Prisma.XOR<Prisma.SampleUpdateManyMutationInput, Prisma.SampleUncheckedUpdateManyInput>;
|
|
995
|
-
/**
|
|
996
|
-
* Filter which Samples to update
|
|
997
|
-
*/
|
|
998
|
-
where?: Prisma.SampleWhereInput;
|
|
999
|
-
/**
|
|
1000
|
-
* Limit how many Samples to update.
|
|
1001
|
-
*/
|
|
1002
|
-
limit?: number;
|
|
1003
|
-
};
|
|
1004
|
-
/**
|
|
1005
|
-
* Sample upsert
|
|
1006
|
-
*/
|
|
1007
|
-
export type SampleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1008
|
-
/**
|
|
1009
|
-
* Select specific fields to fetch from the Sample
|
|
1010
|
-
*/
|
|
1011
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
1012
|
-
/**
|
|
1013
|
-
* Omit specific fields from the Sample
|
|
1014
|
-
*/
|
|
1015
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
1016
|
-
/**
|
|
1017
|
-
* The filter to search for the Sample to update in case it exists.
|
|
1018
|
-
*/
|
|
1019
|
-
where: Prisma.SampleWhereUniqueInput;
|
|
1020
|
-
/**
|
|
1021
|
-
* In case the Sample found by the `where` argument doesn't exist, create a new Sample with this data.
|
|
1022
|
-
*/
|
|
1023
|
-
create: Prisma.XOR<Prisma.SampleCreateInput, Prisma.SampleUncheckedCreateInput>;
|
|
1024
|
-
/**
|
|
1025
|
-
* In case the Sample was found with the provided `where` argument, update it with this data.
|
|
1026
|
-
*/
|
|
1027
|
-
update: Prisma.XOR<Prisma.SampleUpdateInput, Prisma.SampleUncheckedUpdateInput>;
|
|
1028
|
-
};
|
|
1029
|
-
/**
|
|
1030
|
-
* Sample delete
|
|
1031
|
-
*/
|
|
1032
|
-
export type SampleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1033
|
-
/**
|
|
1034
|
-
* Select specific fields to fetch from the Sample
|
|
1035
|
-
*/
|
|
1036
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
1037
|
-
/**
|
|
1038
|
-
* Omit specific fields from the Sample
|
|
1039
|
-
*/
|
|
1040
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
1041
|
-
/**
|
|
1042
|
-
* Filter which Sample to delete.
|
|
1043
|
-
*/
|
|
1044
|
-
where: Prisma.SampleWhereUniqueInput;
|
|
1045
|
-
};
|
|
1046
|
-
/**
|
|
1047
|
-
* Sample deleteMany
|
|
1048
|
-
*/
|
|
1049
|
-
export type SampleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1050
|
-
/**
|
|
1051
|
-
* Filter which Samples to delete
|
|
1052
|
-
*/
|
|
1053
|
-
where?: Prisma.SampleWhereInput;
|
|
1054
|
-
/**
|
|
1055
|
-
* Limit how many Samples to delete.
|
|
1056
|
-
*/
|
|
1057
|
-
limit?: number;
|
|
1058
|
-
};
|
|
1059
|
-
/**
|
|
1060
|
-
* Sample without action
|
|
1061
|
-
*/
|
|
1062
|
-
export type SampleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1063
|
-
/**
|
|
1064
|
-
* Select specific fields to fetch from the Sample
|
|
1065
|
-
*/
|
|
1066
|
-
select?: Prisma.SampleSelect<ExtArgs> | null;
|
|
1067
|
-
/**
|
|
1068
|
-
* Omit specific fields from the Sample
|
|
1069
|
-
*/
|
|
1070
|
-
omit?: Prisma.SampleOmit<ExtArgs> | null;
|
|
1071
|
-
};
|
|
1072
|
-
export {};
|
|
1073
|
-
//# sourceMappingURL=Sample.d.ts.map
|