@convex-dev/better-auth 0.7.16 → 0.7.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/client/adapter.d.ts.map +1 -1
- package/dist/commonjs/client/adapter.js +2 -1
- package/dist/commonjs/client/adapter.js.map +1 -1
- package/dist/commonjs/client/index.d.ts +4 -2
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/component/lib.d.ts +4 -2
- package/dist/commonjs/component/lib.d.ts.map +1 -1
- package/dist/commonjs/component/schema.d.ts +50 -5
- package/dist/commonjs/component/schema.d.ts.map +1 -1
- package/dist/commonjs/component/schema.js +48 -5
- package/dist/commonjs/component/schema.js.map +1 -1
- package/dist/commonjs/component/util.d.ts +31 -11
- package/dist/commonjs/component/util.d.ts.map +1 -1
- package/dist/commonjs/plugins/convex/index.d.ts +14 -18
- package/dist/commonjs/plugins/convex/index.d.ts.map +1 -1
- package/dist/commonjs/plugins/convex/index.js +1 -0
- package/dist/commonjs/plugins/convex/index.js.map +1 -1
- package/dist/commonjs/react-start/index.d.ts +4 -4
- package/dist/esm/client/adapter.d.ts.map +1 -1
- package/dist/esm/client/adapter.js +2 -1
- package/dist/esm/client/adapter.js.map +1 -1
- package/dist/esm/client/index.d.ts +4 -2
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/component/lib.d.ts +4 -2
- package/dist/esm/component/lib.d.ts.map +1 -1
- package/dist/esm/component/schema.d.ts +50 -5
- package/dist/esm/component/schema.d.ts.map +1 -1
- package/dist/esm/component/schema.js +48 -5
- package/dist/esm/component/schema.js.map +1 -1
- package/dist/esm/component/util.d.ts +31 -11
- package/dist/esm/component/util.d.ts.map +1 -1
- package/dist/esm/plugins/convex/index.d.ts +14 -18
- package/dist/esm/plugins/convex/index.d.ts.map +1 -1
- package/dist/esm/plugins/convex/index.js +1 -0
- package/dist/esm/plugins/convex/index.js.map +1 -1
- package/dist/esm/react-start/index.d.ts +4 -4
- package/package.json +10 -4
- package/src/client/adapter.ts +2 -1
- package/src/component/_generated/api.d.ts +488 -695
- package/src/component/schema.ts +48 -5
- package/src/plugins/convex/index.ts +1 -0
|
@@ -51,436 +51,190 @@ export type Mounts = {
|
|
|
51
51
|
input:
|
|
52
52
|
| {
|
|
53
53
|
data: {
|
|
54
|
-
banExpires?: number;
|
|
55
|
-
banReason?: string;
|
|
56
|
-
banned?: boolean;
|
|
54
|
+
banExpires?: null | number;
|
|
55
|
+
banReason?: null | string;
|
|
56
|
+
banned?: null | boolean;
|
|
57
57
|
createdAt: number;
|
|
58
|
-
displayUsername?: string;
|
|
58
|
+
displayUsername?: null | string;
|
|
59
59
|
email: string;
|
|
60
60
|
emailVerified: boolean;
|
|
61
|
-
image?: string;
|
|
62
|
-
isAnonymous?: boolean;
|
|
61
|
+
image?: null | string;
|
|
62
|
+
isAnonymous?: null | boolean;
|
|
63
63
|
name: string;
|
|
64
|
-
phoneNumber?: string;
|
|
65
|
-
phoneNumberVerified?: boolean;
|
|
66
|
-
role?: string;
|
|
67
|
-
stripeCustomerId?: string;
|
|
68
|
-
|
|
64
|
+
phoneNumber?: null | string;
|
|
65
|
+
phoneNumberVerified?: null | boolean;
|
|
66
|
+
role?: null | string;
|
|
67
|
+
stripeCustomerId?: null | string;
|
|
68
|
+
teamId?: null | string;
|
|
69
|
+
twoFactorEnabled?: null | boolean;
|
|
69
70
|
updatedAt: number;
|
|
70
|
-
userId?: string;
|
|
71
|
-
username?: string;
|
|
71
|
+
userId?: null | string;
|
|
72
|
+
username?: null | string;
|
|
72
73
|
};
|
|
73
74
|
model: "user";
|
|
74
|
-
where?: Array<{
|
|
75
|
-
connector?: "AND" | "OR";
|
|
76
|
-
field: string;
|
|
77
|
-
operator?:
|
|
78
|
-
| "lt"
|
|
79
|
-
| "lte"
|
|
80
|
-
| "gt"
|
|
81
|
-
| "gte"
|
|
82
|
-
| "eq"
|
|
83
|
-
| "in"
|
|
84
|
-
| "ne"
|
|
85
|
-
| "contains"
|
|
86
|
-
| "starts_with"
|
|
87
|
-
| "ends_with";
|
|
88
|
-
value:
|
|
89
|
-
| string
|
|
90
|
-
| number
|
|
91
|
-
| boolean
|
|
92
|
-
| Array<string>
|
|
93
|
-
| Array<number>
|
|
94
|
-
| null;
|
|
95
|
-
}>;
|
|
96
75
|
}
|
|
97
76
|
| {
|
|
98
77
|
data: {
|
|
99
|
-
activeOrganizationId?: string;
|
|
78
|
+
activeOrganizationId?: null | string;
|
|
79
|
+
activeTeamId?: null | string;
|
|
100
80
|
createdAt: number;
|
|
101
81
|
expiresAt: number;
|
|
102
|
-
impersonatedBy?: string;
|
|
103
|
-
ipAddress?: string;
|
|
82
|
+
impersonatedBy?: null | string;
|
|
83
|
+
ipAddress?: null | string;
|
|
104
84
|
token: string;
|
|
105
85
|
updatedAt: number;
|
|
106
|
-
userAgent?: string;
|
|
86
|
+
userAgent?: null | string;
|
|
107
87
|
userId: string;
|
|
108
88
|
};
|
|
109
89
|
model: "session";
|
|
110
|
-
where?: Array<{
|
|
111
|
-
connector?: "AND" | "OR";
|
|
112
|
-
field: string;
|
|
113
|
-
operator?:
|
|
114
|
-
| "lt"
|
|
115
|
-
| "lte"
|
|
116
|
-
| "gt"
|
|
117
|
-
| "gte"
|
|
118
|
-
| "eq"
|
|
119
|
-
| "in"
|
|
120
|
-
| "ne"
|
|
121
|
-
| "contains"
|
|
122
|
-
| "starts_with"
|
|
123
|
-
| "ends_with";
|
|
124
|
-
value:
|
|
125
|
-
| string
|
|
126
|
-
| number
|
|
127
|
-
| boolean
|
|
128
|
-
| Array<string>
|
|
129
|
-
| Array<number>
|
|
130
|
-
| null;
|
|
131
|
-
}>;
|
|
132
90
|
}
|
|
133
91
|
| {
|
|
134
92
|
data: {
|
|
135
|
-
accessToken?: string;
|
|
136
|
-
accessTokenExpiresAt?: number;
|
|
93
|
+
accessToken?: null | string;
|
|
94
|
+
accessTokenExpiresAt?: null | number;
|
|
137
95
|
accountId: string;
|
|
138
96
|
createdAt: number;
|
|
139
|
-
idToken?: string;
|
|
140
|
-
password?: string;
|
|
97
|
+
idToken?: null | string;
|
|
98
|
+
password?: null | string;
|
|
141
99
|
providerId: string;
|
|
142
|
-
refreshToken?: string;
|
|
143
|
-
refreshTokenExpiresAt?: number;
|
|
144
|
-
scope?: string;
|
|
100
|
+
refreshToken?: null | string;
|
|
101
|
+
refreshTokenExpiresAt?: null | number;
|
|
102
|
+
scope?: null | string;
|
|
145
103
|
updatedAt: number;
|
|
146
104
|
userId: string;
|
|
147
105
|
};
|
|
148
106
|
model: "account";
|
|
149
|
-
where?: Array<{
|
|
150
|
-
connector?: "AND" | "OR";
|
|
151
|
-
field: string;
|
|
152
|
-
operator?:
|
|
153
|
-
| "lt"
|
|
154
|
-
| "lte"
|
|
155
|
-
| "gt"
|
|
156
|
-
| "gte"
|
|
157
|
-
| "eq"
|
|
158
|
-
| "in"
|
|
159
|
-
| "ne"
|
|
160
|
-
| "contains"
|
|
161
|
-
| "starts_with"
|
|
162
|
-
| "ends_with";
|
|
163
|
-
value:
|
|
164
|
-
| string
|
|
165
|
-
| number
|
|
166
|
-
| boolean
|
|
167
|
-
| Array<string>
|
|
168
|
-
| Array<number>
|
|
169
|
-
| null;
|
|
170
|
-
}>;
|
|
171
107
|
}
|
|
172
108
|
| {
|
|
173
109
|
data: {
|
|
174
|
-
createdAt
|
|
110
|
+
createdAt: number;
|
|
175
111
|
expiresAt: number;
|
|
176
112
|
identifier: string;
|
|
177
|
-
updatedAt
|
|
113
|
+
updatedAt: number;
|
|
178
114
|
value: string;
|
|
179
115
|
};
|
|
180
116
|
model: "verification";
|
|
181
|
-
where?: Array<{
|
|
182
|
-
connector?: "AND" | "OR";
|
|
183
|
-
field: string;
|
|
184
|
-
operator?:
|
|
185
|
-
| "lt"
|
|
186
|
-
| "lte"
|
|
187
|
-
| "gt"
|
|
188
|
-
| "gte"
|
|
189
|
-
| "eq"
|
|
190
|
-
| "in"
|
|
191
|
-
| "ne"
|
|
192
|
-
| "contains"
|
|
193
|
-
| "starts_with"
|
|
194
|
-
| "ends_with";
|
|
195
|
-
value:
|
|
196
|
-
| string
|
|
197
|
-
| number
|
|
198
|
-
| boolean
|
|
199
|
-
| Array<string>
|
|
200
|
-
| Array<number>
|
|
201
|
-
| null;
|
|
202
|
-
}>;
|
|
203
117
|
}
|
|
204
118
|
| {
|
|
205
119
|
data: { backupCodes: string; secret: string; userId: string };
|
|
206
120
|
model: "twoFactor";
|
|
207
|
-
where?: Array<{
|
|
208
|
-
connector?: "AND" | "OR";
|
|
209
|
-
field: string;
|
|
210
|
-
operator?:
|
|
211
|
-
| "lt"
|
|
212
|
-
| "lte"
|
|
213
|
-
| "gt"
|
|
214
|
-
| "gte"
|
|
215
|
-
| "eq"
|
|
216
|
-
| "in"
|
|
217
|
-
| "ne"
|
|
218
|
-
| "contains"
|
|
219
|
-
| "starts_with"
|
|
220
|
-
| "ends_with";
|
|
221
|
-
value:
|
|
222
|
-
| string
|
|
223
|
-
| number
|
|
224
|
-
| boolean
|
|
225
|
-
| Array<string>
|
|
226
|
-
| Array<number>
|
|
227
|
-
| null;
|
|
228
|
-
}>;
|
|
229
121
|
}
|
|
230
122
|
| {
|
|
231
123
|
data: {
|
|
232
|
-
aaguid?: string;
|
|
124
|
+
aaguid?: null | string;
|
|
233
125
|
backedUp: boolean;
|
|
234
126
|
counter: number;
|
|
235
|
-
createdAt?: number;
|
|
127
|
+
createdAt?: null | number;
|
|
236
128
|
credentialID: string;
|
|
237
129
|
deviceType: string;
|
|
238
|
-
name?: string;
|
|
130
|
+
name?: null | string;
|
|
239
131
|
publicKey: string;
|
|
240
|
-
transports?: string;
|
|
132
|
+
transports?: null | string;
|
|
241
133
|
userId: string;
|
|
242
134
|
};
|
|
243
135
|
model: "passkey";
|
|
244
|
-
where?: Array<{
|
|
245
|
-
connector?: "AND" | "OR";
|
|
246
|
-
field: string;
|
|
247
|
-
operator?:
|
|
248
|
-
| "lt"
|
|
249
|
-
| "lte"
|
|
250
|
-
| "gt"
|
|
251
|
-
| "gte"
|
|
252
|
-
| "eq"
|
|
253
|
-
| "in"
|
|
254
|
-
| "ne"
|
|
255
|
-
| "contains"
|
|
256
|
-
| "starts_with"
|
|
257
|
-
| "ends_with";
|
|
258
|
-
value:
|
|
259
|
-
| string
|
|
260
|
-
| number
|
|
261
|
-
| boolean
|
|
262
|
-
| Array<string>
|
|
263
|
-
| Array<number>
|
|
264
|
-
| null;
|
|
265
|
-
}>;
|
|
266
136
|
}
|
|
267
137
|
| {
|
|
268
138
|
data: {
|
|
269
139
|
createdAt: number;
|
|
270
|
-
enabled?: boolean;
|
|
271
|
-
expiresAt?: number;
|
|
140
|
+
enabled?: null | boolean;
|
|
141
|
+
expiresAt?: null | number;
|
|
272
142
|
key: string;
|
|
273
|
-
lastRefillAt?: number;
|
|
274
|
-
lastRequest?: number;
|
|
275
|
-
metadata?: string;
|
|
276
|
-
name?: string;
|
|
277
|
-
permissions?: string;
|
|
278
|
-
prefix?: string;
|
|
279
|
-
rateLimitEnabled?: boolean;
|
|
280
|
-
rateLimitMax?: number;
|
|
281
|
-
rateLimitTimeWindow?: number;
|
|
282
|
-
refillAmount?: number;
|
|
283
|
-
refillInterval?: number;
|
|
284
|
-
remaining?: number;
|
|
285
|
-
requestCount?: number;
|
|
286
|
-
start?: string;
|
|
143
|
+
lastRefillAt?: null | number;
|
|
144
|
+
lastRequest?: null | number;
|
|
145
|
+
metadata?: null | string;
|
|
146
|
+
name?: null | string;
|
|
147
|
+
permissions?: null | string;
|
|
148
|
+
prefix?: null | string;
|
|
149
|
+
rateLimitEnabled?: null | boolean;
|
|
150
|
+
rateLimitMax?: null | number;
|
|
151
|
+
rateLimitTimeWindow?: null | number;
|
|
152
|
+
refillAmount?: null | number;
|
|
153
|
+
refillInterval?: null | number;
|
|
154
|
+
remaining?: null | number;
|
|
155
|
+
requestCount?: null | number;
|
|
156
|
+
start?: null | string;
|
|
287
157
|
updatedAt: number;
|
|
288
158
|
userId: string;
|
|
289
159
|
};
|
|
290
160
|
model: "apikey";
|
|
291
|
-
where?: Array<{
|
|
292
|
-
connector?: "AND" | "OR";
|
|
293
|
-
field: string;
|
|
294
|
-
operator?:
|
|
295
|
-
| "lt"
|
|
296
|
-
| "lte"
|
|
297
|
-
| "gt"
|
|
298
|
-
| "gte"
|
|
299
|
-
| "eq"
|
|
300
|
-
| "in"
|
|
301
|
-
| "ne"
|
|
302
|
-
| "contains"
|
|
303
|
-
| "starts_with"
|
|
304
|
-
| "ends_with";
|
|
305
|
-
value:
|
|
306
|
-
| string
|
|
307
|
-
| number
|
|
308
|
-
| boolean
|
|
309
|
-
| Array<string>
|
|
310
|
-
| Array<number>
|
|
311
|
-
| null;
|
|
312
|
-
}>;
|
|
313
161
|
}
|
|
314
162
|
| {
|
|
315
163
|
data: {
|
|
316
|
-
clientId?: string;
|
|
317
|
-
clientSecret?: string;
|
|
318
|
-
createdAt?: number;
|
|
319
|
-
disabled?: boolean;
|
|
320
|
-
icon?: string;
|
|
321
|
-
metadata?: string;
|
|
322
|
-
name?: string;
|
|
323
|
-
redirectURLs?: string;
|
|
324
|
-
type?: string;
|
|
325
|
-
updatedAt?: number;
|
|
326
|
-
userId?: string;
|
|
164
|
+
clientId?: null | string;
|
|
165
|
+
clientSecret?: null | string;
|
|
166
|
+
createdAt?: null | number;
|
|
167
|
+
disabled?: null | boolean;
|
|
168
|
+
icon?: null | string;
|
|
169
|
+
metadata?: null | string;
|
|
170
|
+
name?: null | string;
|
|
171
|
+
redirectURLs?: null | string;
|
|
172
|
+
type?: null | string;
|
|
173
|
+
updatedAt?: null | number;
|
|
174
|
+
userId?: null | string;
|
|
327
175
|
};
|
|
328
176
|
model: "oauthApplication";
|
|
329
|
-
where?: Array<{
|
|
330
|
-
connector?: "AND" | "OR";
|
|
331
|
-
field: string;
|
|
332
|
-
operator?:
|
|
333
|
-
| "lt"
|
|
334
|
-
| "lte"
|
|
335
|
-
| "gt"
|
|
336
|
-
| "gte"
|
|
337
|
-
| "eq"
|
|
338
|
-
| "in"
|
|
339
|
-
| "ne"
|
|
340
|
-
| "contains"
|
|
341
|
-
| "starts_with"
|
|
342
|
-
| "ends_with";
|
|
343
|
-
value:
|
|
344
|
-
| string
|
|
345
|
-
| number
|
|
346
|
-
| boolean
|
|
347
|
-
| Array<string>
|
|
348
|
-
| Array<number>
|
|
349
|
-
| null;
|
|
350
|
-
}>;
|
|
351
177
|
}
|
|
352
178
|
| {
|
|
353
179
|
data: {
|
|
354
|
-
accessToken?: string;
|
|
355
|
-
accessTokenExpiresAt?: number;
|
|
356
|
-
clientId?: string;
|
|
357
|
-
createdAt?: number;
|
|
358
|
-
refreshToken?: string;
|
|
359
|
-
refreshTokenExpiresAt?: number;
|
|
360
|
-
scopes?: string;
|
|
361
|
-
updatedAt?: number;
|
|
362
|
-
userId?: string;
|
|
180
|
+
accessToken?: null | string;
|
|
181
|
+
accessTokenExpiresAt?: null | number;
|
|
182
|
+
clientId?: null | string;
|
|
183
|
+
createdAt?: null | number;
|
|
184
|
+
refreshToken?: null | string;
|
|
185
|
+
refreshTokenExpiresAt?: null | number;
|
|
186
|
+
scopes?: null | string;
|
|
187
|
+
updatedAt?: null | number;
|
|
188
|
+
userId?: null | string;
|
|
363
189
|
};
|
|
364
190
|
model: "oauthAccessToken";
|
|
365
|
-
where?: Array<{
|
|
366
|
-
connector?: "AND" | "OR";
|
|
367
|
-
field: string;
|
|
368
|
-
operator?:
|
|
369
|
-
| "lt"
|
|
370
|
-
| "lte"
|
|
371
|
-
| "gt"
|
|
372
|
-
| "gte"
|
|
373
|
-
| "eq"
|
|
374
|
-
| "in"
|
|
375
|
-
| "ne"
|
|
376
|
-
| "contains"
|
|
377
|
-
| "starts_with"
|
|
378
|
-
| "ends_with";
|
|
379
|
-
value:
|
|
380
|
-
| string
|
|
381
|
-
| number
|
|
382
|
-
| boolean
|
|
383
|
-
| Array<string>
|
|
384
|
-
| Array<number>
|
|
385
|
-
| null;
|
|
386
|
-
}>;
|
|
387
191
|
}
|
|
388
192
|
| {
|
|
389
193
|
data: {
|
|
390
|
-
clientId?: string;
|
|
391
|
-
consentGiven?: boolean;
|
|
392
|
-
createdAt?: number;
|
|
393
|
-
scopes?: string;
|
|
394
|
-
updatedAt?: number;
|
|
395
|
-
userId?: string;
|
|
194
|
+
clientId?: null | string;
|
|
195
|
+
consentGiven?: null | boolean;
|
|
196
|
+
createdAt?: null | number;
|
|
197
|
+
scopes?: null | string;
|
|
198
|
+
updatedAt?: null | number;
|
|
199
|
+
userId?: null | string;
|
|
396
200
|
};
|
|
397
201
|
model: "oauthConsent";
|
|
398
|
-
where?: Array<{
|
|
399
|
-
connector?: "AND" | "OR";
|
|
400
|
-
field: string;
|
|
401
|
-
operator?:
|
|
402
|
-
| "lt"
|
|
403
|
-
| "lte"
|
|
404
|
-
| "gt"
|
|
405
|
-
| "gte"
|
|
406
|
-
| "eq"
|
|
407
|
-
| "in"
|
|
408
|
-
| "ne"
|
|
409
|
-
| "contains"
|
|
410
|
-
| "starts_with"
|
|
411
|
-
| "ends_with";
|
|
412
|
-
value:
|
|
413
|
-
| string
|
|
414
|
-
| number
|
|
415
|
-
| boolean
|
|
416
|
-
| Array<string>
|
|
417
|
-
| Array<number>
|
|
418
|
-
| null;
|
|
419
|
-
}>;
|
|
420
202
|
}
|
|
421
203
|
| {
|
|
422
204
|
data: {
|
|
423
205
|
createdAt: number;
|
|
424
|
-
logo?: string;
|
|
425
|
-
metadata?: string;
|
|
426
206
|
name: string;
|
|
427
|
-
|
|
207
|
+
organizationId: string;
|
|
208
|
+
updatedAt?: null | number;
|
|
209
|
+
};
|
|
210
|
+
model: "team";
|
|
211
|
+
}
|
|
212
|
+
| {
|
|
213
|
+
data: {
|
|
214
|
+
createdAt?: null | number;
|
|
215
|
+
teamId: string;
|
|
216
|
+
userId: string;
|
|
217
|
+
};
|
|
218
|
+
model: "teamMember";
|
|
219
|
+
}
|
|
220
|
+
| {
|
|
221
|
+
data: {
|
|
222
|
+
createdAt: number;
|
|
223
|
+
logo?: null | string;
|
|
224
|
+
metadata?: null | string;
|
|
225
|
+
name: string;
|
|
226
|
+
slug?: null | string;
|
|
428
227
|
};
|
|
429
228
|
model: "organization";
|
|
430
|
-
where?: Array<{
|
|
431
|
-
connector?: "AND" | "OR";
|
|
432
|
-
field: string;
|
|
433
|
-
operator?:
|
|
434
|
-
| "lt"
|
|
435
|
-
| "lte"
|
|
436
|
-
| "gt"
|
|
437
|
-
| "gte"
|
|
438
|
-
| "eq"
|
|
439
|
-
| "in"
|
|
440
|
-
| "ne"
|
|
441
|
-
| "contains"
|
|
442
|
-
| "starts_with"
|
|
443
|
-
| "ends_with";
|
|
444
|
-
value:
|
|
445
|
-
| string
|
|
446
|
-
| number
|
|
447
|
-
| boolean
|
|
448
|
-
| Array<string>
|
|
449
|
-
| Array<number>
|
|
450
|
-
| null;
|
|
451
|
-
}>;
|
|
452
229
|
}
|
|
453
230
|
| {
|
|
454
231
|
data: {
|
|
455
232
|
createdAt: number;
|
|
456
233
|
organizationId: string;
|
|
457
234
|
role: string;
|
|
458
|
-
teamId?: string;
|
|
459
235
|
userId: string;
|
|
460
236
|
};
|
|
461
237
|
model: "member";
|
|
462
|
-
where?: Array<{
|
|
463
|
-
connector?: "AND" | "OR";
|
|
464
|
-
field: string;
|
|
465
|
-
operator?:
|
|
466
|
-
| "lt"
|
|
467
|
-
| "lte"
|
|
468
|
-
| "gt"
|
|
469
|
-
| "gte"
|
|
470
|
-
| "eq"
|
|
471
|
-
| "in"
|
|
472
|
-
| "ne"
|
|
473
|
-
| "contains"
|
|
474
|
-
| "starts_with"
|
|
475
|
-
| "ends_with";
|
|
476
|
-
value:
|
|
477
|
-
| string
|
|
478
|
-
| number
|
|
479
|
-
| boolean
|
|
480
|
-
| Array<string>
|
|
481
|
-
| Array<number>
|
|
482
|
-
| null;
|
|
483
|
-
}>;
|
|
484
238
|
}
|
|
485
239
|
| {
|
|
486
240
|
data: {
|
|
@@ -488,98 +242,23 @@ export type Mounts = {
|
|
|
488
242
|
expiresAt: number;
|
|
489
243
|
inviterId: string;
|
|
490
244
|
organizationId: string;
|
|
491
|
-
role?: string;
|
|
245
|
+
role?: null | string;
|
|
492
246
|
status: string;
|
|
493
|
-
teamId?: string;
|
|
247
|
+
teamId?: null | string;
|
|
494
248
|
};
|
|
495
249
|
model: "invitation";
|
|
496
|
-
where?: Array<{
|
|
497
|
-
connector?: "AND" | "OR";
|
|
498
|
-
field: string;
|
|
499
|
-
operator?:
|
|
500
|
-
| "lt"
|
|
501
|
-
| "lte"
|
|
502
|
-
| "gt"
|
|
503
|
-
| "gte"
|
|
504
|
-
| "eq"
|
|
505
|
-
| "in"
|
|
506
|
-
| "ne"
|
|
507
|
-
| "contains"
|
|
508
|
-
| "starts_with"
|
|
509
|
-
| "ends_with";
|
|
510
|
-
value:
|
|
511
|
-
| string
|
|
512
|
-
| number
|
|
513
|
-
| boolean
|
|
514
|
-
| Array<string>
|
|
515
|
-
| Array<number>
|
|
516
|
-
| null;
|
|
517
|
-
}>;
|
|
518
|
-
}
|
|
519
|
-
| {
|
|
520
|
-
data: {
|
|
521
|
-
createdAt: number;
|
|
522
|
-
name: string;
|
|
523
|
-
organizationId: string;
|
|
524
|
-
updatedAt?: number;
|
|
525
|
-
};
|
|
526
|
-
model: "team";
|
|
527
|
-
where?: Array<{
|
|
528
|
-
connector?: "AND" | "OR";
|
|
529
|
-
field: string;
|
|
530
|
-
operator?:
|
|
531
|
-
| "lt"
|
|
532
|
-
| "lte"
|
|
533
|
-
| "gt"
|
|
534
|
-
| "gte"
|
|
535
|
-
| "eq"
|
|
536
|
-
| "in"
|
|
537
|
-
| "ne"
|
|
538
|
-
| "contains"
|
|
539
|
-
| "starts_with"
|
|
540
|
-
| "ends_with";
|
|
541
|
-
value:
|
|
542
|
-
| string
|
|
543
|
-
| number
|
|
544
|
-
| boolean
|
|
545
|
-
| Array<string>
|
|
546
|
-
| Array<number>
|
|
547
|
-
| null;
|
|
548
|
-
}>;
|
|
549
250
|
}
|
|
550
251
|
| {
|
|
551
252
|
data: {
|
|
552
253
|
domain: string;
|
|
553
254
|
issuer: string;
|
|
554
|
-
oidcConfig?: string;
|
|
555
|
-
organizationId?: string;
|
|
255
|
+
oidcConfig?: null | string;
|
|
256
|
+
organizationId?: null | string;
|
|
556
257
|
providerId: string;
|
|
557
|
-
samlConfig?: string;
|
|
558
|
-
userId?: string;
|
|
258
|
+
samlConfig?: null | string;
|
|
259
|
+
userId?: null | string;
|
|
559
260
|
};
|
|
560
261
|
model: "ssoProvider";
|
|
561
|
-
where?: Array<{
|
|
562
|
-
connector?: "AND" | "OR";
|
|
563
|
-
field: string;
|
|
564
|
-
operator?:
|
|
565
|
-
| "lt"
|
|
566
|
-
| "lte"
|
|
567
|
-
| "gt"
|
|
568
|
-
| "gte"
|
|
569
|
-
| "eq"
|
|
570
|
-
| "in"
|
|
571
|
-
| "ne"
|
|
572
|
-
| "contains"
|
|
573
|
-
| "starts_with"
|
|
574
|
-
| "ends_with";
|
|
575
|
-
value:
|
|
576
|
-
| string
|
|
577
|
-
| number
|
|
578
|
-
| boolean
|
|
579
|
-
| Array<string>
|
|
580
|
-
| Array<number>
|
|
581
|
-
| null;
|
|
582
|
-
}>;
|
|
583
262
|
}
|
|
584
263
|
| {
|
|
585
264
|
data: {
|
|
@@ -588,90 +267,40 @@ export type Mounts = {
|
|
|
588
267
|
publicKey: string;
|
|
589
268
|
};
|
|
590
269
|
model: "jwks";
|
|
591
|
-
where?: Array<{
|
|
592
|
-
connector?: "AND" | "OR";
|
|
593
|
-
field: string;
|
|
594
|
-
operator?:
|
|
595
|
-
| "lt"
|
|
596
|
-
| "lte"
|
|
597
|
-
| "gt"
|
|
598
|
-
| "gte"
|
|
599
|
-
| "eq"
|
|
600
|
-
| "in"
|
|
601
|
-
| "ne"
|
|
602
|
-
| "contains"
|
|
603
|
-
| "starts_with"
|
|
604
|
-
| "ends_with";
|
|
605
|
-
value:
|
|
606
|
-
| string
|
|
607
|
-
| number
|
|
608
|
-
| boolean
|
|
609
|
-
| Array<string>
|
|
610
|
-
| Array<number>
|
|
611
|
-
| null;
|
|
612
|
-
}>;
|
|
613
270
|
}
|
|
614
271
|
| {
|
|
615
272
|
data: {
|
|
616
|
-
cancelAtPeriodEnd?: boolean;
|
|
617
|
-
periodEnd?: number;
|
|
618
|
-
periodStart?: number;
|
|
273
|
+
cancelAtPeriodEnd?: null | boolean;
|
|
274
|
+
periodEnd?: null | number;
|
|
275
|
+
periodStart?: null | number;
|
|
619
276
|
plan: string;
|
|
620
277
|
referenceId: string;
|
|
621
|
-
seats?: number;
|
|
622
|
-
status?: string;
|
|
623
|
-
stripeCustomerId?: string;
|
|
624
|
-
stripeSubscriptionId?: string;
|
|
278
|
+
seats?: null | number;
|
|
279
|
+
status?: null | string;
|
|
280
|
+
stripeCustomerId?: null | string;
|
|
281
|
+
stripeSubscriptionId?: null | string;
|
|
282
|
+
trialEnd?: null | number;
|
|
283
|
+
trialStart?: null | number;
|
|
625
284
|
};
|
|
626
285
|
model: "subscription";
|
|
627
|
-
where?: Array<{
|
|
628
|
-
connector?: "AND" | "OR";
|
|
629
|
-
field: string;
|
|
630
|
-
operator?:
|
|
631
|
-
| "lt"
|
|
632
|
-
| "lte"
|
|
633
|
-
| "gt"
|
|
634
|
-
| "gte"
|
|
635
|
-
| "eq"
|
|
636
|
-
| "in"
|
|
637
|
-
| "ne"
|
|
638
|
-
| "contains"
|
|
639
|
-
| "starts_with"
|
|
640
|
-
| "ends_with";
|
|
641
|
-
value:
|
|
642
|
-
| string
|
|
643
|
-
| number
|
|
644
|
-
| boolean
|
|
645
|
-
| Array<string>
|
|
646
|
-
| Array<number>
|
|
647
|
-
| null;
|
|
648
|
-
}>;
|
|
649
286
|
}
|
|
650
287
|
| {
|
|
651
|
-
data: {
|
|
288
|
+
data: {
|
|
289
|
+
address: string;
|
|
290
|
+
chainId: number;
|
|
291
|
+
createdAt: number;
|
|
292
|
+
isPrimary?: null | boolean;
|
|
293
|
+
userId: string;
|
|
294
|
+
};
|
|
295
|
+
model: "walletAddress";
|
|
296
|
+
}
|
|
297
|
+
| {
|
|
298
|
+
data: {
|
|
299
|
+
count?: null | number;
|
|
300
|
+
key?: null | string;
|
|
301
|
+
lastRequest?: null | number;
|
|
302
|
+
};
|
|
652
303
|
model: "rateLimit";
|
|
653
|
-
where?: Array<{
|
|
654
|
-
connector?: "AND" | "OR";
|
|
655
|
-
field: string;
|
|
656
|
-
operator?:
|
|
657
|
-
| "lt"
|
|
658
|
-
| "lte"
|
|
659
|
-
| "gt"
|
|
660
|
-
| "gte"
|
|
661
|
-
| "eq"
|
|
662
|
-
| "in"
|
|
663
|
-
| "ne"
|
|
664
|
-
| "contains"
|
|
665
|
-
| "starts_with"
|
|
666
|
-
| "ends_with";
|
|
667
|
-
value:
|
|
668
|
-
| string
|
|
669
|
-
| number
|
|
670
|
-
| boolean
|
|
671
|
-
| Array<string>
|
|
672
|
-
| Array<number>
|
|
673
|
-
| null;
|
|
674
|
-
}>;
|
|
675
304
|
};
|
|
676
305
|
},
|
|
677
306
|
any
|
|
@@ -854,24 +483,25 @@ export type Mounts = {
|
|
|
854
483
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
855
484
|
unique?: boolean;
|
|
856
485
|
update: {
|
|
857
|
-
banExpires?: number;
|
|
858
|
-
banReason?: string;
|
|
859
|
-
banned?: boolean;
|
|
486
|
+
banExpires?: null | number;
|
|
487
|
+
banReason?: null | string;
|
|
488
|
+
banned?: null | boolean;
|
|
860
489
|
createdAt?: number;
|
|
861
|
-
displayUsername?: string;
|
|
490
|
+
displayUsername?: null | string;
|
|
862
491
|
email?: string;
|
|
863
492
|
emailVerified?: boolean;
|
|
864
|
-
image?: string;
|
|
865
|
-
isAnonymous?: boolean;
|
|
493
|
+
image?: null | string;
|
|
494
|
+
isAnonymous?: null | boolean;
|
|
866
495
|
name?: string;
|
|
867
|
-
phoneNumber?: string;
|
|
868
|
-
phoneNumberVerified?: boolean;
|
|
869
|
-
role?: string;
|
|
870
|
-
stripeCustomerId?: string;
|
|
871
|
-
|
|
496
|
+
phoneNumber?: null | string;
|
|
497
|
+
phoneNumberVerified?: null | boolean;
|
|
498
|
+
role?: null | string;
|
|
499
|
+
stripeCustomerId?: null | string;
|
|
500
|
+
teamId?: null | string;
|
|
501
|
+
twoFactorEnabled?: null | boolean;
|
|
872
502
|
updatedAt?: number;
|
|
873
|
-
userId?: string;
|
|
874
|
-
username?: string;
|
|
503
|
+
userId?: null | string;
|
|
504
|
+
username?: null | string;
|
|
875
505
|
};
|
|
876
506
|
where?: Array<{
|
|
877
507
|
connector?: "AND" | "OR";
|
|
@@ -912,14 +542,15 @@ export type Mounts = {
|
|
|
912
542
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
913
543
|
unique?: boolean;
|
|
914
544
|
update: {
|
|
915
|
-
activeOrganizationId?: string;
|
|
545
|
+
activeOrganizationId?: null | string;
|
|
546
|
+
activeTeamId?: null | string;
|
|
916
547
|
createdAt?: number;
|
|
917
548
|
expiresAt?: number;
|
|
918
|
-
impersonatedBy?: string;
|
|
919
|
-
ipAddress?: string;
|
|
549
|
+
impersonatedBy?: null | string;
|
|
550
|
+
ipAddress?: null | string;
|
|
920
551
|
token?: string;
|
|
921
552
|
updatedAt?: number;
|
|
922
|
-
userAgent?: string;
|
|
553
|
+
userAgent?: null | string;
|
|
923
554
|
userId?: string;
|
|
924
555
|
};
|
|
925
556
|
where?: Array<{
|
|
@@ -961,16 +592,16 @@ export type Mounts = {
|
|
|
961
592
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
962
593
|
unique?: boolean;
|
|
963
594
|
update: {
|
|
964
|
-
accessToken?: string;
|
|
965
|
-
accessTokenExpiresAt?: number;
|
|
595
|
+
accessToken?: null | string;
|
|
596
|
+
accessTokenExpiresAt?: null | number;
|
|
966
597
|
accountId?: string;
|
|
967
598
|
createdAt?: number;
|
|
968
|
-
idToken?: string;
|
|
969
|
-
password?: string;
|
|
599
|
+
idToken?: null | string;
|
|
600
|
+
password?: null | string;
|
|
970
601
|
providerId?: string;
|
|
971
|
-
refreshToken?: string;
|
|
972
|
-
refreshTokenExpiresAt?: number;
|
|
973
|
-
scope?: string;
|
|
602
|
+
refreshToken?: null | string;
|
|
603
|
+
refreshTokenExpiresAt?: null | number;
|
|
604
|
+
scope?: null | string;
|
|
974
605
|
updatedAt?: number;
|
|
975
606
|
userId?: string;
|
|
976
607
|
};
|
|
@@ -1101,15 +732,15 @@ export type Mounts = {
|
|
|
1101
732
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1102
733
|
unique?: boolean;
|
|
1103
734
|
update: {
|
|
1104
|
-
aaguid?: string;
|
|
735
|
+
aaguid?: null | string;
|
|
1105
736
|
backedUp?: boolean;
|
|
1106
737
|
counter?: number;
|
|
1107
|
-
createdAt?: number;
|
|
738
|
+
createdAt?: null | number;
|
|
1108
739
|
credentialID?: string;
|
|
1109
740
|
deviceType?: string;
|
|
1110
|
-
name?: string;
|
|
741
|
+
name?: null | string;
|
|
1111
742
|
publicKey?: string;
|
|
1112
|
-
transports?: string;
|
|
743
|
+
transports?: null | string;
|
|
1113
744
|
userId?: string;
|
|
1114
745
|
};
|
|
1115
746
|
where?: Array<{
|
|
@@ -1152,23 +783,23 @@ export type Mounts = {
|
|
|
1152
783
|
unique?: boolean;
|
|
1153
784
|
update: {
|
|
1154
785
|
createdAt?: number;
|
|
1155
|
-
enabled?: boolean;
|
|
1156
|
-
expiresAt?: number;
|
|
786
|
+
enabled?: null | boolean;
|
|
787
|
+
expiresAt?: null | number;
|
|
1157
788
|
key?: string;
|
|
1158
|
-
lastRefillAt?: number;
|
|
1159
|
-
lastRequest?: number;
|
|
1160
|
-
metadata?: string;
|
|
1161
|
-
name?: string;
|
|
1162
|
-
permissions?: string;
|
|
1163
|
-
prefix?: string;
|
|
1164
|
-
rateLimitEnabled?: boolean;
|
|
1165
|
-
rateLimitMax?: number;
|
|
1166
|
-
rateLimitTimeWindow?: number;
|
|
1167
|
-
refillAmount?: number;
|
|
1168
|
-
refillInterval?: number;
|
|
1169
|
-
remaining?: number;
|
|
1170
|
-
requestCount?: number;
|
|
1171
|
-
start?: string;
|
|
789
|
+
lastRefillAt?: null | number;
|
|
790
|
+
lastRequest?: null | number;
|
|
791
|
+
metadata?: null | string;
|
|
792
|
+
name?: null | string;
|
|
793
|
+
permissions?: null | string;
|
|
794
|
+
prefix?: null | string;
|
|
795
|
+
rateLimitEnabled?: null | boolean;
|
|
796
|
+
rateLimitMax?: null | number;
|
|
797
|
+
rateLimitTimeWindow?: null | number;
|
|
798
|
+
refillAmount?: null | number;
|
|
799
|
+
refillInterval?: null | number;
|
|
800
|
+
remaining?: null | number;
|
|
801
|
+
requestCount?: null | number;
|
|
802
|
+
start?: null | string;
|
|
1172
803
|
updatedAt?: number;
|
|
1173
804
|
userId?: string;
|
|
1174
805
|
};
|
|
@@ -1211,17 +842,17 @@ export type Mounts = {
|
|
|
1211
842
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1212
843
|
unique?: boolean;
|
|
1213
844
|
update: {
|
|
1214
|
-
clientId?: string;
|
|
1215
|
-
clientSecret?: string;
|
|
1216
|
-
createdAt?: number;
|
|
1217
|
-
disabled?: boolean;
|
|
1218
|
-
icon?: string;
|
|
1219
|
-
metadata?: string;
|
|
1220
|
-
name?: string;
|
|
1221
|
-
redirectURLs?: string;
|
|
1222
|
-
type?: string;
|
|
1223
|
-
updatedAt?: number;
|
|
1224
|
-
userId?: string;
|
|
845
|
+
clientId?: null | string;
|
|
846
|
+
clientSecret?: null | string;
|
|
847
|
+
createdAt?: null | number;
|
|
848
|
+
disabled?: null | boolean;
|
|
849
|
+
icon?: null | string;
|
|
850
|
+
metadata?: null | string;
|
|
851
|
+
name?: null | string;
|
|
852
|
+
redirectURLs?: null | string;
|
|
853
|
+
type?: null | string;
|
|
854
|
+
updatedAt?: null | number;
|
|
855
|
+
userId?: null | string;
|
|
1225
856
|
};
|
|
1226
857
|
where?: Array<{
|
|
1227
858
|
connector?: "AND" | "OR";
|
|
@@ -1262,15 +893,15 @@ export type Mounts = {
|
|
|
1262
893
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1263
894
|
unique?: boolean;
|
|
1264
895
|
update: {
|
|
1265
|
-
accessToken?: string;
|
|
1266
|
-
accessTokenExpiresAt?: number;
|
|
1267
|
-
clientId?: string;
|
|
1268
|
-
createdAt?: number;
|
|
1269
|
-
refreshToken?: string;
|
|
1270
|
-
refreshTokenExpiresAt?: number;
|
|
1271
|
-
scopes?: string;
|
|
1272
|
-
updatedAt?: number;
|
|
1273
|
-
userId?: string;
|
|
896
|
+
accessToken?: null | string;
|
|
897
|
+
accessTokenExpiresAt?: null | number;
|
|
898
|
+
clientId?: null | string;
|
|
899
|
+
createdAt?: null | number;
|
|
900
|
+
refreshToken?: null | string;
|
|
901
|
+
refreshTokenExpiresAt?: null | number;
|
|
902
|
+
scopes?: null | string;
|
|
903
|
+
updatedAt?: null | number;
|
|
904
|
+
userId?: null | string;
|
|
1274
905
|
};
|
|
1275
906
|
where?: Array<{
|
|
1276
907
|
connector?: "AND" | "OR";
|
|
@@ -1311,12 +942,12 @@ export type Mounts = {
|
|
|
1311
942
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1312
943
|
unique?: boolean;
|
|
1313
944
|
update: {
|
|
1314
|
-
clientId?: string;
|
|
1315
|
-
consentGiven?: boolean;
|
|
1316
|
-
createdAt?: number;
|
|
1317
|
-
scopes?: string;
|
|
1318
|
-
updatedAt?: number;
|
|
1319
|
-
userId?: string;
|
|
945
|
+
clientId?: null | string;
|
|
946
|
+
consentGiven?: null | boolean;
|
|
947
|
+
createdAt?: null | number;
|
|
948
|
+
scopes?: null | string;
|
|
949
|
+
updatedAt?: null | number;
|
|
950
|
+
userId?: null | string;
|
|
1320
951
|
};
|
|
1321
952
|
where?: Array<{
|
|
1322
953
|
connector?: "AND" | "OR";
|
|
@@ -1343,7 +974,7 @@ export type Mounts = {
|
|
|
1343
974
|
}
|
|
1344
975
|
| {
|
|
1345
976
|
limit?: number;
|
|
1346
|
-
model: "
|
|
977
|
+
model: "team";
|
|
1347
978
|
offset?: number;
|
|
1348
979
|
paginationOpts: {
|
|
1349
980
|
cursor: string | null;
|
|
@@ -1358,10 +989,9 @@ export type Mounts = {
|
|
|
1358
989
|
unique?: boolean;
|
|
1359
990
|
update: {
|
|
1360
991
|
createdAt?: number;
|
|
1361
|
-
logo?: string;
|
|
1362
|
-
metadata?: string;
|
|
1363
992
|
name?: string;
|
|
1364
|
-
|
|
993
|
+
organizationId?: string;
|
|
994
|
+
updatedAt?: null | number;
|
|
1365
995
|
};
|
|
1366
996
|
where?: Array<{
|
|
1367
997
|
connector?: "AND" | "OR";
|
|
@@ -1388,7 +1018,7 @@ export type Mounts = {
|
|
|
1388
1018
|
}
|
|
1389
1019
|
| {
|
|
1390
1020
|
limit?: number;
|
|
1391
|
-
model: "
|
|
1021
|
+
model: "teamMember";
|
|
1392
1022
|
offset?: number;
|
|
1393
1023
|
paginationOpts: {
|
|
1394
1024
|
cursor: string | null;
|
|
@@ -1402,9 +1032,7 @@ export type Mounts = {
|
|
|
1402
1032
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1403
1033
|
unique?: boolean;
|
|
1404
1034
|
update: {
|
|
1405
|
-
createdAt?: number;
|
|
1406
|
-
organizationId?: string;
|
|
1407
|
-
role?: string;
|
|
1035
|
+
createdAt?: null | number;
|
|
1408
1036
|
teamId?: string;
|
|
1409
1037
|
userId?: string;
|
|
1410
1038
|
};
|
|
@@ -1433,7 +1061,7 @@ export type Mounts = {
|
|
|
1433
1061
|
}
|
|
1434
1062
|
| {
|
|
1435
1063
|
limit?: number;
|
|
1436
|
-
model: "
|
|
1064
|
+
model: "organization";
|
|
1437
1065
|
offset?: number;
|
|
1438
1066
|
paginationOpts: {
|
|
1439
1067
|
cursor: string | null;
|
|
@@ -1447,13 +1075,55 @@ export type Mounts = {
|
|
|
1447
1075
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1448
1076
|
unique?: boolean;
|
|
1449
1077
|
update: {
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1078
|
+
createdAt?: number;
|
|
1079
|
+
logo?: null | string;
|
|
1080
|
+
metadata?: null | string;
|
|
1081
|
+
name?: string;
|
|
1082
|
+
slug?: null | string;
|
|
1083
|
+
};
|
|
1084
|
+
where?: Array<{
|
|
1085
|
+
connector?: "AND" | "OR";
|
|
1086
|
+
field: string;
|
|
1087
|
+
operator?:
|
|
1088
|
+
| "lt"
|
|
1089
|
+
| "lte"
|
|
1090
|
+
| "gt"
|
|
1091
|
+
| "gte"
|
|
1092
|
+
| "eq"
|
|
1093
|
+
| "in"
|
|
1094
|
+
| "ne"
|
|
1095
|
+
| "contains"
|
|
1096
|
+
| "starts_with"
|
|
1097
|
+
| "ends_with";
|
|
1098
|
+
value:
|
|
1099
|
+
| string
|
|
1100
|
+
| number
|
|
1101
|
+
| boolean
|
|
1102
|
+
| Array<string>
|
|
1103
|
+
| Array<number>
|
|
1104
|
+
| null;
|
|
1105
|
+
}>;
|
|
1106
|
+
}
|
|
1107
|
+
| {
|
|
1108
|
+
limit?: number;
|
|
1109
|
+
model: "member";
|
|
1110
|
+
offset?: number;
|
|
1111
|
+
paginationOpts: {
|
|
1112
|
+
cursor: string | null;
|
|
1113
|
+
endCursor?: string | null;
|
|
1114
|
+
id?: number;
|
|
1115
|
+
maximumBytesRead?: number;
|
|
1116
|
+
maximumRowsRead?: number;
|
|
1117
|
+
numItems: number;
|
|
1118
|
+
};
|
|
1119
|
+
select?: Array<string>;
|
|
1120
|
+
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1121
|
+
unique?: boolean;
|
|
1122
|
+
update: {
|
|
1123
|
+
createdAt?: number;
|
|
1453
1124
|
organizationId?: string;
|
|
1454
1125
|
role?: string;
|
|
1455
|
-
|
|
1456
|
-
teamId?: string;
|
|
1126
|
+
userId?: string;
|
|
1457
1127
|
};
|
|
1458
1128
|
where?: Array<{
|
|
1459
1129
|
connector?: "AND" | "OR";
|
|
@@ -1480,7 +1150,7 @@ export type Mounts = {
|
|
|
1480
1150
|
}
|
|
1481
1151
|
| {
|
|
1482
1152
|
limit?: number;
|
|
1483
|
-
model: "
|
|
1153
|
+
model: "invitation";
|
|
1484
1154
|
offset?: number;
|
|
1485
1155
|
paginationOpts: {
|
|
1486
1156
|
cursor: string | null;
|
|
@@ -1494,10 +1164,13 @@ export type Mounts = {
|
|
|
1494
1164
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1495
1165
|
unique?: boolean;
|
|
1496
1166
|
update: {
|
|
1497
|
-
|
|
1498
|
-
|
|
1167
|
+
email?: string;
|
|
1168
|
+
expiresAt?: number;
|
|
1169
|
+
inviterId?: string;
|
|
1499
1170
|
organizationId?: string;
|
|
1500
|
-
|
|
1171
|
+
role?: null | string;
|
|
1172
|
+
status?: string;
|
|
1173
|
+
teamId?: null | string;
|
|
1501
1174
|
};
|
|
1502
1175
|
where?: Array<{
|
|
1503
1176
|
connector?: "AND" | "OR";
|
|
@@ -1540,11 +1213,11 @@ export type Mounts = {
|
|
|
1540
1213
|
update: {
|
|
1541
1214
|
domain?: string;
|
|
1542
1215
|
issuer?: string;
|
|
1543
|
-
oidcConfig?: string;
|
|
1544
|
-
organizationId?: string;
|
|
1216
|
+
oidcConfig?: null | string;
|
|
1217
|
+
organizationId?: null | string;
|
|
1545
1218
|
providerId?: string;
|
|
1546
|
-
samlConfig?: string;
|
|
1547
|
-
userId?: string;
|
|
1219
|
+
samlConfig?: null | string;
|
|
1220
|
+
userId?: null | string;
|
|
1548
1221
|
};
|
|
1549
1222
|
where?: Array<{
|
|
1550
1223
|
connector?: "AND" | "OR";
|
|
@@ -1628,15 +1301,62 @@ export type Mounts = {
|
|
|
1628
1301
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1629
1302
|
unique?: boolean;
|
|
1630
1303
|
update: {
|
|
1631
|
-
cancelAtPeriodEnd?: boolean;
|
|
1632
|
-
periodEnd?: number;
|
|
1633
|
-
periodStart?: number;
|
|
1304
|
+
cancelAtPeriodEnd?: null | boolean;
|
|
1305
|
+
periodEnd?: null | number;
|
|
1306
|
+
periodStart?: null | number;
|
|
1634
1307
|
plan?: string;
|
|
1635
1308
|
referenceId?: string;
|
|
1636
|
-
seats?: number;
|
|
1637
|
-
status?: string;
|
|
1638
|
-
stripeCustomerId?: string;
|
|
1639
|
-
stripeSubscriptionId?: string;
|
|
1309
|
+
seats?: null | number;
|
|
1310
|
+
status?: null | string;
|
|
1311
|
+
stripeCustomerId?: null | string;
|
|
1312
|
+
stripeSubscriptionId?: null | string;
|
|
1313
|
+
trialEnd?: null | number;
|
|
1314
|
+
trialStart?: null | number;
|
|
1315
|
+
};
|
|
1316
|
+
where?: Array<{
|
|
1317
|
+
connector?: "AND" | "OR";
|
|
1318
|
+
field: string;
|
|
1319
|
+
operator?:
|
|
1320
|
+
| "lt"
|
|
1321
|
+
| "lte"
|
|
1322
|
+
| "gt"
|
|
1323
|
+
| "gte"
|
|
1324
|
+
| "eq"
|
|
1325
|
+
| "in"
|
|
1326
|
+
| "ne"
|
|
1327
|
+
| "contains"
|
|
1328
|
+
| "starts_with"
|
|
1329
|
+
| "ends_with";
|
|
1330
|
+
value:
|
|
1331
|
+
| string
|
|
1332
|
+
| number
|
|
1333
|
+
| boolean
|
|
1334
|
+
| Array<string>
|
|
1335
|
+
| Array<number>
|
|
1336
|
+
| null;
|
|
1337
|
+
}>;
|
|
1338
|
+
}
|
|
1339
|
+
| {
|
|
1340
|
+
limit?: number;
|
|
1341
|
+
model: "walletAddress";
|
|
1342
|
+
offset?: number;
|
|
1343
|
+
paginationOpts: {
|
|
1344
|
+
cursor: string | null;
|
|
1345
|
+
endCursor?: string | null;
|
|
1346
|
+
id?: number;
|
|
1347
|
+
maximumBytesRead?: number;
|
|
1348
|
+
maximumRowsRead?: number;
|
|
1349
|
+
numItems: number;
|
|
1350
|
+
};
|
|
1351
|
+
select?: Array<string>;
|
|
1352
|
+
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1353
|
+
unique?: boolean;
|
|
1354
|
+
update: {
|
|
1355
|
+
address?: string;
|
|
1356
|
+
chainId?: number;
|
|
1357
|
+
createdAt?: number;
|
|
1358
|
+
isPrimary?: null | boolean;
|
|
1359
|
+
userId?: string;
|
|
1640
1360
|
};
|
|
1641
1361
|
where?: Array<{
|
|
1642
1362
|
connector?: "AND" | "OR";
|
|
@@ -1676,7 +1396,11 @@ export type Mounts = {
|
|
|
1676
1396
|
select?: Array<string>;
|
|
1677
1397
|
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1678
1398
|
unique?: boolean;
|
|
1679
|
-
update: {
|
|
1399
|
+
update: {
|
|
1400
|
+
count?: null | number;
|
|
1401
|
+
key?: null | string;
|
|
1402
|
+
lastRequest?: null | number;
|
|
1403
|
+
};
|
|
1680
1404
|
where?: Array<{
|
|
1681
1405
|
connector?: "AND" | "OR";
|
|
1682
1406
|
field: string;
|
|
@@ -1711,24 +1435,25 @@ export type Mounts = {
|
|
|
1711
1435
|
| {
|
|
1712
1436
|
model: "user";
|
|
1713
1437
|
update: {
|
|
1714
|
-
banExpires?: number;
|
|
1715
|
-
banReason?: string;
|
|
1716
|
-
banned?: boolean;
|
|
1438
|
+
banExpires?: null | number;
|
|
1439
|
+
banReason?: null | string;
|
|
1440
|
+
banned?: null | boolean;
|
|
1717
1441
|
createdAt?: number;
|
|
1718
|
-
displayUsername?: string;
|
|
1442
|
+
displayUsername?: null | string;
|
|
1719
1443
|
email?: string;
|
|
1720
1444
|
emailVerified?: boolean;
|
|
1721
|
-
image?: string;
|
|
1722
|
-
isAnonymous?: boolean;
|
|
1445
|
+
image?: null | string;
|
|
1446
|
+
isAnonymous?: null | boolean;
|
|
1723
1447
|
name?: string;
|
|
1724
|
-
phoneNumber?: string;
|
|
1725
|
-
phoneNumberVerified?: boolean;
|
|
1726
|
-
role?: string;
|
|
1727
|
-
stripeCustomerId?: string;
|
|
1728
|
-
|
|
1448
|
+
phoneNumber?: null | string;
|
|
1449
|
+
phoneNumberVerified?: null | boolean;
|
|
1450
|
+
role?: null | string;
|
|
1451
|
+
stripeCustomerId?: null | string;
|
|
1452
|
+
teamId?: null | string;
|
|
1453
|
+
twoFactorEnabled?: null | boolean;
|
|
1729
1454
|
updatedAt?: number;
|
|
1730
|
-
userId?: string;
|
|
1731
|
-
username?: string;
|
|
1455
|
+
userId?: null | string;
|
|
1456
|
+
username?: null | string;
|
|
1732
1457
|
};
|
|
1733
1458
|
where?: Array<{
|
|
1734
1459
|
connector?: "AND" | "OR";
|
|
@@ -1756,14 +1481,15 @@ export type Mounts = {
|
|
|
1756
1481
|
| {
|
|
1757
1482
|
model: "session";
|
|
1758
1483
|
update: {
|
|
1759
|
-
activeOrganizationId?: string;
|
|
1484
|
+
activeOrganizationId?: null | string;
|
|
1485
|
+
activeTeamId?: null | string;
|
|
1760
1486
|
createdAt?: number;
|
|
1761
1487
|
expiresAt?: number;
|
|
1762
|
-
impersonatedBy?: string;
|
|
1763
|
-
ipAddress?: string;
|
|
1488
|
+
impersonatedBy?: null | string;
|
|
1489
|
+
ipAddress?: null | string;
|
|
1764
1490
|
token?: string;
|
|
1765
1491
|
updatedAt?: number;
|
|
1766
|
-
userAgent?: string;
|
|
1492
|
+
userAgent?: null | string;
|
|
1767
1493
|
userId?: string;
|
|
1768
1494
|
};
|
|
1769
1495
|
where?: Array<{
|
|
@@ -1792,16 +1518,16 @@ export type Mounts = {
|
|
|
1792
1518
|
| {
|
|
1793
1519
|
model: "account";
|
|
1794
1520
|
update: {
|
|
1795
|
-
accessToken?: string;
|
|
1796
|
-
accessTokenExpiresAt?: number;
|
|
1521
|
+
accessToken?: null | string;
|
|
1522
|
+
accessTokenExpiresAt?: null | number;
|
|
1797
1523
|
accountId?: string;
|
|
1798
1524
|
createdAt?: number;
|
|
1799
|
-
idToken?: string;
|
|
1800
|
-
password?: string;
|
|
1525
|
+
idToken?: null | string;
|
|
1526
|
+
password?: null | string;
|
|
1801
1527
|
providerId?: string;
|
|
1802
|
-
refreshToken?: string;
|
|
1803
|
-
refreshTokenExpiresAt?: number;
|
|
1804
|
-
scope?: string;
|
|
1528
|
+
refreshToken?: null | string;
|
|
1529
|
+
refreshTokenExpiresAt?: null | number;
|
|
1530
|
+
scope?: null | string;
|
|
1805
1531
|
updatedAt?: number;
|
|
1806
1532
|
userId?: string;
|
|
1807
1533
|
};
|
|
@@ -1893,15 +1619,15 @@ export type Mounts = {
|
|
|
1893
1619
|
| {
|
|
1894
1620
|
model: "passkey";
|
|
1895
1621
|
update: {
|
|
1896
|
-
aaguid?: string;
|
|
1622
|
+
aaguid?: null | string;
|
|
1897
1623
|
backedUp?: boolean;
|
|
1898
1624
|
counter?: number;
|
|
1899
|
-
createdAt?: number;
|
|
1625
|
+
createdAt?: null | number;
|
|
1900
1626
|
credentialID?: string;
|
|
1901
1627
|
deviceType?: string;
|
|
1902
|
-
name?: string;
|
|
1628
|
+
name?: null | string;
|
|
1903
1629
|
publicKey?: string;
|
|
1904
|
-
transports?: string;
|
|
1630
|
+
transports?: null | string;
|
|
1905
1631
|
userId?: string;
|
|
1906
1632
|
};
|
|
1907
1633
|
where?: Array<{
|
|
@@ -1931,23 +1657,23 @@ export type Mounts = {
|
|
|
1931
1657
|
model: "apikey";
|
|
1932
1658
|
update: {
|
|
1933
1659
|
createdAt?: number;
|
|
1934
|
-
enabled?: boolean;
|
|
1935
|
-
expiresAt?: number;
|
|
1660
|
+
enabled?: null | boolean;
|
|
1661
|
+
expiresAt?: null | number;
|
|
1936
1662
|
key?: string;
|
|
1937
|
-
lastRefillAt?: number;
|
|
1938
|
-
lastRequest?: number;
|
|
1939
|
-
metadata?: string;
|
|
1940
|
-
name?: string;
|
|
1941
|
-
permissions?: string;
|
|
1942
|
-
prefix?: string;
|
|
1943
|
-
rateLimitEnabled?: boolean;
|
|
1944
|
-
rateLimitMax?: number;
|
|
1945
|
-
rateLimitTimeWindow?: number;
|
|
1946
|
-
refillAmount?: number;
|
|
1947
|
-
refillInterval?: number;
|
|
1948
|
-
remaining?: number;
|
|
1949
|
-
requestCount?: number;
|
|
1950
|
-
start?: string;
|
|
1663
|
+
lastRefillAt?: null | number;
|
|
1664
|
+
lastRequest?: null | number;
|
|
1665
|
+
metadata?: null | string;
|
|
1666
|
+
name?: null | string;
|
|
1667
|
+
permissions?: null | string;
|
|
1668
|
+
prefix?: null | string;
|
|
1669
|
+
rateLimitEnabled?: null | boolean;
|
|
1670
|
+
rateLimitMax?: null | number;
|
|
1671
|
+
rateLimitTimeWindow?: null | number;
|
|
1672
|
+
refillAmount?: null | number;
|
|
1673
|
+
refillInterval?: null | number;
|
|
1674
|
+
remaining?: null | number;
|
|
1675
|
+
requestCount?: null | number;
|
|
1676
|
+
start?: null | string;
|
|
1951
1677
|
updatedAt?: number;
|
|
1952
1678
|
userId?: string;
|
|
1953
1679
|
};
|
|
@@ -1977,17 +1703,17 @@ export type Mounts = {
|
|
|
1977
1703
|
| {
|
|
1978
1704
|
model: "oauthApplication";
|
|
1979
1705
|
update: {
|
|
1980
|
-
clientId?: string;
|
|
1981
|
-
clientSecret?: string;
|
|
1982
|
-
createdAt?: number;
|
|
1983
|
-
disabled?: boolean;
|
|
1984
|
-
icon?: string;
|
|
1985
|
-
metadata?: string;
|
|
1986
|
-
name?: string;
|
|
1987
|
-
redirectURLs?: string;
|
|
1988
|
-
type?: string;
|
|
1989
|
-
updatedAt?: number;
|
|
1990
|
-
userId?: string;
|
|
1706
|
+
clientId?: null | string;
|
|
1707
|
+
clientSecret?: null | string;
|
|
1708
|
+
createdAt?: null | number;
|
|
1709
|
+
disabled?: null | boolean;
|
|
1710
|
+
icon?: null | string;
|
|
1711
|
+
metadata?: null | string;
|
|
1712
|
+
name?: null | string;
|
|
1713
|
+
redirectURLs?: null | string;
|
|
1714
|
+
type?: null | string;
|
|
1715
|
+
updatedAt?: null | number;
|
|
1716
|
+
userId?: null | string;
|
|
1991
1717
|
};
|
|
1992
1718
|
where?: Array<{
|
|
1993
1719
|
connector?: "AND" | "OR";
|
|
@@ -2015,15 +1741,15 @@ export type Mounts = {
|
|
|
2015
1741
|
| {
|
|
2016
1742
|
model: "oauthAccessToken";
|
|
2017
1743
|
update: {
|
|
2018
|
-
accessToken?: string;
|
|
2019
|
-
accessTokenExpiresAt?: number;
|
|
2020
|
-
clientId?: string;
|
|
2021
|
-
createdAt?: number;
|
|
2022
|
-
refreshToken?: string;
|
|
2023
|
-
refreshTokenExpiresAt?: number;
|
|
2024
|
-
scopes?: string;
|
|
2025
|
-
updatedAt?: number;
|
|
2026
|
-
userId?: string;
|
|
1744
|
+
accessToken?: null | string;
|
|
1745
|
+
accessTokenExpiresAt?: null | number;
|
|
1746
|
+
clientId?: null | string;
|
|
1747
|
+
createdAt?: null | number;
|
|
1748
|
+
refreshToken?: null | string;
|
|
1749
|
+
refreshTokenExpiresAt?: null | number;
|
|
1750
|
+
scopes?: null | string;
|
|
1751
|
+
updatedAt?: null | number;
|
|
1752
|
+
userId?: null | string;
|
|
2027
1753
|
};
|
|
2028
1754
|
where?: Array<{
|
|
2029
1755
|
connector?: "AND" | "OR";
|
|
@@ -2051,12 +1777,12 @@ export type Mounts = {
|
|
|
2051
1777
|
| {
|
|
2052
1778
|
model: "oauthConsent";
|
|
2053
1779
|
update: {
|
|
2054
|
-
clientId?: string;
|
|
2055
|
-
consentGiven?: boolean;
|
|
2056
|
-
createdAt?: number;
|
|
2057
|
-
scopes?: string;
|
|
2058
|
-
updatedAt?: number;
|
|
2059
|
-
userId?: string;
|
|
1780
|
+
clientId?: null | string;
|
|
1781
|
+
consentGiven?: null | boolean;
|
|
1782
|
+
createdAt?: null | number;
|
|
1783
|
+
scopes?: null | string;
|
|
1784
|
+
updatedAt?: null | number;
|
|
1785
|
+
userId?: null | string;
|
|
2060
1786
|
};
|
|
2061
1787
|
where?: Array<{
|
|
2062
1788
|
connector?: "AND" | "OR";
|
|
@@ -2082,13 +1808,12 @@ export type Mounts = {
|
|
|
2082
1808
|
}>;
|
|
2083
1809
|
}
|
|
2084
1810
|
| {
|
|
2085
|
-
model: "
|
|
1811
|
+
model: "team";
|
|
2086
1812
|
update: {
|
|
2087
1813
|
createdAt?: number;
|
|
2088
|
-
logo?: string;
|
|
2089
|
-
metadata?: string;
|
|
2090
1814
|
name?: string;
|
|
2091
|
-
|
|
1815
|
+
organizationId?: string;
|
|
1816
|
+
updatedAt?: null | number;
|
|
2092
1817
|
};
|
|
2093
1818
|
where?: Array<{
|
|
2094
1819
|
connector?: "AND" | "OR";
|
|
@@ -2114,11 +1839,9 @@ export type Mounts = {
|
|
|
2114
1839
|
}>;
|
|
2115
1840
|
}
|
|
2116
1841
|
| {
|
|
2117
|
-
model: "
|
|
1842
|
+
model: "teamMember";
|
|
2118
1843
|
update: {
|
|
2119
|
-
createdAt?: number;
|
|
2120
|
-
organizationId?: string;
|
|
2121
|
-
role?: string;
|
|
1844
|
+
createdAt?: null | number;
|
|
2122
1845
|
teamId?: string;
|
|
2123
1846
|
userId?: string;
|
|
2124
1847
|
};
|
|
@@ -2146,15 +1869,44 @@ export type Mounts = {
|
|
|
2146
1869
|
}>;
|
|
2147
1870
|
}
|
|
2148
1871
|
| {
|
|
2149
|
-
model: "
|
|
1872
|
+
model: "organization";
|
|
2150
1873
|
update: {
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
1874
|
+
createdAt?: number;
|
|
1875
|
+
logo?: null | string;
|
|
1876
|
+
metadata?: null | string;
|
|
1877
|
+
name?: string;
|
|
1878
|
+
slug?: null | string;
|
|
1879
|
+
};
|
|
1880
|
+
where?: Array<{
|
|
1881
|
+
connector?: "AND" | "OR";
|
|
1882
|
+
field: string;
|
|
1883
|
+
operator?:
|
|
1884
|
+
| "lt"
|
|
1885
|
+
| "lte"
|
|
1886
|
+
| "gt"
|
|
1887
|
+
| "gte"
|
|
1888
|
+
| "eq"
|
|
1889
|
+
| "in"
|
|
1890
|
+
| "ne"
|
|
1891
|
+
| "contains"
|
|
1892
|
+
| "starts_with"
|
|
1893
|
+
| "ends_with";
|
|
1894
|
+
value:
|
|
1895
|
+
| string
|
|
1896
|
+
| number
|
|
1897
|
+
| boolean
|
|
1898
|
+
| Array<string>
|
|
1899
|
+
| Array<number>
|
|
1900
|
+
| null;
|
|
1901
|
+
}>;
|
|
1902
|
+
}
|
|
1903
|
+
| {
|
|
1904
|
+
model: "member";
|
|
1905
|
+
update: {
|
|
1906
|
+
createdAt?: number;
|
|
2154
1907
|
organizationId?: string;
|
|
2155
1908
|
role?: string;
|
|
2156
|
-
|
|
2157
|
-
teamId?: string;
|
|
1909
|
+
userId?: string;
|
|
2158
1910
|
};
|
|
2159
1911
|
where?: Array<{
|
|
2160
1912
|
connector?: "AND" | "OR";
|
|
@@ -2180,12 +1932,15 @@ export type Mounts = {
|
|
|
2180
1932
|
}>;
|
|
2181
1933
|
}
|
|
2182
1934
|
| {
|
|
2183
|
-
model: "
|
|
1935
|
+
model: "invitation";
|
|
2184
1936
|
update: {
|
|
2185
|
-
|
|
2186
|
-
|
|
1937
|
+
email?: string;
|
|
1938
|
+
expiresAt?: number;
|
|
1939
|
+
inviterId?: string;
|
|
2187
1940
|
organizationId?: string;
|
|
2188
|
-
|
|
1941
|
+
role?: null | string;
|
|
1942
|
+
status?: string;
|
|
1943
|
+
teamId?: null | string;
|
|
2189
1944
|
};
|
|
2190
1945
|
where?: Array<{
|
|
2191
1946
|
connector?: "AND" | "OR";
|
|
@@ -2215,11 +1970,11 @@ export type Mounts = {
|
|
|
2215
1970
|
update: {
|
|
2216
1971
|
domain?: string;
|
|
2217
1972
|
issuer?: string;
|
|
2218
|
-
oidcConfig?: string;
|
|
2219
|
-
organizationId?: string;
|
|
1973
|
+
oidcConfig?: null | string;
|
|
1974
|
+
organizationId?: null | string;
|
|
2220
1975
|
providerId?: string;
|
|
2221
|
-
samlConfig?: string;
|
|
2222
|
-
userId?: string;
|
|
1976
|
+
samlConfig?: null | string;
|
|
1977
|
+
userId?: null | string;
|
|
2223
1978
|
};
|
|
2224
1979
|
where?: Array<{
|
|
2225
1980
|
connector?: "AND" | "OR";
|
|
@@ -2277,15 +2032,49 @@ export type Mounts = {
|
|
|
2277
2032
|
| {
|
|
2278
2033
|
model: "subscription";
|
|
2279
2034
|
update: {
|
|
2280
|
-
cancelAtPeriodEnd?: boolean;
|
|
2281
|
-
periodEnd?: number;
|
|
2282
|
-
periodStart?: number;
|
|
2035
|
+
cancelAtPeriodEnd?: null | boolean;
|
|
2036
|
+
periodEnd?: null | number;
|
|
2037
|
+
periodStart?: null | number;
|
|
2283
2038
|
plan?: string;
|
|
2284
2039
|
referenceId?: string;
|
|
2285
|
-
seats?: number;
|
|
2286
|
-
status?: string;
|
|
2287
|
-
stripeCustomerId?: string;
|
|
2288
|
-
stripeSubscriptionId?: string;
|
|
2040
|
+
seats?: null | number;
|
|
2041
|
+
status?: null | string;
|
|
2042
|
+
stripeCustomerId?: null | string;
|
|
2043
|
+
stripeSubscriptionId?: null | string;
|
|
2044
|
+
trialEnd?: null | number;
|
|
2045
|
+
trialStart?: null | number;
|
|
2046
|
+
};
|
|
2047
|
+
where?: Array<{
|
|
2048
|
+
connector?: "AND" | "OR";
|
|
2049
|
+
field: string;
|
|
2050
|
+
operator?:
|
|
2051
|
+
| "lt"
|
|
2052
|
+
| "lte"
|
|
2053
|
+
| "gt"
|
|
2054
|
+
| "gte"
|
|
2055
|
+
| "eq"
|
|
2056
|
+
| "in"
|
|
2057
|
+
| "ne"
|
|
2058
|
+
| "contains"
|
|
2059
|
+
| "starts_with"
|
|
2060
|
+
| "ends_with";
|
|
2061
|
+
value:
|
|
2062
|
+
| string
|
|
2063
|
+
| number
|
|
2064
|
+
| boolean
|
|
2065
|
+
| Array<string>
|
|
2066
|
+
| Array<number>
|
|
2067
|
+
| null;
|
|
2068
|
+
}>;
|
|
2069
|
+
}
|
|
2070
|
+
| {
|
|
2071
|
+
model: "walletAddress";
|
|
2072
|
+
update: {
|
|
2073
|
+
address?: string;
|
|
2074
|
+
chainId?: number;
|
|
2075
|
+
createdAt?: number;
|
|
2076
|
+
isPrimary?: null | boolean;
|
|
2077
|
+
userId?: string;
|
|
2289
2078
|
};
|
|
2290
2079
|
where?: Array<{
|
|
2291
2080
|
connector?: "AND" | "OR";
|
|
@@ -2312,7 +2101,11 @@ export type Mounts = {
|
|
|
2312
2101
|
}
|
|
2313
2102
|
| {
|
|
2314
2103
|
model: "rateLimit";
|
|
2315
|
-
update: {
|
|
2104
|
+
update: {
|
|
2105
|
+
count?: null | number;
|
|
2106
|
+
key?: null | string;
|
|
2107
|
+
lastRequest?: null | number;
|
|
2108
|
+
};
|
|
2316
2109
|
where?: Array<{
|
|
2317
2110
|
connector?: "AND" | "OR";
|
|
2318
2111
|
field: string;
|