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