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