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