@crossauth/fastify 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,44 @@
1
+ import * as Prisma from './internal/prismaNamespaceBrowser.ts';
2
+ export { Prisma };
3
+ export * as $Enums from './enums.ts';
4
+ export * from './enums.ts';
5
+ /**
6
+ * Model User
7
+ *
8
+ */
9
+ export type User = Prisma.UserModel;
10
+ /**
11
+ * Model UserSecrets
12
+ *
13
+ */
14
+ export type UserSecrets = Prisma.UserSecretsModel;
15
+ /**
16
+ * Model Key
17
+ *
18
+ */
19
+ export type Key = Prisma.KeyModel;
20
+ /**
21
+ * Model ApiKey
22
+ *
23
+ */
24
+ export type ApiKey = Prisma.ApiKeyModel;
25
+ /**
26
+ * Model OAuthClient
27
+ *
28
+ */
29
+ export type OAuthClient = Prisma.OAuthClientModel;
30
+ /**
31
+ * Model OAuthClientRedirectUri
32
+ *
33
+ */
34
+ export type OAuthClientRedirectUri = Prisma.OAuthClientRedirectUriModel;
35
+ /**
36
+ * Model OAuthClientValidFlow
37
+ *
38
+ */
39
+ export type OAuthClientValidFlow = Prisma.OAuthClientValidFlowModel;
40
+ /**
41
+ * Model OAuthAuthorization
42
+ *
43
+ */
44
+ export type OAuthAuthorization = Prisma.OAuthAuthorizationModel;
@@ -0,0 +1,61 @@
1
+ import * as runtime from "@prisma/client/runtime/client";
2
+ import * as $Class from "./internal/class.ts";
3
+ import * as Prisma from "./internal/prismaNamespace.ts";
4
+ export * as $Enums from './enums.ts';
5
+ export * from './enums.ts';
6
+ /**
7
+ * ## Prisma Client
8
+ *
9
+ * Type-safe database client for TypeScript
10
+ * @example
11
+ * ```
12
+ * const prisma = new PrismaClient()
13
+ * // Fetch zero or more Users
14
+ * const users = await prisma.user.findMany()
15
+ * ```
16
+ *
17
+ * Read more in our [docs](https://pris.ly/d/client).
18
+ */
19
+ export declare const PrismaClient: $Class.PrismaClientConstructor;
20
+ export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>;
21
+ export { Prisma };
22
+ /**
23
+ * Model User
24
+ *
25
+ */
26
+ export type User = Prisma.UserModel;
27
+ /**
28
+ * Model UserSecrets
29
+ *
30
+ */
31
+ export type UserSecrets = Prisma.UserSecretsModel;
32
+ /**
33
+ * Model Key
34
+ *
35
+ */
36
+ export type Key = Prisma.KeyModel;
37
+ /**
38
+ * Model ApiKey
39
+ *
40
+ */
41
+ export type ApiKey = Prisma.ApiKeyModel;
42
+ /**
43
+ * Model OAuthClient
44
+ *
45
+ */
46
+ export type OAuthClient = Prisma.OAuthClientModel;
47
+ /**
48
+ * Model OAuthClientRedirectUri
49
+ *
50
+ */
51
+ export type OAuthClientRedirectUri = Prisma.OAuthClientRedirectUriModel;
52
+ /**
53
+ * Model OAuthClientValidFlow
54
+ *
55
+ */
56
+ export type OAuthClientValidFlow = Prisma.OAuthClientValidFlowModel;
57
+ /**
58
+ * Model OAuthAuthorization
59
+ *
60
+ */
61
+ export type OAuthAuthorization = Prisma.OAuthAuthorizationModel;
@@ -0,0 +1,355 @@
1
+ import type * as Prisma from "./internal/prismaNamespace.ts";
2
+ export type IntFilter<$PrismaModel = never> = {
3
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
4
+ in?: number[];
5
+ notIn?: number[];
6
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
7
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
8
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
9
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
10
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number;
11
+ };
12
+ export type StringFilter<$PrismaModel = never> = {
13
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
14
+ in?: string[];
15
+ notIn?: string[];
16
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
17
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
18
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
19
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
20
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
21
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
22
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
23
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string;
24
+ };
25
+ export type StringNullableFilter<$PrismaModel = never> = {
26
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
27
+ in?: string[] | null;
28
+ notIn?: string[] | null;
29
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
30
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
31
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
32
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
33
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
34
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
35
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
36
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
37
+ };
38
+ export type SortOrderInput = {
39
+ sort: Prisma.SortOrder;
40
+ nulls?: Prisma.NullsOrder;
41
+ };
42
+ export type IntWithAggregatesFilter<$PrismaModel = never> = {
43
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
44
+ in?: number[];
45
+ notIn?: number[];
46
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
47
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
48
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
49
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
50
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
51
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
52
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>;
53
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>;
54
+ _min?: Prisma.NestedIntFilter<$PrismaModel>;
55
+ _max?: Prisma.NestedIntFilter<$PrismaModel>;
56
+ };
57
+ export type StringWithAggregatesFilter<$PrismaModel = never> = {
58
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
59
+ in?: string[];
60
+ notIn?: string[];
61
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
62
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
63
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
64
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
65
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
66
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
67
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
68
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
69
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
70
+ _min?: Prisma.NestedStringFilter<$PrismaModel>;
71
+ _max?: Prisma.NestedStringFilter<$PrismaModel>;
72
+ };
73
+ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
74
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
75
+ in?: string[] | null;
76
+ notIn?: string[] | null;
77
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
78
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
79
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
80
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
81
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
82
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
83
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
84
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
85
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
86
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
87
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
88
+ };
89
+ export type IntNullableFilter<$PrismaModel = never> = {
90
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
91
+ in?: number[] | null;
92
+ notIn?: number[] | null;
93
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
94
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
95
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
96
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
97
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
98
+ };
99
+ export type DateTimeFilter<$PrismaModel = never> = {
100
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
101
+ in?: Date[] | string[];
102
+ notIn?: Date[] | string[];
103
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
104
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
105
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
106
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
107
+ not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
108
+ };
109
+ export type DateTimeNullableFilter<$PrismaModel = never> = {
110
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
111
+ in?: Date[] | string[] | null;
112
+ notIn?: Date[] | string[] | null;
113
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
114
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
115
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
116
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
117
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
118
+ };
119
+ export type IntNullableWithAggregatesFilter<$PrismaModel = never> = {
120
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
121
+ in?: number[] | null;
122
+ notIn?: number[] | null;
123
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
124
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
125
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
126
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
127
+ not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
128
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
129
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
130
+ _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
131
+ _min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
132
+ _max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
133
+ };
134
+ export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
135
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
136
+ in?: Date[] | string[];
137
+ notIn?: Date[] | string[];
138
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
139
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
140
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
141
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
142
+ not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
143
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
144
+ _min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
145
+ _max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
146
+ };
147
+ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
148
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
149
+ in?: Date[] | string[] | null;
150
+ notIn?: Date[] | string[] | null;
151
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
152
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
153
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
154
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
155
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
156
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
157
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
158
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
159
+ };
160
+ export type BoolFilter<$PrismaModel = never> = {
161
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
162
+ not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
163
+ };
164
+ export type BoolWithAggregatesFilter<$PrismaModel = never> = {
165
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
166
+ not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
167
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
168
+ _min?: Prisma.NestedBoolFilter<$PrismaModel>;
169
+ _max?: Prisma.NestedBoolFilter<$PrismaModel>;
170
+ };
171
+ export type NestedIntFilter<$PrismaModel = never> = {
172
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
173
+ in?: number[];
174
+ notIn?: number[];
175
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
176
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
177
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
178
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
179
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number;
180
+ };
181
+ export type NestedStringFilter<$PrismaModel = never> = {
182
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
183
+ in?: string[];
184
+ notIn?: string[];
185
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
186
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
187
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
188
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
189
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
190
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
191
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
192
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string;
193
+ };
194
+ export type NestedStringNullableFilter<$PrismaModel = never> = {
195
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
196
+ in?: string[] | null;
197
+ notIn?: string[] | null;
198
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
199
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
200
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
201
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
202
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
203
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
204
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
205
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null;
206
+ };
207
+ export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
208
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>;
209
+ in?: number[];
210
+ notIn?: number[];
211
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
212
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
213
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
214
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
215
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number;
216
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
217
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>;
218
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>;
219
+ _min?: Prisma.NestedIntFilter<$PrismaModel>;
220
+ _max?: Prisma.NestedIntFilter<$PrismaModel>;
221
+ };
222
+ export type NestedFloatFilter<$PrismaModel = never> = {
223
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
224
+ in?: number[];
225
+ notIn?: number[];
226
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
227
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
228
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
229
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
230
+ not?: Prisma.NestedFloatFilter<$PrismaModel> | number;
231
+ };
232
+ export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
233
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
234
+ in?: string[];
235
+ notIn?: string[];
236
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
237
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
238
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
239
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
240
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
241
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
242
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
243
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string;
244
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
245
+ _min?: Prisma.NestedStringFilter<$PrismaModel>;
246
+ _max?: Prisma.NestedStringFilter<$PrismaModel>;
247
+ };
248
+ export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
249
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
250
+ in?: string[] | null;
251
+ notIn?: string[] | null;
252
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
253
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
254
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>;
255
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>;
256
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>;
257
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
258
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>;
259
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null;
260
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
261
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>;
262
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>;
263
+ };
264
+ export type NestedIntNullableFilter<$PrismaModel = never> = {
265
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
266
+ in?: number[] | null;
267
+ notIn?: number[] | null;
268
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
269
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
270
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
271
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
272
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null;
273
+ };
274
+ export type NestedDateTimeFilter<$PrismaModel = never> = {
275
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
276
+ in?: Date[] | string[];
277
+ notIn?: Date[] | string[];
278
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
279
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
280
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
281
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
282
+ not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string;
283
+ };
284
+ export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
285
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
286
+ in?: Date[] | string[] | null;
287
+ notIn?: Date[] | string[] | null;
288
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
289
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
290
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
291
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
292
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null;
293
+ };
294
+ export type NestedIntNullableWithAggregatesFilter<$PrismaModel = never> = {
295
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null;
296
+ in?: number[] | null;
297
+ notIn?: number[] | null;
298
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
299
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
300
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>;
301
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>;
302
+ not?: Prisma.NestedIntNullableWithAggregatesFilter<$PrismaModel> | number | null;
303
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
304
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>;
305
+ _sum?: Prisma.NestedIntNullableFilter<$PrismaModel>;
306
+ _min?: Prisma.NestedIntNullableFilter<$PrismaModel>;
307
+ _max?: Prisma.NestedIntNullableFilter<$PrismaModel>;
308
+ };
309
+ export type NestedFloatNullableFilter<$PrismaModel = never> = {
310
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null;
311
+ in?: number[] | null;
312
+ notIn?: number[] | null;
313
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
314
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
315
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
316
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
317
+ not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null;
318
+ };
319
+ export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
320
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
321
+ in?: Date[] | string[];
322
+ notIn?: Date[] | string[];
323
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
324
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
325
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
326
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
327
+ not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string;
328
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
329
+ _min?: Prisma.NestedDateTimeFilter<$PrismaModel>;
330
+ _max?: Prisma.NestedDateTimeFilter<$PrismaModel>;
331
+ };
332
+ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
333
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null;
334
+ in?: Date[] | string[] | null;
335
+ notIn?: Date[] | string[] | null;
336
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
337
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
338
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
339
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>;
340
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null;
341
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
342
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
343
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>;
344
+ };
345
+ export type NestedBoolFilter<$PrismaModel = never> = {
346
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
347
+ not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean;
348
+ };
349
+ export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
350
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>;
351
+ not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean;
352
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
353
+ _min?: Prisma.NestedBoolFilter<$PrismaModel>;
354
+ _max?: Prisma.NestedBoolFilter<$PrismaModel>;
355
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,203 @@
1
+ import * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "./prismaNamespace.ts";
3
+ export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never;
4
+ export interface PrismaClientConstructor {
5
+ /**
6
+ * ## Prisma Client
7
+ *
8
+ * Type-safe database client for TypeScript
9
+ * @example
10
+ * ```
11
+ * const prisma = new PrismaClient()
12
+ * // Fetch zero or more Users
13
+ * const users = await prisma.user.findMany()
14
+ * ```
15
+ *
16
+ * Read more in our [docs](https://pris.ly/d/client).
17
+ */
18
+ new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
19
+ omit: infer U;
20
+ } ? U : Prisma.PrismaClientOptions['omit'], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs>(options: Prisma.Subset<Options, Prisma.PrismaClientOptions>): PrismaClient<LogOpts, OmitOpts, ExtArgs>;
21
+ }
22
+ /**
23
+ * ## Prisma Client
24
+ *
25
+ * Type-safe database client for TypeScript
26
+ * @example
27
+ * ```
28
+ * const prisma = new PrismaClient()
29
+ * // Fetch zero or more Users
30
+ * const users = await prisma.user.findMany()
31
+ * ```
32
+ *
33
+ * Read more in our [docs](https://pris.ly/d/client).
34
+ */
35
+ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
36
+ [K: symbol]: {
37
+ types: Prisma.TypeMap<ExtArgs>['other'];
38
+ };
39
+ $on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
40
+ /**
41
+ * Connect with the database
42
+ */
43
+ $connect(): runtime.Types.Utils.JsPromise<void>;
44
+ /**
45
+ * Disconnect from the database
46
+ */
47
+ $disconnect(): runtime.Types.Utils.JsPromise<void>;
48
+ /**
49
+ * Executes a prepared raw query and returns the number of affected rows.
50
+ * @example
51
+ * ```
52
+ * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
53
+ * ```
54
+ *
55
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
56
+ */
57
+ $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
58
+ /**
59
+ * Executes a raw query and returns the number of affected rows.
60
+ * Susceptible to SQL injections, see documentation.
61
+ * @example
62
+ * ```
63
+ * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
64
+ * ```
65
+ *
66
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
67
+ */
68
+ $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
69
+ /**
70
+ * Performs a prepared raw query and returns the `SELECT` data.
71
+ * @example
72
+ * ```
73
+ * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
74
+ * ```
75
+ *
76
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
77
+ */
78
+ $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
79
+ /**
80
+ * Performs a raw query and returns the `SELECT` data.
81
+ * Susceptible to SQL injections, see documentation.
82
+ * @example
83
+ * ```
84
+ * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
85
+ * ```
86
+ *
87
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
88
+ */
89
+ $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
90
+ /**
91
+ * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
92
+ * @example
93
+ * ```
94
+ * const [george, bob, alice] = await prisma.$transaction([
95
+ * prisma.user.create({ data: { name: 'George' } }),
96
+ * prisma.user.create({ data: { name: 'Bob' } }),
97
+ * prisma.user.create({ data: { name: 'Alice' } }),
98
+ * ])
99
+ * ```
100
+ *
101
+ * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
102
+ */
103
+ $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: {
104
+ isolationLevel?: Prisma.TransactionIsolationLevel;
105
+ }): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>;
106
+ $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: {
107
+ maxWait?: number;
108
+ timeout?: number;
109
+ isolationLevel?: Prisma.TransactionIsolationLevel;
110
+ }): runtime.Types.Utils.JsPromise<R>;
111
+ $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
112
+ extArgs: ExtArgs;
113
+ }>>;
114
+ /**
115
+ * `prisma.user`: Exposes CRUD operations for the **User** model.
116
+ * Example usage:
117
+ * ```ts
118
+ * // Fetch zero or more Users
119
+ * const users = await prisma.user.findMany()
120
+ * ```
121
+ */
122
+ get user(): Prisma.UserDelegate<ExtArgs, {
123
+ omit: OmitOpts;
124
+ }>;
125
+ /**
126
+ * `prisma.userSecrets`: Exposes CRUD operations for the **UserSecrets** model.
127
+ * Example usage:
128
+ * ```ts
129
+ * // Fetch zero or more UserSecrets
130
+ * const userSecrets = await prisma.userSecrets.findMany()
131
+ * ```
132
+ */
133
+ get userSecrets(): Prisma.UserSecretsDelegate<ExtArgs, {
134
+ omit: OmitOpts;
135
+ }>;
136
+ /**
137
+ * `prisma.key`: Exposes CRUD operations for the **Key** model.
138
+ * Example usage:
139
+ * ```ts
140
+ * // Fetch zero or more Keys
141
+ * const keys = await prisma.key.findMany()
142
+ * ```
143
+ */
144
+ get key(): Prisma.KeyDelegate<ExtArgs, {
145
+ omit: OmitOpts;
146
+ }>;
147
+ /**
148
+ * `prisma.apiKey`: Exposes CRUD operations for the **ApiKey** model.
149
+ * Example usage:
150
+ * ```ts
151
+ * // Fetch zero or more ApiKeys
152
+ * const apiKeys = await prisma.apiKey.findMany()
153
+ * ```
154
+ */
155
+ get apiKey(): Prisma.ApiKeyDelegate<ExtArgs, {
156
+ omit: OmitOpts;
157
+ }>;
158
+ /**
159
+ * `prisma.oAuthClient`: Exposes CRUD operations for the **OAuthClient** model.
160
+ * Example usage:
161
+ * ```ts
162
+ * // Fetch zero or more OAuthClients
163
+ * const oAuthClients = await prisma.oAuthClient.findMany()
164
+ * ```
165
+ */
166
+ get oAuthClient(): Prisma.OAuthClientDelegate<ExtArgs, {
167
+ omit: OmitOpts;
168
+ }>;
169
+ /**
170
+ * `prisma.oAuthClientRedirectUri`: Exposes CRUD operations for the **OAuthClientRedirectUri** model.
171
+ * Example usage:
172
+ * ```ts
173
+ * // Fetch zero or more OAuthClientRedirectUris
174
+ * const oAuthClientRedirectUris = await prisma.oAuthClientRedirectUri.findMany()
175
+ * ```
176
+ */
177
+ get oAuthClientRedirectUri(): Prisma.OAuthClientRedirectUriDelegate<ExtArgs, {
178
+ omit: OmitOpts;
179
+ }>;
180
+ /**
181
+ * `prisma.oAuthClientValidFlow`: Exposes CRUD operations for the **OAuthClientValidFlow** model.
182
+ * Example usage:
183
+ * ```ts
184
+ * // Fetch zero or more OAuthClientValidFlows
185
+ * const oAuthClientValidFlows = await prisma.oAuthClientValidFlow.findMany()
186
+ * ```
187
+ */
188
+ get oAuthClientValidFlow(): Prisma.OAuthClientValidFlowDelegate<ExtArgs, {
189
+ omit: OmitOpts;
190
+ }>;
191
+ /**
192
+ * `prisma.oAuthAuthorization`: Exposes CRUD operations for the **OAuthAuthorization** model.
193
+ * Example usage:
194
+ * ```ts
195
+ * // Fetch zero or more OAuthAuthorizations
196
+ * const oAuthAuthorizations = await prisma.oAuthAuthorization.findMany()
197
+ * ```
198
+ */
199
+ get oAuthAuthorization(): Prisma.OAuthAuthorizationDelegate<ExtArgs, {
200
+ omit: OmitOpts;
201
+ }>;
202
+ }
203
+ export declare function getPrismaClientClass(): PrismaClientConstructor;