@convex-dev/better-auth 0.7.11 → 0.7.12
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/README.md +4 -3
- package/dist/commonjs/client/index.d.ts +313 -280
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +4 -5
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/component/lib.d.ts +113 -97
- package/dist/commonjs/component/lib.d.ts.map +1 -1
- package/dist/commonjs/component/lib.js +31 -18
- package/dist/commonjs/component/lib.js.map +1 -1
- package/dist/commonjs/component/schema.d.ts +235 -199
- package/dist/commonjs/component/schema.d.ts.map +1 -1
- package/dist/commonjs/component/schema.js +125 -102
- package/dist/commonjs/component/schema.js.map +1 -1
- package/dist/commonjs/component/util.d.ts +491 -404
- package/dist/commonjs/component/util.d.ts.map +1 -1
- package/dist/commonjs/nextjs/index.d.ts.map +1 -1
- package/dist/commonjs/nextjs/index.js +18 -2
- package/dist/commonjs/nextjs/index.js.map +1 -1
- package/dist/commonjs/plugins/convex/index.d.ts +9 -9
- package/dist/commonjs/plugins/convex/index.d.ts.map +1 -1
- package/dist/commonjs/react-start/index.d.ts +6 -6
- package/dist/esm/client/index.d.ts +313 -280
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +4 -5
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/component/lib.d.ts +113 -97
- package/dist/esm/component/lib.d.ts.map +1 -1
- package/dist/esm/component/lib.js +31 -18
- package/dist/esm/component/lib.js.map +1 -1
- package/dist/esm/component/schema.d.ts +235 -199
- package/dist/esm/component/schema.d.ts.map +1 -1
- package/dist/esm/component/schema.js +125 -102
- package/dist/esm/component/schema.js.map +1 -1
- package/dist/esm/component/util.d.ts +491 -404
- package/dist/esm/component/util.d.ts.map +1 -1
- package/dist/esm/nextjs/index.d.ts.map +1 -1
- package/dist/esm/nextjs/index.js +18 -2
- package/dist/esm/nextjs/index.js.map +1 -1
- package/dist/esm/plugins/convex/index.d.ts +9 -9
- package/dist/esm/plugins/convex/index.d.ts.map +1 -1
- package/dist/esm/react-start/index.d.ts +6 -6
- package/package.json +5 -5
- package/src/client/index.ts +4 -5
- package/src/component/lib.ts +42 -27
- package/src/component/schema.ts +127 -102
- package/src/nextjs/index.ts +23 -2
|
@@ -4,31 +4,31 @@ export declare const vv: {
|
|
|
4
4
|
document: {
|
|
5
5
|
_id: import("convex/values").GenericId<"user">;
|
|
6
6
|
_creationTime: number;
|
|
7
|
-
image?: string | undefined;
|
|
8
|
-
twoFactorEnabled?: boolean | undefined;
|
|
9
|
-
isAnonymous?: boolean | undefined;
|
|
10
|
-
username?: string | undefined;
|
|
11
|
-
displayUsername?: string | undefined;
|
|
12
|
-
phoneNumber?: string | undefined;
|
|
13
|
-
phoneNumberVerified?: boolean | undefined;
|
|
14
|
-
role?: string | undefined;
|
|
15
|
-
banned?: boolean | undefined;
|
|
16
|
-
banReason?: string | undefined;
|
|
17
|
-
banExpires?: number | undefined;
|
|
18
|
-
stripeCustomerId?: string | undefined;
|
|
19
|
-
userId?: string | undefined;
|
|
7
|
+
image?: string | null | undefined;
|
|
8
|
+
twoFactorEnabled?: boolean | null | undefined;
|
|
9
|
+
isAnonymous?: boolean | null | undefined;
|
|
10
|
+
username?: string | null | undefined;
|
|
11
|
+
displayUsername?: string | null | undefined;
|
|
12
|
+
phoneNumber?: string | null | undefined;
|
|
13
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
14
|
+
role?: string | null | undefined;
|
|
15
|
+
banned?: boolean | null | undefined;
|
|
16
|
+
banReason?: string | null | undefined;
|
|
17
|
+
banExpires?: number | null | undefined;
|
|
18
|
+
stripeCustomerId?: string | null | undefined;
|
|
19
|
+
userId?: string | null | undefined;
|
|
20
|
+
teamId?: string | null | undefined;
|
|
20
21
|
name: string;
|
|
21
22
|
email: string;
|
|
22
23
|
emailVerified: boolean;
|
|
23
24
|
createdAt: number;
|
|
24
25
|
updatedAt: number;
|
|
25
26
|
};
|
|
26
|
-
fieldPaths: ("name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "_creationTime") | "_id";
|
|
27
|
+
fieldPaths: ("name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
27
28
|
indexes: {
|
|
28
29
|
email_name: ["email", "name", "_creationTime"];
|
|
29
30
|
name: ["name", "_creationTime"];
|
|
30
31
|
userId: ["userId", "_creationTime"];
|
|
31
|
-
email: ["email", "_creationTime"];
|
|
32
32
|
username: ["username", "_creationTime"];
|
|
33
33
|
phoneNumber: ["phoneNumber", "_creationTime"];
|
|
34
34
|
by_id: ["_id"];
|
|
@@ -41,17 +41,18 @@ export declare const vv: {
|
|
|
41
41
|
document: {
|
|
42
42
|
_id: import("convex/values").GenericId<"session">;
|
|
43
43
|
_creationTime: number;
|
|
44
|
-
ipAddress?: string | undefined;
|
|
45
|
-
userAgent?: string | undefined;
|
|
46
|
-
impersonatedBy?: string | undefined;
|
|
47
|
-
activeOrganizationId?: string | undefined;
|
|
44
|
+
ipAddress?: string | null | undefined;
|
|
45
|
+
userAgent?: string | null | undefined;
|
|
46
|
+
impersonatedBy?: string | null | undefined;
|
|
47
|
+
activeOrganizationId?: string | null | undefined;
|
|
48
|
+
activeTeamId?: string | null | undefined;
|
|
48
49
|
createdAt: number;
|
|
49
50
|
updatedAt: number;
|
|
50
51
|
userId: string;
|
|
51
52
|
expiresAt: number;
|
|
52
53
|
token: string;
|
|
53
54
|
};
|
|
54
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId") | "_id";
|
|
55
|
+
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId" | "activeTeamId") | "_id";
|
|
55
56
|
indexes: {
|
|
56
57
|
expiresAt: ["expiresAt", "_creationTime"];
|
|
57
58
|
expiresAt_userId: ["expiresAt", "userId", "_creationTime"];
|
|
@@ -67,13 +68,13 @@ export declare const vv: {
|
|
|
67
68
|
document: {
|
|
68
69
|
_id: import("convex/values").GenericId<"account">;
|
|
69
70
|
_creationTime: number;
|
|
70
|
-
accessToken?: string | undefined;
|
|
71
|
-
refreshToken?: string | undefined;
|
|
72
|
-
idToken?: string | undefined;
|
|
73
|
-
accessTokenExpiresAt?: number | undefined;
|
|
74
|
-
refreshTokenExpiresAt?: number | undefined;
|
|
75
|
-
scope?: string | undefined;
|
|
76
|
-
password?: string | undefined;
|
|
71
|
+
accessToken?: string | null | undefined;
|
|
72
|
+
refreshToken?: string | null | undefined;
|
|
73
|
+
idToken?: string | null | undefined;
|
|
74
|
+
accessTokenExpiresAt?: number | null | undefined;
|
|
75
|
+
refreshTokenExpiresAt?: number | null | undefined;
|
|
76
|
+
scope?: string | null | undefined;
|
|
77
|
+
password?: string | null | undefined;
|
|
77
78
|
createdAt: number;
|
|
78
79
|
updatedAt: number;
|
|
79
80
|
userId: string;
|
|
@@ -96,8 +97,8 @@ export declare const vv: {
|
|
|
96
97
|
document: {
|
|
97
98
|
_id: import("convex/values").GenericId<"verification">;
|
|
98
99
|
_creationTime: number;
|
|
99
|
-
createdAt?: number | undefined;
|
|
100
|
-
updatedAt?: number | undefined;
|
|
100
|
+
createdAt?: number | null | undefined;
|
|
101
|
+
updatedAt?: number | null | undefined;
|
|
101
102
|
expiresAt: number;
|
|
102
103
|
identifier: string;
|
|
103
104
|
value: string;
|
|
@@ -133,10 +134,10 @@ export declare const vv: {
|
|
|
133
134
|
document: {
|
|
134
135
|
_id: import("convex/values").GenericId<"passkey">;
|
|
135
136
|
_creationTime: number;
|
|
136
|
-
name?: string | undefined;
|
|
137
|
-
createdAt?: number | undefined;
|
|
138
|
-
transports?: string | undefined;
|
|
139
|
-
aaguid?: string | undefined;
|
|
137
|
+
name?: string | null | undefined;
|
|
138
|
+
createdAt?: number | null | undefined;
|
|
139
|
+
transports?: string | null | undefined;
|
|
140
|
+
aaguid?: string | null | undefined;
|
|
140
141
|
userId: string;
|
|
141
142
|
publicKey: string;
|
|
142
143
|
credentialID: string;
|
|
@@ -158,22 +159,22 @@ export declare const vv: {
|
|
|
158
159
|
document: {
|
|
159
160
|
_id: import("convex/values").GenericId<"apikey">;
|
|
160
161
|
_creationTime: number;
|
|
161
|
-
name?: string | undefined;
|
|
162
|
-
expiresAt?: number | undefined;
|
|
163
|
-
start?: string | undefined;
|
|
164
|
-
prefix?: string | undefined;
|
|
165
|
-
refillInterval?: number | undefined;
|
|
166
|
-
refillAmount?: number | undefined;
|
|
167
|
-
lastRefillAt?: number | undefined;
|
|
168
|
-
enabled?: boolean | undefined;
|
|
169
|
-
rateLimitEnabled?: boolean | undefined;
|
|
170
|
-
rateLimitTimeWindow?: number | undefined;
|
|
171
|
-
rateLimitMax?: number | undefined;
|
|
172
|
-
requestCount?: number | undefined;
|
|
173
|
-
remaining?: number | undefined;
|
|
174
|
-
lastRequest?: number | undefined;
|
|
175
|
-
permissions?: string | undefined;
|
|
176
|
-
metadata?: string | undefined;
|
|
162
|
+
name?: string | null | undefined;
|
|
163
|
+
expiresAt?: number | null | undefined;
|
|
164
|
+
start?: string | null | undefined;
|
|
165
|
+
prefix?: string | null | undefined;
|
|
166
|
+
refillInterval?: number | null | undefined;
|
|
167
|
+
refillAmount?: number | null | undefined;
|
|
168
|
+
lastRefillAt?: number | null | undefined;
|
|
169
|
+
enabled?: boolean | null | undefined;
|
|
170
|
+
rateLimitEnabled?: boolean | null | undefined;
|
|
171
|
+
rateLimitTimeWindow?: number | null | undefined;
|
|
172
|
+
rateLimitMax?: number | null | undefined;
|
|
173
|
+
requestCount?: number | null | undefined;
|
|
174
|
+
remaining?: number | null | undefined;
|
|
175
|
+
lastRequest?: number | null | undefined;
|
|
176
|
+
permissions?: string | null | undefined;
|
|
177
|
+
metadata?: string | null | undefined;
|
|
177
178
|
createdAt: number;
|
|
178
179
|
updatedAt: number;
|
|
179
180
|
userId: string;
|
|
@@ -193,19 +194,19 @@ export declare const vv: {
|
|
|
193
194
|
document: {
|
|
194
195
|
_id: import("convex/values").GenericId<"oauthApplication">;
|
|
195
196
|
_creationTime: number;
|
|
196
|
-
name?: string | undefined;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
metadata?: string | undefined;
|
|
202
|
-
icon?: string | undefined;
|
|
203
|
-
clientId?: string | undefined;
|
|
204
|
-
clientSecret?: string | undefined;
|
|
205
|
-
redirectURLs?: string | undefined;
|
|
206
|
-
disabled?: boolean | undefined;
|
|
207
|
-
};
|
|
208
|
-
fieldPaths: ("name" | "
|
|
197
|
+
name?: string | null | undefined;
|
|
198
|
+
type?: string | null | undefined;
|
|
199
|
+
createdAt?: number | null | undefined;
|
|
200
|
+
updatedAt?: number | null | undefined;
|
|
201
|
+
userId?: string | null | undefined;
|
|
202
|
+
metadata?: string | null | undefined;
|
|
203
|
+
icon?: string | null | undefined;
|
|
204
|
+
clientId?: string | null | undefined;
|
|
205
|
+
clientSecret?: string | null | undefined;
|
|
206
|
+
redirectURLs?: string | null | undefined;
|
|
207
|
+
disabled?: boolean | null | undefined;
|
|
208
|
+
};
|
|
209
|
+
fieldPaths: ("name" | "type" | "createdAt" | "updatedAt" | "userId" | "_creationTime" | "metadata" | "icon" | "clientId" | "clientSecret" | "redirectURLs" | "disabled") | "_id";
|
|
209
210
|
indexes: {
|
|
210
211
|
clientId: ["clientId", "_creationTime"];
|
|
211
212
|
by_id: ["_id"];
|
|
@@ -218,15 +219,15 @@ export declare const vv: {
|
|
|
218
219
|
document: {
|
|
219
220
|
_id: import("convex/values").GenericId<"oauthAccessToken">;
|
|
220
221
|
_creationTime: number;
|
|
221
|
-
createdAt?: number | undefined;
|
|
222
|
-
updatedAt?: number | undefined;
|
|
223
|
-
userId?: string | undefined;
|
|
224
|
-
accessToken?: string | undefined;
|
|
225
|
-
refreshToken?: string | undefined;
|
|
226
|
-
accessTokenExpiresAt?: number | undefined;
|
|
227
|
-
refreshTokenExpiresAt?: number | undefined;
|
|
228
|
-
clientId?: string | undefined;
|
|
229
|
-
scopes?: string | undefined;
|
|
222
|
+
createdAt?: number | null | undefined;
|
|
223
|
+
updatedAt?: number | null | undefined;
|
|
224
|
+
userId?: string | null | undefined;
|
|
225
|
+
accessToken?: string | null | undefined;
|
|
226
|
+
refreshToken?: string | null | undefined;
|
|
227
|
+
accessTokenExpiresAt?: number | null | undefined;
|
|
228
|
+
refreshTokenExpiresAt?: number | null | undefined;
|
|
229
|
+
clientId?: string | null | undefined;
|
|
230
|
+
scopes?: string | null | undefined;
|
|
230
231
|
};
|
|
231
232
|
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "clientId" | "scopes") | "_id";
|
|
232
233
|
indexes: {
|
|
@@ -242,12 +243,12 @@ export declare const vv: {
|
|
|
242
243
|
document: {
|
|
243
244
|
_id: import("convex/values").GenericId<"oauthConsent">;
|
|
244
245
|
_creationTime: number;
|
|
245
|
-
createdAt?: number | undefined;
|
|
246
|
-
updatedAt?: number | undefined;
|
|
247
|
-
userId?: string | undefined;
|
|
248
|
-
clientId?: string | undefined;
|
|
249
|
-
scopes?: string | undefined;
|
|
250
|
-
consentGiven?: boolean | undefined;
|
|
246
|
+
createdAt?: number | null | undefined;
|
|
247
|
+
updatedAt?: number | null | undefined;
|
|
248
|
+
userId?: string | null | undefined;
|
|
249
|
+
clientId?: string | null | undefined;
|
|
250
|
+
scopes?: string | null | undefined;
|
|
251
|
+
consentGiven?: boolean | null | undefined;
|
|
251
252
|
};
|
|
252
253
|
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "clientId" | "scopes" | "consentGiven") | "_id";
|
|
253
254
|
indexes: {
|
|
@@ -262,9 +263,9 @@ export declare const vv: {
|
|
|
262
263
|
document: {
|
|
263
264
|
_id: import("convex/values").GenericId<"organization">;
|
|
264
265
|
_creationTime: number;
|
|
265
|
-
metadata?: string | undefined;
|
|
266
|
-
slug?: string | undefined;
|
|
267
|
-
logo?: string | undefined;
|
|
266
|
+
metadata?: string | null | undefined;
|
|
267
|
+
slug?: string | null | undefined;
|
|
268
|
+
logo?: string | null | undefined;
|
|
268
269
|
name: string;
|
|
269
270
|
createdAt: number;
|
|
270
271
|
};
|
|
@@ -282,19 +283,16 @@ export declare const vv: {
|
|
|
282
283
|
document: {
|
|
283
284
|
_id: import("convex/values").GenericId<"member">;
|
|
284
285
|
_creationTime: number;
|
|
285
|
-
teamId?: string | undefined;
|
|
286
286
|
createdAt: number;
|
|
287
287
|
role: string;
|
|
288
288
|
userId: string;
|
|
289
289
|
organizationId: string;
|
|
290
290
|
};
|
|
291
|
-
fieldPaths: ("createdAt" | "role" | "userId" | "_creationTime" | "organizationId"
|
|
291
|
+
fieldPaths: ("createdAt" | "role" | "userId" | "_creationTime" | "organizationId") | "_id";
|
|
292
292
|
indexes: {
|
|
293
293
|
organizationId_userId: ["organizationId", "userId", "_creationTime"];
|
|
294
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
295
294
|
userId: ["userId", "_creationTime"];
|
|
296
295
|
role: ["role", "_creationTime"];
|
|
297
|
-
teamId: ["teamId", "_creationTime"];
|
|
298
296
|
by_id: ["_id"];
|
|
299
297
|
by_creation_time: ["_creationTime"];
|
|
300
298
|
};
|
|
@@ -305,20 +303,18 @@ export declare const vv: {
|
|
|
305
303
|
document: {
|
|
306
304
|
_id: import("convex/values").GenericId<"invitation">;
|
|
307
305
|
_creationTime: number;
|
|
308
|
-
role?: string | undefined;
|
|
309
|
-
teamId?: string | undefined;
|
|
306
|
+
role?: string | null | undefined;
|
|
307
|
+
teamId?: string | null | undefined;
|
|
310
308
|
email: string;
|
|
311
309
|
expiresAt: number;
|
|
312
310
|
organizationId: string;
|
|
313
311
|
status: string;
|
|
314
312
|
inviterId: string;
|
|
315
313
|
};
|
|
316
|
-
fieldPaths: ("email" | "role" | "
|
|
314
|
+
fieldPaths: ("email" | "role" | "teamId" | "_creationTime" | "expiresAt" | "organizationId" | "status" | "inviterId") | "_id";
|
|
317
315
|
indexes: {
|
|
318
316
|
email_organizationId_status: ["email", "organizationId", "status", "_creationTime"];
|
|
319
317
|
organizationId_status: ["organizationId", "status", "_creationTime"];
|
|
320
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
321
|
-
email: ["email", "_creationTime"];
|
|
322
318
|
role: ["role", "_creationTime"];
|
|
323
319
|
teamId: ["teamId", "_creationTime"];
|
|
324
320
|
status: ["status", "_creationTime"];
|
|
@@ -333,7 +329,7 @@ export declare const vv: {
|
|
|
333
329
|
document: {
|
|
334
330
|
_id: import("convex/values").GenericId<"team">;
|
|
335
331
|
_creationTime: number;
|
|
336
|
-
updatedAt?: number | undefined;
|
|
332
|
+
updatedAt?: number | null | undefined;
|
|
337
333
|
name: string;
|
|
338
334
|
createdAt: number;
|
|
339
335
|
organizationId: string;
|
|
@@ -347,14 +343,31 @@ export declare const vv: {
|
|
|
347
343
|
searchIndexes: {};
|
|
348
344
|
vectorIndexes: {};
|
|
349
345
|
};
|
|
346
|
+
teamMember: {
|
|
347
|
+
document: {
|
|
348
|
+
_id: import("convex/values").GenericId<"teamMember">;
|
|
349
|
+
_creationTime: number;
|
|
350
|
+
createdAt?: number | null | undefined;
|
|
351
|
+
userId: string;
|
|
352
|
+
teamId: string;
|
|
353
|
+
};
|
|
354
|
+
fieldPaths: ("createdAt" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
355
|
+
indexes: {
|
|
356
|
+
userId: ["userId", "_creationTime"];
|
|
357
|
+
by_id: ["_id"];
|
|
358
|
+
by_creation_time: ["_creationTime"];
|
|
359
|
+
};
|
|
360
|
+
searchIndexes: {};
|
|
361
|
+
vectorIndexes: {};
|
|
362
|
+
};
|
|
350
363
|
ssoProvider: {
|
|
351
364
|
document: {
|
|
352
365
|
_id: import("convex/values").GenericId<"ssoProvider">;
|
|
353
366
|
_creationTime: number;
|
|
354
|
-
userId?: string | undefined;
|
|
355
|
-
organizationId?: string | undefined;
|
|
356
|
-
oidcConfig?: string | undefined;
|
|
357
|
-
samlConfig?: string | undefined;
|
|
367
|
+
userId?: string | null | undefined;
|
|
368
|
+
organizationId?: string | null | undefined;
|
|
369
|
+
oidcConfig?: string | null | undefined;
|
|
370
|
+
samlConfig?: string | null | undefined;
|
|
358
371
|
providerId: string;
|
|
359
372
|
issuer: string;
|
|
360
373
|
domain: string;
|
|
@@ -391,13 +404,13 @@ export declare const vv: {
|
|
|
391
404
|
document: {
|
|
392
405
|
_id: import("convex/values").GenericId<"subscription">;
|
|
393
406
|
_creationTime: number;
|
|
394
|
-
stripeCustomerId?: string | undefined;
|
|
395
|
-
status?: string | undefined;
|
|
396
|
-
stripeSubscriptionId?: string | undefined;
|
|
397
|
-
periodStart?: number | undefined;
|
|
398
|
-
periodEnd?: number | undefined;
|
|
399
|
-
cancelAtPeriodEnd?: boolean | undefined;
|
|
400
|
-
seats?: number | undefined;
|
|
407
|
+
stripeCustomerId?: string | null | undefined;
|
|
408
|
+
status?: string | null | undefined;
|
|
409
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
410
|
+
periodStart?: number | null | undefined;
|
|
411
|
+
periodEnd?: number | null | undefined;
|
|
412
|
+
cancelAtPeriodEnd?: boolean | null | undefined;
|
|
413
|
+
seats?: number | null | undefined;
|
|
401
414
|
plan: string;
|
|
402
415
|
referenceId: string;
|
|
403
416
|
};
|
|
@@ -412,13 +425,32 @@ export declare const vv: {
|
|
|
412
425
|
searchIndexes: {};
|
|
413
426
|
vectorIndexes: {};
|
|
414
427
|
};
|
|
428
|
+
walletAddress: {
|
|
429
|
+
document: {
|
|
430
|
+
_id: import("convex/values").GenericId<"walletAddress">;
|
|
431
|
+
_creationTime: number;
|
|
432
|
+
isPrimary?: boolean | null | undefined;
|
|
433
|
+
createdAt: number;
|
|
434
|
+
userId: string;
|
|
435
|
+
address: string;
|
|
436
|
+
chainId: number;
|
|
437
|
+
};
|
|
438
|
+
fieldPaths: ("createdAt" | "userId" | "_creationTime" | "address" | "chainId" | "isPrimary") | "_id";
|
|
439
|
+
indexes: {
|
|
440
|
+
userId: ["userId", "_creationTime"];
|
|
441
|
+
by_id: ["_id"];
|
|
442
|
+
by_creation_time: ["_creationTime"];
|
|
443
|
+
};
|
|
444
|
+
searchIndexes: {};
|
|
445
|
+
vectorIndexes: {};
|
|
446
|
+
};
|
|
415
447
|
rateLimit: {
|
|
416
448
|
document: {
|
|
417
449
|
_id: import("convex/values").GenericId<"rateLimit">;
|
|
418
450
|
_creationTime: number;
|
|
419
|
-
key?: string | undefined;
|
|
420
|
-
lastRequest?: number | undefined;
|
|
421
|
-
count?: number | undefined;
|
|
451
|
+
key?: string | null | undefined;
|
|
452
|
+
lastRequest?: number | null | undefined;
|
|
453
|
+
count?: number | null | undefined;
|
|
422
454
|
};
|
|
423
455
|
fieldPaths: ("_creationTime" | "key" | "lastRequest" | "count") | "_id";
|
|
424
456
|
indexes: {
|
|
@@ -435,31 +467,31 @@ export declare const vv: {
|
|
|
435
467
|
document: {
|
|
436
468
|
_id: import("convex/values").GenericId<"user">;
|
|
437
469
|
_creationTime: number;
|
|
438
|
-
image?: string | undefined;
|
|
439
|
-
twoFactorEnabled?: boolean | undefined;
|
|
440
|
-
isAnonymous?: boolean | undefined;
|
|
441
|
-
username?: string | undefined;
|
|
442
|
-
displayUsername?: string | undefined;
|
|
443
|
-
phoneNumber?: string | undefined;
|
|
444
|
-
phoneNumberVerified?: boolean | undefined;
|
|
445
|
-
role?: string | undefined;
|
|
446
|
-
banned?: boolean | undefined;
|
|
447
|
-
banReason?: string | undefined;
|
|
448
|
-
banExpires?: number | undefined;
|
|
449
|
-
stripeCustomerId?: string | undefined;
|
|
450
|
-
userId?: string | undefined;
|
|
470
|
+
image?: string | null | undefined;
|
|
471
|
+
twoFactorEnabled?: boolean | null | undefined;
|
|
472
|
+
isAnonymous?: boolean | null | undefined;
|
|
473
|
+
username?: string | null | undefined;
|
|
474
|
+
displayUsername?: string | null | undefined;
|
|
475
|
+
phoneNumber?: string | null | undefined;
|
|
476
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
477
|
+
role?: string | null | undefined;
|
|
478
|
+
banned?: boolean | null | undefined;
|
|
479
|
+
banReason?: string | null | undefined;
|
|
480
|
+
banExpires?: number | null | undefined;
|
|
481
|
+
stripeCustomerId?: string | null | undefined;
|
|
482
|
+
userId?: string | null | undefined;
|
|
483
|
+
teamId?: string | null | undefined;
|
|
451
484
|
name: string;
|
|
452
485
|
email: string;
|
|
453
486
|
emailVerified: boolean;
|
|
454
487
|
createdAt: number;
|
|
455
488
|
updatedAt: number;
|
|
456
489
|
};
|
|
457
|
-
fieldPaths: ("name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "_creationTime") | "_id";
|
|
490
|
+
fieldPaths: ("name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
458
491
|
indexes: {
|
|
459
492
|
email_name: ["email", "name", "_creationTime"];
|
|
460
493
|
name: ["name", "_creationTime"];
|
|
461
494
|
userId: ["userId", "_creationTime"];
|
|
462
|
-
email: ["email", "_creationTime"];
|
|
463
495
|
username: ["username", "_creationTime"];
|
|
464
496
|
phoneNumber: ["phoneNumber", "_creationTime"];
|
|
465
497
|
by_id: ["_id"];
|
|
@@ -472,17 +504,18 @@ export declare const vv: {
|
|
|
472
504
|
document: {
|
|
473
505
|
_id: import("convex/values").GenericId<"session">;
|
|
474
506
|
_creationTime: number;
|
|
475
|
-
ipAddress?: string | undefined;
|
|
476
|
-
userAgent?: string | undefined;
|
|
477
|
-
impersonatedBy?: string | undefined;
|
|
478
|
-
activeOrganizationId?: string | undefined;
|
|
507
|
+
ipAddress?: string | null | undefined;
|
|
508
|
+
userAgent?: string | null | undefined;
|
|
509
|
+
impersonatedBy?: string | null | undefined;
|
|
510
|
+
activeOrganizationId?: string | null | undefined;
|
|
511
|
+
activeTeamId?: string | null | undefined;
|
|
479
512
|
createdAt: number;
|
|
480
513
|
updatedAt: number;
|
|
481
514
|
userId: string;
|
|
482
515
|
expiresAt: number;
|
|
483
516
|
token: string;
|
|
484
517
|
};
|
|
485
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId") | "_id";
|
|
518
|
+
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId" | "activeTeamId") | "_id";
|
|
486
519
|
indexes: {
|
|
487
520
|
expiresAt: ["expiresAt", "_creationTime"];
|
|
488
521
|
expiresAt_userId: ["expiresAt", "userId", "_creationTime"];
|
|
@@ -498,13 +531,13 @@ export declare const vv: {
|
|
|
498
531
|
document: {
|
|
499
532
|
_id: import("convex/values").GenericId<"account">;
|
|
500
533
|
_creationTime: number;
|
|
501
|
-
accessToken?: string | undefined;
|
|
502
|
-
refreshToken?: string | undefined;
|
|
503
|
-
idToken?: string | undefined;
|
|
504
|
-
accessTokenExpiresAt?: number | undefined;
|
|
505
|
-
refreshTokenExpiresAt?: number | undefined;
|
|
506
|
-
scope?: string | undefined;
|
|
507
|
-
password?: string | undefined;
|
|
534
|
+
accessToken?: string | null | undefined;
|
|
535
|
+
refreshToken?: string | null | undefined;
|
|
536
|
+
idToken?: string | null | undefined;
|
|
537
|
+
accessTokenExpiresAt?: number | null | undefined;
|
|
538
|
+
refreshTokenExpiresAt?: number | null | undefined;
|
|
539
|
+
scope?: string | null | undefined;
|
|
540
|
+
password?: string | null | undefined;
|
|
508
541
|
createdAt: number;
|
|
509
542
|
updatedAt: number;
|
|
510
543
|
userId: string;
|
|
@@ -527,8 +560,8 @@ export declare const vv: {
|
|
|
527
560
|
document: {
|
|
528
561
|
_id: import("convex/values").GenericId<"verification">;
|
|
529
562
|
_creationTime: number;
|
|
530
|
-
createdAt?: number | undefined;
|
|
531
|
-
updatedAt?: number | undefined;
|
|
563
|
+
createdAt?: number | null | undefined;
|
|
564
|
+
updatedAt?: number | null | undefined;
|
|
532
565
|
expiresAt: number;
|
|
533
566
|
identifier: string;
|
|
534
567
|
value: string;
|
|
@@ -564,10 +597,10 @@ export declare const vv: {
|
|
|
564
597
|
document: {
|
|
565
598
|
_id: import("convex/values").GenericId<"passkey">;
|
|
566
599
|
_creationTime: number;
|
|
567
|
-
name?: string | undefined;
|
|
568
|
-
createdAt?: number | undefined;
|
|
569
|
-
transports?: string | undefined;
|
|
570
|
-
aaguid?: string | undefined;
|
|
600
|
+
name?: string | null | undefined;
|
|
601
|
+
createdAt?: number | null | undefined;
|
|
602
|
+
transports?: string | null | undefined;
|
|
603
|
+
aaguid?: string | null | undefined;
|
|
571
604
|
userId: string;
|
|
572
605
|
publicKey: string;
|
|
573
606
|
credentialID: string;
|
|
@@ -589,22 +622,22 @@ export declare const vv: {
|
|
|
589
622
|
document: {
|
|
590
623
|
_id: import("convex/values").GenericId<"apikey">;
|
|
591
624
|
_creationTime: number;
|
|
592
|
-
name?: string | undefined;
|
|
593
|
-
expiresAt?: number | undefined;
|
|
594
|
-
start?: string | undefined;
|
|
595
|
-
prefix?: string | undefined;
|
|
596
|
-
refillInterval?: number | undefined;
|
|
597
|
-
refillAmount?: number | undefined;
|
|
598
|
-
lastRefillAt?: number | undefined;
|
|
599
|
-
enabled?: boolean | undefined;
|
|
600
|
-
rateLimitEnabled?: boolean | undefined;
|
|
601
|
-
rateLimitTimeWindow?: number | undefined;
|
|
602
|
-
rateLimitMax?: number | undefined;
|
|
603
|
-
requestCount?: number | undefined;
|
|
604
|
-
remaining?: number | undefined;
|
|
605
|
-
lastRequest?: number | undefined;
|
|
606
|
-
permissions?: string | undefined;
|
|
607
|
-
metadata?: string | undefined;
|
|
625
|
+
name?: string | null | undefined;
|
|
626
|
+
expiresAt?: number | null | undefined;
|
|
627
|
+
start?: string | null | undefined;
|
|
628
|
+
prefix?: string | null | undefined;
|
|
629
|
+
refillInterval?: number | null | undefined;
|
|
630
|
+
refillAmount?: number | null | undefined;
|
|
631
|
+
lastRefillAt?: number | null | undefined;
|
|
632
|
+
enabled?: boolean | null | undefined;
|
|
633
|
+
rateLimitEnabled?: boolean | null | undefined;
|
|
634
|
+
rateLimitTimeWindow?: number | null | undefined;
|
|
635
|
+
rateLimitMax?: number | null | undefined;
|
|
636
|
+
requestCount?: number | null | undefined;
|
|
637
|
+
remaining?: number | null | undefined;
|
|
638
|
+
lastRequest?: number | null | undefined;
|
|
639
|
+
permissions?: string | null | undefined;
|
|
640
|
+
metadata?: string | null | undefined;
|
|
608
641
|
createdAt: number;
|
|
609
642
|
updatedAt: number;
|
|
610
643
|
userId: string;
|
|
@@ -624,19 +657,19 @@ export declare const vv: {
|
|
|
624
657
|
document: {
|
|
625
658
|
_id: import("convex/values").GenericId<"oauthApplication">;
|
|
626
659
|
_creationTime: number;
|
|
627
|
-
name?: string | undefined;
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
metadata?: string | undefined;
|
|
633
|
-
icon?: string | undefined;
|
|
634
|
-
clientId?: string | undefined;
|
|
635
|
-
clientSecret?: string | undefined;
|
|
636
|
-
redirectURLs?: string | undefined;
|
|
637
|
-
disabled?: boolean | undefined;
|
|
638
|
-
};
|
|
639
|
-
fieldPaths: ("name" | "
|
|
660
|
+
name?: string | null | undefined;
|
|
661
|
+
type?: string | null | undefined;
|
|
662
|
+
createdAt?: number | null | undefined;
|
|
663
|
+
updatedAt?: number | null | undefined;
|
|
664
|
+
userId?: string | null | undefined;
|
|
665
|
+
metadata?: string | null | undefined;
|
|
666
|
+
icon?: string | null | undefined;
|
|
667
|
+
clientId?: string | null | undefined;
|
|
668
|
+
clientSecret?: string | null | undefined;
|
|
669
|
+
redirectURLs?: string | null | undefined;
|
|
670
|
+
disabled?: boolean | null | undefined;
|
|
671
|
+
};
|
|
672
|
+
fieldPaths: ("name" | "type" | "createdAt" | "updatedAt" | "userId" | "_creationTime" | "metadata" | "icon" | "clientId" | "clientSecret" | "redirectURLs" | "disabled") | "_id";
|
|
640
673
|
indexes: {
|
|
641
674
|
clientId: ["clientId", "_creationTime"];
|
|
642
675
|
by_id: ["_id"];
|
|
@@ -649,15 +682,15 @@ export declare const vv: {
|
|
|
649
682
|
document: {
|
|
650
683
|
_id: import("convex/values").GenericId<"oauthAccessToken">;
|
|
651
684
|
_creationTime: number;
|
|
652
|
-
createdAt?: number | undefined;
|
|
653
|
-
updatedAt?: number | undefined;
|
|
654
|
-
userId?: string | undefined;
|
|
655
|
-
accessToken?: string | undefined;
|
|
656
|
-
refreshToken?: string | undefined;
|
|
657
|
-
accessTokenExpiresAt?: number | undefined;
|
|
658
|
-
refreshTokenExpiresAt?: number | undefined;
|
|
659
|
-
clientId?: string | undefined;
|
|
660
|
-
scopes?: string | undefined;
|
|
685
|
+
createdAt?: number | null | undefined;
|
|
686
|
+
updatedAt?: number | null | undefined;
|
|
687
|
+
userId?: string | null | undefined;
|
|
688
|
+
accessToken?: string | null | undefined;
|
|
689
|
+
refreshToken?: string | null | undefined;
|
|
690
|
+
accessTokenExpiresAt?: number | null | undefined;
|
|
691
|
+
refreshTokenExpiresAt?: number | null | undefined;
|
|
692
|
+
clientId?: string | null | undefined;
|
|
693
|
+
scopes?: string | null | undefined;
|
|
661
694
|
};
|
|
662
695
|
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "clientId" | "scopes") | "_id";
|
|
663
696
|
indexes: {
|
|
@@ -673,12 +706,12 @@ export declare const vv: {
|
|
|
673
706
|
document: {
|
|
674
707
|
_id: import("convex/values").GenericId<"oauthConsent">;
|
|
675
708
|
_creationTime: number;
|
|
676
|
-
createdAt?: number | undefined;
|
|
677
|
-
updatedAt?: number | undefined;
|
|
678
|
-
userId?: string | undefined;
|
|
679
|
-
clientId?: string | undefined;
|
|
680
|
-
scopes?: string | undefined;
|
|
681
|
-
consentGiven?: boolean | undefined;
|
|
709
|
+
createdAt?: number | null | undefined;
|
|
710
|
+
updatedAt?: number | null | undefined;
|
|
711
|
+
userId?: string | null | undefined;
|
|
712
|
+
clientId?: string | null | undefined;
|
|
713
|
+
scopes?: string | null | undefined;
|
|
714
|
+
consentGiven?: boolean | null | undefined;
|
|
682
715
|
};
|
|
683
716
|
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "clientId" | "scopes" | "consentGiven") | "_id";
|
|
684
717
|
indexes: {
|
|
@@ -693,9 +726,9 @@ export declare const vv: {
|
|
|
693
726
|
document: {
|
|
694
727
|
_id: import("convex/values").GenericId<"organization">;
|
|
695
728
|
_creationTime: number;
|
|
696
|
-
metadata?: string | undefined;
|
|
697
|
-
slug?: string | undefined;
|
|
698
|
-
logo?: string | undefined;
|
|
729
|
+
metadata?: string | null | undefined;
|
|
730
|
+
slug?: string | null | undefined;
|
|
731
|
+
logo?: string | null | undefined;
|
|
699
732
|
name: string;
|
|
700
733
|
createdAt: number;
|
|
701
734
|
};
|
|
@@ -713,19 +746,16 @@ export declare const vv: {
|
|
|
713
746
|
document: {
|
|
714
747
|
_id: import("convex/values").GenericId<"member">;
|
|
715
748
|
_creationTime: number;
|
|
716
|
-
teamId?: string | undefined;
|
|
717
749
|
createdAt: number;
|
|
718
750
|
role: string;
|
|
719
751
|
userId: string;
|
|
720
752
|
organizationId: string;
|
|
721
753
|
};
|
|
722
|
-
fieldPaths: ("createdAt" | "role" | "userId" | "_creationTime" | "organizationId"
|
|
754
|
+
fieldPaths: ("createdAt" | "role" | "userId" | "_creationTime" | "organizationId") | "_id";
|
|
723
755
|
indexes: {
|
|
724
756
|
organizationId_userId: ["organizationId", "userId", "_creationTime"];
|
|
725
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
726
757
|
userId: ["userId", "_creationTime"];
|
|
727
758
|
role: ["role", "_creationTime"];
|
|
728
|
-
teamId: ["teamId", "_creationTime"];
|
|
729
759
|
by_id: ["_id"];
|
|
730
760
|
by_creation_time: ["_creationTime"];
|
|
731
761
|
};
|
|
@@ -736,20 +766,18 @@ export declare const vv: {
|
|
|
736
766
|
document: {
|
|
737
767
|
_id: import("convex/values").GenericId<"invitation">;
|
|
738
768
|
_creationTime: number;
|
|
739
|
-
role?: string | undefined;
|
|
740
|
-
teamId?: string | undefined;
|
|
769
|
+
role?: string | null | undefined;
|
|
770
|
+
teamId?: string | null | undefined;
|
|
741
771
|
email: string;
|
|
742
772
|
expiresAt: number;
|
|
743
773
|
organizationId: string;
|
|
744
774
|
status: string;
|
|
745
775
|
inviterId: string;
|
|
746
776
|
};
|
|
747
|
-
fieldPaths: ("email" | "role" | "
|
|
777
|
+
fieldPaths: ("email" | "role" | "teamId" | "_creationTime" | "expiresAt" | "organizationId" | "status" | "inviterId") | "_id";
|
|
748
778
|
indexes: {
|
|
749
779
|
email_organizationId_status: ["email", "organizationId", "status", "_creationTime"];
|
|
750
780
|
organizationId_status: ["organizationId", "status", "_creationTime"];
|
|
751
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
752
|
-
email: ["email", "_creationTime"];
|
|
753
781
|
role: ["role", "_creationTime"];
|
|
754
782
|
teamId: ["teamId", "_creationTime"];
|
|
755
783
|
status: ["status", "_creationTime"];
|
|
@@ -764,7 +792,7 @@ export declare const vv: {
|
|
|
764
792
|
document: {
|
|
765
793
|
_id: import("convex/values").GenericId<"team">;
|
|
766
794
|
_creationTime: number;
|
|
767
|
-
updatedAt?: number | undefined;
|
|
795
|
+
updatedAt?: number | null | undefined;
|
|
768
796
|
name: string;
|
|
769
797
|
createdAt: number;
|
|
770
798
|
organizationId: string;
|
|
@@ -778,14 +806,31 @@ export declare const vv: {
|
|
|
778
806
|
searchIndexes: {};
|
|
779
807
|
vectorIndexes: {};
|
|
780
808
|
};
|
|
809
|
+
teamMember: {
|
|
810
|
+
document: {
|
|
811
|
+
_id: import("convex/values").GenericId<"teamMember">;
|
|
812
|
+
_creationTime: number;
|
|
813
|
+
createdAt?: number | null | undefined;
|
|
814
|
+
userId: string;
|
|
815
|
+
teamId: string;
|
|
816
|
+
};
|
|
817
|
+
fieldPaths: ("createdAt" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
818
|
+
indexes: {
|
|
819
|
+
userId: ["userId", "_creationTime"];
|
|
820
|
+
by_id: ["_id"];
|
|
821
|
+
by_creation_time: ["_creationTime"];
|
|
822
|
+
};
|
|
823
|
+
searchIndexes: {};
|
|
824
|
+
vectorIndexes: {};
|
|
825
|
+
};
|
|
781
826
|
ssoProvider: {
|
|
782
827
|
document: {
|
|
783
828
|
_id: import("convex/values").GenericId<"ssoProvider">;
|
|
784
829
|
_creationTime: number;
|
|
785
|
-
userId?: string | undefined;
|
|
786
|
-
organizationId?: string | undefined;
|
|
787
|
-
oidcConfig?: string | undefined;
|
|
788
|
-
samlConfig?: string | undefined;
|
|
830
|
+
userId?: string | null | undefined;
|
|
831
|
+
organizationId?: string | null | undefined;
|
|
832
|
+
oidcConfig?: string | null | undefined;
|
|
833
|
+
samlConfig?: string | null | undefined;
|
|
789
834
|
providerId: string;
|
|
790
835
|
issuer: string;
|
|
791
836
|
domain: string;
|
|
@@ -822,13 +867,13 @@ export declare const vv: {
|
|
|
822
867
|
document: {
|
|
823
868
|
_id: import("convex/values").GenericId<"subscription">;
|
|
824
869
|
_creationTime: number;
|
|
825
|
-
stripeCustomerId?: string | undefined;
|
|
826
|
-
status?: string | undefined;
|
|
827
|
-
stripeSubscriptionId?: string | undefined;
|
|
828
|
-
periodStart?: number | undefined;
|
|
829
|
-
periodEnd?: number | undefined;
|
|
830
|
-
cancelAtPeriodEnd?: boolean | undefined;
|
|
831
|
-
seats?: number | undefined;
|
|
870
|
+
stripeCustomerId?: string | null | undefined;
|
|
871
|
+
status?: string | null | undefined;
|
|
872
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
873
|
+
periodStart?: number | null | undefined;
|
|
874
|
+
periodEnd?: number | null | undefined;
|
|
875
|
+
cancelAtPeriodEnd?: boolean | null | undefined;
|
|
876
|
+
seats?: number | null | undefined;
|
|
832
877
|
plan: string;
|
|
833
878
|
referenceId: string;
|
|
834
879
|
};
|
|
@@ -843,13 +888,32 @@ export declare const vv: {
|
|
|
843
888
|
searchIndexes: {};
|
|
844
889
|
vectorIndexes: {};
|
|
845
890
|
};
|
|
891
|
+
walletAddress: {
|
|
892
|
+
document: {
|
|
893
|
+
_id: import("convex/values").GenericId<"walletAddress">;
|
|
894
|
+
_creationTime: number;
|
|
895
|
+
isPrimary?: boolean | null | undefined;
|
|
896
|
+
createdAt: number;
|
|
897
|
+
userId: string;
|
|
898
|
+
address: string;
|
|
899
|
+
chainId: number;
|
|
900
|
+
};
|
|
901
|
+
fieldPaths: ("createdAt" | "userId" | "_creationTime" | "address" | "chainId" | "isPrimary") | "_id";
|
|
902
|
+
indexes: {
|
|
903
|
+
userId: ["userId", "_creationTime"];
|
|
904
|
+
by_id: ["_id"];
|
|
905
|
+
by_creation_time: ["_creationTime"];
|
|
906
|
+
};
|
|
907
|
+
searchIndexes: {};
|
|
908
|
+
vectorIndexes: {};
|
|
909
|
+
};
|
|
846
910
|
rateLimit: {
|
|
847
911
|
document: {
|
|
848
912
|
_id: import("convex/values").GenericId<"rateLimit">;
|
|
849
913
|
_creationTime: number;
|
|
850
|
-
key?: string | undefined;
|
|
851
|
-
lastRequest?: number | undefined;
|
|
852
|
-
count?: number | undefined;
|
|
914
|
+
key?: string | null | undefined;
|
|
915
|
+
lastRequest?: number | null | undefined;
|
|
916
|
+
count?: number | null | undefined;
|
|
853
917
|
};
|
|
854
918
|
fieldPaths: ("_creationTime" | "key" | "lastRequest" | "count") | "_id";
|
|
855
919
|
indexes: {
|
|
@@ -862,19 +926,20 @@ export declare const vv: {
|
|
|
862
926
|
};
|
|
863
927
|
}>>(tableName: TableName) => import("convex-helpers/validators").AddFieldsToValidator<{
|
|
864
928
|
user: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
865
|
-
image?: string | undefined;
|
|
866
|
-
twoFactorEnabled?: boolean | undefined;
|
|
867
|
-
isAnonymous?: boolean | undefined;
|
|
868
|
-
username?: string | undefined;
|
|
869
|
-
displayUsername?: string | undefined;
|
|
870
|
-
phoneNumber?: string | undefined;
|
|
871
|
-
phoneNumberVerified?: boolean | undefined;
|
|
872
|
-
role?: string | undefined;
|
|
873
|
-
banned?: boolean | undefined;
|
|
874
|
-
banReason?: string | undefined;
|
|
875
|
-
banExpires?: number | undefined;
|
|
876
|
-
stripeCustomerId?: string | undefined;
|
|
877
|
-
userId?: string | undefined;
|
|
929
|
+
image?: string | null | undefined;
|
|
930
|
+
twoFactorEnabled?: boolean | null | undefined;
|
|
931
|
+
isAnonymous?: boolean | null | undefined;
|
|
932
|
+
username?: string | null | undefined;
|
|
933
|
+
displayUsername?: string | null | undefined;
|
|
934
|
+
phoneNumber?: string | null | undefined;
|
|
935
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
936
|
+
role?: string | null | undefined;
|
|
937
|
+
banned?: boolean | null | undefined;
|
|
938
|
+
banReason?: string | null | undefined;
|
|
939
|
+
banExpires?: number | null | undefined;
|
|
940
|
+
stripeCustomerId?: string | null | undefined;
|
|
941
|
+
userId?: string | null | undefined;
|
|
942
|
+
teamId?: string | null | undefined;
|
|
878
943
|
name: string;
|
|
879
944
|
email: string;
|
|
880
945
|
emailVerified: boolean;
|
|
@@ -884,34 +949,35 @@ export declare const vv: {
|
|
|
884
949
|
name: import("convex/values").VString<string, "required">;
|
|
885
950
|
email: import("convex/values").VString<string, "required">;
|
|
886
951
|
emailVerified: import("convex/values").VBoolean<boolean, "required">;
|
|
887
|
-
image: import("convex/values").
|
|
952
|
+
image: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
888
953
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
889
954
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
890
|
-
twoFactorEnabled: import("convex/values").
|
|
891
|
-
isAnonymous: import("convex/values").
|
|
892
|
-
username: import("convex/values").
|
|
893
|
-
displayUsername: import("convex/values").
|
|
894
|
-
phoneNumber: import("convex/values").
|
|
895
|
-
phoneNumberVerified: import("convex/values").
|
|
896
|
-
role: import("convex/values").
|
|
897
|
-
banned: import("convex/values").
|
|
898
|
-
banReason: import("convex/values").
|
|
899
|
-
banExpires: import("convex/values").
|
|
900
|
-
stripeCustomerId: import("convex/values").
|
|
901
|
-
userId: import("convex/values").
|
|
902
|
-
|
|
955
|
+
twoFactorEnabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
956
|
+
isAnonymous: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
957
|
+
username: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
958
|
+
displayUsername: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
959
|
+
phoneNumber: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
960
|
+
phoneNumberVerified: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
961
|
+
role: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
962
|
+
banned: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
963
|
+
banReason: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
964
|
+
banExpires: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
965
|
+
stripeCustomerId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
966
|
+
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
967
|
+
teamId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
968
|
+
}, "required", "name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "teamId">, {
|
|
903
969
|
email_name: ["email", "name", "_creationTime"];
|
|
904
970
|
name: ["name", "_creationTime"];
|
|
905
971
|
userId: ["userId", "_creationTime"];
|
|
906
|
-
email: ["email", "_creationTime"];
|
|
907
972
|
username: ["username", "_creationTime"];
|
|
908
973
|
phoneNumber: ["phoneNumber", "_creationTime"];
|
|
909
974
|
}, {}, {}>;
|
|
910
975
|
session: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
911
|
-
ipAddress?: string | undefined;
|
|
912
|
-
userAgent?: string | undefined;
|
|
913
|
-
impersonatedBy?: string | undefined;
|
|
914
|
-
activeOrganizationId?: string | undefined;
|
|
976
|
+
ipAddress?: string | null | undefined;
|
|
977
|
+
userAgent?: string | null | undefined;
|
|
978
|
+
impersonatedBy?: string | null | undefined;
|
|
979
|
+
activeOrganizationId?: string | null | undefined;
|
|
980
|
+
activeTeamId?: string | null | undefined;
|
|
915
981
|
createdAt: number;
|
|
916
982
|
updatedAt: number;
|
|
917
983
|
userId: string;
|
|
@@ -922,25 +988,26 @@ export declare const vv: {
|
|
|
922
988
|
token: import("convex/values").VString<string, "required">;
|
|
923
989
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
924
990
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
925
|
-
ipAddress: import("convex/values").
|
|
926
|
-
userAgent: import("convex/values").
|
|
991
|
+
ipAddress: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
992
|
+
userAgent: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
927
993
|
userId: import("convex/values").VString<string, "required">;
|
|
928
|
-
impersonatedBy: import("convex/values").
|
|
929
|
-
activeOrganizationId: import("convex/values").
|
|
930
|
-
|
|
994
|
+
impersonatedBy: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
995
|
+
activeOrganizationId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
996
|
+
activeTeamId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
997
|
+
}, "required", "createdAt" | "updatedAt" | "userId" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId" | "activeTeamId">, {
|
|
931
998
|
expiresAt: ["expiresAt", "_creationTime"];
|
|
932
999
|
expiresAt_userId: ["expiresAt", "userId", "_creationTime"];
|
|
933
1000
|
token: ["token", "_creationTime"];
|
|
934
1001
|
userId: ["userId", "_creationTime"];
|
|
935
1002
|
}, {}, {}>;
|
|
936
1003
|
account: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
937
|
-
accessToken?: string | undefined;
|
|
938
|
-
refreshToken?: string | undefined;
|
|
939
|
-
idToken?: string | undefined;
|
|
940
|
-
accessTokenExpiresAt?: number | undefined;
|
|
941
|
-
refreshTokenExpiresAt?: number | undefined;
|
|
942
|
-
scope?: string | undefined;
|
|
943
|
-
password?: string | undefined;
|
|
1004
|
+
accessToken?: string | null | undefined;
|
|
1005
|
+
refreshToken?: string | null | undefined;
|
|
1006
|
+
idToken?: string | null | undefined;
|
|
1007
|
+
accessTokenExpiresAt?: number | null | undefined;
|
|
1008
|
+
refreshTokenExpiresAt?: number | null | undefined;
|
|
1009
|
+
scope?: string | null | undefined;
|
|
1010
|
+
password?: string | null | undefined;
|
|
944
1011
|
createdAt: number;
|
|
945
1012
|
updatedAt: number;
|
|
946
1013
|
userId: string;
|
|
@@ -950,13 +1017,13 @@ export declare const vv: {
|
|
|
950
1017
|
accountId: import("convex/values").VString<string, "required">;
|
|
951
1018
|
providerId: import("convex/values").VString<string, "required">;
|
|
952
1019
|
userId: import("convex/values").VString<string, "required">;
|
|
953
|
-
accessToken: import("convex/values").
|
|
954
|
-
refreshToken: import("convex/values").
|
|
955
|
-
idToken: import("convex/values").
|
|
956
|
-
accessTokenExpiresAt: import("convex/values").
|
|
957
|
-
refreshTokenExpiresAt: import("convex/values").
|
|
958
|
-
scope: import("convex/values").
|
|
959
|
-
password: import("convex/values").
|
|
1020
|
+
accessToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1021
|
+
refreshToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1022
|
+
idToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1023
|
+
accessTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1024
|
+
refreshTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1025
|
+
scope: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1026
|
+
password: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
960
1027
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
961
1028
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
962
1029
|
}, "required", "createdAt" | "updatedAt" | "userId" | "accountId" | "providerId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password">, {
|
|
@@ -966,8 +1033,8 @@ export declare const vv: {
|
|
|
966
1033
|
userId: ["userId", "_creationTime"];
|
|
967
1034
|
}, {}, {}>;
|
|
968
1035
|
verification: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
969
|
-
createdAt?: number | undefined;
|
|
970
|
-
updatedAt?: number | undefined;
|
|
1036
|
+
createdAt?: number | null | undefined;
|
|
1037
|
+
updatedAt?: number | null | undefined;
|
|
971
1038
|
expiresAt: number;
|
|
972
1039
|
identifier: string;
|
|
973
1040
|
value: string;
|
|
@@ -975,8 +1042,8 @@ export declare const vv: {
|
|
|
975
1042
|
identifier: import("convex/values").VString<string, "required">;
|
|
976
1043
|
value: import("convex/values").VString<string, "required">;
|
|
977
1044
|
expiresAt: import("convex/values").VFloat64<number, "required">;
|
|
978
|
-
createdAt: import("convex/values").
|
|
979
|
-
updatedAt: import("convex/values").
|
|
1045
|
+
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1046
|
+
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
980
1047
|
}, "required", "createdAt" | "updatedAt" | "expiresAt" | "identifier" | "value">, {
|
|
981
1048
|
expiresAt: ["expiresAt", "_creationTime"];
|
|
982
1049
|
identifier: ["identifier", "_creationTime"];
|
|
@@ -993,10 +1060,10 @@ export declare const vv: {
|
|
|
993
1060
|
userId: ["userId", "_creationTime"];
|
|
994
1061
|
}, {}, {}>;
|
|
995
1062
|
passkey: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
996
|
-
name?: string | undefined;
|
|
997
|
-
createdAt?: number | undefined;
|
|
998
|
-
transports?: string | undefined;
|
|
999
|
-
aaguid?: string | undefined;
|
|
1063
|
+
name?: string | null | undefined;
|
|
1064
|
+
createdAt?: number | null | undefined;
|
|
1065
|
+
transports?: string | null | undefined;
|
|
1066
|
+
aaguid?: string | null | undefined;
|
|
1000
1067
|
userId: string;
|
|
1001
1068
|
publicKey: string;
|
|
1002
1069
|
credentialID: string;
|
|
@@ -1004,152 +1071,151 @@ export declare const vv: {
|
|
|
1004
1071
|
deviceType: string;
|
|
1005
1072
|
backedUp: boolean;
|
|
1006
1073
|
}, {
|
|
1007
|
-
name: import("convex/values").
|
|
1074
|
+
name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1008
1075
|
publicKey: import("convex/values").VString<string, "required">;
|
|
1009
1076
|
userId: import("convex/values").VString<string, "required">;
|
|
1010
1077
|
credentialID: import("convex/values").VString<string, "required">;
|
|
1011
1078
|
counter: import("convex/values").VFloat64<number, "required">;
|
|
1012
1079
|
deviceType: import("convex/values").VString<string, "required">;
|
|
1013
1080
|
backedUp: import("convex/values").VBoolean<boolean, "required">;
|
|
1014
|
-
transports: import("convex/values").
|
|
1015
|
-
createdAt: import("convex/values").
|
|
1016
|
-
aaguid: import("convex/values").
|
|
1081
|
+
transports: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1082
|
+
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1083
|
+
aaguid: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1017
1084
|
}, "required", "name" | "createdAt" | "userId" | "publicKey" | "credentialID" | "counter" | "deviceType" | "backedUp" | "transports" | "aaguid">, {
|
|
1018
1085
|
credentialID: ["credentialID", "_creationTime"];
|
|
1019
1086
|
userId: ["userId", "_creationTime"];
|
|
1020
1087
|
}, {}, {}>;
|
|
1021
1088
|
apikey: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1022
|
-
name?: string | undefined;
|
|
1023
|
-
expiresAt?: number | undefined;
|
|
1024
|
-
start?: string | undefined;
|
|
1025
|
-
prefix?: string | undefined;
|
|
1026
|
-
refillInterval?: number | undefined;
|
|
1027
|
-
refillAmount?: number | undefined;
|
|
1028
|
-
lastRefillAt?: number | undefined;
|
|
1029
|
-
enabled?: boolean | undefined;
|
|
1030
|
-
rateLimitEnabled?: boolean | undefined;
|
|
1031
|
-
rateLimitTimeWindow?: number | undefined;
|
|
1032
|
-
rateLimitMax?: number | undefined;
|
|
1033
|
-
requestCount?: number | undefined;
|
|
1034
|
-
remaining?: number | undefined;
|
|
1035
|
-
lastRequest?: number | undefined;
|
|
1036
|
-
permissions?: string | undefined;
|
|
1037
|
-
metadata?: string | undefined;
|
|
1089
|
+
name?: string | null | undefined;
|
|
1090
|
+
expiresAt?: number | null | undefined;
|
|
1091
|
+
start?: string | null | undefined;
|
|
1092
|
+
prefix?: string | null | undefined;
|
|
1093
|
+
refillInterval?: number | null | undefined;
|
|
1094
|
+
refillAmount?: number | null | undefined;
|
|
1095
|
+
lastRefillAt?: number | null | undefined;
|
|
1096
|
+
enabled?: boolean | null | undefined;
|
|
1097
|
+
rateLimitEnabled?: boolean | null | undefined;
|
|
1098
|
+
rateLimitTimeWindow?: number | null | undefined;
|
|
1099
|
+
rateLimitMax?: number | null | undefined;
|
|
1100
|
+
requestCount?: number | null | undefined;
|
|
1101
|
+
remaining?: number | null | undefined;
|
|
1102
|
+
lastRequest?: number | null | undefined;
|
|
1103
|
+
permissions?: string | null | undefined;
|
|
1104
|
+
metadata?: string | null | undefined;
|
|
1038
1105
|
createdAt: number;
|
|
1039
1106
|
updatedAt: number;
|
|
1040
1107
|
userId: string;
|
|
1041
1108
|
key: string;
|
|
1042
1109
|
}, {
|
|
1043
|
-
name: import("convex/values").
|
|
1044
|
-
start: import("convex/values").
|
|
1045
|
-
prefix: import("convex/values").
|
|
1110
|
+
name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1111
|
+
start: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1112
|
+
prefix: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1046
1113
|
key: import("convex/values").VString<string, "required">;
|
|
1047
1114
|
userId: import("convex/values").VString<string, "required">;
|
|
1048
|
-
refillInterval: import("convex/values").
|
|
1049
|
-
refillAmount: import("convex/values").
|
|
1050
|
-
lastRefillAt: import("convex/values").
|
|
1051
|
-
enabled: import("convex/values").
|
|
1052
|
-
rateLimitEnabled: import("convex/values").
|
|
1053
|
-
rateLimitTimeWindow: import("convex/values").
|
|
1054
|
-
rateLimitMax: import("convex/values").
|
|
1055
|
-
requestCount: import("convex/values").
|
|
1056
|
-
remaining: import("convex/values").
|
|
1057
|
-
lastRequest: import("convex/values").
|
|
1058
|
-
expiresAt: import("convex/values").
|
|
1115
|
+
refillInterval: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1116
|
+
refillAmount: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1117
|
+
lastRefillAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1118
|
+
enabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1119
|
+
rateLimitEnabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1120
|
+
rateLimitTimeWindow: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1121
|
+
rateLimitMax: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1122
|
+
requestCount: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1123
|
+
remaining: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1124
|
+
lastRequest: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1125
|
+
expiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1059
1126
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1060
1127
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
1061
|
-
permissions: import("convex/values").
|
|
1062
|
-
metadata: import("convex/values").
|
|
1128
|
+
permissions: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1129
|
+
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1063
1130
|
}, "required", "name" | "createdAt" | "updatedAt" | "userId" | "expiresAt" | "start" | "prefix" | "key" | "refillInterval" | "refillAmount" | "lastRefillAt" | "enabled" | "rateLimitEnabled" | "rateLimitTimeWindow" | "rateLimitMax" | "requestCount" | "remaining" | "lastRequest" | "permissions" | "metadata">, {
|
|
1064
1131
|
key: ["key", "_creationTime"];
|
|
1065
1132
|
userId: ["userId", "_creationTime"];
|
|
1066
1133
|
}, {}, {}>;
|
|
1067
1134
|
oauthApplication: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1068
|
-
name?: string | undefined;
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
metadata?: string | undefined;
|
|
1074
|
-
icon?: string | undefined;
|
|
1075
|
-
clientId?: string | undefined;
|
|
1076
|
-
clientSecret?: string | undefined;
|
|
1077
|
-
redirectURLs?: string | undefined;
|
|
1078
|
-
disabled?: boolean | undefined;
|
|
1135
|
+
name?: string | null | undefined;
|
|
1136
|
+
type?: string | null | undefined;
|
|
1137
|
+
createdAt?: number | null | undefined;
|
|
1138
|
+
updatedAt?: number | null | undefined;
|
|
1139
|
+
userId?: string | null | undefined;
|
|
1140
|
+
metadata?: string | null | undefined;
|
|
1141
|
+
icon?: string | null | undefined;
|
|
1142
|
+
clientId?: string | null | undefined;
|
|
1143
|
+
clientSecret?: string | null | undefined;
|
|
1144
|
+
redirectURLs?: string | null | undefined;
|
|
1145
|
+
disabled?: boolean | null | undefined;
|
|
1079
1146
|
}, {
|
|
1080
|
-
name: import("convex/values").
|
|
1081
|
-
icon: import("convex/values").
|
|
1082
|
-
metadata: import("convex/values").
|
|
1083
|
-
clientId: import("convex/values").
|
|
1084
|
-
clientSecret: import("convex/values").
|
|
1085
|
-
redirectURLs: import("convex/values").
|
|
1086
|
-
type: import("convex/values").
|
|
1087
|
-
disabled: import("convex/values").
|
|
1088
|
-
userId: import("convex/values").
|
|
1089
|
-
createdAt: import("convex/values").
|
|
1090
|
-
updatedAt: import("convex/values").
|
|
1091
|
-
}, "required", "name" | "
|
|
1147
|
+
name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1148
|
+
icon: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1149
|
+
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1150
|
+
clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1151
|
+
clientSecret: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1152
|
+
redirectURLs: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1153
|
+
type: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1154
|
+
disabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1155
|
+
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1156
|
+
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1157
|
+
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1158
|
+
}, "required", "name" | "type" | "createdAt" | "updatedAt" | "userId" | "metadata" | "icon" | "clientId" | "clientSecret" | "redirectURLs" | "disabled">, {
|
|
1092
1159
|
clientId: ["clientId", "_creationTime"];
|
|
1093
1160
|
}, {}, {}>;
|
|
1094
1161
|
oauthAccessToken: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1095
|
-
createdAt?: number | undefined;
|
|
1096
|
-
updatedAt?: number | undefined;
|
|
1097
|
-
userId?: string | undefined;
|
|
1098
|
-
accessToken?: string | undefined;
|
|
1099
|
-
refreshToken?: string | undefined;
|
|
1100
|
-
accessTokenExpiresAt?: number | undefined;
|
|
1101
|
-
refreshTokenExpiresAt?: number | undefined;
|
|
1102
|
-
clientId?: string | undefined;
|
|
1103
|
-
scopes?: string | undefined;
|
|
1162
|
+
createdAt?: number | null | undefined;
|
|
1163
|
+
updatedAt?: number | null | undefined;
|
|
1164
|
+
userId?: string | null | undefined;
|
|
1165
|
+
accessToken?: string | null | undefined;
|
|
1166
|
+
refreshToken?: string | null | undefined;
|
|
1167
|
+
accessTokenExpiresAt?: number | null | undefined;
|
|
1168
|
+
refreshTokenExpiresAt?: number | null | undefined;
|
|
1169
|
+
clientId?: string | null | undefined;
|
|
1170
|
+
scopes?: string | null | undefined;
|
|
1104
1171
|
}, {
|
|
1105
|
-
accessToken: import("convex/values").
|
|
1106
|
-
refreshToken: import("convex/values").
|
|
1107
|
-
accessTokenExpiresAt: import("convex/values").
|
|
1108
|
-
refreshTokenExpiresAt: import("convex/values").
|
|
1109
|
-
clientId: import("convex/values").
|
|
1110
|
-
userId: import("convex/values").
|
|
1111
|
-
scopes: import("convex/values").
|
|
1112
|
-
createdAt: import("convex/values").
|
|
1113
|
-
updatedAt: import("convex/values").
|
|
1172
|
+
accessToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1173
|
+
refreshToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1174
|
+
accessTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1175
|
+
refreshTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1176
|
+
clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1177
|
+
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1178
|
+
scopes: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1179
|
+
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1180
|
+
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1114
1181
|
}, "required", "createdAt" | "updatedAt" | "userId" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "clientId" | "scopes">, {
|
|
1115
1182
|
accessToken: ["accessToken", "_creationTime"];
|
|
1116
1183
|
refreshToken: ["refreshToken", "_creationTime"];
|
|
1117
1184
|
}, {}, {}>;
|
|
1118
1185
|
oauthConsent: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1119
|
-
createdAt?: number | undefined;
|
|
1120
|
-
updatedAt?: number | undefined;
|
|
1121
|
-
userId?: string | undefined;
|
|
1122
|
-
clientId?: string | undefined;
|
|
1123
|
-
scopes?: string | undefined;
|
|
1124
|
-
consentGiven?: boolean | undefined;
|
|
1186
|
+
createdAt?: number | null | undefined;
|
|
1187
|
+
updatedAt?: number | null | undefined;
|
|
1188
|
+
userId?: string | null | undefined;
|
|
1189
|
+
clientId?: string | null | undefined;
|
|
1190
|
+
scopes?: string | null | undefined;
|
|
1191
|
+
consentGiven?: boolean | null | undefined;
|
|
1125
1192
|
}, {
|
|
1126
|
-
clientId: import("convex/values").
|
|
1127
|
-
userId: import("convex/values").
|
|
1128
|
-
scopes: import("convex/values").
|
|
1129
|
-
createdAt: import("convex/values").
|
|
1130
|
-
updatedAt: import("convex/values").
|
|
1131
|
-
consentGiven: import("convex/values").
|
|
1193
|
+
clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1194
|
+
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1195
|
+
scopes: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1196
|
+
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1197
|
+
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1198
|
+
consentGiven: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1132
1199
|
}, "required", "createdAt" | "updatedAt" | "userId" | "clientId" | "scopes" | "consentGiven">, {
|
|
1133
1200
|
clientId_userId: ["clientId", "userId", "_creationTime"];
|
|
1134
1201
|
}, {}, {}>;
|
|
1135
1202
|
organization: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1136
|
-
metadata?: string | undefined;
|
|
1137
|
-
slug?: string | undefined;
|
|
1138
|
-
logo?: string | undefined;
|
|
1203
|
+
metadata?: string | null | undefined;
|
|
1204
|
+
slug?: string | null | undefined;
|
|
1205
|
+
logo?: string | null | undefined;
|
|
1139
1206
|
name: string;
|
|
1140
1207
|
createdAt: number;
|
|
1141
1208
|
}, {
|
|
1142
1209
|
name: import("convex/values").VString<string, "required">;
|
|
1143
|
-
slug: import("convex/values").
|
|
1144
|
-
logo: import("convex/values").
|
|
1210
|
+
slug: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1211
|
+
logo: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1145
1212
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1146
|
-
metadata: import("convex/values").
|
|
1213
|
+
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1147
1214
|
}, "required", "name" | "createdAt" | "metadata" | "slug" | "logo">, {
|
|
1148
1215
|
name: ["name", "_creationTime"];
|
|
1149
1216
|
slug: ["slug", "_creationTime"];
|
|
1150
1217
|
}, {}, {}>;
|
|
1151
1218
|
member: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1152
|
-
teamId?: string | undefined;
|
|
1153
1219
|
createdAt: number;
|
|
1154
1220
|
role: string;
|
|
1155
1221
|
userId: string;
|
|
@@ -1158,18 +1224,15 @@ export declare const vv: {
|
|
|
1158
1224
|
organizationId: import("convex/values").VString<string, "required">;
|
|
1159
1225
|
userId: import("convex/values").VString<string, "required">;
|
|
1160
1226
|
role: import("convex/values").VString<string, "required">;
|
|
1161
|
-
teamId: import("convex/values").VString<string | undefined, "optional">;
|
|
1162
1227
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1163
|
-
}, "required", "createdAt" | "role" | "userId" | "organizationId"
|
|
1228
|
+
}, "required", "createdAt" | "role" | "userId" | "organizationId">, {
|
|
1164
1229
|
organizationId_userId: ["organizationId", "userId", "_creationTime"];
|
|
1165
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
1166
1230
|
userId: ["userId", "_creationTime"];
|
|
1167
1231
|
role: ["role", "_creationTime"];
|
|
1168
|
-
teamId: ["teamId", "_creationTime"];
|
|
1169
1232
|
}, {}, {}>;
|
|
1170
1233
|
invitation: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1171
|
-
role?: string | undefined;
|
|
1172
|
-
teamId?: string | undefined;
|
|
1234
|
+
role?: string | null | undefined;
|
|
1235
|
+
teamId?: string | null | undefined;
|
|
1173
1236
|
email: string;
|
|
1174
1237
|
expiresAt: number;
|
|
1175
1238
|
organizationId: string;
|
|
@@ -1178,23 +1241,21 @@ export declare const vv: {
|
|
|
1178
1241
|
}, {
|
|
1179
1242
|
organizationId: import("convex/values").VString<string, "required">;
|
|
1180
1243
|
email: import("convex/values").VString<string, "required">;
|
|
1181
|
-
role: import("convex/values").
|
|
1182
|
-
teamId: import("convex/values").
|
|
1244
|
+
role: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1245
|
+
teamId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1183
1246
|
status: import("convex/values").VString<string, "required">;
|
|
1184
1247
|
expiresAt: import("convex/values").VFloat64<number, "required">;
|
|
1185
1248
|
inviterId: import("convex/values").VString<string, "required">;
|
|
1186
|
-
}, "required", "email" | "role" | "
|
|
1249
|
+
}, "required", "email" | "role" | "teamId" | "expiresAt" | "organizationId" | "status" | "inviterId">, {
|
|
1187
1250
|
email_organizationId_status: ["email", "organizationId", "status", "_creationTime"];
|
|
1188
1251
|
organizationId_status: ["organizationId", "status", "_creationTime"];
|
|
1189
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
1190
|
-
email: ["email", "_creationTime"];
|
|
1191
1252
|
role: ["role", "_creationTime"];
|
|
1192
1253
|
teamId: ["teamId", "_creationTime"];
|
|
1193
1254
|
status: ["status", "_creationTime"];
|
|
1194
1255
|
inviterId: ["inviterId", "_creationTime"];
|
|
1195
1256
|
}, {}, {}>;
|
|
1196
1257
|
team: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1197
|
-
updatedAt?: number | undefined;
|
|
1258
|
+
updatedAt?: number | null | undefined;
|
|
1198
1259
|
name: string;
|
|
1199
1260
|
createdAt: number;
|
|
1200
1261
|
organizationId: string;
|
|
@@ -1202,25 +1263,36 @@ export declare const vv: {
|
|
|
1202
1263
|
name: import("convex/values").VString<string, "required">;
|
|
1203
1264
|
organizationId: import("convex/values").VString<string, "required">;
|
|
1204
1265
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1205
|
-
updatedAt: import("convex/values").
|
|
1266
|
+
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1206
1267
|
}, "required", "name" | "createdAt" | "updatedAt" | "organizationId">, {
|
|
1207
1268
|
organizationId: ["organizationId", "_creationTime"];
|
|
1208
1269
|
}, {}, {}>;
|
|
1270
|
+
teamMember: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1271
|
+
createdAt?: number | null | undefined;
|
|
1272
|
+
userId: string;
|
|
1273
|
+
teamId: string;
|
|
1274
|
+
}, {
|
|
1275
|
+
teamId: import("convex/values").VString<string, "required">;
|
|
1276
|
+
userId: import("convex/values").VString<string, "required">;
|
|
1277
|
+
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1278
|
+
}, "required", "createdAt" | "userId" | "teamId">, {
|
|
1279
|
+
userId: ["userId", "_creationTime"];
|
|
1280
|
+
}, {}, {}>;
|
|
1209
1281
|
ssoProvider: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1210
|
-
userId?: string | undefined;
|
|
1211
|
-
organizationId?: string | undefined;
|
|
1212
|
-
oidcConfig?: string | undefined;
|
|
1213
|
-
samlConfig?: string | undefined;
|
|
1282
|
+
userId?: string | null | undefined;
|
|
1283
|
+
organizationId?: string | null | undefined;
|
|
1284
|
+
oidcConfig?: string | null | undefined;
|
|
1285
|
+
samlConfig?: string | null | undefined;
|
|
1214
1286
|
providerId: string;
|
|
1215
1287
|
issuer: string;
|
|
1216
1288
|
domain: string;
|
|
1217
1289
|
}, {
|
|
1218
1290
|
issuer: import("convex/values").VString<string, "required">;
|
|
1219
|
-
oidcConfig: import("convex/values").
|
|
1220
|
-
samlConfig: import("convex/values").
|
|
1221
|
-
userId: import("convex/values").
|
|
1291
|
+
oidcConfig: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1292
|
+
samlConfig: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1293
|
+
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1222
1294
|
providerId: import("convex/values").VString<string, "required">;
|
|
1223
|
-
organizationId: import("convex/values").
|
|
1295
|
+
organizationId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1224
1296
|
domain: import("convex/values").VString<string, "required">;
|
|
1225
1297
|
}, "required", "userId" | "providerId" | "organizationId" | "issuer" | "oidcConfig" | "samlConfig" | "domain">, {
|
|
1226
1298
|
organizationId: ["organizationId", "_creationTime"];
|
|
@@ -1238,38 +1310,53 @@ export declare const vv: {
|
|
|
1238
1310
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1239
1311
|
}, "required", "createdAt" | "publicKey" | "privateKey">, {}, {}, {}>;
|
|
1240
1312
|
subscription: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1241
|
-
stripeCustomerId?: string | undefined;
|
|
1242
|
-
status?: string | undefined;
|
|
1243
|
-
stripeSubscriptionId?: string | undefined;
|
|
1244
|
-
periodStart?: number | undefined;
|
|
1245
|
-
periodEnd?: number | undefined;
|
|
1246
|
-
cancelAtPeriodEnd?: boolean | undefined;
|
|
1247
|
-
seats?: number | undefined;
|
|
1313
|
+
stripeCustomerId?: string | null | undefined;
|
|
1314
|
+
status?: string | null | undefined;
|
|
1315
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
1316
|
+
periodStart?: number | null | undefined;
|
|
1317
|
+
periodEnd?: number | null | undefined;
|
|
1318
|
+
cancelAtPeriodEnd?: boolean | null | undefined;
|
|
1319
|
+
seats?: number | null | undefined;
|
|
1248
1320
|
plan: string;
|
|
1249
1321
|
referenceId: string;
|
|
1250
1322
|
}, {
|
|
1251
1323
|
plan: import("convex/values").VString<string, "required">;
|
|
1252
1324
|
referenceId: import("convex/values").VString<string, "required">;
|
|
1253
|
-
stripeCustomerId: import("convex/values").
|
|
1254
|
-
stripeSubscriptionId: import("convex/values").
|
|
1255
|
-
status: import("convex/values").
|
|
1256
|
-
periodStart: import("convex/values").
|
|
1257
|
-
periodEnd: import("convex/values").
|
|
1258
|
-
cancelAtPeriodEnd: import("convex/values").
|
|
1259
|
-
seats: import("convex/values").
|
|
1325
|
+
stripeCustomerId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1326
|
+
stripeSubscriptionId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1327
|
+
status: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1328
|
+
periodStart: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1329
|
+
periodEnd: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1330
|
+
cancelAtPeriodEnd: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1331
|
+
seats: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1260
1332
|
}, "required", "stripeCustomerId" | "status" | "plan" | "referenceId" | "stripeSubscriptionId" | "periodStart" | "periodEnd" | "cancelAtPeriodEnd" | "seats">, {
|
|
1261
1333
|
stripeSubscriptionId: ["stripeSubscriptionId", "_creationTime"];
|
|
1262
1334
|
stripeCustomerId: ["stripeCustomerId", "_creationTime"];
|
|
1263
1335
|
referenceId: ["referenceId", "_creationTime"];
|
|
1264
1336
|
}, {}, {}>;
|
|
1337
|
+
walletAddress: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1338
|
+
isPrimary?: boolean | null | undefined;
|
|
1339
|
+
createdAt: number;
|
|
1340
|
+
userId: string;
|
|
1341
|
+
address: string;
|
|
1342
|
+
chainId: number;
|
|
1343
|
+
}, {
|
|
1344
|
+
userId: import("convex/values").VString<string, "required">;
|
|
1345
|
+
address: import("convex/values").VString<string, "required">;
|
|
1346
|
+
chainId: import("convex/values").VFloat64<number, "required">;
|
|
1347
|
+
isPrimary: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1348
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1349
|
+
}, "required", "createdAt" | "userId" | "address" | "chainId" | "isPrimary">, {
|
|
1350
|
+
userId: ["userId", "_creationTime"];
|
|
1351
|
+
}, {}, {}>;
|
|
1265
1352
|
rateLimit: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1266
|
-
key?: string | undefined;
|
|
1267
|
-
lastRequest?: number | undefined;
|
|
1268
|
-
count?: number | undefined;
|
|
1353
|
+
key?: string | null | undefined;
|
|
1354
|
+
lastRequest?: number | null | undefined;
|
|
1355
|
+
count?: number | null | undefined;
|
|
1269
1356
|
}, {
|
|
1270
|
-
key: import("convex/values").
|
|
1271
|
-
count: import("convex/values").
|
|
1272
|
-
lastRequest: import("convex/values").
|
|
1357
|
+
key: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1358
|
+
count: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1359
|
+
lastRequest: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1273
1360
|
}, "required", "key" | "lastRequest" | "count">, {
|
|
1274
1361
|
key: ["key", "_creationTime"];
|
|
1275
1362
|
}, {}, {}>;
|