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