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