@explita/tunnel-server-plugin 0.0.0-stage → 0.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.
Files changed (94) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/LICENSE +21 -0
  3. package/README.md +63 -2
  4. package/bin/cli.js +100 -0
  5. package/dist/generated/prisma/browser.d.ts +25 -0
  6. package/dist/generated/prisma/browser.d.ts.map +1 -0
  7. package/dist/generated/prisma/browser.js +18 -0
  8. package/dist/generated/prisma/browser.js.map +1 -0
  9. package/dist/generated/prisma/client.d.ts +44 -0
  10. package/dist/generated/prisma/client.d.ts.map +1 -0
  11. package/dist/generated/prisma/client.js +35 -0
  12. package/dist/generated/prisma/client.js.map +1 -0
  13. package/dist/generated/prisma/commonInputTypes.d.ts +278 -0
  14. package/dist/generated/prisma/commonInputTypes.d.ts.map +1 -0
  15. package/dist/generated/prisma/commonInputTypes.js +11 -0
  16. package/dist/generated/prisma/commonInputTypes.js.map +1 -0
  17. package/dist/generated/prisma/enums.d.ts +2 -0
  18. package/dist/generated/prisma/enums.d.ts.map +1 -0
  19. package/dist/generated/prisma/enums.js +11 -0
  20. package/dist/generated/prisma/enums.js.map +1 -0
  21. package/dist/generated/prisma/internal/class.d.ts +166 -0
  22. package/dist/generated/prisma/internal/class.d.ts.map +1 -0
  23. package/dist/generated/prisma/internal/class.js +50 -0
  24. package/dist/generated/prisma/internal/class.js.map +1 -0
  25. package/dist/generated/prisma/internal/prismaNamespace.d.ts +867 -0
  26. package/dist/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
  27. package/dist/generated/prisma/internal/prismaNamespace.js +128 -0
  28. package/dist/generated/prisma/internal/prismaNamespace.js.map +1 -0
  29. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +92 -0
  30. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
  31. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +99 -0
  32. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
  33. package/dist/generated/prisma/models/DailyMetric.d.ts +1152 -0
  34. package/dist/generated/prisma/models/DailyMetric.d.ts.map +1 -0
  35. package/dist/generated/prisma/models/DailyMetric.js +2 -0
  36. package/dist/generated/prisma/models/DailyMetric.js.map +1 -0
  37. package/dist/generated/prisma/models/Developer.d.ts +1134 -0
  38. package/dist/generated/prisma/models/Developer.d.ts.map +1 -0
  39. package/dist/generated/prisma/models/Developer.js +2 -0
  40. package/dist/generated/prisma/models/Developer.js.map +1 -0
  41. package/dist/generated/prisma/models/SystemMetric.d.ts +1048 -0
  42. package/dist/generated/prisma/models/SystemMetric.d.ts.map +1 -0
  43. package/dist/generated/prisma/models/SystemMetric.js +2 -0
  44. package/dist/generated/prisma/models/SystemMetric.js.map +1 -0
  45. package/dist/generated/prisma/models/Token.d.ts +1214 -0
  46. package/dist/generated/prisma/models/Token.d.ts.map +1 -0
  47. package/dist/generated/prisma/models/Token.js +2 -0
  48. package/dist/generated/prisma/models/Token.js.map +1 -0
  49. package/dist/generated/prisma/models.d.ts +6 -0
  50. package/dist/generated/prisma/models.d.ts.map +1 -0
  51. package/dist/generated/prisma/models.js +2 -0
  52. package/dist/generated/prisma/models.js.map +1 -0
  53. package/dist/index.d.ts +21 -0
  54. package/dist/index.d.ts.map +1 -0
  55. package/dist/index.js +45 -0
  56. package/dist/index.js.map +1 -0
  57. package/dist/issue.d.ts +3 -0
  58. package/dist/issue.d.ts.map +1 -0
  59. package/dist/issue.js +102 -0
  60. package/dist/issue.js.map +1 -0
  61. package/dist/lib/cache.d.ts +2 -0
  62. package/dist/lib/cache.d.ts.map +1 -0
  63. package/dist/lib/cache.js +6 -0
  64. package/dist/lib/cache.js.map +1 -0
  65. package/dist/lib/mailer.d.ts +28 -0
  66. package/dist/lib/mailer.d.ts.map +1 -0
  67. package/dist/lib/mailer.js +116 -0
  68. package/dist/lib/mailer.js.map +1 -0
  69. package/dist/lib/metrics.d.ts +27 -0
  70. package/dist/lib/metrics.d.ts.map +1 -0
  71. package/dist/lib/metrics.js +93 -0
  72. package/dist/lib/metrics.js.map +1 -0
  73. package/dist/lib/prisma.d.ts +3 -0
  74. package/dist/lib/prisma.d.ts.map +1 -0
  75. package/dist/lib/prisma.js +20 -0
  76. package/dist/lib/prisma.js.map +1 -0
  77. package/dist/lib/utils.d.ts +2 -0
  78. package/dist/lib/utils.d.ts.map +1 -0
  79. package/dist/lib/utils.js +5 -0
  80. package/dist/lib/utils.js.map +1 -0
  81. package/dist/request.d.ts +4 -0
  82. package/dist/request.d.ts.map +1 -0
  83. package/dist/request.js +29 -0
  84. package/dist/request.js.map +1 -0
  85. package/dist/validate.d.ts +2 -0
  86. package/dist/validate.d.ts.map +1 -0
  87. package/dist/validate.js +48 -0
  88. package/dist/validate.js.map +1 -0
  89. package/dist/verify.d.ts +3 -0
  90. package/dist/verify.d.ts.map +1 -0
  91. package/dist/verify.js +53 -0
  92. package/dist/verify.js.map +1 -0
  93. package/package.json +52 -4
  94. package/prisma/schema.prisma +62 -0
@@ -0,0 +1,1134 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model Developer
5
+ *
6
+ */
7
+ export type DeveloperModel = runtime.Types.Result.DefaultSelection<Prisma.$DeveloperPayload>;
8
+ export type AggregateDeveloper = {
9
+ _count: DeveloperCountAggregateOutputType | null;
10
+ _min: DeveloperMinAggregateOutputType | null;
11
+ _max: DeveloperMaxAggregateOutputType | null;
12
+ };
13
+ export type DeveloperMinAggregateOutputType = {
14
+ id: string | null;
15
+ email: string | null;
16
+ createdAt: Date | null;
17
+ updatedAt: Date | null;
18
+ };
19
+ export type DeveloperMaxAggregateOutputType = {
20
+ id: string | null;
21
+ email: string | null;
22
+ createdAt: Date | null;
23
+ updatedAt: Date | null;
24
+ };
25
+ export type DeveloperCountAggregateOutputType = {
26
+ id: number;
27
+ email: number;
28
+ createdAt: number;
29
+ updatedAt: number;
30
+ _all: number;
31
+ };
32
+ export type DeveloperMinAggregateInputType = {
33
+ id?: true;
34
+ email?: true;
35
+ createdAt?: true;
36
+ updatedAt?: true;
37
+ };
38
+ export type DeveloperMaxAggregateInputType = {
39
+ id?: true;
40
+ email?: true;
41
+ createdAt?: true;
42
+ updatedAt?: true;
43
+ };
44
+ export type DeveloperCountAggregateInputType = {
45
+ id?: true;
46
+ email?: true;
47
+ createdAt?: true;
48
+ updatedAt?: true;
49
+ _all?: true;
50
+ };
51
+ export type DeveloperAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
52
+ /**
53
+ * Filter which Developer to aggregate.
54
+ */
55
+ where?: Prisma.DeveloperWhereInput;
56
+ /**
57
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
58
+ *
59
+ * Determine the order of Developers to fetch.
60
+ */
61
+ orderBy?: Prisma.DeveloperOrderByWithRelationInput | Prisma.DeveloperOrderByWithRelationInput[];
62
+ /**
63
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64
+ *
65
+ * Sets the start position
66
+ */
67
+ cursor?: Prisma.DeveloperWhereUniqueInput;
68
+ /**
69
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
70
+ *
71
+ * Take `±n` Developers from the position of the cursor.
72
+ */
73
+ take?: number;
74
+ /**
75
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
76
+ *
77
+ * Skip the first `n` Developers.
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
82
+ *
83
+ * Count returned Developers
84
+ **/
85
+ _count?: true | DeveloperCountAggregateInputType;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
+ *
89
+ * Select which fields to find the minimum value
90
+ **/
91
+ _min?: DeveloperMinAggregateInputType;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
94
+ *
95
+ * Select which fields to find the maximum value
96
+ **/
97
+ _max?: DeveloperMaxAggregateInputType;
98
+ };
99
+ export type GetDeveloperAggregateType<T extends DeveloperAggregateArgs> = {
100
+ [P in keyof T & keyof AggregateDeveloper]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDeveloper[P]> : Prisma.GetScalarType<T[P], AggregateDeveloper[P]>;
101
+ };
102
+ export type DeveloperGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
103
+ where?: Prisma.DeveloperWhereInput;
104
+ orderBy?: Prisma.DeveloperOrderByWithAggregationInput | Prisma.DeveloperOrderByWithAggregationInput[];
105
+ by: Prisma.DeveloperScalarFieldEnum[] | Prisma.DeveloperScalarFieldEnum;
106
+ having?: Prisma.DeveloperScalarWhereWithAggregatesInput;
107
+ take?: number;
108
+ skip?: number;
109
+ _count?: DeveloperCountAggregateInputType | true;
110
+ _min?: DeveloperMinAggregateInputType;
111
+ _max?: DeveloperMaxAggregateInputType;
112
+ };
113
+ export type DeveloperGroupByOutputType = {
114
+ id: string;
115
+ email: string;
116
+ createdAt: Date;
117
+ updatedAt: Date;
118
+ _count: DeveloperCountAggregateOutputType | null;
119
+ _min: DeveloperMinAggregateOutputType | null;
120
+ _max: DeveloperMaxAggregateOutputType | null;
121
+ };
122
+ export type GetDeveloperGroupByPayload<T extends DeveloperGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DeveloperGroupByOutputType, T['by']> & {
123
+ [P in ((keyof T) & (keyof DeveloperGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DeveloperGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DeveloperGroupByOutputType[P]>;
124
+ }>>;
125
+ export type DeveloperWhereInput = {
126
+ AND?: Prisma.DeveloperWhereInput | Prisma.DeveloperWhereInput[];
127
+ OR?: Prisma.DeveloperWhereInput[];
128
+ NOT?: Prisma.DeveloperWhereInput | Prisma.DeveloperWhereInput[];
129
+ id?: Prisma.StringFilter<"Developer"> | string;
130
+ email?: Prisma.StringFilter<"Developer"> | string;
131
+ createdAt?: Prisma.DateTimeFilter<"Developer"> | Date | string;
132
+ updatedAt?: Prisma.DateTimeFilter<"Developer"> | Date | string;
133
+ tokens?: Prisma.TokenListRelationFilter;
134
+ };
135
+ export type DeveloperOrderByWithRelationInput = {
136
+ id?: Prisma.SortOrder;
137
+ email?: Prisma.SortOrder;
138
+ createdAt?: Prisma.SortOrder;
139
+ updatedAt?: Prisma.SortOrder;
140
+ tokens?: Prisma.TokenOrderByRelationAggregateInput;
141
+ };
142
+ export type DeveloperWhereUniqueInput = Prisma.AtLeast<{
143
+ id?: string;
144
+ email?: string;
145
+ AND?: Prisma.DeveloperWhereInput | Prisma.DeveloperWhereInput[];
146
+ OR?: Prisma.DeveloperWhereInput[];
147
+ NOT?: Prisma.DeveloperWhereInput | Prisma.DeveloperWhereInput[];
148
+ createdAt?: Prisma.DateTimeFilter<"Developer"> | Date | string;
149
+ updatedAt?: Prisma.DateTimeFilter<"Developer"> | Date | string;
150
+ tokens?: Prisma.TokenListRelationFilter;
151
+ }, "id" | "email">;
152
+ export type DeveloperOrderByWithAggregationInput = {
153
+ id?: Prisma.SortOrder;
154
+ email?: Prisma.SortOrder;
155
+ createdAt?: Prisma.SortOrder;
156
+ updatedAt?: Prisma.SortOrder;
157
+ _count?: Prisma.DeveloperCountOrderByAggregateInput;
158
+ _max?: Prisma.DeveloperMaxOrderByAggregateInput;
159
+ _min?: Prisma.DeveloperMinOrderByAggregateInput;
160
+ };
161
+ export type DeveloperScalarWhereWithAggregatesInput = {
162
+ AND?: Prisma.DeveloperScalarWhereWithAggregatesInput | Prisma.DeveloperScalarWhereWithAggregatesInput[];
163
+ OR?: Prisma.DeveloperScalarWhereWithAggregatesInput[];
164
+ NOT?: Prisma.DeveloperScalarWhereWithAggregatesInput | Prisma.DeveloperScalarWhereWithAggregatesInput[];
165
+ id?: Prisma.StringWithAggregatesFilter<"Developer"> | string;
166
+ email?: Prisma.StringWithAggregatesFilter<"Developer"> | string;
167
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Developer"> | Date | string;
168
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Developer"> | Date | string;
169
+ };
170
+ export type DeveloperCreateInput = {
171
+ id?: string;
172
+ email: string;
173
+ createdAt?: Date | string;
174
+ updatedAt?: Date | string;
175
+ tokens?: Prisma.TokenCreateNestedManyWithoutDeveloperInput;
176
+ };
177
+ export type DeveloperUncheckedCreateInput = {
178
+ id?: string;
179
+ email: string;
180
+ createdAt?: Date | string;
181
+ updatedAt?: Date | string;
182
+ tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutDeveloperInput;
183
+ };
184
+ export type DeveloperUpdateInput = {
185
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
186
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
187
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
188
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
189
+ tokens?: Prisma.TokenUpdateManyWithoutDeveloperNestedInput;
190
+ };
191
+ export type DeveloperUncheckedUpdateInput = {
192
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
193
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
194
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
195
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
196
+ tokens?: Prisma.TokenUncheckedUpdateManyWithoutDeveloperNestedInput;
197
+ };
198
+ export type DeveloperCreateManyInput = {
199
+ id?: string;
200
+ email: string;
201
+ createdAt?: Date | string;
202
+ updatedAt?: Date | string;
203
+ };
204
+ export type DeveloperUpdateManyMutationInput = {
205
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
206
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
207
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
208
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
209
+ };
210
+ export type DeveloperUncheckedUpdateManyInput = {
211
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
212
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
213
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
214
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
215
+ };
216
+ export type DeveloperCountOrderByAggregateInput = {
217
+ id?: Prisma.SortOrder;
218
+ email?: Prisma.SortOrder;
219
+ createdAt?: Prisma.SortOrder;
220
+ updatedAt?: Prisma.SortOrder;
221
+ };
222
+ export type DeveloperMaxOrderByAggregateInput = {
223
+ id?: Prisma.SortOrder;
224
+ email?: Prisma.SortOrder;
225
+ createdAt?: Prisma.SortOrder;
226
+ updatedAt?: Prisma.SortOrder;
227
+ };
228
+ export type DeveloperMinOrderByAggregateInput = {
229
+ id?: Prisma.SortOrder;
230
+ email?: Prisma.SortOrder;
231
+ createdAt?: Prisma.SortOrder;
232
+ updatedAt?: Prisma.SortOrder;
233
+ };
234
+ export type DeveloperScalarRelationFilter = {
235
+ is?: Prisma.DeveloperWhereInput;
236
+ isNot?: Prisma.DeveloperWhereInput;
237
+ };
238
+ export type StringFieldUpdateOperationsInput = {
239
+ set?: string;
240
+ };
241
+ export type DateTimeFieldUpdateOperationsInput = {
242
+ set?: Date | string;
243
+ };
244
+ export type DeveloperCreateNestedOneWithoutTokensInput = {
245
+ create?: Prisma.XOR<Prisma.DeveloperCreateWithoutTokensInput, Prisma.DeveloperUncheckedCreateWithoutTokensInput>;
246
+ connectOrCreate?: Prisma.DeveloperCreateOrConnectWithoutTokensInput;
247
+ connect?: Prisma.DeveloperWhereUniqueInput;
248
+ };
249
+ export type DeveloperUpdateOneRequiredWithoutTokensNestedInput = {
250
+ create?: Prisma.XOR<Prisma.DeveloperCreateWithoutTokensInput, Prisma.DeveloperUncheckedCreateWithoutTokensInput>;
251
+ connectOrCreate?: Prisma.DeveloperCreateOrConnectWithoutTokensInput;
252
+ upsert?: Prisma.DeveloperUpsertWithoutTokensInput;
253
+ connect?: Prisma.DeveloperWhereUniqueInput;
254
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DeveloperUpdateToOneWithWhereWithoutTokensInput, Prisma.DeveloperUpdateWithoutTokensInput>, Prisma.DeveloperUncheckedUpdateWithoutTokensInput>;
255
+ };
256
+ export type DeveloperCreateWithoutTokensInput = {
257
+ id?: string;
258
+ email: string;
259
+ createdAt?: Date | string;
260
+ updatedAt?: Date | string;
261
+ };
262
+ export type DeveloperUncheckedCreateWithoutTokensInput = {
263
+ id?: string;
264
+ email: string;
265
+ createdAt?: Date | string;
266
+ updatedAt?: Date | string;
267
+ };
268
+ export type DeveloperCreateOrConnectWithoutTokensInput = {
269
+ where: Prisma.DeveloperWhereUniqueInput;
270
+ create: Prisma.XOR<Prisma.DeveloperCreateWithoutTokensInput, Prisma.DeveloperUncheckedCreateWithoutTokensInput>;
271
+ };
272
+ export type DeveloperUpsertWithoutTokensInput = {
273
+ update: Prisma.XOR<Prisma.DeveloperUpdateWithoutTokensInput, Prisma.DeveloperUncheckedUpdateWithoutTokensInput>;
274
+ create: Prisma.XOR<Prisma.DeveloperCreateWithoutTokensInput, Prisma.DeveloperUncheckedCreateWithoutTokensInput>;
275
+ where?: Prisma.DeveloperWhereInput;
276
+ };
277
+ export type DeveloperUpdateToOneWithWhereWithoutTokensInput = {
278
+ where?: Prisma.DeveloperWhereInput;
279
+ data: Prisma.XOR<Prisma.DeveloperUpdateWithoutTokensInput, Prisma.DeveloperUncheckedUpdateWithoutTokensInput>;
280
+ };
281
+ export type DeveloperUpdateWithoutTokensInput = {
282
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
284
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
285
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
286
+ };
287
+ export type DeveloperUncheckedUpdateWithoutTokensInput = {
288
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
289
+ email?: Prisma.StringFieldUpdateOperationsInput | string;
290
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
291
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
292
+ };
293
+ /**
294
+ * Count Type DeveloperCountOutputType
295
+ */
296
+ export type DeveloperCountOutputType = {
297
+ tokens: number;
298
+ };
299
+ export type DeveloperCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
300
+ tokens?: boolean | DeveloperCountOutputTypeCountTokensArgs;
301
+ };
302
+ /**
303
+ * DeveloperCountOutputType without action
304
+ */
305
+ export type DeveloperCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
306
+ /**
307
+ * Select specific fields to fetch from the DeveloperCountOutputType
308
+ */
309
+ select?: Prisma.DeveloperCountOutputTypeSelect<ExtArgs> | null;
310
+ };
311
+ /**
312
+ * DeveloperCountOutputType without action
313
+ */
314
+ export type DeveloperCountOutputTypeCountTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
315
+ where?: Prisma.TokenWhereInput;
316
+ };
317
+ export type DeveloperSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
318
+ id?: boolean;
319
+ email?: boolean;
320
+ createdAt?: boolean;
321
+ updatedAt?: boolean;
322
+ tokens?: boolean | Prisma.Developer$tokensArgs<ExtArgs>;
323
+ _count?: boolean | Prisma.DeveloperCountOutputTypeDefaultArgs<ExtArgs>;
324
+ }, ExtArgs["result"]["developer"]>;
325
+ export type DeveloperSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
326
+ id?: boolean;
327
+ email?: boolean;
328
+ createdAt?: boolean;
329
+ updatedAt?: boolean;
330
+ }, ExtArgs["result"]["developer"]>;
331
+ export type DeveloperSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
332
+ id?: boolean;
333
+ email?: boolean;
334
+ createdAt?: boolean;
335
+ updatedAt?: boolean;
336
+ }, ExtArgs["result"]["developer"]>;
337
+ export type DeveloperSelectScalar = {
338
+ id?: boolean;
339
+ email?: boolean;
340
+ createdAt?: boolean;
341
+ updatedAt?: boolean;
342
+ };
343
+ export type DeveloperOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "email" | "createdAt" | "updatedAt", ExtArgs["result"]["developer"]>;
344
+ export type DeveloperInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
345
+ tokens?: boolean | Prisma.Developer$tokensArgs<ExtArgs>;
346
+ _count?: boolean | Prisma.DeveloperCountOutputTypeDefaultArgs<ExtArgs>;
347
+ };
348
+ export type DeveloperIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
349
+ export type DeveloperIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
350
+ export type $DeveloperPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
351
+ name: "Developer";
352
+ objects: {
353
+ tokens: Prisma.$TokenPayload<ExtArgs>[];
354
+ };
355
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
356
+ id: string;
357
+ email: string;
358
+ createdAt: Date;
359
+ updatedAt: Date;
360
+ }, ExtArgs["result"]["developer"]>;
361
+ composites: {};
362
+ };
363
+ export type DeveloperGetPayload<S extends boolean | null | undefined | DeveloperDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DeveloperPayload, S>;
364
+ export type DeveloperCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DeveloperFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
365
+ select?: DeveloperCountAggregateInputType | true;
366
+ };
367
+ export interface DeveloperDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
368
+ [K: symbol]: {
369
+ types: Prisma.TypeMap<ExtArgs>['model']['Developer'];
370
+ meta: {
371
+ name: 'Developer';
372
+ };
373
+ };
374
+ /**
375
+ * Find zero or one Developer that matches the filter.
376
+ * @param {DeveloperFindUniqueArgs} args - Arguments to find a Developer
377
+ * @example
378
+ * // Get one Developer
379
+ * const developer = await prisma.developer.findUnique({
380
+ * where: {
381
+ * // ... provide filter here
382
+ * }
383
+ * })
384
+ */
385
+ findUnique<T extends DeveloperFindUniqueArgs>(args: Prisma.SelectSubset<T, DeveloperFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
386
+ /**
387
+ * Find one Developer that matches the filter or throw an error with `error.code='P2025'`
388
+ * if no matches were found.
389
+ * @param {DeveloperFindUniqueOrThrowArgs} args - Arguments to find a Developer
390
+ * @example
391
+ * // Get one Developer
392
+ * const developer = await prisma.developer.findUniqueOrThrow({
393
+ * where: {
394
+ * // ... provide filter here
395
+ * }
396
+ * })
397
+ */
398
+ findUniqueOrThrow<T extends DeveloperFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DeveloperFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
399
+ /**
400
+ * Find the first Developer that matches the filter.
401
+ * Note, that providing `undefined` is treated as the value not being there.
402
+ * Read more here: https://pris.ly/d/null-undefined
403
+ * @param {DeveloperFindFirstArgs} args - Arguments to find a Developer
404
+ * @example
405
+ * // Get one Developer
406
+ * const developer = await prisma.developer.findFirst({
407
+ * where: {
408
+ * // ... provide filter here
409
+ * }
410
+ * })
411
+ */
412
+ findFirst<T extends DeveloperFindFirstArgs>(args?: Prisma.SelectSubset<T, DeveloperFindFirstArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
413
+ /**
414
+ * Find the first Developer that matches the filter or
415
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
416
+ * Note, that providing `undefined` is treated as the value not being there.
417
+ * Read more here: https://pris.ly/d/null-undefined
418
+ * @param {DeveloperFindFirstOrThrowArgs} args - Arguments to find a Developer
419
+ * @example
420
+ * // Get one Developer
421
+ * const developer = await prisma.developer.findFirstOrThrow({
422
+ * where: {
423
+ * // ... provide filter here
424
+ * }
425
+ * })
426
+ */
427
+ findFirstOrThrow<T extends DeveloperFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DeveloperFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
428
+ /**
429
+ * Find zero or more Developers that matches the filter.
430
+ * Note, that providing `undefined` is treated as the value not being there.
431
+ * Read more here: https://pris.ly/d/null-undefined
432
+ * @param {DeveloperFindManyArgs} args - Arguments to filter and select certain fields only.
433
+ * @example
434
+ * // Get all Developers
435
+ * const developers = await prisma.developer.findMany()
436
+ *
437
+ * // Get first 10 Developers
438
+ * const developers = await prisma.developer.findMany({ take: 10 })
439
+ *
440
+ * // Only select the `id`
441
+ * const developerWithIdOnly = await prisma.developer.findMany({ select: { id: true } })
442
+ *
443
+ */
444
+ findMany<T extends DeveloperFindManyArgs>(args?: Prisma.SelectSubset<T, DeveloperFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
445
+ /**
446
+ * Create a Developer.
447
+ * @param {DeveloperCreateArgs} args - Arguments to create a Developer.
448
+ * @example
449
+ * // Create one Developer
450
+ * const Developer = await prisma.developer.create({
451
+ * data: {
452
+ * // ... data to create a Developer
453
+ * }
454
+ * })
455
+ *
456
+ */
457
+ create<T extends DeveloperCreateArgs>(args: Prisma.SelectSubset<T, DeveloperCreateArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
458
+ /**
459
+ * Create many Developers.
460
+ * @param {DeveloperCreateManyArgs} args - Arguments to create many Developers.
461
+ * @example
462
+ * // Create many Developers
463
+ * const developer = await prisma.developer.createMany({
464
+ * data: [
465
+ * // ... provide data here
466
+ * ]
467
+ * })
468
+ *
469
+ */
470
+ createMany<T extends DeveloperCreateManyArgs>(args?: Prisma.SelectSubset<T, DeveloperCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
471
+ /**
472
+ * Create many Developers and returns the data saved in the database.
473
+ * @param {DeveloperCreateManyAndReturnArgs} args - Arguments to create many Developers.
474
+ * @example
475
+ * // Create many Developers
476
+ * const developer = await prisma.developer.createManyAndReturn({
477
+ * data: [
478
+ * // ... provide data here
479
+ * ]
480
+ * })
481
+ *
482
+ * // Create many Developers and only return the `id`
483
+ * const developerWithIdOnly = await prisma.developer.createManyAndReturn({
484
+ * select: { id: true },
485
+ * data: [
486
+ * // ... provide data here
487
+ * ]
488
+ * })
489
+ * Note, that providing `undefined` is treated as the value not being there.
490
+ * Read more here: https://pris.ly/d/null-undefined
491
+ *
492
+ */
493
+ createManyAndReturn<T extends DeveloperCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DeveloperCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
494
+ /**
495
+ * Delete a Developer.
496
+ * @param {DeveloperDeleteArgs} args - Arguments to delete one Developer.
497
+ * @example
498
+ * // Delete one Developer
499
+ * const Developer = await prisma.developer.delete({
500
+ * where: {
501
+ * // ... filter to delete one Developer
502
+ * }
503
+ * })
504
+ *
505
+ */
506
+ delete<T extends DeveloperDeleteArgs>(args: Prisma.SelectSubset<T, DeveloperDeleteArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
507
+ /**
508
+ * Update one Developer.
509
+ * @param {DeveloperUpdateArgs} args - Arguments to update one Developer.
510
+ * @example
511
+ * // Update one Developer
512
+ * const developer = await prisma.developer.update({
513
+ * where: {
514
+ * // ... provide filter here
515
+ * },
516
+ * data: {
517
+ * // ... provide data here
518
+ * }
519
+ * })
520
+ *
521
+ */
522
+ update<T extends DeveloperUpdateArgs>(args: Prisma.SelectSubset<T, DeveloperUpdateArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
523
+ /**
524
+ * Delete zero or more Developers.
525
+ * @param {DeveloperDeleteManyArgs} args - Arguments to filter Developers to delete.
526
+ * @example
527
+ * // Delete a few Developers
528
+ * const { count } = await prisma.developer.deleteMany({
529
+ * where: {
530
+ * // ... provide filter here
531
+ * }
532
+ * })
533
+ *
534
+ */
535
+ deleteMany<T extends DeveloperDeleteManyArgs>(args?: Prisma.SelectSubset<T, DeveloperDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
536
+ /**
537
+ * Update zero or more Developers.
538
+ * Note, that providing `undefined` is treated as the value not being there.
539
+ * Read more here: https://pris.ly/d/null-undefined
540
+ * @param {DeveloperUpdateManyArgs} args - Arguments to update one or more rows.
541
+ * @example
542
+ * // Update many Developers
543
+ * const developer = await prisma.developer.updateMany({
544
+ * where: {
545
+ * // ... provide filter here
546
+ * },
547
+ * data: {
548
+ * // ... provide data here
549
+ * }
550
+ * })
551
+ *
552
+ */
553
+ updateMany<T extends DeveloperUpdateManyArgs>(args: Prisma.SelectSubset<T, DeveloperUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
554
+ /**
555
+ * Update zero or more Developers and returns the data updated in the database.
556
+ * @param {DeveloperUpdateManyAndReturnArgs} args - Arguments to update many Developers.
557
+ * @example
558
+ * // Update many Developers
559
+ * const developer = await prisma.developer.updateManyAndReturn({
560
+ * where: {
561
+ * // ... provide filter here
562
+ * },
563
+ * data: [
564
+ * // ... provide data here
565
+ * ]
566
+ * })
567
+ *
568
+ * // Update zero or more Developers and only return the `id`
569
+ * const developerWithIdOnly = await prisma.developer.updateManyAndReturn({
570
+ * select: { id: true },
571
+ * where: {
572
+ * // ... provide filter here
573
+ * },
574
+ * data: [
575
+ * // ... provide data here
576
+ * ]
577
+ * })
578
+ * Note, that providing `undefined` is treated as the value not being there.
579
+ * Read more here: https://pris.ly/d/null-undefined
580
+ *
581
+ */
582
+ updateManyAndReturn<T extends DeveloperUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DeveloperUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
583
+ /**
584
+ * Create or update one Developer.
585
+ * @param {DeveloperUpsertArgs} args - Arguments to update or create a Developer.
586
+ * @example
587
+ * // Update or create a Developer
588
+ * const developer = await prisma.developer.upsert({
589
+ * create: {
590
+ * // ... data to create a Developer
591
+ * },
592
+ * update: {
593
+ * // ... in case it already exists, update
594
+ * },
595
+ * where: {
596
+ * // ... the filter for the Developer we want to update
597
+ * }
598
+ * })
599
+ */
600
+ upsert<T extends DeveloperUpsertArgs>(args: Prisma.SelectSubset<T, DeveloperUpsertArgs<ExtArgs>>): Prisma.Prisma__DeveloperClient<runtime.Types.Result.GetResult<Prisma.$DeveloperPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
601
+ /**
602
+ * Count the number of Developers.
603
+ * Note, that providing `undefined` is treated as the value not being there.
604
+ * Read more here: https://pris.ly/d/null-undefined
605
+ * @param {DeveloperCountArgs} args - Arguments to filter Developers to count.
606
+ * @example
607
+ * // Count the number of Developers
608
+ * const count = await prisma.developer.count({
609
+ * where: {
610
+ * // ... the filter for the Developers we want to count
611
+ * }
612
+ * })
613
+ **/
614
+ count<T extends DeveloperCountArgs>(args?: Prisma.Subset<T, DeveloperCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DeveloperCountAggregateOutputType> : number>;
615
+ /**
616
+ * Allows you to perform aggregations operations on a Developer.
617
+ * Note, that providing `undefined` is treated as the value not being there.
618
+ * Read more here: https://pris.ly/d/null-undefined
619
+ * @param {DeveloperAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
620
+ * @example
621
+ * // Ordered by age ascending
622
+ * // Where email contains prisma.io
623
+ * // Limited to the 10 users
624
+ * const aggregations = await prisma.user.aggregate({
625
+ * _avg: {
626
+ * age: true,
627
+ * },
628
+ * where: {
629
+ * email: {
630
+ * contains: "prisma.io",
631
+ * },
632
+ * },
633
+ * orderBy: {
634
+ * age: "asc",
635
+ * },
636
+ * take: 10,
637
+ * })
638
+ **/
639
+ aggregate<T extends DeveloperAggregateArgs>(args: Prisma.Subset<T, DeveloperAggregateArgs>): Prisma.PrismaPromise<GetDeveloperAggregateType<T>>;
640
+ /**
641
+ * Group by Developer.
642
+ * Note, that providing `undefined` is treated as the value not being there.
643
+ * Read more here: https://pris.ly/d/null-undefined
644
+ * @param {DeveloperGroupByArgs} args - Group by arguments.
645
+ * @example
646
+ * // Group by city, order by createdAt, get count
647
+ * const result = await prisma.user.groupBy({
648
+ * by: ['city', 'createdAt'],
649
+ * orderBy: {
650
+ * createdAt: true
651
+ * },
652
+ * _count: {
653
+ * _all: true
654
+ * },
655
+ * })
656
+ *
657
+ **/
658
+ groupBy<T extends DeveloperGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
659
+ orderBy: DeveloperGroupByArgs['orderBy'];
660
+ } : {
661
+ orderBy?: DeveloperGroupByArgs['orderBy'];
662
+ }, 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 ? {
663
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
664
+ Error,
665
+ 'Field ',
666
+ P,
667
+ ` in "having" needs to be provided in "by"`
668
+ ];
669
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
670
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
671
+ }[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 ? {} : {
672
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
673
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
674
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
675
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, DeveloperGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDeveloperGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
676
+ /**
677
+ * Fields of the Developer model
678
+ */
679
+ readonly fields: DeveloperFieldRefs;
680
+ }
681
+ /**
682
+ * The delegate class that acts as a "Promise-like" for Developer.
683
+ * Why is this prefixed with `Prisma__`?
684
+ * Because we want to prevent naming conflicts as mentioned in
685
+ * https://github.com/prisma/prisma-client-js/issues/707
686
+ */
687
+ export interface Prisma__DeveloperClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
688
+ readonly [Symbol.toStringTag]: "PrismaPromise";
689
+ tokens<T extends Prisma.Developer$tokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Developer$tokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
690
+ /**
691
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
692
+ * @param onfulfilled The callback to execute when the Promise is resolved.
693
+ * @param onrejected The callback to execute when the Promise is rejected.
694
+ * @returns A Promise for the completion of which ever callback is executed.
695
+ */
696
+ 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>;
697
+ /**
698
+ * Attaches a callback for only the rejection of the Promise.
699
+ * @param onrejected The callback to execute when the Promise is rejected.
700
+ * @returns A Promise for the completion of the callback.
701
+ */
702
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
703
+ /**
704
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
705
+ * resolved value cannot be modified from the callback.
706
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
707
+ * @returns A Promise for the completion of the callback.
708
+ */
709
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
710
+ }
711
+ /**
712
+ * Fields of the Developer model
713
+ */
714
+ export interface DeveloperFieldRefs {
715
+ readonly id: Prisma.FieldRef<"Developer", 'String'>;
716
+ readonly email: Prisma.FieldRef<"Developer", 'String'>;
717
+ readonly createdAt: Prisma.FieldRef<"Developer", 'DateTime'>;
718
+ readonly updatedAt: Prisma.FieldRef<"Developer", 'DateTime'>;
719
+ }
720
+ /**
721
+ * Developer findUnique
722
+ */
723
+ export type DeveloperFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
724
+ /**
725
+ * Select specific fields to fetch from the Developer
726
+ */
727
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
728
+ /**
729
+ * Omit specific fields from the Developer
730
+ */
731
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
732
+ /**
733
+ * Choose, which related nodes to fetch as well
734
+ */
735
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
736
+ /**
737
+ * Filter, which Developer to fetch.
738
+ */
739
+ where: Prisma.DeveloperWhereUniqueInput;
740
+ };
741
+ /**
742
+ * Developer findUniqueOrThrow
743
+ */
744
+ export type DeveloperFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
745
+ /**
746
+ * Select specific fields to fetch from the Developer
747
+ */
748
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
749
+ /**
750
+ * Omit specific fields from the Developer
751
+ */
752
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
753
+ /**
754
+ * Choose, which related nodes to fetch as well
755
+ */
756
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
757
+ /**
758
+ * Filter, which Developer to fetch.
759
+ */
760
+ where: Prisma.DeveloperWhereUniqueInput;
761
+ };
762
+ /**
763
+ * Developer findFirst
764
+ */
765
+ export type DeveloperFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
766
+ /**
767
+ * Select specific fields to fetch from the Developer
768
+ */
769
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
770
+ /**
771
+ * Omit specific fields from the Developer
772
+ */
773
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
774
+ /**
775
+ * Choose, which related nodes to fetch as well
776
+ */
777
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
778
+ /**
779
+ * Filter, which Developer to fetch.
780
+ */
781
+ where?: Prisma.DeveloperWhereInput;
782
+ /**
783
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
784
+ *
785
+ * Determine the order of Developers to fetch.
786
+ */
787
+ orderBy?: Prisma.DeveloperOrderByWithRelationInput | Prisma.DeveloperOrderByWithRelationInput[];
788
+ /**
789
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
790
+ *
791
+ * Sets the position for searching for Developers.
792
+ */
793
+ cursor?: Prisma.DeveloperWhereUniqueInput;
794
+ /**
795
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
796
+ *
797
+ * Take `±n` Developers from the position of the cursor.
798
+ */
799
+ take?: number;
800
+ /**
801
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
802
+ *
803
+ * Skip the first `n` Developers.
804
+ */
805
+ skip?: number;
806
+ /**
807
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
808
+ *
809
+ * Filter by unique combinations of Developers.
810
+ */
811
+ distinct?: Prisma.DeveloperScalarFieldEnum | Prisma.DeveloperScalarFieldEnum[];
812
+ };
813
+ /**
814
+ * Developer findFirstOrThrow
815
+ */
816
+ export type DeveloperFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
817
+ /**
818
+ * Select specific fields to fetch from the Developer
819
+ */
820
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
821
+ /**
822
+ * Omit specific fields from the Developer
823
+ */
824
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
825
+ /**
826
+ * Choose, which related nodes to fetch as well
827
+ */
828
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
829
+ /**
830
+ * Filter, which Developer to fetch.
831
+ */
832
+ where?: Prisma.DeveloperWhereInput;
833
+ /**
834
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
835
+ *
836
+ * Determine the order of Developers to fetch.
837
+ */
838
+ orderBy?: Prisma.DeveloperOrderByWithRelationInput | Prisma.DeveloperOrderByWithRelationInput[];
839
+ /**
840
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
841
+ *
842
+ * Sets the position for searching for Developers.
843
+ */
844
+ cursor?: Prisma.DeveloperWhereUniqueInput;
845
+ /**
846
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
847
+ *
848
+ * Take `±n` Developers from the position of the cursor.
849
+ */
850
+ take?: number;
851
+ /**
852
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
853
+ *
854
+ * Skip the first `n` Developers.
855
+ */
856
+ skip?: number;
857
+ /**
858
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
859
+ *
860
+ * Filter by unique combinations of Developers.
861
+ */
862
+ distinct?: Prisma.DeveloperScalarFieldEnum | Prisma.DeveloperScalarFieldEnum[];
863
+ };
864
+ /**
865
+ * Developer findMany
866
+ */
867
+ export type DeveloperFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
868
+ /**
869
+ * Select specific fields to fetch from the Developer
870
+ */
871
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
872
+ /**
873
+ * Omit specific fields from the Developer
874
+ */
875
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
876
+ /**
877
+ * Choose, which related nodes to fetch as well
878
+ */
879
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
880
+ /**
881
+ * Filter, which Developers to fetch.
882
+ */
883
+ where?: Prisma.DeveloperWhereInput;
884
+ /**
885
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
886
+ *
887
+ * Determine the order of Developers to fetch.
888
+ */
889
+ orderBy?: Prisma.DeveloperOrderByWithRelationInput | Prisma.DeveloperOrderByWithRelationInput[];
890
+ /**
891
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
892
+ *
893
+ * Sets the position for listing Developers.
894
+ */
895
+ cursor?: Prisma.DeveloperWhereUniqueInput;
896
+ /**
897
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
898
+ *
899
+ * Take `±n` Developers from the position of the cursor.
900
+ */
901
+ take?: number;
902
+ /**
903
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
904
+ *
905
+ * Skip the first `n` Developers.
906
+ */
907
+ skip?: number;
908
+ /**
909
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
910
+ *
911
+ * Filter by unique combinations of Developers.
912
+ */
913
+ distinct?: Prisma.DeveloperScalarFieldEnum | Prisma.DeveloperScalarFieldEnum[];
914
+ };
915
+ /**
916
+ * Developer create
917
+ */
918
+ export type DeveloperCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
919
+ /**
920
+ * Select specific fields to fetch from the Developer
921
+ */
922
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
923
+ /**
924
+ * Omit specific fields from the Developer
925
+ */
926
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
927
+ /**
928
+ * Choose, which related nodes to fetch as well
929
+ */
930
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
931
+ /**
932
+ * The data needed to create a Developer.
933
+ */
934
+ data: Prisma.XOR<Prisma.DeveloperCreateInput, Prisma.DeveloperUncheckedCreateInput>;
935
+ };
936
+ /**
937
+ * Developer createMany
938
+ */
939
+ export type DeveloperCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
940
+ /**
941
+ * The data used to create many Developers.
942
+ */
943
+ data: Prisma.DeveloperCreateManyInput | Prisma.DeveloperCreateManyInput[];
944
+ skipDuplicates?: boolean;
945
+ };
946
+ /**
947
+ * Developer createManyAndReturn
948
+ */
949
+ export type DeveloperCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
950
+ /**
951
+ * Select specific fields to fetch from the Developer
952
+ */
953
+ select?: Prisma.DeveloperSelectCreateManyAndReturn<ExtArgs> | null;
954
+ /**
955
+ * Omit specific fields from the Developer
956
+ */
957
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
958
+ /**
959
+ * The data used to create many Developers.
960
+ */
961
+ data: Prisma.DeveloperCreateManyInput | Prisma.DeveloperCreateManyInput[];
962
+ skipDuplicates?: boolean;
963
+ };
964
+ /**
965
+ * Developer update
966
+ */
967
+ export type DeveloperUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
968
+ /**
969
+ * Select specific fields to fetch from the Developer
970
+ */
971
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
972
+ /**
973
+ * Omit specific fields from the Developer
974
+ */
975
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
976
+ /**
977
+ * Choose, which related nodes to fetch as well
978
+ */
979
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
980
+ /**
981
+ * The data needed to update a Developer.
982
+ */
983
+ data: Prisma.XOR<Prisma.DeveloperUpdateInput, Prisma.DeveloperUncheckedUpdateInput>;
984
+ /**
985
+ * Choose, which Developer to update.
986
+ */
987
+ where: Prisma.DeveloperWhereUniqueInput;
988
+ };
989
+ /**
990
+ * Developer updateMany
991
+ */
992
+ export type DeveloperUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
993
+ /**
994
+ * The data used to update Developers.
995
+ */
996
+ data: Prisma.XOR<Prisma.DeveloperUpdateManyMutationInput, Prisma.DeveloperUncheckedUpdateManyInput>;
997
+ /**
998
+ * Filter which Developers to update
999
+ */
1000
+ where?: Prisma.DeveloperWhereInput;
1001
+ /**
1002
+ * Limit how many Developers to update.
1003
+ */
1004
+ limit?: number;
1005
+ };
1006
+ /**
1007
+ * Developer updateManyAndReturn
1008
+ */
1009
+ export type DeveloperUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1010
+ /**
1011
+ * Select specific fields to fetch from the Developer
1012
+ */
1013
+ select?: Prisma.DeveloperSelectUpdateManyAndReturn<ExtArgs> | null;
1014
+ /**
1015
+ * Omit specific fields from the Developer
1016
+ */
1017
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
1018
+ /**
1019
+ * The data used to update Developers.
1020
+ */
1021
+ data: Prisma.XOR<Prisma.DeveloperUpdateManyMutationInput, Prisma.DeveloperUncheckedUpdateManyInput>;
1022
+ /**
1023
+ * Filter which Developers to update
1024
+ */
1025
+ where?: Prisma.DeveloperWhereInput;
1026
+ /**
1027
+ * Limit how many Developers to update.
1028
+ */
1029
+ limit?: number;
1030
+ };
1031
+ /**
1032
+ * Developer upsert
1033
+ */
1034
+ export type DeveloperUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1035
+ /**
1036
+ * Select specific fields to fetch from the Developer
1037
+ */
1038
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
1039
+ /**
1040
+ * Omit specific fields from the Developer
1041
+ */
1042
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
1043
+ /**
1044
+ * Choose, which related nodes to fetch as well
1045
+ */
1046
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
1047
+ /**
1048
+ * The filter to search for the Developer to update in case it exists.
1049
+ */
1050
+ where: Prisma.DeveloperWhereUniqueInput;
1051
+ /**
1052
+ * In case the Developer found by the `where` argument doesn't exist, create a new Developer with this data.
1053
+ */
1054
+ create: Prisma.XOR<Prisma.DeveloperCreateInput, Prisma.DeveloperUncheckedCreateInput>;
1055
+ /**
1056
+ * In case the Developer was found with the provided `where` argument, update it with this data.
1057
+ */
1058
+ update: Prisma.XOR<Prisma.DeveloperUpdateInput, Prisma.DeveloperUncheckedUpdateInput>;
1059
+ };
1060
+ /**
1061
+ * Developer delete
1062
+ */
1063
+ export type DeveloperDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1064
+ /**
1065
+ * Select specific fields to fetch from the Developer
1066
+ */
1067
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
1068
+ /**
1069
+ * Omit specific fields from the Developer
1070
+ */
1071
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
1072
+ /**
1073
+ * Choose, which related nodes to fetch as well
1074
+ */
1075
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
1076
+ /**
1077
+ * Filter which Developer to delete.
1078
+ */
1079
+ where: Prisma.DeveloperWhereUniqueInput;
1080
+ };
1081
+ /**
1082
+ * Developer deleteMany
1083
+ */
1084
+ export type DeveloperDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1085
+ /**
1086
+ * Filter which Developers to delete
1087
+ */
1088
+ where?: Prisma.DeveloperWhereInput;
1089
+ /**
1090
+ * Limit how many Developers to delete.
1091
+ */
1092
+ limit?: number;
1093
+ };
1094
+ /**
1095
+ * Developer.tokens
1096
+ */
1097
+ export type Developer$tokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1098
+ /**
1099
+ * Select specific fields to fetch from the Token
1100
+ */
1101
+ select?: Prisma.TokenSelect<ExtArgs> | null;
1102
+ /**
1103
+ * Omit specific fields from the Token
1104
+ */
1105
+ omit?: Prisma.TokenOmit<ExtArgs> | null;
1106
+ /**
1107
+ * Choose, which related nodes to fetch as well
1108
+ */
1109
+ include?: Prisma.TokenInclude<ExtArgs> | null;
1110
+ where?: Prisma.TokenWhereInput;
1111
+ orderBy?: Prisma.TokenOrderByWithRelationInput | Prisma.TokenOrderByWithRelationInput[];
1112
+ cursor?: Prisma.TokenWhereUniqueInput;
1113
+ take?: number;
1114
+ skip?: number;
1115
+ distinct?: Prisma.TokenScalarFieldEnum | Prisma.TokenScalarFieldEnum[];
1116
+ };
1117
+ /**
1118
+ * Developer without action
1119
+ */
1120
+ export type DeveloperDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1121
+ /**
1122
+ * Select specific fields to fetch from the Developer
1123
+ */
1124
+ select?: Prisma.DeveloperSelect<ExtArgs> | null;
1125
+ /**
1126
+ * Omit specific fields from the Developer
1127
+ */
1128
+ omit?: Prisma.DeveloperOmit<ExtArgs> | null;
1129
+ /**
1130
+ * Choose, which related nodes to fetch as well
1131
+ */
1132
+ include?: Prisma.DeveloperInclude<ExtArgs> | null;
1133
+ };
1134
+ //# sourceMappingURL=Developer.d.ts.map