@convex-dev/better-auth 0.8.6 → 0.8.7
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/adapterUtils.js +1 -1
- package/dist/commonjs/client/adapterUtils.js.map +1 -1
- package/dist/commonjs/client/index.d.ts.map +1 -1
- package/dist/commonjs/client/index.js +2 -2
- package/dist/commonjs/client/index.js.map +1 -1
- package/dist/commonjs/plugins/cross-domain/index.d.ts +4 -3
- package/dist/commonjs/plugins/cross-domain/index.d.ts.map +1 -1
- package/dist/commonjs/plugins/cross-domain/index.js +20 -13
- package/dist/commonjs/plugins/cross-domain/index.js.map +1 -1
- package/dist/commonjs/react/index.d.ts +28 -7
- package/dist/commonjs/react/index.d.ts.map +1 -1
- package/dist/commonjs/react/index.js +59 -11
- package/dist/commonjs/react/index.js.map +1 -1
- package/dist/commonjs/{src/react/index.d.ts → react/old-index.d.ts} +1 -1
- package/dist/commonjs/react/old-index.d.ts.map +1 -0
- package/dist/commonjs/{src/react/index.js → react/old-index.js} +1 -1
- package/dist/commonjs/react/old-index.js.map +1 -0
- package/dist/esm/client/adapterUtils.js +1 -1
- package/dist/esm/client/adapterUtils.js.map +1 -1
- package/dist/esm/client/index.d.ts.map +1 -1
- package/dist/esm/client/index.js +2 -2
- package/dist/esm/client/index.js.map +1 -1
- package/dist/esm/plugins/cross-domain/index.d.ts +4 -3
- package/dist/esm/plugins/cross-domain/index.d.ts.map +1 -1
- package/dist/esm/plugins/cross-domain/index.js +20 -13
- package/dist/esm/plugins/cross-domain/index.js.map +1 -1
- package/dist/esm/react/index.d.ts +28 -7
- package/dist/esm/react/index.d.ts.map +1 -1
- package/dist/esm/react/index.js +59 -11
- package/dist/esm/react/index.js.map +1 -1
- package/dist/esm/{src/react/index.d.ts → react/old-index.d.ts} +1 -1
- package/dist/esm/react/old-index.d.ts.map +1 -0
- package/dist/esm/{src/react/index.js → react/old-index.js} +1 -1
- package/dist/esm/react/old-index.js.map +1 -0
- package/package.json +1 -1
- package/src/client/adapterUtils.ts +1 -1
- package/src/client/index.ts +2 -2
- package/src/plugins/cross-domain/index.ts +33 -20
- package/src/react/index.tsx +110 -28
- package/dist/commonjs/client/createSchemaInternal.d.ts +0 -24
- package/dist/commonjs/client/createSchemaInternal.d.ts.map +0 -1
- package/dist/commonjs/client/createSchemaInternal.js +0 -105
- package/dist/commonjs/client/createSchemaInternal.js.map +0 -1
- package/dist/commonjs/component/lib.d.ts +0 -432
- package/dist/commonjs/component/lib.d.ts.map +0 -1
- package/dist/commonjs/component/lib.js +0 -570
- package/dist/commonjs/component/lib.js.map +0 -1
- package/dist/commonjs/component/util.d.ts +0 -1406
- package/dist/commonjs/component/util.d.ts.map +0 -1
- package/dist/commonjs/component/util.js +0 -4
- package/dist/commonjs/component/util.js.map +0 -1
- package/dist/commonjs/src/auth.d.ts +0 -3085
- package/dist/commonjs/src/auth.d.ts.map +0 -1
- package/dist/commonjs/src/auth.js +0 -72
- package/dist/commonjs/src/auth.js.map +0 -1
- package/dist/commonjs/src/client/adapter.d.ts +0 -18
- package/dist/commonjs/src/client/adapter.d.ts.map +0 -1
- package/dist/commonjs/src/client/adapter.js +0 -211
- package/dist/commonjs/src/client/adapter.js.map +0 -1
- package/dist/commonjs/src/client/createSchema.d.ts +0 -25
- package/dist/commonjs/src/client/createSchema.d.ts.map +0 -1
- package/dist/commonjs/src/client/createSchema.js +0 -103
- package/dist/commonjs/src/client/createSchema.js.map +0 -1
- package/dist/commonjs/src/client/index.d.ts +0 -3310
- package/dist/commonjs/src/client/index.d.ts.map +0 -1
- package/dist/commonjs/src/client/index.js +0 -377
- package/dist/commonjs/src/client/index.js.map +0 -1
- package/dist/commonjs/src/client/plugins/index.d.ts +0 -3
- package/dist/commonjs/src/client/plugins/index.d.ts.map +0 -1
- package/dist/commonjs/src/client/plugins/index.js +0 -3
- package/dist/commonjs/src/client/plugins/index.js.map +0 -1
- package/dist/commonjs/src/component/_generated/api.d.ts +0 -12
- package/dist/commonjs/src/component/_generated/api.d.ts.map +0 -1
- package/dist/commonjs/src/component/_generated/api.js +0 -22
- package/dist/commonjs/src/component/_generated/api.js.map +0 -1
- package/dist/commonjs/src/component/_generated/server.d.ts +0 -64
- package/dist/commonjs/src/component/_generated/server.d.ts.map +0 -1
- package/dist/commonjs/src/component/_generated/server.js +0 -74
- package/dist/commonjs/src/component/_generated/server.js.map +0 -1
- package/dist/commonjs/src/component/adapter.d.ts +0 -355
- package/dist/commonjs/src/component/adapter.d.ts.map +0 -1
- package/dist/commonjs/src/component/adapter.js +0 -573
- package/dist/commonjs/src/component/adapter.js.map +0 -1
- package/dist/commonjs/src/component/adapterTest.d.ts +0 -18
- package/dist/commonjs/src/component/adapterTest.d.ts.map +0 -1
- package/dist/commonjs/src/component/adapterTest.js +0 -75
- package/dist/commonjs/src/component/adapterTest.js.map +0 -1
- package/dist/commonjs/src/component/convex.config.d.ts +0 -3
- package/dist/commonjs/src/component/convex.config.d.ts.map +0 -1
- package/dist/commonjs/src/component/convex.config.js +0 -4
- package/dist/commonjs/src/component/convex.config.js.map +0 -1
- package/dist/commonjs/src/component/schema.d.ts +0 -562
- package/dist/commonjs/src/component/schema.d.ts.map +0 -1
- package/dist/commonjs/src/component/schema.js +0 -217
- package/dist/commonjs/src/component/schema.js.map +0 -1
- package/dist/commonjs/src/nextjs/index.d.ts +0 -10
- package/dist/commonjs/src/nextjs/index.d.ts.map +0 -1
- package/dist/commonjs/src/nextjs/index.js +0 -43
- package/dist/commonjs/src/nextjs/index.js.map +0 -1
- package/dist/commonjs/src/plugins/convex/client.d.ts +0 -9
- package/dist/commonjs/src/plugins/convex/client.d.ts.map +0 -1
- package/dist/commonjs/src/plugins/convex/client.js +0 -7
- package/dist/commonjs/src/plugins/convex/client.js.map +0 -1
- package/dist/commonjs/src/plugins/convex/index.d.ts +0 -415
- package/dist/commonjs/src/plugins/convex/index.d.ts.map +0 -1
- package/dist/commonjs/src/plugins/convex/index.js +0 -354
- package/dist/commonjs/src/plugins/convex/index.js.map +0 -1
- package/dist/commonjs/src/plugins/cross-domain/client.d.ts +0 -132
- package/dist/commonjs/src/plugins/cross-domain/client.d.ts.map +0 -1
- package/dist/commonjs/src/plugins/cross-domain/client.js +0 -176
- package/dist/commonjs/src/plugins/cross-domain/client.js.map +0 -1
- package/dist/commonjs/src/plugins/cross-domain/index.d.ts +0 -83
- package/dist/commonjs/src/plugins/cross-domain/index.d.ts.map +0 -1
- package/dist/commonjs/src/plugins/cross-domain/index.js +0 -153
- package/dist/commonjs/src/plugins/cross-domain/index.js.map +0 -1
- package/dist/commonjs/src/plugins/index.d.ts +0 -3
- package/dist/commonjs/src/plugins/index.d.ts.map +0 -1
- package/dist/commonjs/src/plugins/index.js +0 -3
- package/dist/commonjs/src/plugins/index.js.map +0 -1
- package/dist/commonjs/src/react/client.d.ts +0 -31
- package/dist/commonjs/src/react/client.d.ts.map +0 -1
- package/dist/commonjs/src/react/client.js +0 -96
- package/dist/commonjs/src/react/client.js.map +0 -1
- package/dist/commonjs/src/react/index.d.ts.map +0 -1
- package/dist/commonjs/src/react/index.js.map +0 -1
- package/dist/commonjs/src/react-start/index.d.ts +0 -45
- package/dist/commonjs/src/react-start/index.d.ts.map +0 -1
- package/dist/commonjs/src/react-start/index.js +0 -60
- package/dist/commonjs/src/react-start/index.js.map +0 -1
- package/dist/commonjs/src/utils/index.d.ts +0 -9
- package/dist/commonjs/src/utils/index.d.ts.map +0 -1
- package/dist/commonjs/src/utils/index.js +0 -35
- package/dist/commonjs/src/utils/index.js.map +0 -1
- package/dist/esm/client/createSchemaInternal.d.ts +0 -24
- package/dist/esm/client/createSchemaInternal.d.ts.map +0 -1
- package/dist/esm/client/createSchemaInternal.js +0 -105
- package/dist/esm/client/createSchemaInternal.js.map +0 -1
- package/dist/esm/component/lib.d.ts +0 -432
- package/dist/esm/component/lib.d.ts.map +0 -1
- package/dist/esm/component/lib.js +0 -570
- package/dist/esm/component/lib.js.map +0 -1
- package/dist/esm/component/util.d.ts +0 -1406
- package/dist/esm/component/util.d.ts.map +0 -1
- package/dist/esm/component/util.js +0 -4
- package/dist/esm/component/util.js.map +0 -1
- package/dist/esm/src/auth.d.ts +0 -3085
- package/dist/esm/src/auth.d.ts.map +0 -1
- package/dist/esm/src/auth.js +0 -72
- package/dist/esm/src/auth.js.map +0 -1
- package/dist/esm/src/client/adapter.d.ts +0 -18
- package/dist/esm/src/client/adapter.d.ts.map +0 -1
- package/dist/esm/src/client/adapter.js +0 -211
- package/dist/esm/src/client/adapter.js.map +0 -1
- package/dist/esm/src/client/createSchema.d.ts +0 -25
- package/dist/esm/src/client/createSchema.d.ts.map +0 -1
- package/dist/esm/src/client/createSchema.js +0 -103
- package/dist/esm/src/client/createSchema.js.map +0 -1
- package/dist/esm/src/client/index.d.ts +0 -3310
- package/dist/esm/src/client/index.d.ts.map +0 -1
- package/dist/esm/src/client/index.js +0 -377
- package/dist/esm/src/client/index.js.map +0 -1
- package/dist/esm/src/client/plugins/index.d.ts +0 -3
- package/dist/esm/src/client/plugins/index.d.ts.map +0 -1
- package/dist/esm/src/client/plugins/index.js +0 -3
- package/dist/esm/src/client/plugins/index.js.map +0 -1
- package/dist/esm/src/component/_generated/api.d.ts +0 -12
- package/dist/esm/src/component/_generated/api.d.ts.map +0 -1
- package/dist/esm/src/component/_generated/api.js +0 -22
- package/dist/esm/src/component/_generated/api.js.map +0 -1
- package/dist/esm/src/component/_generated/server.d.ts +0 -64
- package/dist/esm/src/component/_generated/server.d.ts.map +0 -1
- package/dist/esm/src/component/_generated/server.js +0 -74
- package/dist/esm/src/component/_generated/server.js.map +0 -1
- package/dist/esm/src/component/adapter.d.ts +0 -355
- package/dist/esm/src/component/adapter.d.ts.map +0 -1
- package/dist/esm/src/component/adapter.js +0 -573
- package/dist/esm/src/component/adapter.js.map +0 -1
- package/dist/esm/src/component/adapterTest.d.ts +0 -18
- package/dist/esm/src/component/adapterTest.d.ts.map +0 -1
- package/dist/esm/src/component/adapterTest.js +0 -75
- package/dist/esm/src/component/adapterTest.js.map +0 -1
- package/dist/esm/src/component/convex.config.d.ts +0 -3
- package/dist/esm/src/component/convex.config.d.ts.map +0 -1
- package/dist/esm/src/component/convex.config.js +0 -4
- package/dist/esm/src/component/convex.config.js.map +0 -1
- package/dist/esm/src/component/schema.d.ts +0 -562
- package/dist/esm/src/component/schema.d.ts.map +0 -1
- package/dist/esm/src/component/schema.js +0 -217
- package/dist/esm/src/component/schema.js.map +0 -1
- package/dist/esm/src/nextjs/index.d.ts +0 -10
- package/dist/esm/src/nextjs/index.d.ts.map +0 -1
- package/dist/esm/src/nextjs/index.js +0 -43
- package/dist/esm/src/nextjs/index.js.map +0 -1
- package/dist/esm/src/plugins/convex/client.d.ts +0 -9
- package/dist/esm/src/plugins/convex/client.d.ts.map +0 -1
- package/dist/esm/src/plugins/convex/client.js +0 -7
- package/dist/esm/src/plugins/convex/client.js.map +0 -1
- package/dist/esm/src/plugins/convex/index.d.ts +0 -415
- package/dist/esm/src/plugins/convex/index.d.ts.map +0 -1
- package/dist/esm/src/plugins/convex/index.js +0 -354
- package/dist/esm/src/plugins/convex/index.js.map +0 -1
- package/dist/esm/src/plugins/cross-domain/client.d.ts +0 -132
- package/dist/esm/src/plugins/cross-domain/client.d.ts.map +0 -1
- package/dist/esm/src/plugins/cross-domain/client.js +0 -176
- package/dist/esm/src/plugins/cross-domain/client.js.map +0 -1
- package/dist/esm/src/plugins/cross-domain/index.d.ts +0 -83
- package/dist/esm/src/plugins/cross-domain/index.d.ts.map +0 -1
- package/dist/esm/src/plugins/cross-domain/index.js +0 -153
- package/dist/esm/src/plugins/cross-domain/index.js.map +0 -1
- package/dist/esm/src/plugins/index.d.ts +0 -3
- package/dist/esm/src/plugins/index.d.ts.map +0 -1
- package/dist/esm/src/plugins/index.js +0 -3
- package/dist/esm/src/plugins/index.js.map +0 -1
- package/dist/esm/src/react/client.d.ts +0 -31
- package/dist/esm/src/react/client.d.ts.map +0 -1
- package/dist/esm/src/react/client.js +0 -96
- package/dist/esm/src/react/client.js.map +0 -1
- package/dist/esm/src/react/index.d.ts.map +0 -1
- package/dist/esm/src/react/index.js.map +0 -1
- package/dist/esm/src/react-start/index.d.ts +0 -45
- package/dist/esm/src/react-start/index.d.ts.map +0 -1
- package/dist/esm/src/react-start/index.js +0 -60
- package/dist/esm/src/react-start/index.js.map +0 -1
- package/dist/esm/src/utils/index.d.ts +0 -9
- package/dist/esm/src/utils/index.d.ts.map +0 -1
- package/dist/esm/src/utils/index.js +0 -35
- package/dist/esm/src/utils/index.js.map +0 -1
- package/src/react/client.tsx +0 -178
|
@@ -1,1406 +0,0 @@
|
|
|
1
|
-
export declare const vv: {
|
|
2
|
-
id: <TableName extends import("convex/server").TableNamesInDataModel<{
|
|
3
|
-
user: {
|
|
4
|
-
document: {
|
|
5
|
-
_id: import("convex/values").GenericId<"user">;
|
|
6
|
-
_creationTime: number;
|
|
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;
|
|
21
|
-
name: string;
|
|
22
|
-
email: string;
|
|
23
|
-
emailVerified: boolean;
|
|
24
|
-
createdAt: number;
|
|
25
|
-
updatedAt: number;
|
|
26
|
-
};
|
|
27
|
-
fieldPaths: ("name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
28
|
-
indexes: {
|
|
29
|
-
email_name: ["email", "name", "_creationTime"];
|
|
30
|
-
name: ["name", "_creationTime"];
|
|
31
|
-
userId: ["userId", "_creationTime"];
|
|
32
|
-
username: ["username", "_creationTime"];
|
|
33
|
-
phoneNumber: ["phoneNumber", "_creationTime"];
|
|
34
|
-
by_id: ["_id"];
|
|
35
|
-
by_creation_time: ["_creationTime"];
|
|
36
|
-
};
|
|
37
|
-
searchIndexes: {};
|
|
38
|
-
vectorIndexes: {};
|
|
39
|
-
};
|
|
40
|
-
session: {
|
|
41
|
-
document: {
|
|
42
|
-
_id: import("convex/values").GenericId<"session">;
|
|
43
|
-
_creationTime: number;
|
|
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;
|
|
49
|
-
createdAt: number;
|
|
50
|
-
updatedAt: number;
|
|
51
|
-
userId: string;
|
|
52
|
-
expiresAt: number;
|
|
53
|
-
token: string;
|
|
54
|
-
};
|
|
55
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId" | "activeTeamId") | "_id";
|
|
56
|
-
indexes: {
|
|
57
|
-
expiresAt: ["expiresAt", "_creationTime"];
|
|
58
|
-
expiresAt_userId: ["expiresAt", "userId", "_creationTime"];
|
|
59
|
-
token: ["token", "_creationTime"];
|
|
60
|
-
userId: ["userId", "_creationTime"];
|
|
61
|
-
by_id: ["_id"];
|
|
62
|
-
by_creation_time: ["_creationTime"];
|
|
63
|
-
};
|
|
64
|
-
searchIndexes: {};
|
|
65
|
-
vectorIndexes: {};
|
|
66
|
-
};
|
|
67
|
-
account: {
|
|
68
|
-
document: {
|
|
69
|
-
_id: import("convex/values").GenericId<"account">;
|
|
70
|
-
_creationTime: number;
|
|
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;
|
|
78
|
-
createdAt: number;
|
|
79
|
-
updatedAt: number;
|
|
80
|
-
userId: string;
|
|
81
|
-
accountId: string;
|
|
82
|
-
providerId: string;
|
|
83
|
-
};
|
|
84
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "accountId" | "providerId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password") | "_id";
|
|
85
|
-
indexes: {
|
|
86
|
-
accountId: ["accountId", "_creationTime"];
|
|
87
|
-
accountId_providerId: ["accountId", "providerId", "_creationTime"];
|
|
88
|
-
providerId_userId: ["providerId", "userId", "_creationTime"];
|
|
89
|
-
userId: ["userId", "_creationTime"];
|
|
90
|
-
by_id: ["_id"];
|
|
91
|
-
by_creation_time: ["_creationTime"];
|
|
92
|
-
};
|
|
93
|
-
searchIndexes: {};
|
|
94
|
-
vectorIndexes: {};
|
|
95
|
-
};
|
|
96
|
-
verification: {
|
|
97
|
-
document: {
|
|
98
|
-
_id: import("convex/values").GenericId<"verification">;
|
|
99
|
-
_creationTime: number;
|
|
100
|
-
createdAt: number;
|
|
101
|
-
updatedAt: number;
|
|
102
|
-
expiresAt: number;
|
|
103
|
-
identifier: string;
|
|
104
|
-
value: string;
|
|
105
|
-
};
|
|
106
|
-
fieldPaths: ("createdAt" | "updatedAt" | "_creationTime" | "expiresAt" | "identifier" | "value") | "_id";
|
|
107
|
-
indexes: {
|
|
108
|
-
expiresAt: ["expiresAt", "_creationTime"];
|
|
109
|
-
identifier: ["identifier", "_creationTime"];
|
|
110
|
-
by_id: ["_id"];
|
|
111
|
-
by_creation_time: ["_creationTime"];
|
|
112
|
-
};
|
|
113
|
-
searchIndexes: {};
|
|
114
|
-
vectorIndexes: {};
|
|
115
|
-
};
|
|
116
|
-
twoFactor: {
|
|
117
|
-
document: {
|
|
118
|
-
_id: import("convex/values").GenericId<"twoFactor">;
|
|
119
|
-
_creationTime: number;
|
|
120
|
-
userId: string;
|
|
121
|
-
secret: string;
|
|
122
|
-
backupCodes: string;
|
|
123
|
-
};
|
|
124
|
-
fieldPaths: ("userId" | "_creationTime" | "secret" | "backupCodes") | "_id";
|
|
125
|
-
indexes: {
|
|
126
|
-
userId: ["userId", "_creationTime"];
|
|
127
|
-
by_id: ["_id"];
|
|
128
|
-
by_creation_time: ["_creationTime"];
|
|
129
|
-
};
|
|
130
|
-
searchIndexes: {};
|
|
131
|
-
vectorIndexes: {};
|
|
132
|
-
};
|
|
133
|
-
passkey: {
|
|
134
|
-
document: {
|
|
135
|
-
_id: import("convex/values").GenericId<"passkey">;
|
|
136
|
-
_creationTime: number;
|
|
137
|
-
name?: string | null | undefined;
|
|
138
|
-
createdAt?: number | null | undefined;
|
|
139
|
-
transports?: string | null | undefined;
|
|
140
|
-
aaguid?: string | null | undefined;
|
|
141
|
-
userId: string;
|
|
142
|
-
publicKey: string;
|
|
143
|
-
credentialID: string;
|
|
144
|
-
counter: number;
|
|
145
|
-
deviceType: string;
|
|
146
|
-
backedUp: boolean;
|
|
147
|
-
};
|
|
148
|
-
fieldPaths: ("name" | "createdAt" | "userId" | "_creationTime" | "publicKey" | "credentialID" | "counter" | "deviceType" | "backedUp" | "transports" | "aaguid") | "_id";
|
|
149
|
-
indexes: {
|
|
150
|
-
credentialID: ["credentialID", "_creationTime"];
|
|
151
|
-
userId: ["userId", "_creationTime"];
|
|
152
|
-
by_id: ["_id"];
|
|
153
|
-
by_creation_time: ["_creationTime"];
|
|
154
|
-
};
|
|
155
|
-
searchIndexes: {};
|
|
156
|
-
vectorIndexes: {};
|
|
157
|
-
};
|
|
158
|
-
apikey: {
|
|
159
|
-
document: {
|
|
160
|
-
_id: import("convex/values").GenericId<"apikey">;
|
|
161
|
-
_creationTime: number;
|
|
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;
|
|
178
|
-
createdAt: number;
|
|
179
|
-
updatedAt: number;
|
|
180
|
-
userId: string;
|
|
181
|
-
key: string;
|
|
182
|
-
};
|
|
183
|
-
fieldPaths: ("name" | "createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "start" | "prefix" | "key" | "refillInterval" | "refillAmount" | "lastRefillAt" | "enabled" | "rateLimitEnabled" | "rateLimitTimeWindow" | "rateLimitMax" | "requestCount" | "remaining" | "lastRequest" | "permissions" | "metadata") | "_id";
|
|
184
|
-
indexes: {
|
|
185
|
-
key: ["key", "_creationTime"];
|
|
186
|
-
userId: ["userId", "_creationTime"];
|
|
187
|
-
by_id: ["_id"];
|
|
188
|
-
by_creation_time: ["_creationTime"];
|
|
189
|
-
};
|
|
190
|
-
searchIndexes: {};
|
|
191
|
-
vectorIndexes: {};
|
|
192
|
-
};
|
|
193
|
-
oauthApplication: {
|
|
194
|
-
document: {
|
|
195
|
-
_id: import("convex/values").GenericId<"oauthApplication">;
|
|
196
|
-
_creationTime: number;
|
|
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";
|
|
210
|
-
indexes: {
|
|
211
|
-
clientId: ["clientId", "_creationTime"];
|
|
212
|
-
userId: ["userId", "_creationTime"];
|
|
213
|
-
by_id: ["_id"];
|
|
214
|
-
by_creation_time: ["_creationTime"];
|
|
215
|
-
};
|
|
216
|
-
searchIndexes: {};
|
|
217
|
-
vectorIndexes: {};
|
|
218
|
-
};
|
|
219
|
-
oauthAccessToken: {
|
|
220
|
-
document: {
|
|
221
|
-
_id: import("convex/values").GenericId<"oauthAccessToken">;
|
|
222
|
-
_creationTime: number;
|
|
223
|
-
createdAt?: number | null | undefined;
|
|
224
|
-
updatedAt?: number | null | undefined;
|
|
225
|
-
userId?: string | null | undefined;
|
|
226
|
-
accessToken?: string | null | undefined;
|
|
227
|
-
refreshToken?: string | null | undefined;
|
|
228
|
-
accessTokenExpiresAt?: number | null | undefined;
|
|
229
|
-
refreshTokenExpiresAt?: number | null | undefined;
|
|
230
|
-
clientId?: string | null | undefined;
|
|
231
|
-
scopes?: string | null | undefined;
|
|
232
|
-
};
|
|
233
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "clientId" | "scopes") | "_id";
|
|
234
|
-
indexes: {
|
|
235
|
-
accessToken: ["accessToken", "_creationTime"];
|
|
236
|
-
refreshToken: ["refreshToken", "_creationTime"];
|
|
237
|
-
clientId: ["clientId", "_creationTime"];
|
|
238
|
-
userId: ["userId", "_creationTime"];
|
|
239
|
-
by_id: ["_id"];
|
|
240
|
-
by_creation_time: ["_creationTime"];
|
|
241
|
-
};
|
|
242
|
-
searchIndexes: {};
|
|
243
|
-
vectorIndexes: {};
|
|
244
|
-
};
|
|
245
|
-
oauthConsent: {
|
|
246
|
-
document: {
|
|
247
|
-
_id: import("convex/values").GenericId<"oauthConsent">;
|
|
248
|
-
_creationTime: number;
|
|
249
|
-
createdAt?: number | null | undefined;
|
|
250
|
-
updatedAt?: number | null | undefined;
|
|
251
|
-
userId?: string | null | undefined;
|
|
252
|
-
clientId?: string | null | undefined;
|
|
253
|
-
scopes?: string | null | undefined;
|
|
254
|
-
consentGiven?: boolean | null | undefined;
|
|
255
|
-
};
|
|
256
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "clientId" | "scopes" | "consentGiven") | "_id";
|
|
257
|
-
indexes: {
|
|
258
|
-
clientId_userId: ["clientId", "userId", "_creationTime"];
|
|
259
|
-
userId: ["userId", "_creationTime"];
|
|
260
|
-
by_id: ["_id"];
|
|
261
|
-
by_creation_time: ["_creationTime"];
|
|
262
|
-
};
|
|
263
|
-
searchIndexes: {};
|
|
264
|
-
vectorIndexes: {};
|
|
265
|
-
};
|
|
266
|
-
team: {
|
|
267
|
-
document: {
|
|
268
|
-
_id: import("convex/values").GenericId<"team">;
|
|
269
|
-
_creationTime: number;
|
|
270
|
-
updatedAt?: number | null | undefined;
|
|
271
|
-
name: string;
|
|
272
|
-
createdAt: number;
|
|
273
|
-
organizationId: string;
|
|
274
|
-
};
|
|
275
|
-
fieldPaths: ("name" | "createdAt" | "updatedAt" | "_creationTime" | "organizationId") | "_id";
|
|
276
|
-
indexes: {
|
|
277
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
278
|
-
by_id: ["_id"];
|
|
279
|
-
by_creation_time: ["_creationTime"];
|
|
280
|
-
};
|
|
281
|
-
searchIndexes: {};
|
|
282
|
-
vectorIndexes: {};
|
|
283
|
-
};
|
|
284
|
-
teamMember: {
|
|
285
|
-
document: {
|
|
286
|
-
_id: import("convex/values").GenericId<"teamMember">;
|
|
287
|
-
_creationTime: number;
|
|
288
|
-
createdAt?: number | null | undefined;
|
|
289
|
-
userId: string;
|
|
290
|
-
teamId: string;
|
|
291
|
-
};
|
|
292
|
-
fieldPaths: ("createdAt" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
293
|
-
indexes: {
|
|
294
|
-
teamId: ["teamId", "_creationTime"];
|
|
295
|
-
userId: ["userId", "_creationTime"];
|
|
296
|
-
by_id: ["_id"];
|
|
297
|
-
by_creation_time: ["_creationTime"];
|
|
298
|
-
};
|
|
299
|
-
searchIndexes: {};
|
|
300
|
-
vectorIndexes: {};
|
|
301
|
-
};
|
|
302
|
-
organization: {
|
|
303
|
-
document: {
|
|
304
|
-
_id: import("convex/values").GenericId<"organization">;
|
|
305
|
-
_creationTime: number;
|
|
306
|
-
metadata?: string | null | undefined;
|
|
307
|
-
slug?: string | null | undefined;
|
|
308
|
-
logo?: string | null | undefined;
|
|
309
|
-
name: string;
|
|
310
|
-
createdAt: number;
|
|
311
|
-
};
|
|
312
|
-
fieldPaths: ("name" | "createdAt" | "_creationTime" | "metadata" | "slug" | "logo") | "_id";
|
|
313
|
-
indexes: {
|
|
314
|
-
name: ["name", "_creationTime"];
|
|
315
|
-
slug: ["slug", "_creationTime"];
|
|
316
|
-
by_id: ["_id"];
|
|
317
|
-
by_creation_time: ["_creationTime"];
|
|
318
|
-
};
|
|
319
|
-
searchIndexes: {};
|
|
320
|
-
vectorIndexes: {};
|
|
321
|
-
};
|
|
322
|
-
member: {
|
|
323
|
-
document: {
|
|
324
|
-
_id: import("convex/values").GenericId<"member">;
|
|
325
|
-
_creationTime: number;
|
|
326
|
-
createdAt: number;
|
|
327
|
-
role: string;
|
|
328
|
-
userId: string;
|
|
329
|
-
organizationId: string;
|
|
330
|
-
};
|
|
331
|
-
fieldPaths: ("createdAt" | "role" | "userId" | "_creationTime" | "organizationId") | "_id";
|
|
332
|
-
indexes: {
|
|
333
|
-
organizationId_userId: ["organizationId", "userId", "_creationTime"];
|
|
334
|
-
userId: ["userId", "_creationTime"];
|
|
335
|
-
role: ["role", "_creationTime"];
|
|
336
|
-
by_id: ["_id"];
|
|
337
|
-
by_creation_time: ["_creationTime"];
|
|
338
|
-
};
|
|
339
|
-
searchIndexes: {};
|
|
340
|
-
vectorIndexes: {};
|
|
341
|
-
};
|
|
342
|
-
invitation: {
|
|
343
|
-
document: {
|
|
344
|
-
_id: import("convex/values").GenericId<"invitation">;
|
|
345
|
-
_creationTime: number;
|
|
346
|
-
role?: string | null | undefined;
|
|
347
|
-
teamId?: string | null | undefined;
|
|
348
|
-
email: string;
|
|
349
|
-
expiresAt: number;
|
|
350
|
-
organizationId: string;
|
|
351
|
-
status: string;
|
|
352
|
-
inviterId: string;
|
|
353
|
-
};
|
|
354
|
-
fieldPaths: ("email" | "role" | "teamId" | "_creationTime" | "expiresAt" | "organizationId" | "status" | "inviterId") | "_id";
|
|
355
|
-
indexes: {
|
|
356
|
-
email_organizationId_status: ["email", "organizationId", "status", "_creationTime"];
|
|
357
|
-
organizationId_status: ["organizationId", "status", "_creationTime"];
|
|
358
|
-
role: ["role", "_creationTime"];
|
|
359
|
-
teamId: ["teamId", "_creationTime"];
|
|
360
|
-
status: ["status", "_creationTime"];
|
|
361
|
-
inviterId: ["inviterId", "_creationTime"];
|
|
362
|
-
by_id: ["_id"];
|
|
363
|
-
by_creation_time: ["_creationTime"];
|
|
364
|
-
};
|
|
365
|
-
searchIndexes: {};
|
|
366
|
-
vectorIndexes: {};
|
|
367
|
-
};
|
|
368
|
-
ssoProvider: {
|
|
369
|
-
document: {
|
|
370
|
-
_id: import("convex/values").GenericId<"ssoProvider">;
|
|
371
|
-
_creationTime: number;
|
|
372
|
-
userId?: string | null | undefined;
|
|
373
|
-
organizationId?: string | null | undefined;
|
|
374
|
-
oidcConfig?: string | null | undefined;
|
|
375
|
-
samlConfig?: string | null | undefined;
|
|
376
|
-
providerId: string;
|
|
377
|
-
issuer: string;
|
|
378
|
-
domain: string;
|
|
379
|
-
};
|
|
380
|
-
fieldPaths: ("userId" | "_creationTime" | "providerId" | "organizationId" | "issuer" | "oidcConfig" | "samlConfig" | "domain") | "_id";
|
|
381
|
-
indexes: {
|
|
382
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
383
|
-
domain: ["domain", "_creationTime"];
|
|
384
|
-
userId: ["userId", "_creationTime"];
|
|
385
|
-
providerId: ["providerId", "_creationTime"];
|
|
386
|
-
by_id: ["_id"];
|
|
387
|
-
by_creation_time: ["_creationTime"];
|
|
388
|
-
};
|
|
389
|
-
searchIndexes: {};
|
|
390
|
-
vectorIndexes: {};
|
|
391
|
-
};
|
|
392
|
-
jwks: {
|
|
393
|
-
document: {
|
|
394
|
-
_id: import("convex/values").GenericId<"jwks">;
|
|
395
|
-
_creationTime: number;
|
|
396
|
-
createdAt: number;
|
|
397
|
-
publicKey: string;
|
|
398
|
-
privateKey: string;
|
|
399
|
-
};
|
|
400
|
-
fieldPaths: "_id" | ("createdAt" | "_creationTime" | "publicKey" | "privateKey");
|
|
401
|
-
indexes: {
|
|
402
|
-
by_id: ["_id"];
|
|
403
|
-
by_creation_time: ["_creationTime"];
|
|
404
|
-
};
|
|
405
|
-
searchIndexes: {};
|
|
406
|
-
vectorIndexes: {};
|
|
407
|
-
};
|
|
408
|
-
subscription: {
|
|
409
|
-
document: {
|
|
410
|
-
_id: import("convex/values").GenericId<"subscription">;
|
|
411
|
-
_creationTime: number;
|
|
412
|
-
stripeCustomerId?: string | null | undefined;
|
|
413
|
-
status?: string | null | undefined;
|
|
414
|
-
stripeSubscriptionId?: string | null | undefined;
|
|
415
|
-
periodStart?: number | null | undefined;
|
|
416
|
-
periodEnd?: number | null | undefined;
|
|
417
|
-
trialStart?: number | null | undefined;
|
|
418
|
-
trialEnd?: number | null | undefined;
|
|
419
|
-
cancelAtPeriodEnd?: boolean | null | undefined;
|
|
420
|
-
seats?: number | null | undefined;
|
|
421
|
-
plan: string;
|
|
422
|
-
referenceId: string;
|
|
423
|
-
};
|
|
424
|
-
fieldPaths: ("stripeCustomerId" | "_creationTime" | "status" | "plan" | "referenceId" | "stripeSubscriptionId" | "periodStart" | "periodEnd" | "trialStart" | "trialEnd" | "cancelAtPeriodEnd" | "seats") | "_id";
|
|
425
|
-
indexes: {
|
|
426
|
-
stripeSubscriptionId: ["stripeSubscriptionId", "_creationTime"];
|
|
427
|
-
stripeCustomerId: ["stripeCustomerId", "_creationTime"];
|
|
428
|
-
referenceId: ["referenceId", "_creationTime"];
|
|
429
|
-
by_id: ["_id"];
|
|
430
|
-
by_creation_time: ["_creationTime"];
|
|
431
|
-
};
|
|
432
|
-
searchIndexes: {};
|
|
433
|
-
vectorIndexes: {};
|
|
434
|
-
};
|
|
435
|
-
walletAddress: {
|
|
436
|
-
document: {
|
|
437
|
-
_id: import("convex/values").GenericId<"walletAddress">;
|
|
438
|
-
_creationTime: number;
|
|
439
|
-
isPrimary?: boolean | null | undefined;
|
|
440
|
-
createdAt: number;
|
|
441
|
-
userId: string;
|
|
442
|
-
address: string;
|
|
443
|
-
chainId: number;
|
|
444
|
-
};
|
|
445
|
-
fieldPaths: ("createdAt" | "userId" | "_creationTime" | "address" | "chainId" | "isPrimary") | "_id";
|
|
446
|
-
indexes: {
|
|
447
|
-
userId: ["userId", "_creationTime"];
|
|
448
|
-
by_id: ["_id"];
|
|
449
|
-
by_creation_time: ["_creationTime"];
|
|
450
|
-
};
|
|
451
|
-
searchIndexes: {};
|
|
452
|
-
vectorIndexes: {};
|
|
453
|
-
};
|
|
454
|
-
rateLimit: {
|
|
455
|
-
document: {
|
|
456
|
-
_id: import("convex/values").GenericId<"rateLimit">;
|
|
457
|
-
_creationTime: number;
|
|
458
|
-
key?: string | null | undefined;
|
|
459
|
-
lastRequest?: number | null | undefined;
|
|
460
|
-
count?: number | null | undefined;
|
|
461
|
-
};
|
|
462
|
-
fieldPaths: ("_creationTime" | "key" | "lastRequest" | "count") | "_id";
|
|
463
|
-
indexes: {
|
|
464
|
-
key: ["key", "_creationTime"];
|
|
465
|
-
by_id: ["_id"];
|
|
466
|
-
by_creation_time: ["_creationTime"];
|
|
467
|
-
};
|
|
468
|
-
searchIndexes: {};
|
|
469
|
-
vectorIndexes: {};
|
|
470
|
-
};
|
|
471
|
-
}>>(tableName: TableName) => import("convex/values").VId<import("convex/values").GenericId<TableName>, "required">;
|
|
472
|
-
doc: <TableName extends import("convex/server").TableNamesInDataModel<{
|
|
473
|
-
user: {
|
|
474
|
-
document: {
|
|
475
|
-
_id: import("convex/values").GenericId<"user">;
|
|
476
|
-
_creationTime: number;
|
|
477
|
-
image?: string | null | undefined;
|
|
478
|
-
twoFactorEnabled?: boolean | null | undefined;
|
|
479
|
-
isAnonymous?: boolean | null | undefined;
|
|
480
|
-
username?: string | null | undefined;
|
|
481
|
-
displayUsername?: string | null | undefined;
|
|
482
|
-
phoneNumber?: string | null | undefined;
|
|
483
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
484
|
-
role?: string | null | undefined;
|
|
485
|
-
banned?: boolean | null | undefined;
|
|
486
|
-
banReason?: string | null | undefined;
|
|
487
|
-
banExpires?: number | null | undefined;
|
|
488
|
-
stripeCustomerId?: string | null | undefined;
|
|
489
|
-
userId?: string | null | undefined;
|
|
490
|
-
teamId?: string | null | undefined;
|
|
491
|
-
name: string;
|
|
492
|
-
email: string;
|
|
493
|
-
emailVerified: boolean;
|
|
494
|
-
createdAt: number;
|
|
495
|
-
updatedAt: number;
|
|
496
|
-
};
|
|
497
|
-
fieldPaths: ("name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
498
|
-
indexes: {
|
|
499
|
-
email_name: ["email", "name", "_creationTime"];
|
|
500
|
-
name: ["name", "_creationTime"];
|
|
501
|
-
userId: ["userId", "_creationTime"];
|
|
502
|
-
username: ["username", "_creationTime"];
|
|
503
|
-
phoneNumber: ["phoneNumber", "_creationTime"];
|
|
504
|
-
by_id: ["_id"];
|
|
505
|
-
by_creation_time: ["_creationTime"];
|
|
506
|
-
};
|
|
507
|
-
searchIndexes: {};
|
|
508
|
-
vectorIndexes: {};
|
|
509
|
-
};
|
|
510
|
-
session: {
|
|
511
|
-
document: {
|
|
512
|
-
_id: import("convex/values").GenericId<"session">;
|
|
513
|
-
_creationTime: number;
|
|
514
|
-
ipAddress?: string | null | undefined;
|
|
515
|
-
userAgent?: string | null | undefined;
|
|
516
|
-
impersonatedBy?: string | null | undefined;
|
|
517
|
-
activeOrganizationId?: string | null | undefined;
|
|
518
|
-
activeTeamId?: string | null | undefined;
|
|
519
|
-
createdAt: number;
|
|
520
|
-
updatedAt: number;
|
|
521
|
-
userId: string;
|
|
522
|
-
expiresAt: number;
|
|
523
|
-
token: string;
|
|
524
|
-
};
|
|
525
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId" | "activeTeamId") | "_id";
|
|
526
|
-
indexes: {
|
|
527
|
-
expiresAt: ["expiresAt", "_creationTime"];
|
|
528
|
-
expiresAt_userId: ["expiresAt", "userId", "_creationTime"];
|
|
529
|
-
token: ["token", "_creationTime"];
|
|
530
|
-
userId: ["userId", "_creationTime"];
|
|
531
|
-
by_id: ["_id"];
|
|
532
|
-
by_creation_time: ["_creationTime"];
|
|
533
|
-
};
|
|
534
|
-
searchIndexes: {};
|
|
535
|
-
vectorIndexes: {};
|
|
536
|
-
};
|
|
537
|
-
account: {
|
|
538
|
-
document: {
|
|
539
|
-
_id: import("convex/values").GenericId<"account">;
|
|
540
|
-
_creationTime: number;
|
|
541
|
-
accessToken?: string | null | undefined;
|
|
542
|
-
refreshToken?: string | null | undefined;
|
|
543
|
-
idToken?: string | null | undefined;
|
|
544
|
-
accessTokenExpiresAt?: number | null | undefined;
|
|
545
|
-
refreshTokenExpiresAt?: number | null | undefined;
|
|
546
|
-
scope?: string | null | undefined;
|
|
547
|
-
password?: string | null | undefined;
|
|
548
|
-
createdAt: number;
|
|
549
|
-
updatedAt: number;
|
|
550
|
-
userId: string;
|
|
551
|
-
accountId: string;
|
|
552
|
-
providerId: string;
|
|
553
|
-
};
|
|
554
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "accountId" | "providerId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password") | "_id";
|
|
555
|
-
indexes: {
|
|
556
|
-
accountId: ["accountId", "_creationTime"];
|
|
557
|
-
accountId_providerId: ["accountId", "providerId", "_creationTime"];
|
|
558
|
-
providerId_userId: ["providerId", "userId", "_creationTime"];
|
|
559
|
-
userId: ["userId", "_creationTime"];
|
|
560
|
-
by_id: ["_id"];
|
|
561
|
-
by_creation_time: ["_creationTime"];
|
|
562
|
-
};
|
|
563
|
-
searchIndexes: {};
|
|
564
|
-
vectorIndexes: {};
|
|
565
|
-
};
|
|
566
|
-
verification: {
|
|
567
|
-
document: {
|
|
568
|
-
_id: import("convex/values").GenericId<"verification">;
|
|
569
|
-
_creationTime: number;
|
|
570
|
-
createdAt: number;
|
|
571
|
-
updatedAt: number;
|
|
572
|
-
expiresAt: number;
|
|
573
|
-
identifier: string;
|
|
574
|
-
value: string;
|
|
575
|
-
};
|
|
576
|
-
fieldPaths: ("createdAt" | "updatedAt" | "_creationTime" | "expiresAt" | "identifier" | "value") | "_id";
|
|
577
|
-
indexes: {
|
|
578
|
-
expiresAt: ["expiresAt", "_creationTime"];
|
|
579
|
-
identifier: ["identifier", "_creationTime"];
|
|
580
|
-
by_id: ["_id"];
|
|
581
|
-
by_creation_time: ["_creationTime"];
|
|
582
|
-
};
|
|
583
|
-
searchIndexes: {};
|
|
584
|
-
vectorIndexes: {};
|
|
585
|
-
};
|
|
586
|
-
twoFactor: {
|
|
587
|
-
document: {
|
|
588
|
-
_id: import("convex/values").GenericId<"twoFactor">;
|
|
589
|
-
_creationTime: number;
|
|
590
|
-
userId: string;
|
|
591
|
-
secret: string;
|
|
592
|
-
backupCodes: string;
|
|
593
|
-
};
|
|
594
|
-
fieldPaths: ("userId" | "_creationTime" | "secret" | "backupCodes") | "_id";
|
|
595
|
-
indexes: {
|
|
596
|
-
userId: ["userId", "_creationTime"];
|
|
597
|
-
by_id: ["_id"];
|
|
598
|
-
by_creation_time: ["_creationTime"];
|
|
599
|
-
};
|
|
600
|
-
searchIndexes: {};
|
|
601
|
-
vectorIndexes: {};
|
|
602
|
-
};
|
|
603
|
-
passkey: {
|
|
604
|
-
document: {
|
|
605
|
-
_id: import("convex/values").GenericId<"passkey">;
|
|
606
|
-
_creationTime: number;
|
|
607
|
-
name?: string | null | undefined;
|
|
608
|
-
createdAt?: number | null | undefined;
|
|
609
|
-
transports?: string | null | undefined;
|
|
610
|
-
aaguid?: string | null | undefined;
|
|
611
|
-
userId: string;
|
|
612
|
-
publicKey: string;
|
|
613
|
-
credentialID: string;
|
|
614
|
-
counter: number;
|
|
615
|
-
deviceType: string;
|
|
616
|
-
backedUp: boolean;
|
|
617
|
-
};
|
|
618
|
-
fieldPaths: ("name" | "createdAt" | "userId" | "_creationTime" | "publicKey" | "credentialID" | "counter" | "deviceType" | "backedUp" | "transports" | "aaguid") | "_id";
|
|
619
|
-
indexes: {
|
|
620
|
-
credentialID: ["credentialID", "_creationTime"];
|
|
621
|
-
userId: ["userId", "_creationTime"];
|
|
622
|
-
by_id: ["_id"];
|
|
623
|
-
by_creation_time: ["_creationTime"];
|
|
624
|
-
};
|
|
625
|
-
searchIndexes: {};
|
|
626
|
-
vectorIndexes: {};
|
|
627
|
-
};
|
|
628
|
-
apikey: {
|
|
629
|
-
document: {
|
|
630
|
-
_id: import("convex/values").GenericId<"apikey">;
|
|
631
|
-
_creationTime: number;
|
|
632
|
-
name?: string | null | undefined;
|
|
633
|
-
expiresAt?: number | null | undefined;
|
|
634
|
-
start?: string | null | undefined;
|
|
635
|
-
prefix?: string | null | undefined;
|
|
636
|
-
refillInterval?: number | null | undefined;
|
|
637
|
-
refillAmount?: number | null | undefined;
|
|
638
|
-
lastRefillAt?: number | null | undefined;
|
|
639
|
-
enabled?: boolean | null | undefined;
|
|
640
|
-
rateLimitEnabled?: boolean | null | undefined;
|
|
641
|
-
rateLimitTimeWindow?: number | null | undefined;
|
|
642
|
-
rateLimitMax?: number | null | undefined;
|
|
643
|
-
requestCount?: number | null | undefined;
|
|
644
|
-
remaining?: number | null | undefined;
|
|
645
|
-
lastRequest?: number | null | undefined;
|
|
646
|
-
permissions?: string | null | undefined;
|
|
647
|
-
metadata?: string | null | undefined;
|
|
648
|
-
createdAt: number;
|
|
649
|
-
updatedAt: number;
|
|
650
|
-
userId: string;
|
|
651
|
-
key: string;
|
|
652
|
-
};
|
|
653
|
-
fieldPaths: ("name" | "createdAt" | "updatedAt" | "userId" | "_creationTime" | "expiresAt" | "start" | "prefix" | "key" | "refillInterval" | "refillAmount" | "lastRefillAt" | "enabled" | "rateLimitEnabled" | "rateLimitTimeWindow" | "rateLimitMax" | "requestCount" | "remaining" | "lastRequest" | "permissions" | "metadata") | "_id";
|
|
654
|
-
indexes: {
|
|
655
|
-
key: ["key", "_creationTime"];
|
|
656
|
-
userId: ["userId", "_creationTime"];
|
|
657
|
-
by_id: ["_id"];
|
|
658
|
-
by_creation_time: ["_creationTime"];
|
|
659
|
-
};
|
|
660
|
-
searchIndexes: {};
|
|
661
|
-
vectorIndexes: {};
|
|
662
|
-
};
|
|
663
|
-
oauthApplication: {
|
|
664
|
-
document: {
|
|
665
|
-
_id: import("convex/values").GenericId<"oauthApplication">;
|
|
666
|
-
_creationTime: number;
|
|
667
|
-
name?: string | null | undefined;
|
|
668
|
-
type?: string | null | undefined;
|
|
669
|
-
createdAt?: number | null | undefined;
|
|
670
|
-
updatedAt?: number | null | undefined;
|
|
671
|
-
userId?: string | null | undefined;
|
|
672
|
-
metadata?: string | null | undefined;
|
|
673
|
-
icon?: string | null | undefined;
|
|
674
|
-
clientId?: string | null | undefined;
|
|
675
|
-
clientSecret?: string | null | undefined;
|
|
676
|
-
redirectURLs?: string | null | undefined;
|
|
677
|
-
disabled?: boolean | null | undefined;
|
|
678
|
-
};
|
|
679
|
-
fieldPaths: ("name" | "type" | "createdAt" | "updatedAt" | "userId" | "_creationTime" | "metadata" | "icon" | "clientId" | "clientSecret" | "redirectURLs" | "disabled") | "_id";
|
|
680
|
-
indexes: {
|
|
681
|
-
clientId: ["clientId", "_creationTime"];
|
|
682
|
-
userId: ["userId", "_creationTime"];
|
|
683
|
-
by_id: ["_id"];
|
|
684
|
-
by_creation_time: ["_creationTime"];
|
|
685
|
-
};
|
|
686
|
-
searchIndexes: {};
|
|
687
|
-
vectorIndexes: {};
|
|
688
|
-
};
|
|
689
|
-
oauthAccessToken: {
|
|
690
|
-
document: {
|
|
691
|
-
_id: import("convex/values").GenericId<"oauthAccessToken">;
|
|
692
|
-
_creationTime: number;
|
|
693
|
-
createdAt?: number | null | undefined;
|
|
694
|
-
updatedAt?: number | null | undefined;
|
|
695
|
-
userId?: string | null | undefined;
|
|
696
|
-
accessToken?: string | null | undefined;
|
|
697
|
-
refreshToken?: string | null | undefined;
|
|
698
|
-
accessTokenExpiresAt?: number | null | undefined;
|
|
699
|
-
refreshTokenExpiresAt?: number | null | undefined;
|
|
700
|
-
clientId?: string | null | undefined;
|
|
701
|
-
scopes?: string | null | undefined;
|
|
702
|
-
};
|
|
703
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "clientId" | "scopes") | "_id";
|
|
704
|
-
indexes: {
|
|
705
|
-
accessToken: ["accessToken", "_creationTime"];
|
|
706
|
-
refreshToken: ["refreshToken", "_creationTime"];
|
|
707
|
-
clientId: ["clientId", "_creationTime"];
|
|
708
|
-
userId: ["userId", "_creationTime"];
|
|
709
|
-
by_id: ["_id"];
|
|
710
|
-
by_creation_time: ["_creationTime"];
|
|
711
|
-
};
|
|
712
|
-
searchIndexes: {};
|
|
713
|
-
vectorIndexes: {};
|
|
714
|
-
};
|
|
715
|
-
oauthConsent: {
|
|
716
|
-
document: {
|
|
717
|
-
_id: import("convex/values").GenericId<"oauthConsent">;
|
|
718
|
-
_creationTime: number;
|
|
719
|
-
createdAt?: number | null | undefined;
|
|
720
|
-
updatedAt?: number | null | undefined;
|
|
721
|
-
userId?: string | null | undefined;
|
|
722
|
-
clientId?: string | null | undefined;
|
|
723
|
-
scopes?: string | null | undefined;
|
|
724
|
-
consentGiven?: boolean | null | undefined;
|
|
725
|
-
};
|
|
726
|
-
fieldPaths: ("createdAt" | "updatedAt" | "userId" | "_creationTime" | "clientId" | "scopes" | "consentGiven") | "_id";
|
|
727
|
-
indexes: {
|
|
728
|
-
clientId_userId: ["clientId", "userId", "_creationTime"];
|
|
729
|
-
userId: ["userId", "_creationTime"];
|
|
730
|
-
by_id: ["_id"];
|
|
731
|
-
by_creation_time: ["_creationTime"];
|
|
732
|
-
};
|
|
733
|
-
searchIndexes: {};
|
|
734
|
-
vectorIndexes: {};
|
|
735
|
-
};
|
|
736
|
-
team: {
|
|
737
|
-
document: {
|
|
738
|
-
_id: import("convex/values").GenericId<"team">;
|
|
739
|
-
_creationTime: number;
|
|
740
|
-
updatedAt?: number | null | undefined;
|
|
741
|
-
name: string;
|
|
742
|
-
createdAt: number;
|
|
743
|
-
organizationId: string;
|
|
744
|
-
};
|
|
745
|
-
fieldPaths: ("name" | "createdAt" | "updatedAt" | "_creationTime" | "organizationId") | "_id";
|
|
746
|
-
indexes: {
|
|
747
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
748
|
-
by_id: ["_id"];
|
|
749
|
-
by_creation_time: ["_creationTime"];
|
|
750
|
-
};
|
|
751
|
-
searchIndexes: {};
|
|
752
|
-
vectorIndexes: {};
|
|
753
|
-
};
|
|
754
|
-
teamMember: {
|
|
755
|
-
document: {
|
|
756
|
-
_id: import("convex/values").GenericId<"teamMember">;
|
|
757
|
-
_creationTime: number;
|
|
758
|
-
createdAt?: number | null | undefined;
|
|
759
|
-
userId: string;
|
|
760
|
-
teamId: string;
|
|
761
|
-
};
|
|
762
|
-
fieldPaths: ("createdAt" | "userId" | "teamId" | "_creationTime") | "_id";
|
|
763
|
-
indexes: {
|
|
764
|
-
teamId: ["teamId", "_creationTime"];
|
|
765
|
-
userId: ["userId", "_creationTime"];
|
|
766
|
-
by_id: ["_id"];
|
|
767
|
-
by_creation_time: ["_creationTime"];
|
|
768
|
-
};
|
|
769
|
-
searchIndexes: {};
|
|
770
|
-
vectorIndexes: {};
|
|
771
|
-
};
|
|
772
|
-
organization: {
|
|
773
|
-
document: {
|
|
774
|
-
_id: import("convex/values").GenericId<"organization">;
|
|
775
|
-
_creationTime: number;
|
|
776
|
-
metadata?: string | null | undefined;
|
|
777
|
-
slug?: string | null | undefined;
|
|
778
|
-
logo?: string | null | undefined;
|
|
779
|
-
name: string;
|
|
780
|
-
createdAt: number;
|
|
781
|
-
};
|
|
782
|
-
fieldPaths: ("name" | "createdAt" | "_creationTime" | "metadata" | "slug" | "logo") | "_id";
|
|
783
|
-
indexes: {
|
|
784
|
-
name: ["name", "_creationTime"];
|
|
785
|
-
slug: ["slug", "_creationTime"];
|
|
786
|
-
by_id: ["_id"];
|
|
787
|
-
by_creation_time: ["_creationTime"];
|
|
788
|
-
};
|
|
789
|
-
searchIndexes: {};
|
|
790
|
-
vectorIndexes: {};
|
|
791
|
-
};
|
|
792
|
-
member: {
|
|
793
|
-
document: {
|
|
794
|
-
_id: import("convex/values").GenericId<"member">;
|
|
795
|
-
_creationTime: number;
|
|
796
|
-
createdAt: number;
|
|
797
|
-
role: string;
|
|
798
|
-
userId: string;
|
|
799
|
-
organizationId: string;
|
|
800
|
-
};
|
|
801
|
-
fieldPaths: ("createdAt" | "role" | "userId" | "_creationTime" | "organizationId") | "_id";
|
|
802
|
-
indexes: {
|
|
803
|
-
organizationId_userId: ["organizationId", "userId", "_creationTime"];
|
|
804
|
-
userId: ["userId", "_creationTime"];
|
|
805
|
-
role: ["role", "_creationTime"];
|
|
806
|
-
by_id: ["_id"];
|
|
807
|
-
by_creation_time: ["_creationTime"];
|
|
808
|
-
};
|
|
809
|
-
searchIndexes: {};
|
|
810
|
-
vectorIndexes: {};
|
|
811
|
-
};
|
|
812
|
-
invitation: {
|
|
813
|
-
document: {
|
|
814
|
-
_id: import("convex/values").GenericId<"invitation">;
|
|
815
|
-
_creationTime: number;
|
|
816
|
-
role?: string | null | undefined;
|
|
817
|
-
teamId?: string | null | undefined;
|
|
818
|
-
email: string;
|
|
819
|
-
expiresAt: number;
|
|
820
|
-
organizationId: string;
|
|
821
|
-
status: string;
|
|
822
|
-
inviterId: string;
|
|
823
|
-
};
|
|
824
|
-
fieldPaths: ("email" | "role" | "teamId" | "_creationTime" | "expiresAt" | "organizationId" | "status" | "inviterId") | "_id";
|
|
825
|
-
indexes: {
|
|
826
|
-
email_organizationId_status: ["email", "organizationId", "status", "_creationTime"];
|
|
827
|
-
organizationId_status: ["organizationId", "status", "_creationTime"];
|
|
828
|
-
role: ["role", "_creationTime"];
|
|
829
|
-
teamId: ["teamId", "_creationTime"];
|
|
830
|
-
status: ["status", "_creationTime"];
|
|
831
|
-
inviterId: ["inviterId", "_creationTime"];
|
|
832
|
-
by_id: ["_id"];
|
|
833
|
-
by_creation_time: ["_creationTime"];
|
|
834
|
-
};
|
|
835
|
-
searchIndexes: {};
|
|
836
|
-
vectorIndexes: {};
|
|
837
|
-
};
|
|
838
|
-
ssoProvider: {
|
|
839
|
-
document: {
|
|
840
|
-
_id: import("convex/values").GenericId<"ssoProvider">;
|
|
841
|
-
_creationTime: number;
|
|
842
|
-
userId?: string | null | undefined;
|
|
843
|
-
organizationId?: string | null | undefined;
|
|
844
|
-
oidcConfig?: string | null | undefined;
|
|
845
|
-
samlConfig?: string | null | undefined;
|
|
846
|
-
providerId: string;
|
|
847
|
-
issuer: string;
|
|
848
|
-
domain: string;
|
|
849
|
-
};
|
|
850
|
-
fieldPaths: ("userId" | "_creationTime" | "providerId" | "organizationId" | "issuer" | "oidcConfig" | "samlConfig" | "domain") | "_id";
|
|
851
|
-
indexes: {
|
|
852
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
853
|
-
domain: ["domain", "_creationTime"];
|
|
854
|
-
userId: ["userId", "_creationTime"];
|
|
855
|
-
providerId: ["providerId", "_creationTime"];
|
|
856
|
-
by_id: ["_id"];
|
|
857
|
-
by_creation_time: ["_creationTime"];
|
|
858
|
-
};
|
|
859
|
-
searchIndexes: {};
|
|
860
|
-
vectorIndexes: {};
|
|
861
|
-
};
|
|
862
|
-
jwks: {
|
|
863
|
-
document: {
|
|
864
|
-
_id: import("convex/values").GenericId<"jwks">;
|
|
865
|
-
_creationTime: number;
|
|
866
|
-
createdAt: number;
|
|
867
|
-
publicKey: string;
|
|
868
|
-
privateKey: string;
|
|
869
|
-
};
|
|
870
|
-
fieldPaths: "_id" | ("createdAt" | "_creationTime" | "publicKey" | "privateKey");
|
|
871
|
-
indexes: {
|
|
872
|
-
by_id: ["_id"];
|
|
873
|
-
by_creation_time: ["_creationTime"];
|
|
874
|
-
};
|
|
875
|
-
searchIndexes: {};
|
|
876
|
-
vectorIndexes: {};
|
|
877
|
-
};
|
|
878
|
-
subscription: {
|
|
879
|
-
document: {
|
|
880
|
-
_id: import("convex/values").GenericId<"subscription">;
|
|
881
|
-
_creationTime: number;
|
|
882
|
-
stripeCustomerId?: string | null | undefined;
|
|
883
|
-
status?: string | null | undefined;
|
|
884
|
-
stripeSubscriptionId?: string | null | undefined;
|
|
885
|
-
periodStart?: number | null | undefined;
|
|
886
|
-
periodEnd?: number | null | undefined;
|
|
887
|
-
trialStart?: number | null | undefined;
|
|
888
|
-
trialEnd?: number | null | undefined;
|
|
889
|
-
cancelAtPeriodEnd?: boolean | null | undefined;
|
|
890
|
-
seats?: number | null | undefined;
|
|
891
|
-
plan: string;
|
|
892
|
-
referenceId: string;
|
|
893
|
-
};
|
|
894
|
-
fieldPaths: ("stripeCustomerId" | "_creationTime" | "status" | "plan" | "referenceId" | "stripeSubscriptionId" | "periodStart" | "periodEnd" | "trialStart" | "trialEnd" | "cancelAtPeriodEnd" | "seats") | "_id";
|
|
895
|
-
indexes: {
|
|
896
|
-
stripeSubscriptionId: ["stripeSubscriptionId", "_creationTime"];
|
|
897
|
-
stripeCustomerId: ["stripeCustomerId", "_creationTime"];
|
|
898
|
-
referenceId: ["referenceId", "_creationTime"];
|
|
899
|
-
by_id: ["_id"];
|
|
900
|
-
by_creation_time: ["_creationTime"];
|
|
901
|
-
};
|
|
902
|
-
searchIndexes: {};
|
|
903
|
-
vectorIndexes: {};
|
|
904
|
-
};
|
|
905
|
-
walletAddress: {
|
|
906
|
-
document: {
|
|
907
|
-
_id: import("convex/values").GenericId<"walletAddress">;
|
|
908
|
-
_creationTime: number;
|
|
909
|
-
isPrimary?: boolean | null | undefined;
|
|
910
|
-
createdAt: number;
|
|
911
|
-
userId: string;
|
|
912
|
-
address: string;
|
|
913
|
-
chainId: number;
|
|
914
|
-
};
|
|
915
|
-
fieldPaths: ("createdAt" | "userId" | "_creationTime" | "address" | "chainId" | "isPrimary") | "_id";
|
|
916
|
-
indexes: {
|
|
917
|
-
userId: ["userId", "_creationTime"];
|
|
918
|
-
by_id: ["_id"];
|
|
919
|
-
by_creation_time: ["_creationTime"];
|
|
920
|
-
};
|
|
921
|
-
searchIndexes: {};
|
|
922
|
-
vectorIndexes: {};
|
|
923
|
-
};
|
|
924
|
-
rateLimit: {
|
|
925
|
-
document: {
|
|
926
|
-
_id: import("convex/values").GenericId<"rateLimit">;
|
|
927
|
-
_creationTime: number;
|
|
928
|
-
key?: string | null | undefined;
|
|
929
|
-
lastRequest?: number | null | undefined;
|
|
930
|
-
count?: number | null | undefined;
|
|
931
|
-
};
|
|
932
|
-
fieldPaths: ("_creationTime" | "key" | "lastRequest" | "count") | "_id";
|
|
933
|
-
indexes: {
|
|
934
|
-
key: ["key", "_creationTime"];
|
|
935
|
-
by_id: ["_id"];
|
|
936
|
-
by_creation_time: ["_creationTime"];
|
|
937
|
-
};
|
|
938
|
-
searchIndexes: {};
|
|
939
|
-
vectorIndexes: {};
|
|
940
|
-
};
|
|
941
|
-
}>>(tableName: TableName) => import("convex-helpers/validators").AddFieldsToValidator<{
|
|
942
|
-
user: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
943
|
-
image?: string | null | undefined;
|
|
944
|
-
twoFactorEnabled?: boolean | null | undefined;
|
|
945
|
-
isAnonymous?: boolean | null | undefined;
|
|
946
|
-
username?: string | null | undefined;
|
|
947
|
-
displayUsername?: string | null | undefined;
|
|
948
|
-
phoneNumber?: string | null | undefined;
|
|
949
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
950
|
-
role?: string | null | undefined;
|
|
951
|
-
banned?: boolean | null | undefined;
|
|
952
|
-
banReason?: string | null | undefined;
|
|
953
|
-
banExpires?: number | null | undefined;
|
|
954
|
-
stripeCustomerId?: string | null | undefined;
|
|
955
|
-
userId?: string | null | undefined;
|
|
956
|
-
teamId?: string | null | undefined;
|
|
957
|
-
name: string;
|
|
958
|
-
email: string;
|
|
959
|
-
emailVerified: boolean;
|
|
960
|
-
createdAt: number;
|
|
961
|
-
updatedAt: number;
|
|
962
|
-
}, {
|
|
963
|
-
name: import("convex/values").VString<string, "required">;
|
|
964
|
-
email: import("convex/values").VString<string, "required">;
|
|
965
|
-
emailVerified: import("convex/values").VBoolean<boolean, "required">;
|
|
966
|
-
image: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
967
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
968
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
969
|
-
twoFactorEnabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
970
|
-
isAnonymous: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
971
|
-
username: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
972
|
-
displayUsername: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
973
|
-
phoneNumber: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
974
|
-
phoneNumberVerified: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
975
|
-
role: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
976
|
-
banned: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
977
|
-
banReason: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
978
|
-
banExpires: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
979
|
-
stripeCustomerId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
980
|
-
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
981
|
-
teamId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
982
|
-
}, "required", "name" | "email" | "emailVerified" | "image" | "createdAt" | "updatedAt" | "twoFactorEnabled" | "isAnonymous" | "username" | "displayUsername" | "phoneNumber" | "phoneNumberVerified" | "role" | "banned" | "banReason" | "banExpires" | "stripeCustomerId" | "userId" | "teamId">, {
|
|
983
|
-
email_name: ["email", "name", "_creationTime"];
|
|
984
|
-
name: ["name", "_creationTime"];
|
|
985
|
-
userId: ["userId", "_creationTime"];
|
|
986
|
-
username: ["username", "_creationTime"];
|
|
987
|
-
phoneNumber: ["phoneNumber", "_creationTime"];
|
|
988
|
-
}, {}, {}>;
|
|
989
|
-
session: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
990
|
-
ipAddress?: string | null | undefined;
|
|
991
|
-
userAgent?: string | null | undefined;
|
|
992
|
-
impersonatedBy?: string | null | undefined;
|
|
993
|
-
activeOrganizationId?: string | null | undefined;
|
|
994
|
-
activeTeamId?: string | null | undefined;
|
|
995
|
-
createdAt: number;
|
|
996
|
-
updatedAt: number;
|
|
997
|
-
userId: string;
|
|
998
|
-
expiresAt: number;
|
|
999
|
-
token: string;
|
|
1000
|
-
}, {
|
|
1001
|
-
expiresAt: import("convex/values").VFloat64<number, "required">;
|
|
1002
|
-
token: import("convex/values").VString<string, "required">;
|
|
1003
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1004
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
1005
|
-
ipAddress: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1006
|
-
userAgent: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1007
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1008
|
-
impersonatedBy: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1009
|
-
activeOrganizationId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1010
|
-
activeTeamId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1011
|
-
}, "required", "createdAt" | "updatedAt" | "userId" | "expiresAt" | "token" | "ipAddress" | "userAgent" | "impersonatedBy" | "activeOrganizationId" | "activeTeamId">, {
|
|
1012
|
-
expiresAt: ["expiresAt", "_creationTime"];
|
|
1013
|
-
expiresAt_userId: ["expiresAt", "userId", "_creationTime"];
|
|
1014
|
-
token: ["token", "_creationTime"];
|
|
1015
|
-
userId: ["userId", "_creationTime"];
|
|
1016
|
-
}, {}, {}>;
|
|
1017
|
-
account: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1018
|
-
accessToken?: string | null | undefined;
|
|
1019
|
-
refreshToken?: string | null | undefined;
|
|
1020
|
-
idToken?: string | null | undefined;
|
|
1021
|
-
accessTokenExpiresAt?: number | null | undefined;
|
|
1022
|
-
refreshTokenExpiresAt?: number | null | undefined;
|
|
1023
|
-
scope?: string | null | undefined;
|
|
1024
|
-
password?: string | null | undefined;
|
|
1025
|
-
createdAt: number;
|
|
1026
|
-
updatedAt: number;
|
|
1027
|
-
userId: string;
|
|
1028
|
-
accountId: string;
|
|
1029
|
-
providerId: string;
|
|
1030
|
-
}, {
|
|
1031
|
-
accountId: import("convex/values").VString<string, "required">;
|
|
1032
|
-
providerId: import("convex/values").VString<string, "required">;
|
|
1033
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1034
|
-
accessToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1035
|
-
refreshToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1036
|
-
idToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1037
|
-
accessTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1038
|
-
refreshTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1039
|
-
scope: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1040
|
-
password: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1041
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1042
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
1043
|
-
}, "required", "createdAt" | "updatedAt" | "userId" | "accountId" | "providerId" | "accessToken" | "refreshToken" | "idToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "scope" | "password">, {
|
|
1044
|
-
accountId: ["accountId", "_creationTime"];
|
|
1045
|
-
accountId_providerId: ["accountId", "providerId", "_creationTime"];
|
|
1046
|
-
providerId_userId: ["providerId", "userId", "_creationTime"];
|
|
1047
|
-
userId: ["userId", "_creationTime"];
|
|
1048
|
-
}, {}, {}>;
|
|
1049
|
-
verification: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1050
|
-
createdAt: number;
|
|
1051
|
-
updatedAt: number;
|
|
1052
|
-
expiresAt: number;
|
|
1053
|
-
identifier: string;
|
|
1054
|
-
value: string;
|
|
1055
|
-
}, {
|
|
1056
|
-
identifier: import("convex/values").VString<string, "required">;
|
|
1057
|
-
value: import("convex/values").VString<string, "required">;
|
|
1058
|
-
expiresAt: import("convex/values").VFloat64<number, "required">;
|
|
1059
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1060
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
1061
|
-
}, "required", "createdAt" | "updatedAt" | "expiresAt" | "identifier" | "value">, {
|
|
1062
|
-
expiresAt: ["expiresAt", "_creationTime"];
|
|
1063
|
-
identifier: ["identifier", "_creationTime"];
|
|
1064
|
-
}, {}, {}>;
|
|
1065
|
-
twoFactor: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1066
|
-
userId: string;
|
|
1067
|
-
secret: string;
|
|
1068
|
-
backupCodes: string;
|
|
1069
|
-
}, {
|
|
1070
|
-
secret: import("convex/values").VString<string, "required">;
|
|
1071
|
-
backupCodes: import("convex/values").VString<string, "required">;
|
|
1072
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1073
|
-
}, "required", "userId" | "secret" | "backupCodes">, {
|
|
1074
|
-
userId: ["userId", "_creationTime"];
|
|
1075
|
-
}, {}, {}>;
|
|
1076
|
-
passkey: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1077
|
-
name?: string | null | undefined;
|
|
1078
|
-
createdAt?: number | null | undefined;
|
|
1079
|
-
transports?: string | null | undefined;
|
|
1080
|
-
aaguid?: string | null | undefined;
|
|
1081
|
-
userId: string;
|
|
1082
|
-
publicKey: string;
|
|
1083
|
-
credentialID: string;
|
|
1084
|
-
counter: number;
|
|
1085
|
-
deviceType: string;
|
|
1086
|
-
backedUp: boolean;
|
|
1087
|
-
}, {
|
|
1088
|
-
name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1089
|
-
publicKey: import("convex/values").VString<string, "required">;
|
|
1090
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1091
|
-
credentialID: import("convex/values").VString<string, "required">;
|
|
1092
|
-
counter: import("convex/values").VFloat64<number, "required">;
|
|
1093
|
-
deviceType: import("convex/values").VString<string, "required">;
|
|
1094
|
-
backedUp: import("convex/values").VBoolean<boolean, "required">;
|
|
1095
|
-
transports: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1096
|
-
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1097
|
-
aaguid: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1098
|
-
}, "required", "name" | "createdAt" | "userId" | "publicKey" | "credentialID" | "counter" | "deviceType" | "backedUp" | "transports" | "aaguid">, {
|
|
1099
|
-
credentialID: ["credentialID", "_creationTime"];
|
|
1100
|
-
userId: ["userId", "_creationTime"];
|
|
1101
|
-
}, {}, {}>;
|
|
1102
|
-
apikey: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1103
|
-
name?: string | null | undefined;
|
|
1104
|
-
expiresAt?: number | null | undefined;
|
|
1105
|
-
start?: string | null | undefined;
|
|
1106
|
-
prefix?: string | null | undefined;
|
|
1107
|
-
refillInterval?: number | null | undefined;
|
|
1108
|
-
refillAmount?: number | null | undefined;
|
|
1109
|
-
lastRefillAt?: number | null | undefined;
|
|
1110
|
-
enabled?: boolean | null | undefined;
|
|
1111
|
-
rateLimitEnabled?: boolean | null | undefined;
|
|
1112
|
-
rateLimitTimeWindow?: number | null | undefined;
|
|
1113
|
-
rateLimitMax?: number | null | undefined;
|
|
1114
|
-
requestCount?: number | null | undefined;
|
|
1115
|
-
remaining?: number | null | undefined;
|
|
1116
|
-
lastRequest?: number | null | undefined;
|
|
1117
|
-
permissions?: string | null | undefined;
|
|
1118
|
-
metadata?: string | null | undefined;
|
|
1119
|
-
createdAt: number;
|
|
1120
|
-
updatedAt: number;
|
|
1121
|
-
userId: string;
|
|
1122
|
-
key: string;
|
|
1123
|
-
}, {
|
|
1124
|
-
name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1125
|
-
start: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1126
|
-
prefix: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1127
|
-
key: import("convex/values").VString<string, "required">;
|
|
1128
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1129
|
-
refillInterval: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1130
|
-
refillAmount: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1131
|
-
lastRefillAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1132
|
-
enabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1133
|
-
rateLimitEnabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1134
|
-
rateLimitTimeWindow: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1135
|
-
rateLimitMax: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1136
|
-
requestCount: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1137
|
-
remaining: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1138
|
-
lastRequest: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1139
|
-
expiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1140
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1141
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
1142
|
-
permissions: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1143
|
-
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1144
|
-
}, "required", "name" | "createdAt" | "updatedAt" | "userId" | "expiresAt" | "start" | "prefix" | "key" | "refillInterval" | "refillAmount" | "lastRefillAt" | "enabled" | "rateLimitEnabled" | "rateLimitTimeWindow" | "rateLimitMax" | "requestCount" | "remaining" | "lastRequest" | "permissions" | "metadata">, {
|
|
1145
|
-
key: ["key", "_creationTime"];
|
|
1146
|
-
userId: ["userId", "_creationTime"];
|
|
1147
|
-
}, {}, {}>;
|
|
1148
|
-
oauthApplication: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1149
|
-
name?: string | null | undefined;
|
|
1150
|
-
type?: string | null | undefined;
|
|
1151
|
-
createdAt?: number | null | undefined;
|
|
1152
|
-
updatedAt?: number | null | undefined;
|
|
1153
|
-
userId?: string | null | undefined;
|
|
1154
|
-
metadata?: string | null | undefined;
|
|
1155
|
-
icon?: string | null | undefined;
|
|
1156
|
-
clientId?: string | null | undefined;
|
|
1157
|
-
clientSecret?: string | null | undefined;
|
|
1158
|
-
redirectURLs?: string | null | undefined;
|
|
1159
|
-
disabled?: boolean | null | undefined;
|
|
1160
|
-
}, {
|
|
1161
|
-
name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1162
|
-
icon: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1163
|
-
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1164
|
-
clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1165
|
-
clientSecret: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1166
|
-
redirectURLs: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1167
|
-
type: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1168
|
-
disabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1169
|
-
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1170
|
-
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1171
|
-
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1172
|
-
}, "required", "name" | "type" | "createdAt" | "updatedAt" | "userId" | "metadata" | "icon" | "clientId" | "clientSecret" | "redirectURLs" | "disabled">, {
|
|
1173
|
-
clientId: ["clientId", "_creationTime"];
|
|
1174
|
-
userId: ["userId", "_creationTime"];
|
|
1175
|
-
}, {}, {}>;
|
|
1176
|
-
oauthAccessToken: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1177
|
-
createdAt?: number | null | undefined;
|
|
1178
|
-
updatedAt?: number | null | undefined;
|
|
1179
|
-
userId?: string | null | undefined;
|
|
1180
|
-
accessToken?: string | null | undefined;
|
|
1181
|
-
refreshToken?: string | null | undefined;
|
|
1182
|
-
accessTokenExpiresAt?: number | null | undefined;
|
|
1183
|
-
refreshTokenExpiresAt?: number | null | undefined;
|
|
1184
|
-
clientId?: string | null | undefined;
|
|
1185
|
-
scopes?: string | null | undefined;
|
|
1186
|
-
}, {
|
|
1187
|
-
accessToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1188
|
-
refreshToken: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1189
|
-
accessTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1190
|
-
refreshTokenExpiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1191
|
-
clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1192
|
-
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1193
|
-
scopes: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1194
|
-
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1195
|
-
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1196
|
-
}, "required", "createdAt" | "updatedAt" | "userId" | "accessToken" | "refreshToken" | "accessTokenExpiresAt" | "refreshTokenExpiresAt" | "clientId" | "scopes">, {
|
|
1197
|
-
accessToken: ["accessToken", "_creationTime"];
|
|
1198
|
-
refreshToken: ["refreshToken", "_creationTime"];
|
|
1199
|
-
clientId: ["clientId", "_creationTime"];
|
|
1200
|
-
userId: ["userId", "_creationTime"];
|
|
1201
|
-
}, {}, {}>;
|
|
1202
|
-
oauthConsent: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1203
|
-
createdAt?: number | null | undefined;
|
|
1204
|
-
updatedAt?: number | null | undefined;
|
|
1205
|
-
userId?: string | null | undefined;
|
|
1206
|
-
clientId?: string | null | undefined;
|
|
1207
|
-
scopes?: string | null | undefined;
|
|
1208
|
-
consentGiven?: boolean | null | undefined;
|
|
1209
|
-
}, {
|
|
1210
|
-
clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1211
|
-
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1212
|
-
scopes: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1213
|
-
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1214
|
-
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1215
|
-
consentGiven: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1216
|
-
}, "required", "createdAt" | "updatedAt" | "userId" | "clientId" | "scopes" | "consentGiven">, {
|
|
1217
|
-
clientId_userId: ["clientId", "userId", "_creationTime"];
|
|
1218
|
-
userId: ["userId", "_creationTime"];
|
|
1219
|
-
}, {}, {}>;
|
|
1220
|
-
team: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1221
|
-
updatedAt?: number | null | undefined;
|
|
1222
|
-
name: string;
|
|
1223
|
-
createdAt: number;
|
|
1224
|
-
organizationId: string;
|
|
1225
|
-
}, {
|
|
1226
|
-
name: import("convex/values").VString<string, "required">;
|
|
1227
|
-
organizationId: import("convex/values").VString<string, "required">;
|
|
1228
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1229
|
-
updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1230
|
-
}, "required", "name" | "createdAt" | "updatedAt" | "organizationId">, {
|
|
1231
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
1232
|
-
}, {}, {}>;
|
|
1233
|
-
teamMember: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1234
|
-
createdAt?: number | null | undefined;
|
|
1235
|
-
userId: string;
|
|
1236
|
-
teamId: string;
|
|
1237
|
-
}, {
|
|
1238
|
-
teamId: import("convex/values").VString<string, "required">;
|
|
1239
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1240
|
-
createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1241
|
-
}, "required", "createdAt" | "userId" | "teamId">, {
|
|
1242
|
-
teamId: ["teamId", "_creationTime"];
|
|
1243
|
-
userId: ["userId", "_creationTime"];
|
|
1244
|
-
}, {}, {}>;
|
|
1245
|
-
organization: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1246
|
-
metadata?: string | null | undefined;
|
|
1247
|
-
slug?: string | null | undefined;
|
|
1248
|
-
logo?: string | null | undefined;
|
|
1249
|
-
name: string;
|
|
1250
|
-
createdAt: number;
|
|
1251
|
-
}, {
|
|
1252
|
-
name: import("convex/values").VString<string, "required">;
|
|
1253
|
-
slug: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1254
|
-
logo: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1255
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1256
|
-
metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1257
|
-
}, "required", "name" | "createdAt" | "metadata" | "slug" | "logo">, {
|
|
1258
|
-
name: ["name", "_creationTime"];
|
|
1259
|
-
slug: ["slug", "_creationTime"];
|
|
1260
|
-
}, {}, {}>;
|
|
1261
|
-
member: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1262
|
-
createdAt: number;
|
|
1263
|
-
role: string;
|
|
1264
|
-
userId: string;
|
|
1265
|
-
organizationId: string;
|
|
1266
|
-
}, {
|
|
1267
|
-
organizationId: import("convex/values").VString<string, "required">;
|
|
1268
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1269
|
-
role: import("convex/values").VString<string, "required">;
|
|
1270
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1271
|
-
}, "required", "createdAt" | "role" | "userId" | "organizationId">, {
|
|
1272
|
-
organizationId_userId: ["organizationId", "userId", "_creationTime"];
|
|
1273
|
-
userId: ["userId", "_creationTime"];
|
|
1274
|
-
role: ["role", "_creationTime"];
|
|
1275
|
-
}, {}, {}>;
|
|
1276
|
-
invitation: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1277
|
-
role?: string | null | undefined;
|
|
1278
|
-
teamId?: string | null | undefined;
|
|
1279
|
-
email: string;
|
|
1280
|
-
expiresAt: number;
|
|
1281
|
-
organizationId: string;
|
|
1282
|
-
status: string;
|
|
1283
|
-
inviterId: string;
|
|
1284
|
-
}, {
|
|
1285
|
-
organizationId: import("convex/values").VString<string, "required">;
|
|
1286
|
-
email: import("convex/values").VString<string, "required">;
|
|
1287
|
-
role: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1288
|
-
teamId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1289
|
-
status: import("convex/values").VString<string, "required">;
|
|
1290
|
-
expiresAt: import("convex/values").VFloat64<number, "required">;
|
|
1291
|
-
inviterId: import("convex/values").VString<string, "required">;
|
|
1292
|
-
}, "required", "email" | "role" | "teamId" | "expiresAt" | "organizationId" | "status" | "inviterId">, {
|
|
1293
|
-
email_organizationId_status: ["email", "organizationId", "status", "_creationTime"];
|
|
1294
|
-
organizationId_status: ["organizationId", "status", "_creationTime"];
|
|
1295
|
-
role: ["role", "_creationTime"];
|
|
1296
|
-
teamId: ["teamId", "_creationTime"];
|
|
1297
|
-
status: ["status", "_creationTime"];
|
|
1298
|
-
inviterId: ["inviterId", "_creationTime"];
|
|
1299
|
-
}, {}, {}>;
|
|
1300
|
-
ssoProvider: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1301
|
-
userId?: string | null | undefined;
|
|
1302
|
-
organizationId?: string | null | undefined;
|
|
1303
|
-
oidcConfig?: string | null | undefined;
|
|
1304
|
-
samlConfig?: string | null | undefined;
|
|
1305
|
-
providerId: string;
|
|
1306
|
-
issuer: string;
|
|
1307
|
-
domain: string;
|
|
1308
|
-
}, {
|
|
1309
|
-
issuer: import("convex/values").VString<string, "required">;
|
|
1310
|
-
oidcConfig: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1311
|
-
samlConfig: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1312
|
-
userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1313
|
-
providerId: import("convex/values").VString<string, "required">;
|
|
1314
|
-
organizationId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1315
|
-
domain: import("convex/values").VString<string, "required">;
|
|
1316
|
-
}, "required", "userId" | "providerId" | "organizationId" | "issuer" | "oidcConfig" | "samlConfig" | "domain">, {
|
|
1317
|
-
organizationId: ["organizationId", "_creationTime"];
|
|
1318
|
-
domain: ["domain", "_creationTime"];
|
|
1319
|
-
userId: ["userId", "_creationTime"];
|
|
1320
|
-
providerId: ["providerId", "_creationTime"];
|
|
1321
|
-
}, {}, {}>;
|
|
1322
|
-
jwks: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1323
|
-
createdAt: number;
|
|
1324
|
-
publicKey: string;
|
|
1325
|
-
privateKey: string;
|
|
1326
|
-
}, {
|
|
1327
|
-
publicKey: import("convex/values").VString<string, "required">;
|
|
1328
|
-
privateKey: import("convex/values").VString<string, "required">;
|
|
1329
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1330
|
-
}, "required", "createdAt" | "publicKey" | "privateKey">, {}, {}, {}>;
|
|
1331
|
-
subscription: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1332
|
-
stripeCustomerId?: string | null | undefined;
|
|
1333
|
-
status?: string | null | undefined;
|
|
1334
|
-
stripeSubscriptionId?: string | null | undefined;
|
|
1335
|
-
periodStart?: number | null | undefined;
|
|
1336
|
-
periodEnd?: number | null | undefined;
|
|
1337
|
-
trialStart?: number | null | undefined;
|
|
1338
|
-
trialEnd?: number | null | undefined;
|
|
1339
|
-
cancelAtPeriodEnd?: boolean | null | undefined;
|
|
1340
|
-
seats?: number | null | undefined;
|
|
1341
|
-
plan: string;
|
|
1342
|
-
referenceId: string;
|
|
1343
|
-
}, {
|
|
1344
|
-
plan: import("convex/values").VString<string, "required">;
|
|
1345
|
-
referenceId: import("convex/values").VString<string, "required">;
|
|
1346
|
-
stripeCustomerId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1347
|
-
stripeSubscriptionId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1348
|
-
status: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1349
|
-
periodStart: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1350
|
-
periodEnd: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1351
|
-
trialStart: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1352
|
-
trialEnd: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1353
|
-
cancelAtPeriodEnd: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1354
|
-
seats: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1355
|
-
}, "required", "stripeCustomerId" | "status" | "plan" | "referenceId" | "stripeSubscriptionId" | "periodStart" | "periodEnd" | "trialStart" | "trialEnd" | "cancelAtPeriodEnd" | "seats">, {
|
|
1356
|
-
stripeSubscriptionId: ["stripeSubscriptionId", "_creationTime"];
|
|
1357
|
-
stripeCustomerId: ["stripeCustomerId", "_creationTime"];
|
|
1358
|
-
referenceId: ["referenceId", "_creationTime"];
|
|
1359
|
-
}, {}, {}>;
|
|
1360
|
-
walletAddress: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1361
|
-
isPrimary?: boolean | null | undefined;
|
|
1362
|
-
createdAt: number;
|
|
1363
|
-
userId: string;
|
|
1364
|
-
address: string;
|
|
1365
|
-
chainId: number;
|
|
1366
|
-
}, {
|
|
1367
|
-
userId: import("convex/values").VString<string, "required">;
|
|
1368
|
-
address: import("convex/values").VString<string, "required">;
|
|
1369
|
-
chainId: import("convex/values").VFloat64<number, "required">;
|
|
1370
|
-
isPrimary: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
|
|
1371
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
1372
|
-
}, "required", "createdAt" | "userId" | "address" | "chainId" | "isPrimary">, {
|
|
1373
|
-
userId: ["userId", "_creationTime"];
|
|
1374
|
-
}, {}, {}>;
|
|
1375
|
-
rateLimit: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
1376
|
-
key?: string | null | undefined;
|
|
1377
|
-
lastRequest?: number | null | undefined;
|
|
1378
|
-
count?: number | null | undefined;
|
|
1379
|
-
}, {
|
|
1380
|
-
key: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
|
|
1381
|
-
count: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1382
|
-
lastRequest: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
|
|
1383
|
-
}, "required", "key" | "lastRequest" | "count">, {
|
|
1384
|
-
key: ["key", "_creationTime"];
|
|
1385
|
-
}, {}, {}>;
|
|
1386
|
-
}[TableName]["validator"], {
|
|
1387
|
-
_id: import("convex/values").VId<import("convex/values").GenericId<TableName>, "required">;
|
|
1388
|
-
_creationTime: import("convex/values").VFloat64<number, "required">;
|
|
1389
|
-
}>;
|
|
1390
|
-
null: () => import("convex/values").VNull<null, "required">;
|
|
1391
|
-
number: () => import("convex/values").VFloat64<number, "required">;
|
|
1392
|
-
float64: () => import("convex/values").VFloat64<number, "required">;
|
|
1393
|
-
bigint: () => import("convex/values").VInt64<bigint, "required">;
|
|
1394
|
-
int64: () => import("convex/values").VInt64<bigint, "required">;
|
|
1395
|
-
boolean: () => import("convex/values").VBoolean<boolean, "required">;
|
|
1396
|
-
string: () => import("convex/values").VString<string, "required">;
|
|
1397
|
-
bytes: () => import("convex/values").VBytes<ArrayBuffer, "required">;
|
|
1398
|
-
literal: <T extends string | number | bigint | boolean>(literal: T) => import("convex/values").VLiteral<T, "required">;
|
|
1399
|
-
array: <T_1 extends import("convex/values").Validator<any, "required", any>>(element: T_1) => import("convex/values").VArray<T_1["type"][], T_1, "required">;
|
|
1400
|
-
object: <T_2 extends import("convex/values").PropertyValidators>(fields: T_2) => import("convex/values").VObject<import("convex/server").Expand<{ [Property in { [Property_1 in keyof T_2]: T_2[Property_1]["isOptional"] extends "optional" ? Property_1 : never; }[keyof T_2]]?: Exclude<import("convex/values").Infer<T_2[Property]>, undefined> | undefined; } & { [Property_1 in Exclude<keyof T_2, { [Property in keyof T_2]: T_2[Property]["isOptional"] extends "optional" ? Property : never; }[keyof T_2]>]: import("convex/values").Infer<T_2[Property_1]>; }>, T_2, "required", { [Property_2 in keyof T_2]: Property_2 | `${Property_2 & string}.${T_2[Property_2]["fieldPaths"]}`; }[keyof T_2] & string>;
|
|
1401
|
-
record: <Key extends import("convex/values").Validator<string, "required", any>, Value extends import("convex/values").Validator<any, "required", any>>(keys: Key, values: Value) => import("convex/values").VRecord<Record<import("convex/values").Infer<Key>, Value["type"]>, Key, Value, "required", string>;
|
|
1402
|
-
union: <T_3 extends import("convex/values").Validator<any, "required", any>[]>(...members: T_3) => import("convex/values").VUnion<T_3[number]["type"], T_3, "required", T_3[number]["fieldPaths"]>;
|
|
1403
|
-
any: () => import("convex/values").VAny<any, "required", string>;
|
|
1404
|
-
optional: <T_4 extends import("convex/values").GenericValidator>(value: T_4) => import("convex/values").VOptional<T_4>;
|
|
1405
|
-
};
|
|
1406
|
-
//# sourceMappingURL=util.d.ts.map
|