@naisys/hub-database 3.0.0-beta.4 → 3.0.0-beta.5
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/dbConfig.js +1 -1
- package/dist/generated/prisma/browser.js +4 -4
- package/dist/generated/prisma/client.js +5 -5
- package/dist/generated/prisma/commonInputTypes.js +1 -1
- package/dist/generated/prisma/enums.js +34 -34
- package/dist/generated/prisma/internal/class.js +36 -28
- package/dist/generated/prisma/internal/prismaNamespace.js +150 -147
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +142 -142
- package/dist/hubDatabaseService.js +30 -30
- package/dist/hubSessionService.js +59 -71
- package/dist/index.js +10 -2
- package/dist/prismaClient.js +12 -12
- package/package.json +6 -4
- package/dist/dbConfig.d.ts +0 -2
- package/dist/generated/prisma/browser.d.ts +0 -80
- package/dist/generated/prisma/client.d.ts +0 -99
- package/dist/generated/prisma/commonInputTypes.d.ts +0 -758
- package/dist/generated/prisma/enums.d.ts +0 -57
- package/dist/generated/prisma/internal/class.d.ts +0 -285
- package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -1777
- package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -223
- package/dist/generated/prisma/models/attachments.d.ts +0 -1624
- package/dist/generated/prisma/models/config_revisions.d.ts +0 -1320
- package/dist/generated/prisma/models/context_log.d.ts +0 -1889
- package/dist/generated/prisma/models/costs.d.ts +0 -1834
- package/dist/generated/prisma/models/hosts.d.ts +0 -1892
- package/dist/generated/prisma/models/mail_attachments.d.ts +0 -1244
- package/dist/generated/prisma/models/mail_messages.d.ts +0 -1721
- package/dist/generated/prisma/models/mail_recipients.d.ts +0 -1409
- package/dist/generated/prisma/models/models.d.ts +0 -1175
- package/dist/generated/prisma/models/run_session.d.ts +0 -1894
- package/dist/generated/prisma/models/schema_version.d.ts +0 -984
- package/dist/generated/prisma/models/user_hosts.d.ts +0 -1244
- package/dist/generated/prisma/models/user_notifications.d.ts +0 -1543
- package/dist/generated/prisma/models/users.d.ts +0 -3229
- package/dist/generated/prisma/models/variables.d.ts +0 -1052
- package/dist/generated/prisma/models.d.ts +0 -17
- package/dist/hubDatabaseService.d.ts +0 -7
- package/dist/hubSessionService.d.ts +0 -41
- package/dist/index.d.ts +0 -8
- package/dist/prismaClient.d.ts +0 -7
|
@@ -1,1894 +0,0 @@
|
|
|
1
|
-
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
-
/**
|
|
4
|
-
* Model run_session
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export type run_sessionModel = runtime.Types.Result.DefaultSelection<Prisma.$run_sessionPayload>;
|
|
8
|
-
export type AggregateRun_session = {
|
|
9
|
-
_count: Run_sessionCountAggregateOutputType | null;
|
|
10
|
-
_avg: Run_sessionAvgAggregateOutputType | null;
|
|
11
|
-
_sum: Run_sessionSumAggregateOutputType | null;
|
|
12
|
-
_min: Run_sessionMinAggregateOutputType | null;
|
|
13
|
-
_max: Run_sessionMaxAggregateOutputType | null;
|
|
14
|
-
};
|
|
15
|
-
export type Run_sessionAvgAggregateOutputType = {
|
|
16
|
-
user_id: number | null;
|
|
17
|
-
run_id: number | null;
|
|
18
|
-
session_id: number | null;
|
|
19
|
-
host_id: number | null;
|
|
20
|
-
latest_log_id: number | null;
|
|
21
|
-
total_lines: number | null;
|
|
22
|
-
total_cost: number | null;
|
|
23
|
-
};
|
|
24
|
-
export type Run_sessionSumAggregateOutputType = {
|
|
25
|
-
user_id: number | null;
|
|
26
|
-
run_id: number | null;
|
|
27
|
-
session_id: number | null;
|
|
28
|
-
host_id: number | null;
|
|
29
|
-
latest_log_id: number | null;
|
|
30
|
-
total_lines: number | null;
|
|
31
|
-
total_cost: number | null;
|
|
32
|
-
};
|
|
33
|
-
export type Run_sessionMinAggregateOutputType = {
|
|
34
|
-
user_id: number | null;
|
|
35
|
-
run_id: number | null;
|
|
36
|
-
session_id: number | null;
|
|
37
|
-
host_id: number | null;
|
|
38
|
-
last_active: Date | null;
|
|
39
|
-
model_name: string | null;
|
|
40
|
-
latest_log_id: number | null;
|
|
41
|
-
total_lines: number | null;
|
|
42
|
-
total_cost: number | null;
|
|
43
|
-
created_at: Date | null;
|
|
44
|
-
updated_at: Date | null;
|
|
45
|
-
};
|
|
46
|
-
export type Run_sessionMaxAggregateOutputType = {
|
|
47
|
-
user_id: number | null;
|
|
48
|
-
run_id: number | null;
|
|
49
|
-
session_id: number | null;
|
|
50
|
-
host_id: number | null;
|
|
51
|
-
last_active: Date | null;
|
|
52
|
-
model_name: string | null;
|
|
53
|
-
latest_log_id: number | null;
|
|
54
|
-
total_lines: number | null;
|
|
55
|
-
total_cost: number | null;
|
|
56
|
-
created_at: Date | null;
|
|
57
|
-
updated_at: Date | null;
|
|
58
|
-
};
|
|
59
|
-
export type Run_sessionCountAggregateOutputType = {
|
|
60
|
-
user_id: number;
|
|
61
|
-
run_id: number;
|
|
62
|
-
session_id: number;
|
|
63
|
-
host_id: number;
|
|
64
|
-
last_active: number;
|
|
65
|
-
model_name: number;
|
|
66
|
-
latest_log_id: number;
|
|
67
|
-
total_lines: number;
|
|
68
|
-
total_cost: number;
|
|
69
|
-
created_at: number;
|
|
70
|
-
updated_at: number;
|
|
71
|
-
_all: number;
|
|
72
|
-
};
|
|
73
|
-
export type Run_sessionAvgAggregateInputType = {
|
|
74
|
-
user_id?: true;
|
|
75
|
-
run_id?: true;
|
|
76
|
-
session_id?: true;
|
|
77
|
-
host_id?: true;
|
|
78
|
-
latest_log_id?: true;
|
|
79
|
-
total_lines?: true;
|
|
80
|
-
total_cost?: true;
|
|
81
|
-
};
|
|
82
|
-
export type Run_sessionSumAggregateInputType = {
|
|
83
|
-
user_id?: true;
|
|
84
|
-
run_id?: true;
|
|
85
|
-
session_id?: true;
|
|
86
|
-
host_id?: true;
|
|
87
|
-
latest_log_id?: true;
|
|
88
|
-
total_lines?: true;
|
|
89
|
-
total_cost?: true;
|
|
90
|
-
};
|
|
91
|
-
export type Run_sessionMinAggregateInputType = {
|
|
92
|
-
user_id?: true;
|
|
93
|
-
run_id?: true;
|
|
94
|
-
session_id?: true;
|
|
95
|
-
host_id?: true;
|
|
96
|
-
last_active?: true;
|
|
97
|
-
model_name?: true;
|
|
98
|
-
latest_log_id?: true;
|
|
99
|
-
total_lines?: true;
|
|
100
|
-
total_cost?: true;
|
|
101
|
-
created_at?: true;
|
|
102
|
-
updated_at?: true;
|
|
103
|
-
};
|
|
104
|
-
export type Run_sessionMaxAggregateInputType = {
|
|
105
|
-
user_id?: true;
|
|
106
|
-
run_id?: true;
|
|
107
|
-
session_id?: true;
|
|
108
|
-
host_id?: true;
|
|
109
|
-
last_active?: true;
|
|
110
|
-
model_name?: true;
|
|
111
|
-
latest_log_id?: true;
|
|
112
|
-
total_lines?: true;
|
|
113
|
-
total_cost?: true;
|
|
114
|
-
created_at?: true;
|
|
115
|
-
updated_at?: true;
|
|
116
|
-
};
|
|
117
|
-
export type Run_sessionCountAggregateInputType = {
|
|
118
|
-
user_id?: true;
|
|
119
|
-
run_id?: true;
|
|
120
|
-
session_id?: true;
|
|
121
|
-
host_id?: true;
|
|
122
|
-
last_active?: true;
|
|
123
|
-
model_name?: true;
|
|
124
|
-
latest_log_id?: true;
|
|
125
|
-
total_lines?: true;
|
|
126
|
-
total_cost?: true;
|
|
127
|
-
created_at?: true;
|
|
128
|
-
updated_at?: true;
|
|
129
|
-
_all?: true;
|
|
130
|
-
};
|
|
131
|
-
export type Run_sessionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
132
|
-
/**
|
|
133
|
-
* Filter which run_session to aggregate.
|
|
134
|
-
*/
|
|
135
|
-
where?: Prisma.run_sessionWhereInput;
|
|
136
|
-
/**
|
|
137
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
138
|
-
*
|
|
139
|
-
* Determine the order of run_sessions to fetch.
|
|
140
|
-
*/
|
|
141
|
-
orderBy?: Prisma.run_sessionOrderByWithRelationInput | Prisma.run_sessionOrderByWithRelationInput[];
|
|
142
|
-
/**
|
|
143
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
144
|
-
*
|
|
145
|
-
* Sets the start position
|
|
146
|
-
*/
|
|
147
|
-
cursor?: Prisma.run_sessionWhereUniqueInput;
|
|
148
|
-
/**
|
|
149
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
150
|
-
*
|
|
151
|
-
* Take `±n` run_sessions from the position of the cursor.
|
|
152
|
-
*/
|
|
153
|
-
take?: number;
|
|
154
|
-
/**
|
|
155
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
156
|
-
*
|
|
157
|
-
* Skip the first `n` run_sessions.
|
|
158
|
-
*/
|
|
159
|
-
skip?: number;
|
|
160
|
-
/**
|
|
161
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
162
|
-
*
|
|
163
|
-
* Count returned run_sessions
|
|
164
|
-
**/
|
|
165
|
-
_count?: true | Run_sessionCountAggregateInputType;
|
|
166
|
-
/**
|
|
167
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
168
|
-
*
|
|
169
|
-
* Select which fields to average
|
|
170
|
-
**/
|
|
171
|
-
_avg?: Run_sessionAvgAggregateInputType;
|
|
172
|
-
/**
|
|
173
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
174
|
-
*
|
|
175
|
-
* Select which fields to sum
|
|
176
|
-
**/
|
|
177
|
-
_sum?: Run_sessionSumAggregateInputType;
|
|
178
|
-
/**
|
|
179
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
180
|
-
*
|
|
181
|
-
* Select which fields to find the minimum value
|
|
182
|
-
**/
|
|
183
|
-
_min?: Run_sessionMinAggregateInputType;
|
|
184
|
-
/**
|
|
185
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
186
|
-
*
|
|
187
|
-
* Select which fields to find the maximum value
|
|
188
|
-
**/
|
|
189
|
-
_max?: Run_sessionMaxAggregateInputType;
|
|
190
|
-
};
|
|
191
|
-
export type GetRun_sessionAggregateType<T extends Run_sessionAggregateArgs> = {
|
|
192
|
-
[P in keyof T & keyof AggregateRun_session]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRun_session[P]> : Prisma.GetScalarType<T[P], AggregateRun_session[P]>;
|
|
193
|
-
};
|
|
194
|
-
export type run_sessionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
195
|
-
where?: Prisma.run_sessionWhereInput;
|
|
196
|
-
orderBy?: Prisma.run_sessionOrderByWithAggregationInput | Prisma.run_sessionOrderByWithAggregationInput[];
|
|
197
|
-
by: Prisma.Run_sessionScalarFieldEnum[] | Prisma.Run_sessionScalarFieldEnum;
|
|
198
|
-
having?: Prisma.run_sessionScalarWhereWithAggregatesInput;
|
|
199
|
-
take?: number;
|
|
200
|
-
skip?: number;
|
|
201
|
-
_count?: Run_sessionCountAggregateInputType | true;
|
|
202
|
-
_avg?: Run_sessionAvgAggregateInputType;
|
|
203
|
-
_sum?: Run_sessionSumAggregateInputType;
|
|
204
|
-
_min?: Run_sessionMinAggregateInputType;
|
|
205
|
-
_max?: Run_sessionMaxAggregateInputType;
|
|
206
|
-
};
|
|
207
|
-
export type Run_sessionGroupByOutputType = {
|
|
208
|
-
user_id: number;
|
|
209
|
-
run_id: number;
|
|
210
|
-
session_id: number;
|
|
211
|
-
host_id: number;
|
|
212
|
-
last_active: Date;
|
|
213
|
-
model_name: string;
|
|
214
|
-
latest_log_id: number;
|
|
215
|
-
total_lines: number;
|
|
216
|
-
total_cost: number;
|
|
217
|
-
created_at: Date;
|
|
218
|
-
updated_at: Date;
|
|
219
|
-
_count: Run_sessionCountAggregateOutputType | null;
|
|
220
|
-
_avg: Run_sessionAvgAggregateOutputType | null;
|
|
221
|
-
_sum: Run_sessionSumAggregateOutputType | null;
|
|
222
|
-
_min: Run_sessionMinAggregateOutputType | null;
|
|
223
|
-
_max: Run_sessionMaxAggregateOutputType | null;
|
|
224
|
-
};
|
|
225
|
-
export type GetRun_sessionGroupByPayload<T extends run_sessionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Run_sessionGroupByOutputType, T['by']> & {
|
|
226
|
-
[P in ((keyof T) & (keyof Run_sessionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Run_sessionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Run_sessionGroupByOutputType[P]>;
|
|
227
|
-
}>>;
|
|
228
|
-
export type run_sessionWhereInput = {
|
|
229
|
-
AND?: Prisma.run_sessionWhereInput | Prisma.run_sessionWhereInput[];
|
|
230
|
-
OR?: Prisma.run_sessionWhereInput[];
|
|
231
|
-
NOT?: Prisma.run_sessionWhereInput | Prisma.run_sessionWhereInput[];
|
|
232
|
-
user_id?: Prisma.IntFilter<"run_session"> | number;
|
|
233
|
-
run_id?: Prisma.IntFilter<"run_session"> | number;
|
|
234
|
-
session_id?: Prisma.IntFilter<"run_session"> | number;
|
|
235
|
-
host_id?: Prisma.IntFilter<"run_session"> | number;
|
|
236
|
-
last_active?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
237
|
-
model_name?: Prisma.StringFilter<"run_session"> | string;
|
|
238
|
-
latest_log_id?: Prisma.IntFilter<"run_session"> | number;
|
|
239
|
-
total_lines?: Prisma.IntFilter<"run_session"> | number;
|
|
240
|
-
total_cost?: Prisma.FloatFilter<"run_session"> | number;
|
|
241
|
-
created_at?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
242
|
-
updated_at?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
243
|
-
users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>;
|
|
244
|
-
host?: Prisma.XOR<Prisma.HostsScalarRelationFilter, Prisma.hostsWhereInput>;
|
|
245
|
-
context_logs?: Prisma.Context_logListRelationFilter;
|
|
246
|
-
costs?: Prisma.CostsListRelationFilter;
|
|
247
|
-
};
|
|
248
|
-
export type run_sessionOrderByWithRelationInput = {
|
|
249
|
-
user_id?: Prisma.SortOrder;
|
|
250
|
-
run_id?: Prisma.SortOrder;
|
|
251
|
-
session_id?: Prisma.SortOrder;
|
|
252
|
-
host_id?: Prisma.SortOrder;
|
|
253
|
-
last_active?: Prisma.SortOrder;
|
|
254
|
-
model_name?: Prisma.SortOrder;
|
|
255
|
-
latest_log_id?: Prisma.SortOrder;
|
|
256
|
-
total_lines?: Prisma.SortOrder;
|
|
257
|
-
total_cost?: Prisma.SortOrder;
|
|
258
|
-
created_at?: Prisma.SortOrder;
|
|
259
|
-
updated_at?: Prisma.SortOrder;
|
|
260
|
-
users?: Prisma.usersOrderByWithRelationInput;
|
|
261
|
-
host?: Prisma.hostsOrderByWithRelationInput;
|
|
262
|
-
context_logs?: Prisma.context_logOrderByRelationAggregateInput;
|
|
263
|
-
costs?: Prisma.costsOrderByRelationAggregateInput;
|
|
264
|
-
};
|
|
265
|
-
export type run_sessionWhereUniqueInput = Prisma.AtLeast<{
|
|
266
|
-
user_id_run_id_session_id?: Prisma.run_sessionUser_idRun_idSession_idCompoundUniqueInput;
|
|
267
|
-
AND?: Prisma.run_sessionWhereInput | Prisma.run_sessionWhereInput[];
|
|
268
|
-
OR?: Prisma.run_sessionWhereInput[];
|
|
269
|
-
NOT?: Prisma.run_sessionWhereInput | Prisma.run_sessionWhereInput[];
|
|
270
|
-
user_id?: Prisma.IntFilter<"run_session"> | number;
|
|
271
|
-
run_id?: Prisma.IntFilter<"run_session"> | number;
|
|
272
|
-
session_id?: Prisma.IntFilter<"run_session"> | number;
|
|
273
|
-
host_id?: Prisma.IntFilter<"run_session"> | number;
|
|
274
|
-
last_active?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
275
|
-
model_name?: Prisma.StringFilter<"run_session"> | string;
|
|
276
|
-
latest_log_id?: Prisma.IntFilter<"run_session"> | number;
|
|
277
|
-
total_lines?: Prisma.IntFilter<"run_session"> | number;
|
|
278
|
-
total_cost?: Prisma.FloatFilter<"run_session"> | number;
|
|
279
|
-
created_at?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
280
|
-
updated_at?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
281
|
-
users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>;
|
|
282
|
-
host?: Prisma.XOR<Prisma.HostsScalarRelationFilter, Prisma.hostsWhereInput>;
|
|
283
|
-
context_logs?: Prisma.Context_logListRelationFilter;
|
|
284
|
-
costs?: Prisma.CostsListRelationFilter;
|
|
285
|
-
}, "user_id_run_id_session_id">;
|
|
286
|
-
export type run_sessionOrderByWithAggregationInput = {
|
|
287
|
-
user_id?: Prisma.SortOrder;
|
|
288
|
-
run_id?: Prisma.SortOrder;
|
|
289
|
-
session_id?: Prisma.SortOrder;
|
|
290
|
-
host_id?: Prisma.SortOrder;
|
|
291
|
-
last_active?: Prisma.SortOrder;
|
|
292
|
-
model_name?: Prisma.SortOrder;
|
|
293
|
-
latest_log_id?: Prisma.SortOrder;
|
|
294
|
-
total_lines?: Prisma.SortOrder;
|
|
295
|
-
total_cost?: Prisma.SortOrder;
|
|
296
|
-
created_at?: Prisma.SortOrder;
|
|
297
|
-
updated_at?: Prisma.SortOrder;
|
|
298
|
-
_count?: Prisma.run_sessionCountOrderByAggregateInput;
|
|
299
|
-
_avg?: Prisma.run_sessionAvgOrderByAggregateInput;
|
|
300
|
-
_max?: Prisma.run_sessionMaxOrderByAggregateInput;
|
|
301
|
-
_min?: Prisma.run_sessionMinOrderByAggregateInput;
|
|
302
|
-
_sum?: Prisma.run_sessionSumOrderByAggregateInput;
|
|
303
|
-
};
|
|
304
|
-
export type run_sessionScalarWhereWithAggregatesInput = {
|
|
305
|
-
AND?: Prisma.run_sessionScalarWhereWithAggregatesInput | Prisma.run_sessionScalarWhereWithAggregatesInput[];
|
|
306
|
-
OR?: Prisma.run_sessionScalarWhereWithAggregatesInput[];
|
|
307
|
-
NOT?: Prisma.run_sessionScalarWhereWithAggregatesInput | Prisma.run_sessionScalarWhereWithAggregatesInput[];
|
|
308
|
-
user_id?: Prisma.IntWithAggregatesFilter<"run_session"> | number;
|
|
309
|
-
run_id?: Prisma.IntWithAggregatesFilter<"run_session"> | number;
|
|
310
|
-
session_id?: Prisma.IntWithAggregatesFilter<"run_session"> | number;
|
|
311
|
-
host_id?: Prisma.IntWithAggregatesFilter<"run_session"> | number;
|
|
312
|
-
last_active?: Prisma.DateTimeWithAggregatesFilter<"run_session"> | Date | string;
|
|
313
|
-
model_name?: Prisma.StringWithAggregatesFilter<"run_session"> | string;
|
|
314
|
-
latest_log_id?: Prisma.IntWithAggregatesFilter<"run_session"> | number;
|
|
315
|
-
total_lines?: Prisma.IntWithAggregatesFilter<"run_session"> | number;
|
|
316
|
-
total_cost?: Prisma.FloatWithAggregatesFilter<"run_session"> | number;
|
|
317
|
-
created_at?: Prisma.DateTimeWithAggregatesFilter<"run_session"> | Date | string;
|
|
318
|
-
updated_at?: Prisma.DateTimeWithAggregatesFilter<"run_session"> | Date | string;
|
|
319
|
-
};
|
|
320
|
-
export type run_sessionCreateInput = {
|
|
321
|
-
run_id: number;
|
|
322
|
-
session_id: number;
|
|
323
|
-
last_active: Date | string;
|
|
324
|
-
model_name: string;
|
|
325
|
-
latest_log_id?: number;
|
|
326
|
-
total_lines?: number;
|
|
327
|
-
total_cost?: number;
|
|
328
|
-
created_at?: Date | string;
|
|
329
|
-
updated_at?: Date | string;
|
|
330
|
-
users: Prisma.usersCreateNestedOneWithoutRun_sessionsInput;
|
|
331
|
-
host: Prisma.hostsCreateNestedOneWithoutRun_sessionsInput;
|
|
332
|
-
context_logs?: Prisma.context_logCreateNestedManyWithoutRun_sessionInput;
|
|
333
|
-
costs?: Prisma.costsCreateNestedManyWithoutRun_sessionInput;
|
|
334
|
-
};
|
|
335
|
-
export type run_sessionUncheckedCreateInput = {
|
|
336
|
-
user_id: number;
|
|
337
|
-
run_id: number;
|
|
338
|
-
session_id: number;
|
|
339
|
-
host_id: number;
|
|
340
|
-
last_active: Date | string;
|
|
341
|
-
model_name: string;
|
|
342
|
-
latest_log_id?: number;
|
|
343
|
-
total_lines?: number;
|
|
344
|
-
total_cost?: number;
|
|
345
|
-
created_at?: Date | string;
|
|
346
|
-
updated_at?: Date | string;
|
|
347
|
-
context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
348
|
-
costs?: Prisma.costsUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
349
|
-
};
|
|
350
|
-
export type run_sessionUpdateInput = {
|
|
351
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
352
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
353
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
354
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
355
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
356
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
357
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
358
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
359
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
360
|
-
users?: Prisma.usersUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
361
|
-
host?: Prisma.hostsUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
362
|
-
context_logs?: Prisma.context_logUpdateManyWithoutRun_sessionNestedInput;
|
|
363
|
-
costs?: Prisma.costsUpdateManyWithoutRun_sessionNestedInput;
|
|
364
|
-
};
|
|
365
|
-
export type run_sessionUncheckedUpdateInput = {
|
|
366
|
-
user_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
367
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
368
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
369
|
-
host_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
370
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
371
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
373
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
374
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
375
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
376
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
377
|
-
context_logs?: Prisma.context_logUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
378
|
-
costs?: Prisma.costsUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
379
|
-
};
|
|
380
|
-
export type run_sessionCreateManyInput = {
|
|
381
|
-
user_id: number;
|
|
382
|
-
run_id: number;
|
|
383
|
-
session_id: number;
|
|
384
|
-
host_id: number;
|
|
385
|
-
last_active: Date | string;
|
|
386
|
-
model_name: string;
|
|
387
|
-
latest_log_id?: number;
|
|
388
|
-
total_lines?: number;
|
|
389
|
-
total_cost?: number;
|
|
390
|
-
created_at?: Date | string;
|
|
391
|
-
updated_at?: Date | string;
|
|
392
|
-
};
|
|
393
|
-
export type run_sessionUpdateManyMutationInput = {
|
|
394
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
395
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
396
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
397
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
398
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
399
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
400
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
401
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
402
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
403
|
-
};
|
|
404
|
-
export type run_sessionUncheckedUpdateManyInput = {
|
|
405
|
-
user_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
406
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
407
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
408
|
-
host_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
409
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
410
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
412
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
413
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
414
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
415
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
416
|
-
};
|
|
417
|
-
export type Run_sessionScalarRelationFilter = {
|
|
418
|
-
is?: Prisma.run_sessionWhereInput;
|
|
419
|
-
isNot?: Prisma.run_sessionWhereInput;
|
|
420
|
-
};
|
|
421
|
-
export type Run_sessionListRelationFilter = {
|
|
422
|
-
every?: Prisma.run_sessionWhereInput;
|
|
423
|
-
some?: Prisma.run_sessionWhereInput;
|
|
424
|
-
none?: Prisma.run_sessionWhereInput;
|
|
425
|
-
};
|
|
426
|
-
export type run_sessionOrderByRelationAggregateInput = {
|
|
427
|
-
_count?: Prisma.SortOrder;
|
|
428
|
-
};
|
|
429
|
-
export type run_sessionUser_idRun_idSession_idCompoundUniqueInput = {
|
|
430
|
-
user_id: number;
|
|
431
|
-
run_id: number;
|
|
432
|
-
session_id: number;
|
|
433
|
-
};
|
|
434
|
-
export type run_sessionCountOrderByAggregateInput = {
|
|
435
|
-
user_id?: Prisma.SortOrder;
|
|
436
|
-
run_id?: Prisma.SortOrder;
|
|
437
|
-
session_id?: Prisma.SortOrder;
|
|
438
|
-
host_id?: Prisma.SortOrder;
|
|
439
|
-
last_active?: Prisma.SortOrder;
|
|
440
|
-
model_name?: Prisma.SortOrder;
|
|
441
|
-
latest_log_id?: Prisma.SortOrder;
|
|
442
|
-
total_lines?: Prisma.SortOrder;
|
|
443
|
-
total_cost?: Prisma.SortOrder;
|
|
444
|
-
created_at?: Prisma.SortOrder;
|
|
445
|
-
updated_at?: Prisma.SortOrder;
|
|
446
|
-
};
|
|
447
|
-
export type run_sessionAvgOrderByAggregateInput = {
|
|
448
|
-
user_id?: Prisma.SortOrder;
|
|
449
|
-
run_id?: Prisma.SortOrder;
|
|
450
|
-
session_id?: Prisma.SortOrder;
|
|
451
|
-
host_id?: Prisma.SortOrder;
|
|
452
|
-
latest_log_id?: Prisma.SortOrder;
|
|
453
|
-
total_lines?: Prisma.SortOrder;
|
|
454
|
-
total_cost?: Prisma.SortOrder;
|
|
455
|
-
};
|
|
456
|
-
export type run_sessionMaxOrderByAggregateInput = {
|
|
457
|
-
user_id?: Prisma.SortOrder;
|
|
458
|
-
run_id?: Prisma.SortOrder;
|
|
459
|
-
session_id?: Prisma.SortOrder;
|
|
460
|
-
host_id?: Prisma.SortOrder;
|
|
461
|
-
last_active?: Prisma.SortOrder;
|
|
462
|
-
model_name?: Prisma.SortOrder;
|
|
463
|
-
latest_log_id?: Prisma.SortOrder;
|
|
464
|
-
total_lines?: Prisma.SortOrder;
|
|
465
|
-
total_cost?: Prisma.SortOrder;
|
|
466
|
-
created_at?: Prisma.SortOrder;
|
|
467
|
-
updated_at?: Prisma.SortOrder;
|
|
468
|
-
};
|
|
469
|
-
export type run_sessionMinOrderByAggregateInput = {
|
|
470
|
-
user_id?: Prisma.SortOrder;
|
|
471
|
-
run_id?: Prisma.SortOrder;
|
|
472
|
-
session_id?: Prisma.SortOrder;
|
|
473
|
-
host_id?: Prisma.SortOrder;
|
|
474
|
-
last_active?: Prisma.SortOrder;
|
|
475
|
-
model_name?: Prisma.SortOrder;
|
|
476
|
-
latest_log_id?: Prisma.SortOrder;
|
|
477
|
-
total_lines?: Prisma.SortOrder;
|
|
478
|
-
total_cost?: Prisma.SortOrder;
|
|
479
|
-
created_at?: Prisma.SortOrder;
|
|
480
|
-
updated_at?: Prisma.SortOrder;
|
|
481
|
-
};
|
|
482
|
-
export type run_sessionSumOrderByAggregateInput = {
|
|
483
|
-
user_id?: Prisma.SortOrder;
|
|
484
|
-
run_id?: Prisma.SortOrder;
|
|
485
|
-
session_id?: Prisma.SortOrder;
|
|
486
|
-
host_id?: Prisma.SortOrder;
|
|
487
|
-
latest_log_id?: Prisma.SortOrder;
|
|
488
|
-
total_lines?: Prisma.SortOrder;
|
|
489
|
-
total_cost?: Prisma.SortOrder;
|
|
490
|
-
};
|
|
491
|
-
export type run_sessionCreateNestedOneWithoutContext_logsInput = {
|
|
492
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutContext_logsInput, Prisma.run_sessionUncheckedCreateWithoutContext_logsInput>;
|
|
493
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutContext_logsInput;
|
|
494
|
-
connect?: Prisma.run_sessionWhereUniqueInput;
|
|
495
|
-
};
|
|
496
|
-
export type run_sessionUpdateOneRequiredWithoutContext_logsNestedInput = {
|
|
497
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutContext_logsInput, Prisma.run_sessionUncheckedCreateWithoutContext_logsInput>;
|
|
498
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutContext_logsInput;
|
|
499
|
-
upsert?: Prisma.run_sessionUpsertWithoutContext_logsInput;
|
|
500
|
-
connect?: Prisma.run_sessionWhereUniqueInput;
|
|
501
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.run_sessionUpdateToOneWithWhereWithoutContext_logsInput, Prisma.run_sessionUpdateWithoutContext_logsInput>, Prisma.run_sessionUncheckedUpdateWithoutContext_logsInput>;
|
|
502
|
-
};
|
|
503
|
-
export type run_sessionCreateNestedOneWithoutCostsInput = {
|
|
504
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutCostsInput, Prisma.run_sessionUncheckedCreateWithoutCostsInput>;
|
|
505
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutCostsInput;
|
|
506
|
-
connect?: Prisma.run_sessionWhereUniqueInput;
|
|
507
|
-
};
|
|
508
|
-
export type run_sessionUpdateOneRequiredWithoutCostsNestedInput = {
|
|
509
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutCostsInput, Prisma.run_sessionUncheckedCreateWithoutCostsInput>;
|
|
510
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutCostsInput;
|
|
511
|
-
upsert?: Prisma.run_sessionUpsertWithoutCostsInput;
|
|
512
|
-
connect?: Prisma.run_sessionWhereUniqueInput;
|
|
513
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.run_sessionUpdateToOneWithWhereWithoutCostsInput, Prisma.run_sessionUpdateWithoutCostsInput>, Prisma.run_sessionUncheckedUpdateWithoutCostsInput>;
|
|
514
|
-
};
|
|
515
|
-
export type run_sessionCreateNestedManyWithoutUsersInput = {
|
|
516
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutUsersInput, Prisma.run_sessionUncheckedCreateWithoutUsersInput> | Prisma.run_sessionCreateWithoutUsersInput[] | Prisma.run_sessionUncheckedCreateWithoutUsersInput[];
|
|
517
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutUsersInput | Prisma.run_sessionCreateOrConnectWithoutUsersInput[];
|
|
518
|
-
createMany?: Prisma.run_sessionCreateManyUsersInputEnvelope;
|
|
519
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
520
|
-
};
|
|
521
|
-
export type run_sessionUncheckedCreateNestedManyWithoutUsersInput = {
|
|
522
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutUsersInput, Prisma.run_sessionUncheckedCreateWithoutUsersInput> | Prisma.run_sessionCreateWithoutUsersInput[] | Prisma.run_sessionUncheckedCreateWithoutUsersInput[];
|
|
523
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutUsersInput | Prisma.run_sessionCreateOrConnectWithoutUsersInput[];
|
|
524
|
-
createMany?: Prisma.run_sessionCreateManyUsersInputEnvelope;
|
|
525
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
526
|
-
};
|
|
527
|
-
export type run_sessionUpdateManyWithoutUsersNestedInput = {
|
|
528
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutUsersInput, Prisma.run_sessionUncheckedCreateWithoutUsersInput> | Prisma.run_sessionCreateWithoutUsersInput[] | Prisma.run_sessionUncheckedCreateWithoutUsersInput[];
|
|
529
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutUsersInput | Prisma.run_sessionCreateOrConnectWithoutUsersInput[];
|
|
530
|
-
upsert?: Prisma.run_sessionUpsertWithWhereUniqueWithoutUsersInput | Prisma.run_sessionUpsertWithWhereUniqueWithoutUsersInput[];
|
|
531
|
-
createMany?: Prisma.run_sessionCreateManyUsersInputEnvelope;
|
|
532
|
-
set?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
533
|
-
disconnect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
534
|
-
delete?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
535
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
536
|
-
update?: Prisma.run_sessionUpdateWithWhereUniqueWithoutUsersInput | Prisma.run_sessionUpdateWithWhereUniqueWithoutUsersInput[];
|
|
537
|
-
updateMany?: Prisma.run_sessionUpdateManyWithWhereWithoutUsersInput | Prisma.run_sessionUpdateManyWithWhereWithoutUsersInput[];
|
|
538
|
-
deleteMany?: Prisma.run_sessionScalarWhereInput | Prisma.run_sessionScalarWhereInput[];
|
|
539
|
-
};
|
|
540
|
-
export type run_sessionUncheckedUpdateManyWithoutUsersNestedInput = {
|
|
541
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutUsersInput, Prisma.run_sessionUncheckedCreateWithoutUsersInput> | Prisma.run_sessionCreateWithoutUsersInput[] | Prisma.run_sessionUncheckedCreateWithoutUsersInput[];
|
|
542
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutUsersInput | Prisma.run_sessionCreateOrConnectWithoutUsersInput[];
|
|
543
|
-
upsert?: Prisma.run_sessionUpsertWithWhereUniqueWithoutUsersInput | Prisma.run_sessionUpsertWithWhereUniqueWithoutUsersInput[];
|
|
544
|
-
createMany?: Prisma.run_sessionCreateManyUsersInputEnvelope;
|
|
545
|
-
set?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
546
|
-
disconnect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
547
|
-
delete?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
548
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
549
|
-
update?: Prisma.run_sessionUpdateWithWhereUniqueWithoutUsersInput | Prisma.run_sessionUpdateWithWhereUniqueWithoutUsersInput[];
|
|
550
|
-
updateMany?: Prisma.run_sessionUpdateManyWithWhereWithoutUsersInput | Prisma.run_sessionUpdateManyWithWhereWithoutUsersInput[];
|
|
551
|
-
deleteMany?: Prisma.run_sessionScalarWhereInput | Prisma.run_sessionScalarWhereInput[];
|
|
552
|
-
};
|
|
553
|
-
export type FloatFieldUpdateOperationsInput = {
|
|
554
|
-
set?: number;
|
|
555
|
-
increment?: number;
|
|
556
|
-
decrement?: number;
|
|
557
|
-
multiply?: number;
|
|
558
|
-
divide?: number;
|
|
559
|
-
};
|
|
560
|
-
export type run_sessionCreateNestedManyWithoutHostInput = {
|
|
561
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutHostInput, Prisma.run_sessionUncheckedCreateWithoutHostInput> | Prisma.run_sessionCreateWithoutHostInput[] | Prisma.run_sessionUncheckedCreateWithoutHostInput[];
|
|
562
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutHostInput | Prisma.run_sessionCreateOrConnectWithoutHostInput[];
|
|
563
|
-
createMany?: Prisma.run_sessionCreateManyHostInputEnvelope;
|
|
564
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
565
|
-
};
|
|
566
|
-
export type run_sessionUncheckedCreateNestedManyWithoutHostInput = {
|
|
567
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutHostInput, Prisma.run_sessionUncheckedCreateWithoutHostInput> | Prisma.run_sessionCreateWithoutHostInput[] | Prisma.run_sessionUncheckedCreateWithoutHostInput[];
|
|
568
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutHostInput | Prisma.run_sessionCreateOrConnectWithoutHostInput[];
|
|
569
|
-
createMany?: Prisma.run_sessionCreateManyHostInputEnvelope;
|
|
570
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
571
|
-
};
|
|
572
|
-
export type run_sessionUpdateManyWithoutHostNestedInput = {
|
|
573
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutHostInput, Prisma.run_sessionUncheckedCreateWithoutHostInput> | Prisma.run_sessionCreateWithoutHostInput[] | Prisma.run_sessionUncheckedCreateWithoutHostInput[];
|
|
574
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutHostInput | Prisma.run_sessionCreateOrConnectWithoutHostInput[];
|
|
575
|
-
upsert?: Prisma.run_sessionUpsertWithWhereUniqueWithoutHostInput | Prisma.run_sessionUpsertWithWhereUniqueWithoutHostInput[];
|
|
576
|
-
createMany?: Prisma.run_sessionCreateManyHostInputEnvelope;
|
|
577
|
-
set?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
578
|
-
disconnect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
579
|
-
delete?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
580
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
581
|
-
update?: Prisma.run_sessionUpdateWithWhereUniqueWithoutHostInput | Prisma.run_sessionUpdateWithWhereUniqueWithoutHostInput[];
|
|
582
|
-
updateMany?: Prisma.run_sessionUpdateManyWithWhereWithoutHostInput | Prisma.run_sessionUpdateManyWithWhereWithoutHostInput[];
|
|
583
|
-
deleteMany?: Prisma.run_sessionScalarWhereInput | Prisma.run_sessionScalarWhereInput[];
|
|
584
|
-
};
|
|
585
|
-
export type run_sessionUncheckedUpdateManyWithoutHostNestedInput = {
|
|
586
|
-
create?: Prisma.XOR<Prisma.run_sessionCreateWithoutHostInput, Prisma.run_sessionUncheckedCreateWithoutHostInput> | Prisma.run_sessionCreateWithoutHostInput[] | Prisma.run_sessionUncheckedCreateWithoutHostInput[];
|
|
587
|
-
connectOrCreate?: Prisma.run_sessionCreateOrConnectWithoutHostInput | Prisma.run_sessionCreateOrConnectWithoutHostInput[];
|
|
588
|
-
upsert?: Prisma.run_sessionUpsertWithWhereUniqueWithoutHostInput | Prisma.run_sessionUpsertWithWhereUniqueWithoutHostInput[];
|
|
589
|
-
createMany?: Prisma.run_sessionCreateManyHostInputEnvelope;
|
|
590
|
-
set?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
591
|
-
disconnect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
592
|
-
delete?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
593
|
-
connect?: Prisma.run_sessionWhereUniqueInput | Prisma.run_sessionWhereUniqueInput[];
|
|
594
|
-
update?: Prisma.run_sessionUpdateWithWhereUniqueWithoutHostInput | Prisma.run_sessionUpdateWithWhereUniqueWithoutHostInput[];
|
|
595
|
-
updateMany?: Prisma.run_sessionUpdateManyWithWhereWithoutHostInput | Prisma.run_sessionUpdateManyWithWhereWithoutHostInput[];
|
|
596
|
-
deleteMany?: Prisma.run_sessionScalarWhereInput | Prisma.run_sessionScalarWhereInput[];
|
|
597
|
-
};
|
|
598
|
-
export type run_sessionCreateWithoutContext_logsInput = {
|
|
599
|
-
run_id: number;
|
|
600
|
-
session_id: number;
|
|
601
|
-
last_active: Date | string;
|
|
602
|
-
model_name: string;
|
|
603
|
-
latest_log_id?: number;
|
|
604
|
-
total_lines?: number;
|
|
605
|
-
total_cost?: number;
|
|
606
|
-
created_at?: Date | string;
|
|
607
|
-
updated_at?: Date | string;
|
|
608
|
-
users: Prisma.usersCreateNestedOneWithoutRun_sessionsInput;
|
|
609
|
-
host: Prisma.hostsCreateNestedOneWithoutRun_sessionsInput;
|
|
610
|
-
costs?: Prisma.costsCreateNestedManyWithoutRun_sessionInput;
|
|
611
|
-
};
|
|
612
|
-
export type run_sessionUncheckedCreateWithoutContext_logsInput = {
|
|
613
|
-
user_id: number;
|
|
614
|
-
run_id: number;
|
|
615
|
-
session_id: number;
|
|
616
|
-
host_id: number;
|
|
617
|
-
last_active: Date | string;
|
|
618
|
-
model_name: string;
|
|
619
|
-
latest_log_id?: number;
|
|
620
|
-
total_lines?: number;
|
|
621
|
-
total_cost?: number;
|
|
622
|
-
created_at?: Date | string;
|
|
623
|
-
updated_at?: Date | string;
|
|
624
|
-
costs?: Prisma.costsUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
625
|
-
};
|
|
626
|
-
export type run_sessionCreateOrConnectWithoutContext_logsInput = {
|
|
627
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
628
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutContext_logsInput, Prisma.run_sessionUncheckedCreateWithoutContext_logsInput>;
|
|
629
|
-
};
|
|
630
|
-
export type run_sessionUpsertWithoutContext_logsInput = {
|
|
631
|
-
update: Prisma.XOR<Prisma.run_sessionUpdateWithoutContext_logsInput, Prisma.run_sessionUncheckedUpdateWithoutContext_logsInput>;
|
|
632
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutContext_logsInput, Prisma.run_sessionUncheckedCreateWithoutContext_logsInput>;
|
|
633
|
-
where?: Prisma.run_sessionWhereInput;
|
|
634
|
-
};
|
|
635
|
-
export type run_sessionUpdateToOneWithWhereWithoutContext_logsInput = {
|
|
636
|
-
where?: Prisma.run_sessionWhereInput;
|
|
637
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateWithoutContext_logsInput, Prisma.run_sessionUncheckedUpdateWithoutContext_logsInput>;
|
|
638
|
-
};
|
|
639
|
-
export type run_sessionUpdateWithoutContext_logsInput = {
|
|
640
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
641
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
642
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
643
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
644
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
645
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
646
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
647
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
648
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
649
|
-
users?: Prisma.usersUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
650
|
-
host?: Prisma.hostsUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
651
|
-
costs?: Prisma.costsUpdateManyWithoutRun_sessionNestedInput;
|
|
652
|
-
};
|
|
653
|
-
export type run_sessionUncheckedUpdateWithoutContext_logsInput = {
|
|
654
|
-
user_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
655
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
656
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
657
|
-
host_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
658
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
659
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
660
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
661
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
662
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
663
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
664
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
665
|
-
costs?: Prisma.costsUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
666
|
-
};
|
|
667
|
-
export type run_sessionCreateWithoutCostsInput = {
|
|
668
|
-
run_id: number;
|
|
669
|
-
session_id: number;
|
|
670
|
-
last_active: Date | string;
|
|
671
|
-
model_name: string;
|
|
672
|
-
latest_log_id?: number;
|
|
673
|
-
total_lines?: number;
|
|
674
|
-
total_cost?: number;
|
|
675
|
-
created_at?: Date | string;
|
|
676
|
-
updated_at?: Date | string;
|
|
677
|
-
users: Prisma.usersCreateNestedOneWithoutRun_sessionsInput;
|
|
678
|
-
host: Prisma.hostsCreateNestedOneWithoutRun_sessionsInput;
|
|
679
|
-
context_logs?: Prisma.context_logCreateNestedManyWithoutRun_sessionInput;
|
|
680
|
-
};
|
|
681
|
-
export type run_sessionUncheckedCreateWithoutCostsInput = {
|
|
682
|
-
user_id: number;
|
|
683
|
-
run_id: number;
|
|
684
|
-
session_id: number;
|
|
685
|
-
host_id: number;
|
|
686
|
-
last_active: Date | string;
|
|
687
|
-
model_name: string;
|
|
688
|
-
latest_log_id?: number;
|
|
689
|
-
total_lines?: number;
|
|
690
|
-
total_cost?: number;
|
|
691
|
-
created_at?: Date | string;
|
|
692
|
-
updated_at?: Date | string;
|
|
693
|
-
context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
694
|
-
};
|
|
695
|
-
export type run_sessionCreateOrConnectWithoutCostsInput = {
|
|
696
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
697
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutCostsInput, Prisma.run_sessionUncheckedCreateWithoutCostsInput>;
|
|
698
|
-
};
|
|
699
|
-
export type run_sessionUpsertWithoutCostsInput = {
|
|
700
|
-
update: Prisma.XOR<Prisma.run_sessionUpdateWithoutCostsInput, Prisma.run_sessionUncheckedUpdateWithoutCostsInput>;
|
|
701
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutCostsInput, Prisma.run_sessionUncheckedCreateWithoutCostsInput>;
|
|
702
|
-
where?: Prisma.run_sessionWhereInput;
|
|
703
|
-
};
|
|
704
|
-
export type run_sessionUpdateToOneWithWhereWithoutCostsInput = {
|
|
705
|
-
where?: Prisma.run_sessionWhereInput;
|
|
706
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateWithoutCostsInput, Prisma.run_sessionUncheckedUpdateWithoutCostsInput>;
|
|
707
|
-
};
|
|
708
|
-
export type run_sessionUpdateWithoutCostsInput = {
|
|
709
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
710
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
711
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
712
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
713
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
714
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
715
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
716
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
717
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
718
|
-
users?: Prisma.usersUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
719
|
-
host?: Prisma.hostsUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
720
|
-
context_logs?: Prisma.context_logUpdateManyWithoutRun_sessionNestedInput;
|
|
721
|
-
};
|
|
722
|
-
export type run_sessionUncheckedUpdateWithoutCostsInput = {
|
|
723
|
-
user_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
724
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
725
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
726
|
-
host_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
727
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
728
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
729
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
730
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
731
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
732
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
733
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
734
|
-
context_logs?: Prisma.context_logUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
735
|
-
};
|
|
736
|
-
export type run_sessionCreateWithoutUsersInput = {
|
|
737
|
-
run_id: number;
|
|
738
|
-
session_id: number;
|
|
739
|
-
last_active: Date | string;
|
|
740
|
-
model_name: string;
|
|
741
|
-
latest_log_id?: number;
|
|
742
|
-
total_lines?: number;
|
|
743
|
-
total_cost?: number;
|
|
744
|
-
created_at?: Date | string;
|
|
745
|
-
updated_at?: Date | string;
|
|
746
|
-
host: Prisma.hostsCreateNestedOneWithoutRun_sessionsInput;
|
|
747
|
-
context_logs?: Prisma.context_logCreateNestedManyWithoutRun_sessionInput;
|
|
748
|
-
costs?: Prisma.costsCreateNestedManyWithoutRun_sessionInput;
|
|
749
|
-
};
|
|
750
|
-
export type run_sessionUncheckedCreateWithoutUsersInput = {
|
|
751
|
-
run_id: number;
|
|
752
|
-
session_id: number;
|
|
753
|
-
host_id: number;
|
|
754
|
-
last_active: Date | string;
|
|
755
|
-
model_name: string;
|
|
756
|
-
latest_log_id?: number;
|
|
757
|
-
total_lines?: number;
|
|
758
|
-
total_cost?: number;
|
|
759
|
-
created_at?: Date | string;
|
|
760
|
-
updated_at?: Date | string;
|
|
761
|
-
context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
762
|
-
costs?: Prisma.costsUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
763
|
-
};
|
|
764
|
-
export type run_sessionCreateOrConnectWithoutUsersInput = {
|
|
765
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
766
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutUsersInput, Prisma.run_sessionUncheckedCreateWithoutUsersInput>;
|
|
767
|
-
};
|
|
768
|
-
export type run_sessionCreateManyUsersInputEnvelope = {
|
|
769
|
-
data: Prisma.run_sessionCreateManyUsersInput | Prisma.run_sessionCreateManyUsersInput[];
|
|
770
|
-
};
|
|
771
|
-
export type run_sessionUpsertWithWhereUniqueWithoutUsersInput = {
|
|
772
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
773
|
-
update: Prisma.XOR<Prisma.run_sessionUpdateWithoutUsersInput, Prisma.run_sessionUncheckedUpdateWithoutUsersInput>;
|
|
774
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutUsersInput, Prisma.run_sessionUncheckedCreateWithoutUsersInput>;
|
|
775
|
-
};
|
|
776
|
-
export type run_sessionUpdateWithWhereUniqueWithoutUsersInput = {
|
|
777
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
778
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateWithoutUsersInput, Prisma.run_sessionUncheckedUpdateWithoutUsersInput>;
|
|
779
|
-
};
|
|
780
|
-
export type run_sessionUpdateManyWithWhereWithoutUsersInput = {
|
|
781
|
-
where: Prisma.run_sessionScalarWhereInput;
|
|
782
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateManyMutationInput, Prisma.run_sessionUncheckedUpdateManyWithoutUsersInput>;
|
|
783
|
-
};
|
|
784
|
-
export type run_sessionScalarWhereInput = {
|
|
785
|
-
AND?: Prisma.run_sessionScalarWhereInput | Prisma.run_sessionScalarWhereInput[];
|
|
786
|
-
OR?: Prisma.run_sessionScalarWhereInput[];
|
|
787
|
-
NOT?: Prisma.run_sessionScalarWhereInput | Prisma.run_sessionScalarWhereInput[];
|
|
788
|
-
user_id?: Prisma.IntFilter<"run_session"> | number;
|
|
789
|
-
run_id?: Prisma.IntFilter<"run_session"> | number;
|
|
790
|
-
session_id?: Prisma.IntFilter<"run_session"> | number;
|
|
791
|
-
host_id?: Prisma.IntFilter<"run_session"> | number;
|
|
792
|
-
last_active?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
793
|
-
model_name?: Prisma.StringFilter<"run_session"> | string;
|
|
794
|
-
latest_log_id?: Prisma.IntFilter<"run_session"> | number;
|
|
795
|
-
total_lines?: Prisma.IntFilter<"run_session"> | number;
|
|
796
|
-
total_cost?: Prisma.FloatFilter<"run_session"> | number;
|
|
797
|
-
created_at?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
798
|
-
updated_at?: Prisma.DateTimeFilter<"run_session"> | Date | string;
|
|
799
|
-
};
|
|
800
|
-
export type run_sessionCreateWithoutHostInput = {
|
|
801
|
-
run_id: number;
|
|
802
|
-
session_id: number;
|
|
803
|
-
last_active: Date | string;
|
|
804
|
-
model_name: string;
|
|
805
|
-
latest_log_id?: number;
|
|
806
|
-
total_lines?: number;
|
|
807
|
-
total_cost?: number;
|
|
808
|
-
created_at?: Date | string;
|
|
809
|
-
updated_at?: Date | string;
|
|
810
|
-
users: Prisma.usersCreateNestedOneWithoutRun_sessionsInput;
|
|
811
|
-
context_logs?: Prisma.context_logCreateNestedManyWithoutRun_sessionInput;
|
|
812
|
-
costs?: Prisma.costsCreateNestedManyWithoutRun_sessionInput;
|
|
813
|
-
};
|
|
814
|
-
export type run_sessionUncheckedCreateWithoutHostInput = {
|
|
815
|
-
user_id: number;
|
|
816
|
-
run_id: number;
|
|
817
|
-
session_id: number;
|
|
818
|
-
last_active: Date | string;
|
|
819
|
-
model_name: string;
|
|
820
|
-
latest_log_id?: number;
|
|
821
|
-
total_lines?: number;
|
|
822
|
-
total_cost?: number;
|
|
823
|
-
created_at?: Date | string;
|
|
824
|
-
updated_at?: Date | string;
|
|
825
|
-
context_logs?: Prisma.context_logUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
826
|
-
costs?: Prisma.costsUncheckedCreateNestedManyWithoutRun_sessionInput;
|
|
827
|
-
};
|
|
828
|
-
export type run_sessionCreateOrConnectWithoutHostInput = {
|
|
829
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
830
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutHostInput, Prisma.run_sessionUncheckedCreateWithoutHostInput>;
|
|
831
|
-
};
|
|
832
|
-
export type run_sessionCreateManyHostInputEnvelope = {
|
|
833
|
-
data: Prisma.run_sessionCreateManyHostInput | Prisma.run_sessionCreateManyHostInput[];
|
|
834
|
-
};
|
|
835
|
-
export type run_sessionUpsertWithWhereUniqueWithoutHostInput = {
|
|
836
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
837
|
-
update: Prisma.XOR<Prisma.run_sessionUpdateWithoutHostInput, Prisma.run_sessionUncheckedUpdateWithoutHostInput>;
|
|
838
|
-
create: Prisma.XOR<Prisma.run_sessionCreateWithoutHostInput, Prisma.run_sessionUncheckedCreateWithoutHostInput>;
|
|
839
|
-
};
|
|
840
|
-
export type run_sessionUpdateWithWhereUniqueWithoutHostInput = {
|
|
841
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
842
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateWithoutHostInput, Prisma.run_sessionUncheckedUpdateWithoutHostInput>;
|
|
843
|
-
};
|
|
844
|
-
export type run_sessionUpdateManyWithWhereWithoutHostInput = {
|
|
845
|
-
where: Prisma.run_sessionScalarWhereInput;
|
|
846
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateManyMutationInput, Prisma.run_sessionUncheckedUpdateManyWithoutHostInput>;
|
|
847
|
-
};
|
|
848
|
-
export type run_sessionCreateManyUsersInput = {
|
|
849
|
-
run_id: number;
|
|
850
|
-
session_id: number;
|
|
851
|
-
host_id: number;
|
|
852
|
-
last_active: Date | string;
|
|
853
|
-
model_name: string;
|
|
854
|
-
latest_log_id?: number;
|
|
855
|
-
total_lines?: number;
|
|
856
|
-
total_cost?: number;
|
|
857
|
-
created_at?: Date | string;
|
|
858
|
-
updated_at?: Date | string;
|
|
859
|
-
};
|
|
860
|
-
export type run_sessionUpdateWithoutUsersInput = {
|
|
861
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
862
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
863
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
864
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
865
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
866
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
867
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
868
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
869
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
870
|
-
host?: Prisma.hostsUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
871
|
-
context_logs?: Prisma.context_logUpdateManyWithoutRun_sessionNestedInput;
|
|
872
|
-
costs?: Prisma.costsUpdateManyWithoutRun_sessionNestedInput;
|
|
873
|
-
};
|
|
874
|
-
export type run_sessionUncheckedUpdateWithoutUsersInput = {
|
|
875
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
876
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
877
|
-
host_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
878
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
879
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
880
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
881
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
882
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
883
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
884
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
885
|
-
context_logs?: Prisma.context_logUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
886
|
-
costs?: Prisma.costsUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
887
|
-
};
|
|
888
|
-
export type run_sessionUncheckedUpdateManyWithoutUsersInput = {
|
|
889
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
890
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
891
|
-
host_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
892
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
893
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
894
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
895
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
896
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
897
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
898
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
899
|
-
};
|
|
900
|
-
export type run_sessionCreateManyHostInput = {
|
|
901
|
-
user_id: number;
|
|
902
|
-
run_id: number;
|
|
903
|
-
session_id: number;
|
|
904
|
-
last_active: Date | string;
|
|
905
|
-
model_name: string;
|
|
906
|
-
latest_log_id?: number;
|
|
907
|
-
total_lines?: number;
|
|
908
|
-
total_cost?: number;
|
|
909
|
-
created_at?: Date | string;
|
|
910
|
-
updated_at?: Date | string;
|
|
911
|
-
};
|
|
912
|
-
export type run_sessionUpdateWithoutHostInput = {
|
|
913
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
914
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
915
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
916
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
917
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
918
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
919
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
920
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
921
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
922
|
-
users?: Prisma.usersUpdateOneRequiredWithoutRun_sessionsNestedInput;
|
|
923
|
-
context_logs?: Prisma.context_logUpdateManyWithoutRun_sessionNestedInput;
|
|
924
|
-
costs?: Prisma.costsUpdateManyWithoutRun_sessionNestedInput;
|
|
925
|
-
};
|
|
926
|
-
export type run_sessionUncheckedUpdateWithoutHostInput = {
|
|
927
|
-
user_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
928
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
929
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
930
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
931
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
932
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
933
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
934
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
935
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
936
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
937
|
-
context_logs?: Prisma.context_logUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
938
|
-
costs?: Prisma.costsUncheckedUpdateManyWithoutRun_sessionNestedInput;
|
|
939
|
-
};
|
|
940
|
-
export type run_sessionUncheckedUpdateManyWithoutHostInput = {
|
|
941
|
-
user_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
942
|
-
run_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
943
|
-
session_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
944
|
-
last_active?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
945
|
-
model_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
946
|
-
latest_log_id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
947
|
-
total_lines?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
948
|
-
total_cost?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
949
|
-
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
950
|
-
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
951
|
-
};
|
|
952
|
-
/**
|
|
953
|
-
* Count Type Run_sessionCountOutputType
|
|
954
|
-
*/
|
|
955
|
-
export type Run_sessionCountOutputType = {
|
|
956
|
-
context_logs: number;
|
|
957
|
-
costs: number;
|
|
958
|
-
};
|
|
959
|
-
export type Run_sessionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
960
|
-
context_logs?: boolean | Run_sessionCountOutputTypeCountContext_logsArgs;
|
|
961
|
-
costs?: boolean | Run_sessionCountOutputTypeCountCostsArgs;
|
|
962
|
-
};
|
|
963
|
-
/**
|
|
964
|
-
* Run_sessionCountOutputType without action
|
|
965
|
-
*/
|
|
966
|
-
export type Run_sessionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
967
|
-
/**
|
|
968
|
-
* Select specific fields to fetch from the Run_sessionCountOutputType
|
|
969
|
-
*/
|
|
970
|
-
select?: Prisma.Run_sessionCountOutputTypeSelect<ExtArgs> | null;
|
|
971
|
-
};
|
|
972
|
-
/**
|
|
973
|
-
* Run_sessionCountOutputType without action
|
|
974
|
-
*/
|
|
975
|
-
export type Run_sessionCountOutputTypeCountContext_logsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
976
|
-
where?: Prisma.context_logWhereInput;
|
|
977
|
-
};
|
|
978
|
-
/**
|
|
979
|
-
* Run_sessionCountOutputType without action
|
|
980
|
-
*/
|
|
981
|
-
export type Run_sessionCountOutputTypeCountCostsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
982
|
-
where?: Prisma.costsWhereInput;
|
|
983
|
-
};
|
|
984
|
-
export type run_sessionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
985
|
-
user_id?: boolean;
|
|
986
|
-
run_id?: boolean;
|
|
987
|
-
session_id?: boolean;
|
|
988
|
-
host_id?: boolean;
|
|
989
|
-
last_active?: boolean;
|
|
990
|
-
model_name?: boolean;
|
|
991
|
-
latest_log_id?: boolean;
|
|
992
|
-
total_lines?: boolean;
|
|
993
|
-
total_cost?: boolean;
|
|
994
|
-
created_at?: boolean;
|
|
995
|
-
updated_at?: boolean;
|
|
996
|
-
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
|
|
997
|
-
host?: boolean | Prisma.hostsDefaultArgs<ExtArgs>;
|
|
998
|
-
context_logs?: boolean | Prisma.run_session$context_logsArgs<ExtArgs>;
|
|
999
|
-
costs?: boolean | Prisma.run_session$costsArgs<ExtArgs>;
|
|
1000
|
-
_count?: boolean | Prisma.Run_sessionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1001
|
-
}, ExtArgs["result"]["run_session"]>;
|
|
1002
|
-
export type run_sessionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1003
|
-
user_id?: boolean;
|
|
1004
|
-
run_id?: boolean;
|
|
1005
|
-
session_id?: boolean;
|
|
1006
|
-
host_id?: boolean;
|
|
1007
|
-
last_active?: boolean;
|
|
1008
|
-
model_name?: boolean;
|
|
1009
|
-
latest_log_id?: boolean;
|
|
1010
|
-
total_lines?: boolean;
|
|
1011
|
-
total_cost?: boolean;
|
|
1012
|
-
created_at?: boolean;
|
|
1013
|
-
updated_at?: boolean;
|
|
1014
|
-
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
|
|
1015
|
-
host?: boolean | Prisma.hostsDefaultArgs<ExtArgs>;
|
|
1016
|
-
}, ExtArgs["result"]["run_session"]>;
|
|
1017
|
-
export type run_sessionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1018
|
-
user_id?: boolean;
|
|
1019
|
-
run_id?: boolean;
|
|
1020
|
-
session_id?: boolean;
|
|
1021
|
-
host_id?: boolean;
|
|
1022
|
-
last_active?: boolean;
|
|
1023
|
-
model_name?: boolean;
|
|
1024
|
-
latest_log_id?: boolean;
|
|
1025
|
-
total_lines?: boolean;
|
|
1026
|
-
total_cost?: boolean;
|
|
1027
|
-
created_at?: boolean;
|
|
1028
|
-
updated_at?: boolean;
|
|
1029
|
-
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
|
|
1030
|
-
host?: boolean | Prisma.hostsDefaultArgs<ExtArgs>;
|
|
1031
|
-
}, ExtArgs["result"]["run_session"]>;
|
|
1032
|
-
export type run_sessionSelectScalar = {
|
|
1033
|
-
user_id?: boolean;
|
|
1034
|
-
run_id?: boolean;
|
|
1035
|
-
session_id?: boolean;
|
|
1036
|
-
host_id?: boolean;
|
|
1037
|
-
last_active?: boolean;
|
|
1038
|
-
model_name?: boolean;
|
|
1039
|
-
latest_log_id?: boolean;
|
|
1040
|
-
total_lines?: boolean;
|
|
1041
|
-
total_cost?: boolean;
|
|
1042
|
-
created_at?: boolean;
|
|
1043
|
-
updated_at?: boolean;
|
|
1044
|
-
};
|
|
1045
|
-
export type run_sessionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"user_id" | "run_id" | "session_id" | "host_id" | "last_active" | "model_name" | "latest_log_id" | "total_lines" | "total_cost" | "created_at" | "updated_at", ExtArgs["result"]["run_session"]>;
|
|
1046
|
-
export type run_sessionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1047
|
-
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
|
|
1048
|
-
host?: boolean | Prisma.hostsDefaultArgs<ExtArgs>;
|
|
1049
|
-
context_logs?: boolean | Prisma.run_session$context_logsArgs<ExtArgs>;
|
|
1050
|
-
costs?: boolean | Prisma.run_session$costsArgs<ExtArgs>;
|
|
1051
|
-
_count?: boolean | Prisma.Run_sessionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1052
|
-
};
|
|
1053
|
-
export type run_sessionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1054
|
-
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
|
|
1055
|
-
host?: boolean | Prisma.hostsDefaultArgs<ExtArgs>;
|
|
1056
|
-
};
|
|
1057
|
-
export type run_sessionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1058
|
-
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
|
|
1059
|
-
host?: boolean | Prisma.hostsDefaultArgs<ExtArgs>;
|
|
1060
|
-
};
|
|
1061
|
-
export type $run_sessionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1062
|
-
name: "run_session";
|
|
1063
|
-
objects: {
|
|
1064
|
-
users: Prisma.$usersPayload<ExtArgs>;
|
|
1065
|
-
host: Prisma.$hostsPayload<ExtArgs>;
|
|
1066
|
-
context_logs: Prisma.$context_logPayload<ExtArgs>[];
|
|
1067
|
-
costs: Prisma.$costsPayload<ExtArgs>[];
|
|
1068
|
-
};
|
|
1069
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1070
|
-
user_id: number;
|
|
1071
|
-
run_id: number;
|
|
1072
|
-
session_id: number;
|
|
1073
|
-
host_id: number;
|
|
1074
|
-
last_active: Date;
|
|
1075
|
-
model_name: string;
|
|
1076
|
-
latest_log_id: number;
|
|
1077
|
-
total_lines: number;
|
|
1078
|
-
total_cost: number;
|
|
1079
|
-
created_at: Date;
|
|
1080
|
-
updated_at: Date;
|
|
1081
|
-
}, ExtArgs["result"]["run_session"]>;
|
|
1082
|
-
composites: {};
|
|
1083
|
-
};
|
|
1084
|
-
export type run_sessionGetPayload<S extends boolean | null | undefined | run_sessionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$run_sessionPayload, S>;
|
|
1085
|
-
export type run_sessionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<run_sessionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1086
|
-
select?: Run_sessionCountAggregateInputType | true;
|
|
1087
|
-
};
|
|
1088
|
-
export interface run_sessionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1089
|
-
[K: symbol]: {
|
|
1090
|
-
types: Prisma.TypeMap<ExtArgs>['model']['run_session'];
|
|
1091
|
-
meta: {
|
|
1092
|
-
name: 'run_session';
|
|
1093
|
-
};
|
|
1094
|
-
};
|
|
1095
|
-
/**
|
|
1096
|
-
* Find zero or one Run_session that matches the filter.
|
|
1097
|
-
* @param {run_sessionFindUniqueArgs} args - Arguments to find a Run_session
|
|
1098
|
-
* @example
|
|
1099
|
-
* // Get one Run_session
|
|
1100
|
-
* const run_session = await prisma.run_session.findUnique({
|
|
1101
|
-
* where: {
|
|
1102
|
-
* // ... provide filter here
|
|
1103
|
-
* }
|
|
1104
|
-
* })
|
|
1105
|
-
*/
|
|
1106
|
-
findUnique<T extends run_sessionFindUniqueArgs>(args: Prisma.SelectSubset<T, run_sessionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1107
|
-
/**
|
|
1108
|
-
* Find one Run_session that matches the filter or throw an error with `error.code='P2025'`
|
|
1109
|
-
* if no matches were found.
|
|
1110
|
-
* @param {run_sessionFindUniqueOrThrowArgs} args - Arguments to find a Run_session
|
|
1111
|
-
* @example
|
|
1112
|
-
* // Get one Run_session
|
|
1113
|
-
* const run_session = await prisma.run_session.findUniqueOrThrow({
|
|
1114
|
-
* where: {
|
|
1115
|
-
* // ... provide filter here
|
|
1116
|
-
* }
|
|
1117
|
-
* })
|
|
1118
|
-
*/
|
|
1119
|
-
findUniqueOrThrow<T extends run_sessionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, run_sessionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1120
|
-
/**
|
|
1121
|
-
* Find the first Run_session that matches the filter.
|
|
1122
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1123
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1124
|
-
* @param {run_sessionFindFirstArgs} args - Arguments to find a Run_session
|
|
1125
|
-
* @example
|
|
1126
|
-
* // Get one Run_session
|
|
1127
|
-
* const run_session = await prisma.run_session.findFirst({
|
|
1128
|
-
* where: {
|
|
1129
|
-
* // ... provide filter here
|
|
1130
|
-
* }
|
|
1131
|
-
* })
|
|
1132
|
-
*/
|
|
1133
|
-
findFirst<T extends run_sessionFindFirstArgs>(args?: Prisma.SelectSubset<T, run_sessionFindFirstArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1134
|
-
/**
|
|
1135
|
-
* Find the first Run_session that matches the filter or
|
|
1136
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1137
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1138
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1139
|
-
* @param {run_sessionFindFirstOrThrowArgs} args - Arguments to find a Run_session
|
|
1140
|
-
* @example
|
|
1141
|
-
* // Get one Run_session
|
|
1142
|
-
* const run_session = await prisma.run_session.findFirstOrThrow({
|
|
1143
|
-
* where: {
|
|
1144
|
-
* // ... provide filter here
|
|
1145
|
-
* }
|
|
1146
|
-
* })
|
|
1147
|
-
*/
|
|
1148
|
-
findFirstOrThrow<T extends run_sessionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, run_sessionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1149
|
-
/**
|
|
1150
|
-
* Find zero or more Run_sessions that matches the filter.
|
|
1151
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1152
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1153
|
-
* @param {run_sessionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1154
|
-
* @example
|
|
1155
|
-
* // Get all Run_sessions
|
|
1156
|
-
* const run_sessions = await prisma.run_session.findMany()
|
|
1157
|
-
*
|
|
1158
|
-
* // Get first 10 Run_sessions
|
|
1159
|
-
* const run_sessions = await prisma.run_session.findMany({ take: 10 })
|
|
1160
|
-
*
|
|
1161
|
-
* // Only select the `user_id`
|
|
1162
|
-
* const run_sessionWithUser_idOnly = await prisma.run_session.findMany({ select: { user_id: true } })
|
|
1163
|
-
*
|
|
1164
|
-
*/
|
|
1165
|
-
findMany<T extends run_sessionFindManyArgs>(args?: Prisma.SelectSubset<T, run_sessionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1166
|
-
/**
|
|
1167
|
-
* Create a Run_session.
|
|
1168
|
-
* @param {run_sessionCreateArgs} args - Arguments to create a Run_session.
|
|
1169
|
-
* @example
|
|
1170
|
-
* // Create one Run_session
|
|
1171
|
-
* const Run_session = await prisma.run_session.create({
|
|
1172
|
-
* data: {
|
|
1173
|
-
* // ... data to create a Run_session
|
|
1174
|
-
* }
|
|
1175
|
-
* })
|
|
1176
|
-
*
|
|
1177
|
-
*/
|
|
1178
|
-
create<T extends run_sessionCreateArgs>(args: Prisma.SelectSubset<T, run_sessionCreateArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1179
|
-
/**
|
|
1180
|
-
* Create many Run_sessions.
|
|
1181
|
-
* @param {run_sessionCreateManyArgs} args - Arguments to create many Run_sessions.
|
|
1182
|
-
* @example
|
|
1183
|
-
* // Create many Run_sessions
|
|
1184
|
-
* const run_session = await prisma.run_session.createMany({
|
|
1185
|
-
* data: [
|
|
1186
|
-
* // ... provide data here
|
|
1187
|
-
* ]
|
|
1188
|
-
* })
|
|
1189
|
-
*
|
|
1190
|
-
*/
|
|
1191
|
-
createMany<T extends run_sessionCreateManyArgs>(args?: Prisma.SelectSubset<T, run_sessionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1192
|
-
/**
|
|
1193
|
-
* Create many Run_sessions and returns the data saved in the database.
|
|
1194
|
-
* @param {run_sessionCreateManyAndReturnArgs} args - Arguments to create many Run_sessions.
|
|
1195
|
-
* @example
|
|
1196
|
-
* // Create many Run_sessions
|
|
1197
|
-
* const run_session = await prisma.run_session.createManyAndReturn({
|
|
1198
|
-
* data: [
|
|
1199
|
-
* // ... provide data here
|
|
1200
|
-
* ]
|
|
1201
|
-
* })
|
|
1202
|
-
*
|
|
1203
|
-
* // Create many Run_sessions and only return the `user_id`
|
|
1204
|
-
* const run_sessionWithUser_idOnly = await prisma.run_session.createManyAndReturn({
|
|
1205
|
-
* select: { user_id: true },
|
|
1206
|
-
* data: [
|
|
1207
|
-
* // ... provide data here
|
|
1208
|
-
* ]
|
|
1209
|
-
* })
|
|
1210
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1211
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1212
|
-
*
|
|
1213
|
-
*/
|
|
1214
|
-
createManyAndReturn<T extends run_sessionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, run_sessionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1215
|
-
/**
|
|
1216
|
-
* Delete a Run_session.
|
|
1217
|
-
* @param {run_sessionDeleteArgs} args - Arguments to delete one Run_session.
|
|
1218
|
-
* @example
|
|
1219
|
-
* // Delete one Run_session
|
|
1220
|
-
* const Run_session = await prisma.run_session.delete({
|
|
1221
|
-
* where: {
|
|
1222
|
-
* // ... filter to delete one Run_session
|
|
1223
|
-
* }
|
|
1224
|
-
* })
|
|
1225
|
-
*
|
|
1226
|
-
*/
|
|
1227
|
-
delete<T extends run_sessionDeleteArgs>(args: Prisma.SelectSubset<T, run_sessionDeleteArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1228
|
-
/**
|
|
1229
|
-
* Update one Run_session.
|
|
1230
|
-
* @param {run_sessionUpdateArgs} args - Arguments to update one Run_session.
|
|
1231
|
-
* @example
|
|
1232
|
-
* // Update one Run_session
|
|
1233
|
-
* const run_session = await prisma.run_session.update({
|
|
1234
|
-
* where: {
|
|
1235
|
-
* // ... provide filter here
|
|
1236
|
-
* },
|
|
1237
|
-
* data: {
|
|
1238
|
-
* // ... provide data here
|
|
1239
|
-
* }
|
|
1240
|
-
* })
|
|
1241
|
-
*
|
|
1242
|
-
*/
|
|
1243
|
-
update<T extends run_sessionUpdateArgs>(args: Prisma.SelectSubset<T, run_sessionUpdateArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1244
|
-
/**
|
|
1245
|
-
* Delete zero or more Run_sessions.
|
|
1246
|
-
* @param {run_sessionDeleteManyArgs} args - Arguments to filter Run_sessions to delete.
|
|
1247
|
-
* @example
|
|
1248
|
-
* // Delete a few Run_sessions
|
|
1249
|
-
* const { count } = await prisma.run_session.deleteMany({
|
|
1250
|
-
* where: {
|
|
1251
|
-
* // ... provide filter here
|
|
1252
|
-
* }
|
|
1253
|
-
* })
|
|
1254
|
-
*
|
|
1255
|
-
*/
|
|
1256
|
-
deleteMany<T extends run_sessionDeleteManyArgs>(args?: Prisma.SelectSubset<T, run_sessionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1257
|
-
/**
|
|
1258
|
-
* Update zero or more Run_sessions.
|
|
1259
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1260
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1261
|
-
* @param {run_sessionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1262
|
-
* @example
|
|
1263
|
-
* // Update many Run_sessions
|
|
1264
|
-
* const run_session = await prisma.run_session.updateMany({
|
|
1265
|
-
* where: {
|
|
1266
|
-
* // ... provide filter here
|
|
1267
|
-
* },
|
|
1268
|
-
* data: {
|
|
1269
|
-
* // ... provide data here
|
|
1270
|
-
* }
|
|
1271
|
-
* })
|
|
1272
|
-
*
|
|
1273
|
-
*/
|
|
1274
|
-
updateMany<T extends run_sessionUpdateManyArgs>(args: Prisma.SelectSubset<T, run_sessionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1275
|
-
/**
|
|
1276
|
-
* Update zero or more Run_sessions and returns the data updated in the database.
|
|
1277
|
-
* @param {run_sessionUpdateManyAndReturnArgs} args - Arguments to update many Run_sessions.
|
|
1278
|
-
* @example
|
|
1279
|
-
* // Update many Run_sessions
|
|
1280
|
-
* const run_session = await prisma.run_session.updateManyAndReturn({
|
|
1281
|
-
* where: {
|
|
1282
|
-
* // ... provide filter here
|
|
1283
|
-
* },
|
|
1284
|
-
* data: [
|
|
1285
|
-
* // ... provide data here
|
|
1286
|
-
* ]
|
|
1287
|
-
* })
|
|
1288
|
-
*
|
|
1289
|
-
* // Update zero or more Run_sessions and only return the `user_id`
|
|
1290
|
-
* const run_sessionWithUser_idOnly = await prisma.run_session.updateManyAndReturn({
|
|
1291
|
-
* select: { user_id: true },
|
|
1292
|
-
* where: {
|
|
1293
|
-
* // ... provide filter here
|
|
1294
|
-
* },
|
|
1295
|
-
* data: [
|
|
1296
|
-
* // ... provide data here
|
|
1297
|
-
* ]
|
|
1298
|
-
* })
|
|
1299
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1300
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1301
|
-
*
|
|
1302
|
-
*/
|
|
1303
|
-
updateManyAndReturn<T extends run_sessionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, run_sessionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1304
|
-
/**
|
|
1305
|
-
* Create or update one Run_session.
|
|
1306
|
-
* @param {run_sessionUpsertArgs} args - Arguments to update or create a Run_session.
|
|
1307
|
-
* @example
|
|
1308
|
-
* // Update or create a Run_session
|
|
1309
|
-
* const run_session = await prisma.run_session.upsert({
|
|
1310
|
-
* create: {
|
|
1311
|
-
* // ... data to create a Run_session
|
|
1312
|
-
* },
|
|
1313
|
-
* update: {
|
|
1314
|
-
* // ... in case it already exists, update
|
|
1315
|
-
* },
|
|
1316
|
-
* where: {
|
|
1317
|
-
* // ... the filter for the Run_session we want to update
|
|
1318
|
-
* }
|
|
1319
|
-
* })
|
|
1320
|
-
*/
|
|
1321
|
-
upsert<T extends run_sessionUpsertArgs>(args: Prisma.SelectSubset<T, run_sessionUpsertArgs<ExtArgs>>): Prisma.Prisma__run_sessionClient<runtime.Types.Result.GetResult<Prisma.$run_sessionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1322
|
-
/**
|
|
1323
|
-
* Count the number of Run_sessions.
|
|
1324
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1325
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1326
|
-
* @param {run_sessionCountArgs} args - Arguments to filter Run_sessions to count.
|
|
1327
|
-
* @example
|
|
1328
|
-
* // Count the number of Run_sessions
|
|
1329
|
-
* const count = await prisma.run_session.count({
|
|
1330
|
-
* where: {
|
|
1331
|
-
* // ... the filter for the Run_sessions we want to count
|
|
1332
|
-
* }
|
|
1333
|
-
* })
|
|
1334
|
-
**/
|
|
1335
|
-
count<T extends run_sessionCountArgs>(args?: Prisma.Subset<T, run_sessionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Run_sessionCountAggregateOutputType> : number>;
|
|
1336
|
-
/**
|
|
1337
|
-
* Allows you to perform aggregations operations on a Run_session.
|
|
1338
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1339
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1340
|
-
* @param {Run_sessionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1341
|
-
* @example
|
|
1342
|
-
* // Ordered by age ascending
|
|
1343
|
-
* // Where email contains prisma.io
|
|
1344
|
-
* // Limited to the 10 users
|
|
1345
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1346
|
-
* _avg: {
|
|
1347
|
-
* age: true,
|
|
1348
|
-
* },
|
|
1349
|
-
* where: {
|
|
1350
|
-
* email: {
|
|
1351
|
-
* contains: "prisma.io",
|
|
1352
|
-
* },
|
|
1353
|
-
* },
|
|
1354
|
-
* orderBy: {
|
|
1355
|
-
* age: "asc",
|
|
1356
|
-
* },
|
|
1357
|
-
* take: 10,
|
|
1358
|
-
* })
|
|
1359
|
-
**/
|
|
1360
|
-
aggregate<T extends Run_sessionAggregateArgs>(args: Prisma.Subset<T, Run_sessionAggregateArgs>): Prisma.PrismaPromise<GetRun_sessionAggregateType<T>>;
|
|
1361
|
-
/**
|
|
1362
|
-
* Group by Run_session.
|
|
1363
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1364
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1365
|
-
* @param {run_sessionGroupByArgs} args - Group by arguments.
|
|
1366
|
-
* @example
|
|
1367
|
-
* // Group by city, order by createdAt, get count
|
|
1368
|
-
* const result = await prisma.user.groupBy({
|
|
1369
|
-
* by: ['city', 'createdAt'],
|
|
1370
|
-
* orderBy: {
|
|
1371
|
-
* createdAt: true
|
|
1372
|
-
* },
|
|
1373
|
-
* _count: {
|
|
1374
|
-
* _all: true
|
|
1375
|
-
* },
|
|
1376
|
-
* })
|
|
1377
|
-
*
|
|
1378
|
-
**/
|
|
1379
|
-
groupBy<T extends run_sessionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1380
|
-
orderBy: run_sessionGroupByArgs['orderBy'];
|
|
1381
|
-
} : {
|
|
1382
|
-
orderBy?: run_sessionGroupByArgs['orderBy'];
|
|
1383
|
-
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1384
|
-
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1385
|
-
Error,
|
|
1386
|
-
'Field ',
|
|
1387
|
-
P,
|
|
1388
|
-
` in "having" needs to be provided in "by"`
|
|
1389
|
-
];
|
|
1390
|
-
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1391
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1392
|
-
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1393
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1394
|
-
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1395
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1396
|
-
}[OrderFields]>(args: Prisma.SubsetIntersection<T, run_sessionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRun_sessionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1397
|
-
/**
|
|
1398
|
-
* Fields of the run_session model
|
|
1399
|
-
*/
|
|
1400
|
-
readonly fields: run_sessionFieldRefs;
|
|
1401
|
-
}
|
|
1402
|
-
/**
|
|
1403
|
-
* The delegate class that acts as a "Promise-like" for run_session.
|
|
1404
|
-
* Why is this prefixed with `Prisma__`?
|
|
1405
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1406
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1407
|
-
*/
|
|
1408
|
-
export interface Prisma__run_sessionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1409
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1410
|
-
users<T extends Prisma.usersDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.usersDefaultArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1411
|
-
host<T extends Prisma.hostsDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.hostsDefaultArgs<ExtArgs>>): Prisma.Prisma__hostsClient<runtime.Types.Result.GetResult<Prisma.$hostsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1412
|
-
context_logs<T extends Prisma.run_session$context_logsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.run_session$context_logsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$context_logPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1413
|
-
costs<T extends Prisma.run_session$costsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.run_session$costsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$costsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1414
|
-
/**
|
|
1415
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1416
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1417
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1418
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1419
|
-
*/
|
|
1420
|
-
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>;
|
|
1421
|
-
/**
|
|
1422
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1423
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1424
|
-
* @returns A Promise for the completion of the callback.
|
|
1425
|
-
*/
|
|
1426
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1427
|
-
/**
|
|
1428
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1429
|
-
* resolved value cannot be modified from the callback.
|
|
1430
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1431
|
-
* @returns A Promise for the completion of the callback.
|
|
1432
|
-
*/
|
|
1433
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1434
|
-
}
|
|
1435
|
-
/**
|
|
1436
|
-
* Fields of the run_session model
|
|
1437
|
-
*/
|
|
1438
|
-
export interface run_sessionFieldRefs {
|
|
1439
|
-
readonly user_id: Prisma.FieldRef<"run_session", 'Int'>;
|
|
1440
|
-
readonly run_id: Prisma.FieldRef<"run_session", 'Int'>;
|
|
1441
|
-
readonly session_id: Prisma.FieldRef<"run_session", 'Int'>;
|
|
1442
|
-
readonly host_id: Prisma.FieldRef<"run_session", 'Int'>;
|
|
1443
|
-
readonly last_active: Prisma.FieldRef<"run_session", 'DateTime'>;
|
|
1444
|
-
readonly model_name: Prisma.FieldRef<"run_session", 'String'>;
|
|
1445
|
-
readonly latest_log_id: Prisma.FieldRef<"run_session", 'Int'>;
|
|
1446
|
-
readonly total_lines: Prisma.FieldRef<"run_session", 'Int'>;
|
|
1447
|
-
readonly total_cost: Prisma.FieldRef<"run_session", 'Float'>;
|
|
1448
|
-
readonly created_at: Prisma.FieldRef<"run_session", 'DateTime'>;
|
|
1449
|
-
readonly updated_at: Prisma.FieldRef<"run_session", 'DateTime'>;
|
|
1450
|
-
}
|
|
1451
|
-
/**
|
|
1452
|
-
* run_session findUnique
|
|
1453
|
-
*/
|
|
1454
|
-
export type run_sessionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1455
|
-
/**
|
|
1456
|
-
* Select specific fields to fetch from the run_session
|
|
1457
|
-
*/
|
|
1458
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1459
|
-
/**
|
|
1460
|
-
* Omit specific fields from the run_session
|
|
1461
|
-
*/
|
|
1462
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1463
|
-
/**
|
|
1464
|
-
* Choose, which related nodes to fetch as well
|
|
1465
|
-
*/
|
|
1466
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1467
|
-
/**
|
|
1468
|
-
* Filter, which run_session to fetch.
|
|
1469
|
-
*/
|
|
1470
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
1471
|
-
};
|
|
1472
|
-
/**
|
|
1473
|
-
* run_session findUniqueOrThrow
|
|
1474
|
-
*/
|
|
1475
|
-
export type run_sessionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1476
|
-
/**
|
|
1477
|
-
* Select specific fields to fetch from the run_session
|
|
1478
|
-
*/
|
|
1479
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1480
|
-
/**
|
|
1481
|
-
* Omit specific fields from the run_session
|
|
1482
|
-
*/
|
|
1483
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1484
|
-
/**
|
|
1485
|
-
* Choose, which related nodes to fetch as well
|
|
1486
|
-
*/
|
|
1487
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1488
|
-
/**
|
|
1489
|
-
* Filter, which run_session to fetch.
|
|
1490
|
-
*/
|
|
1491
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
1492
|
-
};
|
|
1493
|
-
/**
|
|
1494
|
-
* run_session findFirst
|
|
1495
|
-
*/
|
|
1496
|
-
export type run_sessionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1497
|
-
/**
|
|
1498
|
-
* Select specific fields to fetch from the run_session
|
|
1499
|
-
*/
|
|
1500
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1501
|
-
/**
|
|
1502
|
-
* Omit specific fields from the run_session
|
|
1503
|
-
*/
|
|
1504
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1505
|
-
/**
|
|
1506
|
-
* Choose, which related nodes to fetch as well
|
|
1507
|
-
*/
|
|
1508
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1509
|
-
/**
|
|
1510
|
-
* Filter, which run_session to fetch.
|
|
1511
|
-
*/
|
|
1512
|
-
where?: Prisma.run_sessionWhereInput;
|
|
1513
|
-
/**
|
|
1514
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1515
|
-
*
|
|
1516
|
-
* Determine the order of run_sessions to fetch.
|
|
1517
|
-
*/
|
|
1518
|
-
orderBy?: Prisma.run_sessionOrderByWithRelationInput | Prisma.run_sessionOrderByWithRelationInput[];
|
|
1519
|
-
/**
|
|
1520
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1521
|
-
*
|
|
1522
|
-
* Sets the position for searching for run_sessions.
|
|
1523
|
-
*/
|
|
1524
|
-
cursor?: Prisma.run_sessionWhereUniqueInput;
|
|
1525
|
-
/**
|
|
1526
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1527
|
-
*
|
|
1528
|
-
* Take `±n` run_sessions from the position of the cursor.
|
|
1529
|
-
*/
|
|
1530
|
-
take?: number;
|
|
1531
|
-
/**
|
|
1532
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1533
|
-
*
|
|
1534
|
-
* Skip the first `n` run_sessions.
|
|
1535
|
-
*/
|
|
1536
|
-
skip?: number;
|
|
1537
|
-
/**
|
|
1538
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1539
|
-
*
|
|
1540
|
-
* Filter by unique combinations of run_sessions.
|
|
1541
|
-
*/
|
|
1542
|
-
distinct?: Prisma.Run_sessionScalarFieldEnum | Prisma.Run_sessionScalarFieldEnum[];
|
|
1543
|
-
};
|
|
1544
|
-
/**
|
|
1545
|
-
* run_session findFirstOrThrow
|
|
1546
|
-
*/
|
|
1547
|
-
export type run_sessionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1548
|
-
/**
|
|
1549
|
-
* Select specific fields to fetch from the run_session
|
|
1550
|
-
*/
|
|
1551
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1552
|
-
/**
|
|
1553
|
-
* Omit specific fields from the run_session
|
|
1554
|
-
*/
|
|
1555
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1556
|
-
/**
|
|
1557
|
-
* Choose, which related nodes to fetch as well
|
|
1558
|
-
*/
|
|
1559
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1560
|
-
/**
|
|
1561
|
-
* Filter, which run_session to fetch.
|
|
1562
|
-
*/
|
|
1563
|
-
where?: Prisma.run_sessionWhereInput;
|
|
1564
|
-
/**
|
|
1565
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1566
|
-
*
|
|
1567
|
-
* Determine the order of run_sessions to fetch.
|
|
1568
|
-
*/
|
|
1569
|
-
orderBy?: Prisma.run_sessionOrderByWithRelationInput | Prisma.run_sessionOrderByWithRelationInput[];
|
|
1570
|
-
/**
|
|
1571
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1572
|
-
*
|
|
1573
|
-
* Sets the position for searching for run_sessions.
|
|
1574
|
-
*/
|
|
1575
|
-
cursor?: Prisma.run_sessionWhereUniqueInput;
|
|
1576
|
-
/**
|
|
1577
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1578
|
-
*
|
|
1579
|
-
* Take `±n` run_sessions from the position of the cursor.
|
|
1580
|
-
*/
|
|
1581
|
-
take?: number;
|
|
1582
|
-
/**
|
|
1583
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1584
|
-
*
|
|
1585
|
-
* Skip the first `n` run_sessions.
|
|
1586
|
-
*/
|
|
1587
|
-
skip?: number;
|
|
1588
|
-
/**
|
|
1589
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1590
|
-
*
|
|
1591
|
-
* Filter by unique combinations of run_sessions.
|
|
1592
|
-
*/
|
|
1593
|
-
distinct?: Prisma.Run_sessionScalarFieldEnum | Prisma.Run_sessionScalarFieldEnum[];
|
|
1594
|
-
};
|
|
1595
|
-
/**
|
|
1596
|
-
* run_session findMany
|
|
1597
|
-
*/
|
|
1598
|
-
export type run_sessionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1599
|
-
/**
|
|
1600
|
-
* Select specific fields to fetch from the run_session
|
|
1601
|
-
*/
|
|
1602
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1603
|
-
/**
|
|
1604
|
-
* Omit specific fields from the run_session
|
|
1605
|
-
*/
|
|
1606
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1607
|
-
/**
|
|
1608
|
-
* Choose, which related nodes to fetch as well
|
|
1609
|
-
*/
|
|
1610
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1611
|
-
/**
|
|
1612
|
-
* Filter, which run_sessions to fetch.
|
|
1613
|
-
*/
|
|
1614
|
-
where?: Prisma.run_sessionWhereInput;
|
|
1615
|
-
/**
|
|
1616
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1617
|
-
*
|
|
1618
|
-
* Determine the order of run_sessions to fetch.
|
|
1619
|
-
*/
|
|
1620
|
-
orderBy?: Prisma.run_sessionOrderByWithRelationInput | Prisma.run_sessionOrderByWithRelationInput[];
|
|
1621
|
-
/**
|
|
1622
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1623
|
-
*
|
|
1624
|
-
* Sets the position for listing run_sessions.
|
|
1625
|
-
*/
|
|
1626
|
-
cursor?: Prisma.run_sessionWhereUniqueInput;
|
|
1627
|
-
/**
|
|
1628
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1629
|
-
*
|
|
1630
|
-
* Take `±n` run_sessions from the position of the cursor.
|
|
1631
|
-
*/
|
|
1632
|
-
take?: number;
|
|
1633
|
-
/**
|
|
1634
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1635
|
-
*
|
|
1636
|
-
* Skip the first `n` run_sessions.
|
|
1637
|
-
*/
|
|
1638
|
-
skip?: number;
|
|
1639
|
-
/**
|
|
1640
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1641
|
-
*
|
|
1642
|
-
* Filter by unique combinations of run_sessions.
|
|
1643
|
-
*/
|
|
1644
|
-
distinct?: Prisma.Run_sessionScalarFieldEnum | Prisma.Run_sessionScalarFieldEnum[];
|
|
1645
|
-
};
|
|
1646
|
-
/**
|
|
1647
|
-
* run_session create
|
|
1648
|
-
*/
|
|
1649
|
-
export type run_sessionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1650
|
-
/**
|
|
1651
|
-
* Select specific fields to fetch from the run_session
|
|
1652
|
-
*/
|
|
1653
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1654
|
-
/**
|
|
1655
|
-
* Omit specific fields from the run_session
|
|
1656
|
-
*/
|
|
1657
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1658
|
-
/**
|
|
1659
|
-
* Choose, which related nodes to fetch as well
|
|
1660
|
-
*/
|
|
1661
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1662
|
-
/**
|
|
1663
|
-
* The data needed to create a run_session.
|
|
1664
|
-
*/
|
|
1665
|
-
data: Prisma.XOR<Prisma.run_sessionCreateInput, Prisma.run_sessionUncheckedCreateInput>;
|
|
1666
|
-
};
|
|
1667
|
-
/**
|
|
1668
|
-
* run_session createMany
|
|
1669
|
-
*/
|
|
1670
|
-
export type run_sessionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1671
|
-
/**
|
|
1672
|
-
* The data used to create many run_sessions.
|
|
1673
|
-
*/
|
|
1674
|
-
data: Prisma.run_sessionCreateManyInput | Prisma.run_sessionCreateManyInput[];
|
|
1675
|
-
};
|
|
1676
|
-
/**
|
|
1677
|
-
* run_session createManyAndReturn
|
|
1678
|
-
*/
|
|
1679
|
-
export type run_sessionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1680
|
-
/**
|
|
1681
|
-
* Select specific fields to fetch from the run_session
|
|
1682
|
-
*/
|
|
1683
|
-
select?: Prisma.run_sessionSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1684
|
-
/**
|
|
1685
|
-
* Omit specific fields from the run_session
|
|
1686
|
-
*/
|
|
1687
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1688
|
-
/**
|
|
1689
|
-
* The data used to create many run_sessions.
|
|
1690
|
-
*/
|
|
1691
|
-
data: Prisma.run_sessionCreateManyInput | Prisma.run_sessionCreateManyInput[];
|
|
1692
|
-
/**
|
|
1693
|
-
* Choose, which related nodes to fetch as well
|
|
1694
|
-
*/
|
|
1695
|
-
include?: Prisma.run_sessionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1696
|
-
};
|
|
1697
|
-
/**
|
|
1698
|
-
* run_session update
|
|
1699
|
-
*/
|
|
1700
|
-
export type run_sessionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1701
|
-
/**
|
|
1702
|
-
* Select specific fields to fetch from the run_session
|
|
1703
|
-
*/
|
|
1704
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1705
|
-
/**
|
|
1706
|
-
* Omit specific fields from the run_session
|
|
1707
|
-
*/
|
|
1708
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1709
|
-
/**
|
|
1710
|
-
* Choose, which related nodes to fetch as well
|
|
1711
|
-
*/
|
|
1712
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1713
|
-
/**
|
|
1714
|
-
* The data needed to update a run_session.
|
|
1715
|
-
*/
|
|
1716
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateInput, Prisma.run_sessionUncheckedUpdateInput>;
|
|
1717
|
-
/**
|
|
1718
|
-
* Choose, which run_session to update.
|
|
1719
|
-
*/
|
|
1720
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
1721
|
-
};
|
|
1722
|
-
/**
|
|
1723
|
-
* run_session updateMany
|
|
1724
|
-
*/
|
|
1725
|
-
export type run_sessionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1726
|
-
/**
|
|
1727
|
-
* The data used to update run_sessions.
|
|
1728
|
-
*/
|
|
1729
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateManyMutationInput, Prisma.run_sessionUncheckedUpdateManyInput>;
|
|
1730
|
-
/**
|
|
1731
|
-
* Filter which run_sessions to update
|
|
1732
|
-
*/
|
|
1733
|
-
where?: Prisma.run_sessionWhereInput;
|
|
1734
|
-
/**
|
|
1735
|
-
* Limit how many run_sessions to update.
|
|
1736
|
-
*/
|
|
1737
|
-
limit?: number;
|
|
1738
|
-
};
|
|
1739
|
-
/**
|
|
1740
|
-
* run_session updateManyAndReturn
|
|
1741
|
-
*/
|
|
1742
|
-
export type run_sessionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1743
|
-
/**
|
|
1744
|
-
* Select specific fields to fetch from the run_session
|
|
1745
|
-
*/
|
|
1746
|
-
select?: Prisma.run_sessionSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1747
|
-
/**
|
|
1748
|
-
* Omit specific fields from the run_session
|
|
1749
|
-
*/
|
|
1750
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1751
|
-
/**
|
|
1752
|
-
* The data used to update run_sessions.
|
|
1753
|
-
*/
|
|
1754
|
-
data: Prisma.XOR<Prisma.run_sessionUpdateManyMutationInput, Prisma.run_sessionUncheckedUpdateManyInput>;
|
|
1755
|
-
/**
|
|
1756
|
-
* Filter which run_sessions to update
|
|
1757
|
-
*/
|
|
1758
|
-
where?: Prisma.run_sessionWhereInput;
|
|
1759
|
-
/**
|
|
1760
|
-
* Limit how many run_sessions to update.
|
|
1761
|
-
*/
|
|
1762
|
-
limit?: number;
|
|
1763
|
-
/**
|
|
1764
|
-
* Choose, which related nodes to fetch as well
|
|
1765
|
-
*/
|
|
1766
|
-
include?: Prisma.run_sessionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1767
|
-
};
|
|
1768
|
-
/**
|
|
1769
|
-
* run_session upsert
|
|
1770
|
-
*/
|
|
1771
|
-
export type run_sessionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1772
|
-
/**
|
|
1773
|
-
* Select specific fields to fetch from the run_session
|
|
1774
|
-
*/
|
|
1775
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1776
|
-
/**
|
|
1777
|
-
* Omit specific fields from the run_session
|
|
1778
|
-
*/
|
|
1779
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1780
|
-
/**
|
|
1781
|
-
* Choose, which related nodes to fetch as well
|
|
1782
|
-
*/
|
|
1783
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1784
|
-
/**
|
|
1785
|
-
* The filter to search for the run_session to update in case it exists.
|
|
1786
|
-
*/
|
|
1787
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
1788
|
-
/**
|
|
1789
|
-
* In case the run_session found by the `where` argument doesn't exist, create a new run_session with this data.
|
|
1790
|
-
*/
|
|
1791
|
-
create: Prisma.XOR<Prisma.run_sessionCreateInput, Prisma.run_sessionUncheckedCreateInput>;
|
|
1792
|
-
/**
|
|
1793
|
-
* In case the run_session was found with the provided `where` argument, update it with this data.
|
|
1794
|
-
*/
|
|
1795
|
-
update: Prisma.XOR<Prisma.run_sessionUpdateInput, Prisma.run_sessionUncheckedUpdateInput>;
|
|
1796
|
-
};
|
|
1797
|
-
/**
|
|
1798
|
-
* run_session delete
|
|
1799
|
-
*/
|
|
1800
|
-
export type run_sessionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1801
|
-
/**
|
|
1802
|
-
* Select specific fields to fetch from the run_session
|
|
1803
|
-
*/
|
|
1804
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1805
|
-
/**
|
|
1806
|
-
* Omit specific fields from the run_session
|
|
1807
|
-
*/
|
|
1808
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1809
|
-
/**
|
|
1810
|
-
* Choose, which related nodes to fetch as well
|
|
1811
|
-
*/
|
|
1812
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1813
|
-
/**
|
|
1814
|
-
* Filter which run_session to delete.
|
|
1815
|
-
*/
|
|
1816
|
-
where: Prisma.run_sessionWhereUniqueInput;
|
|
1817
|
-
};
|
|
1818
|
-
/**
|
|
1819
|
-
* run_session deleteMany
|
|
1820
|
-
*/
|
|
1821
|
-
export type run_sessionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1822
|
-
/**
|
|
1823
|
-
* Filter which run_sessions to delete
|
|
1824
|
-
*/
|
|
1825
|
-
where?: Prisma.run_sessionWhereInput;
|
|
1826
|
-
/**
|
|
1827
|
-
* Limit how many run_sessions to delete.
|
|
1828
|
-
*/
|
|
1829
|
-
limit?: number;
|
|
1830
|
-
};
|
|
1831
|
-
/**
|
|
1832
|
-
* run_session.context_logs
|
|
1833
|
-
*/
|
|
1834
|
-
export type run_session$context_logsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1835
|
-
/**
|
|
1836
|
-
* Select specific fields to fetch from the context_log
|
|
1837
|
-
*/
|
|
1838
|
-
select?: Prisma.context_logSelect<ExtArgs> | null;
|
|
1839
|
-
/**
|
|
1840
|
-
* Omit specific fields from the context_log
|
|
1841
|
-
*/
|
|
1842
|
-
omit?: Prisma.context_logOmit<ExtArgs> | null;
|
|
1843
|
-
/**
|
|
1844
|
-
* Choose, which related nodes to fetch as well
|
|
1845
|
-
*/
|
|
1846
|
-
include?: Prisma.context_logInclude<ExtArgs> | null;
|
|
1847
|
-
where?: Prisma.context_logWhereInput;
|
|
1848
|
-
orderBy?: Prisma.context_logOrderByWithRelationInput | Prisma.context_logOrderByWithRelationInput[];
|
|
1849
|
-
cursor?: Prisma.context_logWhereUniqueInput;
|
|
1850
|
-
take?: number;
|
|
1851
|
-
skip?: number;
|
|
1852
|
-
distinct?: Prisma.Context_logScalarFieldEnum | Prisma.Context_logScalarFieldEnum[];
|
|
1853
|
-
};
|
|
1854
|
-
/**
|
|
1855
|
-
* run_session.costs
|
|
1856
|
-
*/
|
|
1857
|
-
export type run_session$costsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1858
|
-
/**
|
|
1859
|
-
* Select specific fields to fetch from the costs
|
|
1860
|
-
*/
|
|
1861
|
-
select?: Prisma.costsSelect<ExtArgs> | null;
|
|
1862
|
-
/**
|
|
1863
|
-
* Omit specific fields from the costs
|
|
1864
|
-
*/
|
|
1865
|
-
omit?: Prisma.costsOmit<ExtArgs> | null;
|
|
1866
|
-
/**
|
|
1867
|
-
* Choose, which related nodes to fetch as well
|
|
1868
|
-
*/
|
|
1869
|
-
include?: Prisma.costsInclude<ExtArgs> | null;
|
|
1870
|
-
where?: Prisma.costsWhereInput;
|
|
1871
|
-
orderBy?: Prisma.costsOrderByWithRelationInput | Prisma.costsOrderByWithRelationInput[];
|
|
1872
|
-
cursor?: Prisma.costsWhereUniqueInput;
|
|
1873
|
-
take?: number;
|
|
1874
|
-
skip?: number;
|
|
1875
|
-
distinct?: Prisma.CostsScalarFieldEnum | Prisma.CostsScalarFieldEnum[];
|
|
1876
|
-
};
|
|
1877
|
-
/**
|
|
1878
|
-
* run_session without action
|
|
1879
|
-
*/
|
|
1880
|
-
export type run_sessionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1881
|
-
/**
|
|
1882
|
-
* Select specific fields to fetch from the run_session
|
|
1883
|
-
*/
|
|
1884
|
-
select?: Prisma.run_sessionSelect<ExtArgs> | null;
|
|
1885
|
-
/**
|
|
1886
|
-
* Omit specific fields from the run_session
|
|
1887
|
-
*/
|
|
1888
|
-
omit?: Prisma.run_sessionOmit<ExtArgs> | null;
|
|
1889
|
-
/**
|
|
1890
|
-
* Choose, which related nodes to fetch as well
|
|
1891
|
-
*/
|
|
1892
|
-
include?: Prisma.run_sessionInclude<ExtArgs> | null;
|
|
1893
|
-
};
|
|
1894
|
-
//# sourceMappingURL=run_session.d.ts.map
|