@robelest/convex-auth 0.0.4-preview.20 → 0.0.4-preview.21

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.
@@ -1,7 +1,7 @@
1
- import * as convex_server0 from "convex/server";
1
+ import * as convex_server24 from "convex/server";
2
2
 
3
3
  //#region src/component/convex.config.d.ts
4
- declare const component: convex_server0.ComponentDefinition<any>;
4
+ declare const component: convex_server24.ComponentDefinition<any>;
5
5
  //#endregion
6
6
  export { component as default };
7
7
  //# sourceMappingURL=convex.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convex.config.d.ts","names":[],"sources":["../../src/component/convex.config.ts"],"mappings":";;;cAEM,SAAA,EAAmC,cAAA,CAA1B,mBAAA"}
1
+ {"version":3,"file":"convex.config.d.ts","names":[],"sources":["../../src/component/convex.config.ts"],"mappings":";;;cAEM,SAAA,EAAmC,eAAA,CAA1B,mBAAA"}
@@ -40,7 +40,7 @@ declare const vPasskeyDoc: convex_values474.VObject<{
40
40
  lastUsedAt: convex_values474.VFloat64<number | undefined, "optional">;
41
41
  _id: convex_values474.VId<convex_values474.GenericId<"Passkey">, "required">;
42
42
  _creationTime: convex_values474.VFloat64<number, "required">;
43
- }, "required", "name" | "userId" | "_creationTime" | "credentialId" | "publicKey" | "algorithm" | "counter" | "transports" | "deviceType" | "backedUp" | "createdAt" | "lastUsedAt" | "_id">;
43
+ }, "required", "userId" | "name" | "_creationTime" | "credentialId" | "publicKey" | "algorithm" | "counter" | "transports" | "deviceType" | "backedUp" | "createdAt" | "lastUsedAt" | "_id">;
44
44
  declare const vTotpFactorDoc: convex_values474.VObject<{
45
45
  name?: string | undefined;
46
46
  lastUsedAt?: number | undefined;
@@ -63,7 +63,7 @@ declare const vTotpFactorDoc: convex_values474.VObject<{
63
63
  lastUsedAt: convex_values474.VFloat64<number | undefined, "optional">;
64
64
  _id: convex_values474.VId<convex_values474.GenericId<"TotpFactor">, "required">;
65
65
  _creationTime: convex_values474.VFloat64<number, "required">;
66
- }, "required", "name" | "userId" | "secret" | "_creationTime" | "createdAt" | "lastUsedAt" | "digits" | "period" | "verified" | "_id">;
66
+ }, "required", "userId" | "secret" | "name" | "_creationTime" | "createdAt" | "lastUsedAt" | "digits" | "period" | "verified" | "_id">;
67
67
  declare const vApiKeyDoc: convex_values474.VObject<{
68
68
  lastUsedAt?: number | undefined;
69
69
  expiresAt?: number | undefined;
@@ -76,8 +76,8 @@ declare const vApiKeyDoc: convex_values474.VObject<{
76
76
  attemptsLeft: number;
77
77
  lastAttemptTime: number;
78
78
  } | undefined;
79
- name: string;
80
79
  userId: convex_values474.GenericId<"User">;
80
+ name: string;
81
81
  _creationTime: number;
82
82
  createdAt: number;
83
83
  revoked: boolean;
@@ -124,7 +124,7 @@ declare const vApiKeyDoc: convex_values474.VObject<{
124
124
  metadata: convex_values474.VAny<any, "optional", string>;
125
125
  _id: convex_values474.VId<convex_values474.GenericId<"ApiKey">, "required">;
126
126
  _creationTime: convex_values474.VFloat64<number, "required">;
127
- }, "required", "name" | "userId" | "_creationTime" | "createdAt" | "lastUsedAt" | "expiresAt" | "revoked" | "metadata" | `metadata.${string}` | "prefix" | "hashedKey" | "scopes" | "rateLimit" | "rateLimitState" | "rateLimit.maxRequests" | "rateLimit.windowMs" | "rateLimitState.attemptsLeft" | "rateLimitState.lastAttemptTime" | "_id">;
127
+ }, "required", "userId" | "name" | "_creationTime" | "createdAt" | "lastUsedAt" | "expiresAt" | "revoked" | "metadata" | `metadata.${string}` | "prefix" | "hashedKey" | "scopes" | "rateLimit" | "rateLimitState" | "rateLimit.maxRequests" | "rateLimit.windowMs" | "rateLimitState.attemptsLeft" | "rateLimitState.lastAttemptTime" | "_id">;
128
128
  declare const vDeviceCodeDoc: convex_values474.VObject<{
129
129
  userId?: convex_values474.GenericId<"User"> | undefined;
130
130
  sessionId?: convex_values474.GenericId<"Session"> | undefined;
@@ -147,7 +147,7 @@ declare const vDeviceCodeDoc: convex_values474.VObject<{
147
147
  lastPolledAt: convex_values474.VFloat64<number | undefined, "optional">;
148
148
  _id: convex_values474.VId<convex_values474.GenericId<"DeviceCode">, "required">;
149
149
  _creationTime: convex_values474.VFloat64<number, "required">;
150
- }, "required", "status" | "userId" | "sessionId" | "_creationTime" | "deviceCodeHash" | "userCode" | "expiresAt" | "interval" | "lastPolledAt" | "_id">;
150
+ }, "required", "userId" | "status" | "sessionId" | "_creationTime" | "deviceCodeHash" | "userCode" | "expiresAt" | "interval" | "lastPolledAt" | "_id">;
151
151
  //#endregion
152
152
  export { vApiKeyDoc, vAuthVerifierDoc, vDeviceCodeDoc, vPasskeyDoc, vTotpFactorDoc };
153
153
  //# sourceMappingURL=model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","names":[],"sources":["../../src/component/model.ts"],"mappings":";;;;;;cAEa,MAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;cA2BA,IAAA,iBAAI,OAAA;;;;OAAmD,cAAA,CAAA,OAAA;;;cAEvD,UAAA,GAAc,IAAA,yBAAS,OAAA;;;;SAIhC,cAAA,CAAA,MAAA;;;cAES,aAAA,EAAa,cAAA,CAAA,MAAA,kDAKzB,cAAA,CALyB,QAAA,yBAAA,cAAA,CAAA,QAAA,0BAAA,cAAA,CAAA,QAAA,yBAAA,cAAA,CAAA,QAAA;AAAA,cAOb,aAAA,EAAa,cAAA,CAAA,MAAA,uCAIzB,cAAA,CAJyB,QAAA,yBAAA,cAAA,CAAA,QAAA,4BAAA,cAAA,CAAA,QAAA;AAAA,cAMb,+BAAA,EAA+B,cAAA,CAAA,MAAA,4BAG3C,cAAA,CAH2C,QAAA,+BAAA,cAAA,CAAA,QAAA;AAAA,cAK/B,8BAAA,EAA8B,cAAA,CAAA,MAAA,yBAG1C,cAAA,CAH0C,QAAA,4BAAA,cAAA,CAAA,QAAA;AAAA,cAK9B,8BAAA,EAA8B,cAAA,CAAA,MAAA,oDAI1C,cAAA,CAJ0C,QAAA,qBAAA,cAAA,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;;;;;;;;;;;;;;;;;;;;cAEW,oBAAA,mBAAoB,OAAA;;;WAO/B,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;cAEW,gCAAA,mBAAgC,OAAA;;;WAW3C,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAEW,oBAAA,mBAAoB,OAAA;;;WAO/B,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;cAEW,wBAAA,mBAAwB,OAAA;;;;;WASnC,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAEW,0BAAA,mBAA0B,OAAA;WAWrC,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAEW,wBAAA,mBAAwB,OAAA;;;;;;;;WAcnC,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAEW,6BAAA,mBAA6B,OAAA;;oBAaxC,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,6BAAA,mBAA6B,OAAA;iBAaxC,gBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,gBAAA,mBAAgB,OAAA;;;;;;;OAO3B,gBAAA,CAAA,SAAA;AAAA;;;;;;;;;cAEW,0BAAA,mBAA0B,OAAA;aAMrC,gBAAA,CAAA,SAAA"}
@@ -16,8 +16,8 @@ declare const _default: convex_server66.SchemaDefinition<{
16
16
  */
17
17
  User: convex_server66.TableDefinition<convex_values121.VObject<{
18
18
  email?: string | undefined;
19
- phone?: string | undefined;
20
19
  extend?: any;
20
+ phone?: string | undefined;
21
21
  name?: string | undefined;
22
22
  image?: string | undefined;
23
23
  emailVerificationTime?: number | undefined;
@@ -32,7 +32,7 @@ declare const _default: convex_server66.SchemaDefinition<{
32
32
  phoneVerificationTime: convex_values121.VFloat64<number | undefined, "optional">;
33
33
  isAnonymous: convex_values121.VBoolean<boolean | undefined, "optional">;
34
34
  extend: convex_values121.VAny<any, "optional", string>;
35
- }, "required", "email" | "phone" | "extend" | "name" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | `extend.${string}`>, {
35
+ }, "required", "email" | "extend" | "phone" | "name" | "image" | "emailVerificationTime" | "phoneVerificationTime" | "isAnonymous" | `extend.${string}`>, {
36
36
  email: ["email", "_creationTime"];
37
37
  email_verified: ["email", "emailVerificationTime", "_creationTime"];
38
38
  phone: ["phone", "_creationTime"];
@@ -62,8 +62,8 @@ declare const _default: convex_server66.SchemaDefinition<{
62
62
  secret?: string | undefined;
63
63
  emailVerified?: string | undefined;
64
64
  phoneVerified?: string | undefined;
65
- provider: string;
66
65
  userId: convex_values121.GenericId<"User">;
66
+ provider: string;
67
67
  providerAccountId: string;
68
68
  }, {
69
69
  userId: convex_values121.VId<convex_values121.GenericId<"User">, "required">;
@@ -73,7 +73,7 @@ declare const _default: convex_server66.SchemaDefinition<{
73
73
  emailVerified: convex_values121.VString<string | undefined, "optional">;
74
74
  phoneVerified: convex_values121.VString<string | undefined, "optional">;
75
75
  extend: convex_values121.VAny<any, "optional", string>;
76
- }, "required", "extend" | "provider" | "userId" | "providerAccountId" | "secret" | `extend.${string}` | "emailVerified" | "phoneVerified">, {
76
+ }, "required", "userId" | "extend" | "provider" | "secret" | "providerAccountId" | `extend.${string}` | "emailVerified" | "phoneVerified">, {
77
77
  user_id_provider: ["userId", "provider", "_creationTime"];
78
78
  provider_account_id: ["provider", "providerAccountId", "_creationTime"];
79
79
  }, {}, {}>;
@@ -88,14 +88,14 @@ declare const _default: convex_server66.SchemaDefinition<{
88
88
  RefreshToken: convex_server66.TableDefinition<convex_values121.VObject<{
89
89
  firstUsedTime?: number | undefined;
90
90
  parentRefreshTokenId?: convex_values121.GenericId<"RefreshToken"> | undefined;
91
- sessionId: convex_values121.GenericId<"Session">;
92
91
  expirationTime: number;
92
+ sessionId: convex_values121.GenericId<"Session">;
93
93
  }, {
94
94
  sessionId: convex_values121.VId<convex_values121.GenericId<"Session">, "required">;
95
95
  expirationTime: convex_values121.VFloat64<number, "required">;
96
96
  firstUsedTime: convex_values121.VFloat64<number | undefined, "optional">;
97
97
  parentRefreshTokenId: convex_values121.VId<convex_values121.GenericId<"RefreshToken"> | undefined, "optional">;
98
- }, "required", "sessionId" | "expirationTime" | "firstUsedTime" | "parentRefreshTokenId">, {
98
+ }, "required", "expirationTime" | "sessionId" | "firstUsedTime" | "parentRefreshTokenId">, {
99
99
  session_id: ["sessionId", "_creationTime"];
100
100
  session_id_first_used: ["sessionId", "firstUsedTime", "_creationTime"];
101
101
  session_id_parent_refresh_token_id: ["sessionId", "parentRefreshTokenId", "_creationTime"];
@@ -107,8 +107,8 @@ declare const _default: convex_server66.SchemaDefinition<{
107
107
  verifier?: string | undefined;
108
108
  emailVerified?: string | undefined;
109
109
  phoneVerified?: string | undefined;
110
- code: string;
111
110
  provider: string;
111
+ code: string;
112
112
  accountId: convex_values121.GenericId<"Account">;
113
113
  expirationTime: number;
114
114
  }, {
@@ -119,7 +119,7 @@ declare const _default: convex_server66.SchemaDefinition<{
119
119
  verifier: convex_values121.VString<string | undefined, "optional">;
120
120
  emailVerified: convex_values121.VString<string | undefined, "optional">;
121
121
  phoneVerified: convex_values121.VString<string | undefined, "optional">;
122
- }, "required", "code" | "provider" | "verifier" | "accountId" | "expirationTime" | "emailVerified" | "phoneVerified">, {
122
+ }, "required", "provider" | "code" | "accountId" | "expirationTime" | "verifier" | "emailVerified" | "phoneVerified">, {
123
123
  account_id: ["accountId", "_creationTime"];
124
124
  code: ["code", "_creationTime"];
125
125
  }, {}, {}>;
@@ -165,7 +165,7 @@ declare const _default: convex_server66.SchemaDefinition<{
165
165
  name: convex_values121.VString<string | undefined, "optional">;
166
166
  createdAt: convex_values121.VFloat64<number, "required">;
167
167
  lastUsedAt: convex_values121.VFloat64<number | undefined, "optional">;
168
- }, "required", "name" | "userId" | "credentialId" | "publicKey" | "algorithm" | "counter" | "transports" | "deviceType" | "backedUp" | "createdAt" | "lastUsedAt">, {
168
+ }, "required", "userId" | "name" | "credentialId" | "publicKey" | "algorithm" | "counter" | "transports" | "deviceType" | "backedUp" | "createdAt" | "lastUsedAt">, {
169
169
  user_id: ["userId", "_creationTime"];
170
170
  credential_id: ["credentialId", "_creationTime"];
171
171
  }, {}, {}>;
@@ -196,7 +196,7 @@ declare const _default: convex_server66.SchemaDefinition<{
196
196
  name: convex_values121.VString<string | undefined, "optional">;
197
197
  createdAt: convex_values121.VFloat64<number, "required">;
198
198
  lastUsedAt: convex_values121.VFloat64<number | undefined, "optional">;
199
- }, "required", "name" | "userId" | "secret" | "createdAt" | "lastUsedAt" | "digits" | "period" | "verified">, {
199
+ }, "required", "userId" | "secret" | "name" | "createdAt" | "lastUsedAt" | "digits" | "period" | "verified">, {
200
200
  user_id: ["userId", "_creationTime"];
201
201
  user_id_verified: ["userId", "verified", "_creationTime"];
202
202
  }, {}, {}>;
@@ -223,7 +223,7 @@ declare const _default: convex_server66.SchemaDefinition<{
223
223
  userId: convex_values121.VId<convex_values121.GenericId<"User"> | undefined, "optional">; /** Set when the user authorizes — the session created for the device. */
224
224
  sessionId: convex_values121.VId<convex_values121.GenericId<"Session"> | undefined, "optional">; /** Timestamp of the last poll request (for slow_down enforcement). */
225
225
  lastPolledAt: convex_values121.VFloat64<number | undefined, "optional">;
226
- }, "required", "status" | "userId" | "sessionId" | "deviceCodeHash" | "userCode" | "expiresAt" | "interval" | "lastPolledAt">, {
226
+ }, "required", "userId" | "status" | "sessionId" | "deviceCodeHash" | "userCode" | "expiresAt" | "interval" | "lastPolledAt">, {
227
227
  device_code_hash: ["deviceCodeHash", "_creationTime"];
228
228
  user_code_status: ["userCode", "status", "_creationTime"];
229
229
  }, {}, {}>;
@@ -276,7 +276,7 @@ declare const _default: convex_server66.SchemaDefinition<{
276
276
  value: convex_values121.VString<string, "required">;
277
277
  }, "required", "value" | "key">, "optional">;
278
278
  extend: convex_values121.VAny<any, "optional", string>;
279
- }, "required", "type" | "extend" | "name" | "slug" | `extend.${string}` | "parentGroupId" | "rootGroupId" | "isRoot" | "tags">, {
279
+ }, "required", "type" | "extend" | "name" | `extend.${string}` | "slug" | "parentGroupId" | "rootGroupId" | "isRoot" | "tags">, {
280
280
  slug: ["slug", "_creationTime"];
281
281
  parent_group_id: ["parentGroupId", "_creationTime"];
282
282
  root_group_id: ["rootGroupId", "_creationTime"];
@@ -312,8 +312,8 @@ declare const _default: convex_server66.SchemaDefinition<{
312
312
  status?: string | undefined;
313
313
  role?: string | undefined;
314
314
  roleIds?: string[] | undefined;
315
- groupId: convex_values121.GenericId<"Group">;
316
315
  userId: convex_values121.GenericId<"User">;
316
+ groupId: convex_values121.GenericId<"Group">;
317
317
  }, {
318
318
  groupId: convex_values121.VId<convex_values121.GenericId<"Group">, "required">;
319
319
  userId: convex_values121.VId<convex_values121.GenericId<"User">, "required">;
@@ -321,7 +321,7 @@ declare const _default: convex_server66.SchemaDefinition<{
321
321
  roleIds: convex_values121.VArray<string[] | undefined, convex_values121.VString<string, "required">, "optional">;
322
322
  status: convex_values121.VString<string | undefined, "optional">;
323
323
  extend: convex_values121.VAny<any, "optional", string>;
324
- }, "required", "groupId" | "extend" | "status" | "userId" | `extend.${string}` | "role" | "roleIds">, {
324
+ }, "required", "userId" | "extend" | "status" | `extend.${string}` | "groupId" | "role" | "roleIds">, {
325
325
  group_id: ["groupId", "_creationTime"];
326
326
  group_id_user_id: ["groupId", "userId", "_creationTime"];
327
327
  group_id_status: ["groupId", "status", "_creationTime"];
@@ -337,8 +337,8 @@ declare const _default: convex_server66.SchemaDefinition<{
337
337
  */
338
338
  GroupInvite: convex_server66.TableDefinition<convex_values121.VObject<{
339
339
  email?: string | undefined;
340
- groupId?: convex_values121.GenericId<"Group"> | undefined;
341
340
  extend?: any;
341
+ groupId?: convex_values121.GenericId<"Group"> | undefined;
342
342
  role?: string | undefined;
343
343
  roleIds?: string[] | undefined;
344
344
  invitedByUserId?: convex_values121.GenericId<"User"> | undefined;
@@ -359,7 +359,7 @@ declare const _default: convex_server66.SchemaDefinition<{
359
359
  acceptedByUserId: convex_values121.VId<convex_values121.GenericId<"User"> | undefined, "optional">;
360
360
  acceptedTime: convex_values121.VFloat64<number | undefined, "optional">;
361
361
  extend: convex_values121.VAny<any, "optional", string>;
362
- }, "required", "email" | "groupId" | "extend" | "status" | `extend.${string}` | "role" | "roleIds" | "invitedByUserId" | "tokenHash" | "expiresTime" | "acceptedByUserId" | "acceptedTime">, {
362
+ }, "required", "email" | "extend" | "status" | `extend.${string}` | "groupId" | "role" | "roleIds" | "invitedByUserId" | "tokenHash" | "expiresTime" | "acceptedByUserId" | "acceptedTime">, {
363
363
  token_hash: ["tokenHash", "_creationTime"];
364
364
  status: ["status", "_creationTime"];
365
365
  email_status: ["email", "status", "_creationTime"];
@@ -402,8 +402,8 @@ declare const _default: convex_server66.SchemaDefinition<{
402
402
  };
403
403
  } | undefined;
404
404
  config?: any;
405
- groupId: convex_values121.GenericId<"Group">;
406
405
  status: "draft" | "active" | "disabled";
406
+ groupId: convex_values121.GenericId<"Group">;
407
407
  }, {
408
408
  groupId: convex_values121.VId<convex_values121.GenericId<"Group">, "required">;
409
409
  slug: convex_values121.VString<string | undefined, "optional">;
@@ -484,7 +484,7 @@ declare const _default: convex_server66.SchemaDefinition<{
484
484
  }, "optional", "extend" | `extend.${string}` | "version" | "identity" | "provisioning" | "identity.accountLinking" | "identity.accountLinking.oidc" | "identity.accountLinking.saml" | "provisioning.scimReuse" | "provisioning.jit" | "provisioning.deprovision" | "provisioning.scimReuse.user" | "provisioning.jit.mode" | "provisioning.jit.defaultRole" | "provisioning.jit.defaultRoleIds" | "provisioning.deprovision.mode">;
485
485
  config: convex_values121.VAny<any, "optional", string>;
486
486
  extend: convex_values121.VAny<any, "optional", string>;
487
- }, "required", "groupId" | "extend" | "name" | "slug" | "status" | `extend.${string}` | "policy" | "config" | "policy.extend" | `policy.extend.${string}` | "policy.version" | "policy.identity" | "policy.provisioning" | "policy.identity.accountLinking" | "policy.identity.accountLinking.oidc" | "policy.identity.accountLinking.saml" | "policy.provisioning.scimReuse" | "policy.provisioning.jit" | "policy.provisioning.deprovision" | "policy.provisioning.scimReuse.user" | "policy.provisioning.jit.mode" | "policy.provisioning.jit.defaultRole" | "policy.provisioning.jit.defaultRoleIds" | "policy.provisioning.deprovision.mode" | `config.${string}`>, {
487
+ }, "required", "extend" | "status" | "name" | `extend.${string}` | "slug" | "groupId" | "policy" | "config" | "policy.extend" | `policy.extend.${string}` | "policy.version" | "policy.identity" | "policy.provisioning" | "policy.identity.accountLinking" | "policy.identity.accountLinking.oidc" | "policy.identity.accountLinking.saml" | "policy.provisioning.scimReuse" | "policy.provisioning.jit" | "policy.provisioning.deprovision" | "policy.provisioning.scimReuse.user" | "policy.provisioning.jit.mode" | "policy.provisioning.jit.defaultRole" | "policy.provisioning.jit.defaultRoleIds" | "policy.provisioning.deprovision.mode" | `config.${string}`>, {
488
488
  group_id: ["groupId", "_creationTime"];
489
489
  slug: ["slug", "_creationTime"];
490
490
  status: ["status", "_creationTime"];
@@ -495,8 +495,8 @@ declare const _default: convex_server66.SchemaDefinition<{
495
495
  EnterpriseDomain: convex_server66.TableDefinition<convex_values121.VObject<{
496
496
  verifiedAt?: number | undefined;
497
497
  groupId: convex_values121.GenericId<"Group">;
498
- domain: string;
499
498
  enterpriseId: convex_values121.GenericId<"Enterprise">;
499
+ domain: string;
500
500
  isPrimary: boolean;
501
501
  }, {
502
502
  enterpriseId: convex_values121.VId<convex_values121.GenericId<"Enterprise">, "required">;
@@ -504,7 +504,7 @@ declare const _default: convex_server66.SchemaDefinition<{
504
504
  domain: convex_values121.VString<string, "required">;
505
505
  isPrimary: convex_values121.VBoolean<boolean, "required">;
506
506
  verifiedAt: convex_values121.VFloat64<number | undefined, "optional">;
507
- }, "required", "groupId" | "domain" | "enterpriseId" | "isPrimary" | "verifiedAt">, {
507
+ }, "required", "groupId" | "enterpriseId" | "domain" | "isPrimary" | "verifiedAt">, {
508
508
  enterprise_id: ["enterpriseId", "_creationTime"];
509
509
  group_id: ["groupId", "_creationTime"];
510
510
  domain: ["domain", "_creationTime"];
@@ -513,11 +513,11 @@ declare const _default: convex_server66.SchemaDefinition<{
513
513
  * Pending DNS TXT verification challenges for enterprise domains.
514
514
  */
515
515
  EnterpriseDomainVerification: convex_server66.TableDefinition<convex_values121.VObject<{
516
- groupId: convex_values121.GenericId<"Group">;
517
- domain: string;
518
516
  expiresAt: number;
517
+ groupId: convex_values121.GenericId<"Group">;
519
518
  tokenHash: string;
520
519
  enterpriseId: convex_values121.GenericId<"Enterprise">;
520
+ domain: string;
521
521
  domainId: convex_values121.GenericId<"EnterpriseDomain">;
522
522
  recordName: string;
523
523
  token: string;
@@ -532,7 +532,7 @@ declare const _default: convex_server66.SchemaDefinition<{
532
532
  tokenHash: convex_values121.VString<string, "required">;
533
533
  requestedAt: convex_values121.VFloat64<number, "required">;
534
534
  expiresAt: convex_values121.VFloat64<number, "required">;
535
- }, "required", "groupId" | "domain" | "expiresAt" | "tokenHash" | "enterpriseId" | "domainId" | "recordName" | "token" | "requestedAt">, {
535
+ }, "required", "expiresAt" | "groupId" | "tokenHash" | "enterpriseId" | "domain" | "domainId" | "recordName" | "token" | "requestedAt">, {
536
536
  enterprise_id: ["enterpriseId", "_creationTime"];
537
537
  domain_id: ["domainId", "_creationTime"];
538
538
  token_hash: ["tokenHash", "_creationTime"];
@@ -542,17 +542,17 @@ declare const _default: convex_server66.SchemaDefinition<{
542
542
  */
543
543
  EnterpriseSecret: convex_server66.TableDefinition<convex_values121.VObject<{
544
544
  groupId: convex_values121.GenericId<"Group">;
545
- kind: "oidc_client_secret";
546
545
  enterpriseId: convex_values121.GenericId<"Enterprise">;
547
546
  ciphertext: string;
548
547
  updatedAt: number;
548
+ kind: "oidc_client_secret";
549
549
  }, {
550
550
  enterpriseId: convex_values121.VId<convex_values121.GenericId<"Enterprise">, "required">;
551
551
  groupId: convex_values121.VId<convex_values121.GenericId<"Group">, "required">;
552
552
  kind: convex_values121.VUnion<"oidc_client_secret", [convex_values121.VLiteral<"oidc_client_secret", "required">], "required", never>;
553
553
  ciphertext: convex_values121.VString<string, "required">;
554
554
  updatedAt: convex_values121.VFloat64<number, "required">;
555
- }, "required", "groupId" | "kind" | "enterpriseId" | "ciphertext" | "updatedAt">, {
555
+ }, "required", "groupId" | "enterpriseId" | "ciphertext" | "updatedAt" | "kind">, {
556
556
  enterprise_id: ["enterpriseId", "_creationTime"];
557
557
  enterprise_id_kind: ["enterpriseId", "kind", "_creationTime"];
558
558
  group_id: ["groupId", "_creationTime"];
@@ -563,8 +563,8 @@ declare const _default: convex_server66.SchemaDefinition<{
563
563
  EnterpriseScimConfig: convex_server66.TableDefinition<convex_values121.VObject<{
564
564
  extend?: any;
565
565
  lastRotatedAt?: number | undefined;
566
- groupId: convex_values121.GenericId<"Group">;
567
566
  status: "draft" | "active" | "disabled";
567
+ groupId: convex_values121.GenericId<"Group">;
568
568
  tokenHash: string;
569
569
  enterpriseId: convex_values121.GenericId<"Enterprise">;
570
570
  basePath: string;
@@ -576,7 +576,7 @@ declare const _default: convex_server66.SchemaDefinition<{
576
576
  tokenHash: convex_values121.VString<string, "required">;
577
577
  lastRotatedAt: convex_values121.VFloat64<number | undefined, "optional">;
578
578
  extend: convex_values121.VAny<any, "optional", string>;
579
- }, "required", "groupId" | "extend" | "status" | `extend.${string}` | "tokenHash" | "enterpriseId" | "basePath" | "lastRotatedAt">, {
579
+ }, "required", "extend" | "status" | `extend.${string}` | "groupId" | "tokenHash" | "enterpriseId" | "basePath" | "lastRotatedAt">, {
580
580
  enterprise_id: ["enterpriseId", "_creationTime"];
581
581
  group_id: ["groupId", "_creationTime"];
582
582
  token_hash: ["tokenHash", "_creationTime"];
@@ -586,8 +586,8 @@ declare const _default: convex_server66.SchemaDefinition<{
586
586
  * External SCIM identities mapped into local users/groups.
587
587
  */
588
588
  EnterpriseScimIdentity: convex_server66.TableDefinition<convex_values121.VObject<{
589
- active?: boolean | undefined;
590
589
  userId?: convex_values121.GenericId<"User"> | undefined;
590
+ active?: boolean | undefined;
591
591
  mappedGroupId?: convex_values121.GenericId<"Group"> | undefined;
592
592
  lastProvisionedAt?: number | undefined;
593
593
  raw?: any;
@@ -605,7 +605,7 @@ declare const _default: convex_server66.SchemaDefinition<{
605
605
  lastProvisionedAt: convex_values121.VFloat64<number | undefined, "optional">;
606
606
  active: convex_values121.VBoolean<boolean | undefined, "optional">;
607
607
  raw: convex_values121.VAny<any, "optional", string>;
608
- }, "required", "groupId" | "active" | "userId" | "externalId" | "enterpriseId" | "resourceType" | "mappedGroupId" | "lastProvisionedAt" | "raw" | `raw.${string}`>, {
608
+ }, "required", "userId" | "groupId" | "active" | "externalId" | "enterpriseId" | "resourceType" | "mappedGroupId" | "lastProvisionedAt" | "raw" | `raw.${string}`>, {
609
609
  enterprise_id: ["enterpriseId", "_creationTime"];
610
610
  group_id: ["groupId", "_creationTime"];
611
611
  enterprise_id_resource_type_external_id: ["enterpriseId", "resourceType", "externalId", "_creationTime"];
@@ -622,8 +622,8 @@ declare const _default: convex_server66.SchemaDefinition<{
622
622
  requestId?: string | undefined;
623
623
  ip?: string | undefined;
624
624
  metadata?: any;
625
- groupId: convex_values121.GenericId<"Group">;
626
625
  status: "success" | "failure";
626
+ groupId: convex_values121.GenericId<"Group">;
627
627
  enterpriseId: convex_values121.GenericId<"Enterprise">;
628
628
  actorType: "user" | "system" | "scim" | "api_key" | "webhook";
629
629
  eventType: string;
@@ -642,7 +642,7 @@ declare const _default: convex_server66.SchemaDefinition<{
642
642
  requestId: convex_values121.VString<string | undefined, "optional">;
643
643
  ip: convex_values121.VString<string | undefined, "optional">;
644
644
  metadata: convex_values121.VAny<any, "optional", string>;
645
- }, "required", "groupId" | "status" | "enterpriseId" | "actorType" | "eventType" | "actorId" | "subjectType" | "subjectId" | "occurredAt" | "requestId" | "ip" | "metadata" | `metadata.${string}`>, {
645
+ }, "required", "status" | "groupId" | "enterpriseId" | "actorType" | "eventType" | "actorId" | "subjectType" | "subjectId" | "occurredAt" | "requestId" | "ip" | "metadata" | `metadata.${string}`>, {
646
646
  enterprise_id_occurred_at: ["enterpriseId", "occurredAt", "_creationTime"];
647
647
  group_id_occurred_at: ["groupId", "occurredAt", "_creationTime"];
648
648
  event_type_occurred_at: ["eventType", "occurredAt", "_creationTime"];
@@ -655,8 +655,8 @@ declare const _default: convex_server66.SchemaDefinition<{
655
655
  createdByUserId?: convex_values121.GenericId<"User"> | undefined;
656
656
  lastSuccessAt?: number | undefined;
657
657
  lastFailureAt?: number | undefined;
658
- groupId: convex_values121.GenericId<"Group">;
659
658
  status: "active" | "disabled";
659
+ groupId: convex_values121.GenericId<"Group">;
660
660
  enterpriseId: convex_values121.GenericId<"Enterprise">;
661
661
  url: string;
662
662
  secretHash: string;
@@ -674,7 +674,7 @@ declare const _default: convex_server66.SchemaDefinition<{
674
674
  lastFailureAt: convex_values121.VFloat64<number | undefined, "optional">;
675
675
  failureCount: convex_values121.VFloat64<number, "required">;
676
676
  extend: convex_values121.VAny<any, "optional", string>;
677
- }, "required", "groupId" | "extend" | "status" | `extend.${string}` | "enterpriseId" | "url" | "secretHash" | "subscriptions" | "createdByUserId" | "lastSuccessAt" | "lastFailureAt" | "failureCount">, {
677
+ }, "required", "extend" | "status" | `extend.${string}` | "groupId" | "enterpriseId" | "url" | "secretHash" | "subscriptions" | "createdByUserId" | "lastSuccessAt" | "lastFailureAt" | "failureCount">, {
678
678
  enterprise_id: ["enterpriseId", "_creationTime"];
679
679
  group_id: ["groupId", "_creationTime"];
680
680
  status: ["status", "_creationTime"];
@@ -737,8 +737,8 @@ declare const _default: convex_server66.SchemaDefinition<{
737
737
  attemptsLeft: number;
738
738
  lastAttemptTime: number;
739
739
  } | undefined;
740
- name: string;
741
740
  userId: convex_values121.GenericId<"User">;
741
+ name: string;
742
742
  createdAt: number;
743
743
  revoked: boolean;
744
744
  prefix: string;
@@ -781,7 +781,7 @@ declare const _default: convex_server66.SchemaDefinition<{
781
781
  createdAt: convex_values121.VFloat64<number, "required">; /** Soft-revoke flag. Revoked keys are kept for audit trail. */
782
782
  revoked: convex_values121.VBoolean<boolean, "required">; /** Arbitrary app-specific metadata attached to the key. */
783
783
  metadata: convex_values121.VAny<any, "optional", string>;
784
- }, "required", "name" | "userId" | "createdAt" | "lastUsedAt" | "expiresAt" | "revoked" | "metadata" | `metadata.${string}` | "prefix" | "hashedKey" | "scopes" | "rateLimit" | "rateLimitState" | "rateLimit.maxRequests" | "rateLimit.windowMs" | "rateLimitState.attemptsLeft" | "rateLimitState.lastAttemptTime">, {
784
+ }, "required", "userId" | "name" | "createdAt" | "lastUsedAt" | "expiresAt" | "revoked" | "metadata" | `metadata.${string}` | "prefix" | "hashedKey" | "scopes" | "rateLimit" | "rateLimitState" | "rateLimit.maxRequests" | "rateLimit.windowMs" | "rateLimitState.attemptsLeft" | "rateLimitState.lastAttemptTime">, {
785
785
  user_id: ["userId", "_creationTime"];
786
786
  hashed_key: ["hashedKey", "_creationTime"];
787
787
  }, {}, {}>;
@@ -49,8 +49,8 @@ declare function Auth(config_: ConvexAuthConfig): {
49
49
  store: convex_server25.RegisteredMutation<"internal", {
50
50
  args: {
51
51
  sessionId?: string | undefined;
52
- type: "signIn";
53
52
  userId: string;
53
+ type: "signIn";
54
54
  generateTokens: boolean;
55
55
  } | {
56
56
  type: "signOut";
@@ -68,8 +68,8 @@ declare function Auth(config_: ConvexAuthConfig): {
68
68
  type: "verifier";
69
69
  } | {
70
70
  type: "verifierSignature";
71
- signature: string;
72
71
  verifier: string;
72
+ signature: string;
73
73
  } | {
74
74
  accountExtend?: any;
75
75
  type: "userOAuth";
@@ -112,8 +112,8 @@ declare function Auth(config_: ConvexAuthConfig): {
112
112
  };
113
113
  } | {
114
114
  except?: string[] | undefined;
115
- type: "invalidateSessions";
116
115
  userId: string;
116
+ type: "invalidateSessions";
117
117
  };
118
118
  }, Promise<string | void | {
119
119
  userId: convex_values926.GenericId<"User">;
@@ -1,5 +1,5 @@
1
1
  import { CorsConfig, HttpKeyContext } from "./types.js";
2
- import * as convex_server62 from "convex/server";
2
+ import * as convex_server0 from "convex/server";
3
3
  import { GenericActionCtx, GenericDataModel, HttpRouter } from "convex/server";
4
4
 
5
5
  //#region src/server/http.d.ts
@@ -13,7 +13,7 @@ declare function createHttpAction(auth: {
13
13
  action: string;
14
14
  };
15
15
  cors?: CorsConfig;
16
- }) => convex_server62.PublicHttpAction;
16
+ }) => convex_server0.PublicHttpAction;
17
17
  declare function createHttpRoute(wrapAction: ReturnType<typeof createHttpAction>): (http: {
18
18
  route: (config: any) => void;
19
19
  }, routeConfig: {
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","names":[],"sources":["../../src/server/http.ts"],"mappings":";;;;;iBAgBgB,gBAAA,CAAiB,IAAA;EAC/B,GAAA;IAAO,MAAA,GAAS,GAAA,EAAK,gBAAA,OAAuB,MAAA,aAAmB,OAAA;EAAA;AAAA,KAG7D,OAAA,GACE,GAAA,EAAK,gBAAA,CAAiB,gBAAA,IAAoB,cAAA,EAC1C,OAAA,EAAS,OAAA,KACN,OAAA,CAAQ,QAAA,GAAW,MAAA,oBACxB,OAAA;EACE,KAAA;IAAU,QAAA;IAAkB,MAAA;EAAA;EAC5B,IAAA,GAAO,UAAA;AAAA,MAAU,eAAA,CAClB,gBAAA;AAAA,iBA2IW,eAAA,CACd,UAAA,EAAY,UAAA,QAAkB,gBAAA,KAG5B,IAAA;EAAQ,KAAA,GAAQ,MAAA;AAAA,GAChB,WAAA;EACE,IAAA;EACA,MAAA;EACA,OAAA,GACE,GAAA,EAAK,gBAAA,CAAiB,gBAAA,IAAoB,cAAA,EAC1C,OAAA,EAAS,OAAA,KACN,OAAA,CAAQ,QAAA,GAAW,MAAA;EACxB,KAAA;IAAU,QAAA;IAAkB,MAAA;EAAA;EAC5B,IAAA,GAAO,UAAA;AAAA;AAAA,iBA+BG,uBAAA,CACd,eAAA,UACA,MAAA,GAAS,GAAA,EAAK,gBAAA,OAAuB,OAAA,EAAS,OAAA,KAAY,OAAA,CAAQ,QAAA,KAEpD,GAAA,EAAK,gBAAA,O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: {
131
131
  connection: {
132
132
  create: convex_server0.RegisteredMutation<"public", {
133
- groupId?: string | undefined;
133
+ status?: "draft" | "active" | "disabled" | undefined;
134
134
  name?: string | undefined;
135
135
  slug?: string | undefined;
136
- status?: "draft" | "active" | "disabled" | undefined;
136
+ groupId?: string | undefined;
137
137
  domain?: string | undefined;
138
138
  }, Promise<any>>;
139
139
  get: convex_server0.RegisteredQuery<"public", {
@@ -146,12 +146,12 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
146
146
  domain: string;
147
147
  }, Promise<any>>;
148
148
  list: convex_server0.RegisteredQuery<"public", {
149
- limit?: number | undefined;
150
149
  where?: {
151
- groupId?: string | undefined;
152
- slug?: string | undefined;
153
150
  status?: "draft" | "active" | "disabled" | undefined;
151
+ slug?: string | undefined;
152
+ groupId?: string | undefined;
154
153
  } | undefined;
154
+ limit?: number | undefined;
155
155
  cursor?: string | null | undefined;
156
156
  orderBy?: string | undefined;
157
157
  order?: "asc" | "desc" | undefined;
@@ -159,9 +159,9 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
159
159
  update: convex_server0.RegisteredMutation<"public", {
160
160
  enterpriseId: string;
161
161
  data: {
162
+ status?: "draft" | "active" | "disabled" | undefined;
162
163
  name?: string | undefined;
163
164
  slug?: string | undefined;
164
- status?: "draft" | "active" | "disabled" | undefined;
165
165
  };
166
166
  }, Promise<{
167
167
  ok: false;
@@ -194,12 +194,12 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
194
194
  }, Promise<any>>;
195
195
  verification: {
196
196
  request: convex_server0.RegisteredMutation<"public", {
197
- domain: string;
198
197
  enterpriseId: string;
198
+ domain: string;
199
199
  }, Promise<any>>;
200
200
  confirm: convex_server0.RegisteredAction<"public", {
201
- domain: string;
202
201
  enterpriseId: string;
202
+ domain: string;
203
203
  }, Promise<any>>;
204
204
  };
205
205
  };
@@ -288,8 +288,8 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
288
288
  audit: {
289
289
  list: convex_server0.RegisteredQuery<"public", {
290
290
  groupId?: string | undefined;
291
- limit?: number | undefined;
292
291
  enterpriseId?: string | undefined;
292
+ limit?: number | undefined;
293
293
  }, Promise<any>>;
294
294
  };
295
295
  webhook: {
@@ -339,8 +339,8 @@ declare function sso<TAuthorization extends AuthAuthorizationConfig | undefined
339
339
  client: {
340
340
  signIn: convex_server0.RegisteredQuery<"public", {
341
341
  email?: string | undefined;
342
- domain?: string | undefined;
343
342
  enterpriseId?: string | undefined;
343
+ domain?: string | undefined;
344
344
  redirectTo?: string | undefined;
345
345
  }, Promise<any>>;
346
346
  metadata: convex_server0.RegisteredQuery<"public", {
@@ -432,10 +432,10 @@ declare function scim<TAuthorization extends AuthAuthorizationConfig | undefined
432
432
  */
433
433
  declare function enterprise<TAuthorization extends AuthAuthorizationConfig | undefined = undefined>(auth: Pick<AuthApi<TAuthorization>, "group" | "member" | "scim" | "sso" | "user">, options: EnterpriseMountOptions<AuthRoleId<TAuthorization>>): {
434
434
  createConnection: convex_server0.RegisteredMutation<"public", {
435
- groupId?: string | undefined;
435
+ status?: "draft" | "active" | "disabled" | undefined;
436
436
  name?: string | undefined;
437
437
  slug?: string | undefined;
438
- status?: "draft" | "active" | "disabled" | undefined;
438
+ groupId?: string | undefined;
439
439
  domain?: string | undefined;
440
440
  }, Promise<any>>;
441
441
  getConnection: convex_server0.RegisteredQuery<"public", {
@@ -448,12 +448,12 @@ declare function enterprise<TAuthorization extends AuthAuthorizationConfig | und
448
448
  domain: string;
449
449
  }, Promise<any>>;
450
450
  listConnections: convex_server0.RegisteredQuery<"public", {
451
- limit?: number | undefined;
452
451
  where?: {
453
- groupId?: string | undefined;
454
- slug?: string | undefined;
455
452
  status?: "draft" | "active" | "disabled" | undefined;
453
+ slug?: string | undefined;
454
+ groupId?: string | undefined;
456
455
  } | undefined;
456
+ limit?: number | undefined;
457
457
  cursor?: string | null | undefined;
458
458
  orderBy?: string | undefined;
459
459
  order?: "asc" | "desc" | undefined;
@@ -461,9 +461,9 @@ declare function enterprise<TAuthorization extends AuthAuthorizationConfig | und
461
461
  updateConnection: convex_server0.RegisteredMutation<"public", {
462
462
  enterpriseId: string;
463
463
  data: {
464
+ status?: "draft" | "active" | "disabled" | undefined;
464
465
  name?: string | undefined;
465
466
  slug?: string | undefined;
466
- status?: "draft" | "active" | "disabled" | undefined;
467
467
  };
468
468
  }, Promise<{
469
469
  ok: false;
@@ -494,12 +494,12 @@ declare function enterprise<TAuthorization extends AuthAuthorizationConfig | und
494
494
  }[];
495
495
  }, Promise<any>>;
496
496
  requestDomainVerification: convex_server0.RegisteredMutation<"public", {
497
- domain: string;
498
497
  enterpriseId: string;
498
+ domain: string;
499
499
  }, Promise<any>>;
500
500
  confirmDomainVerification: convex_server0.RegisteredAction<"public", {
501
- domain: string;
502
501
  enterpriseId: string;
502
+ domain: string;
503
503
  }, Promise<any>>;
504
504
  configureOidc: convex_server0.RegisteredMutation<"public", {
505
505
  scopes?: string[] | undefined;
@@ -578,8 +578,8 @@ declare function enterprise<TAuthorization extends AuthAuthorizationConfig | und
578
578
  }, Promise<any>>;
579
579
  listAudit: convex_server0.RegisteredQuery<"public", {
580
580
  groupId?: string | undefined;
581
- limit?: number | undefined;
582
581
  enterpriseId?: string | undefined;
582
+ limit?: number | undefined;
583
583
  }, Promise<any>>;
584
584
  createWebhookEndpoint: convex_server0.RegisteredMutation<"public", {
585
585
  createdByUserId?: string | undefined;
@@ -631,8 +631,8 @@ declare function enterprise<TAuthorization extends AuthAuthorizationConfig | und
631
631
  }, Promise<any>>;
632
632
  signIn: convex_server0.RegisteredQuery<"public", {
633
633
  email?: string | undefined;
634
- domain?: string | undefined;
635
634
  enterpriseId?: string | undefined;
635
+ domain?: string | undefined;
636
636
  redirectTo?: string | undefined;
637
637
  }, Promise<any>>;
638
638
  metadata: convex_server0.RegisteredQuery<"public", {