@estifanos-sh/convex-auth 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (298) hide show
  1. package/README.md +5 -5
  2. package/dist/_generated/component.d.ts +130 -61
  3. package/dist/_generated/component.d.ts.map +1 -1
  4. package/dist/_generated/dataModel.d.ts +28 -0
  5. package/dist/_generated/dataModel.d.ts.map +1 -0
  6. package/dist/bin.js +1 -2
  7. package/dist/browser/index.d.ts +2 -2
  8. package/dist/browser/index.d.ts.map +1 -1
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/client/core/types.d.ts +40 -79
  11. package/dist/client/core/types.d.ts.map +1 -1
  12. package/dist/client/core/types.js.map +1 -1
  13. package/dist/client/errors.d.ts +15 -0
  14. package/dist/client/errors.d.ts.map +1 -0
  15. package/dist/client/errors.js +8 -1
  16. package/dist/client/errors.js.map +1 -1
  17. package/dist/client/index.d.ts +6 -3
  18. package/dist/client/index.d.ts.map +1 -1
  19. package/dist/client/index.js +3 -2
  20. package/dist/client/index.js.map +1 -1
  21. package/dist/component/_generated/component.d.ts +130 -61
  22. package/dist/component/_generated/component.d.ts.map +1 -1
  23. package/dist/component/_generated/dataModel.d.ts +1 -1
  24. package/dist/component/_generated/server.d.ts +1 -1
  25. package/dist/component/account.d.ts +43 -37
  26. package/dist/component/account.d.ts.map +1 -1
  27. package/dist/component/account.js +14 -16
  28. package/dist/component/account.js.map +1 -1
  29. package/dist/component/connection/audit.d.ts +29 -29
  30. package/dist/component/connection/audit.d.ts.map +1 -1
  31. package/dist/component/connection/audit.js +2 -1
  32. package/dist/component/connection/audit.js.map +1 -1
  33. package/dist/component/connection/cache.d.ts +6 -6
  34. package/dist/component/connection/domain/verification.d.ts +19 -19
  35. package/dist/component/connection/domain.d.ts +20 -20
  36. package/dist/component/connection/saml/assertion.d.ts +4 -4
  37. package/dist/component/connection/saml/request.d.ts +9 -9
  38. package/dist/component/connection/saml/request.d.ts.map +1 -1
  39. package/dist/component/connection/scim/config.d.ts +13 -13
  40. package/dist/component/connection/scim/identity.d.ts +102 -59
  41. package/dist/component/connection/scim/identity.d.ts.map +1 -1
  42. package/dist/component/connection/scim/identity.js +357 -56
  43. package/dist/component/connection/scim/identity.js.map +1 -1
  44. package/dist/component/connection/secret.d.ts +15 -15
  45. package/dist/component/connection/secret.d.ts.map +1 -1
  46. package/dist/component/connection/webhook/delivery.d.ts +69 -53
  47. package/dist/component/connection/webhook/delivery.d.ts.map +1 -1
  48. package/dist/component/connection/webhook/delivery.js +127 -170
  49. package/dist/component/connection/webhook/delivery.js.map +1 -1
  50. package/dist/component/connection/webhook/endpoint.d.ts +21 -21
  51. package/dist/component/connection/webhook/events.d.ts +26 -0
  52. package/dist/component/connection/webhook/events.d.ts.map +1 -0
  53. package/dist/component/connection/webhook/events.js +39 -0
  54. package/dist/component/connection/webhook/events.js.map +1 -0
  55. package/dist/component/connection.d.ts +38 -38
  56. package/dist/component/connection.d.ts.map +1 -1
  57. package/dist/component/context.d.ts +115 -0
  58. package/dist/component/context.d.ts.map +1 -0
  59. package/dist/component/context.js +50 -0
  60. package/dist/component/context.js.map +1 -0
  61. package/dist/component/convex.config.d.ts +2 -2
  62. package/dist/component/crons.d.ts +2 -2
  63. package/dist/component/event.d.ts +134 -138
  64. package/dist/component/event.d.ts.map +1 -1
  65. package/dist/component/event.js +88 -117
  66. package/dist/component/event.js.map +1 -1
  67. package/dist/component/eventstream.d.ts +30 -0
  68. package/dist/component/eventstream.d.ts.map +1 -0
  69. package/dist/component/eventstream.js +51 -0
  70. package/dist/component/eventstream.js.map +1 -0
  71. package/dist/component/factor/device.d.ts +25 -24
  72. package/dist/component/factor/device.d.ts.map +1 -1
  73. package/dist/component/factor/device.js +5 -2
  74. package/dist/component/factor/device.js.map +1 -1
  75. package/dist/component/factor/passkey.d.ts +84 -75
  76. package/dist/component/factor/passkey.d.ts.map +1 -1
  77. package/dist/component/factor/passkey.js +6 -6
  78. package/dist/component/factor/passkey.js.map +1 -1
  79. package/dist/component/factor/totp.d.ts +54 -49
  80. package/dist/component/factor/totp.d.ts.map +1 -1
  81. package/dist/component/factor/totp.js +3 -3
  82. package/dist/component/factor/totp.js.map +1 -1
  83. package/dist/component/group/active.d.ts +326 -22
  84. package/dist/component/group/active.d.ts.map +1 -1
  85. package/dist/component/group/active.js +21 -11
  86. package/dist/component/group/active.js.map +1 -1
  87. package/dist/component/group/invite.d.ts +28 -28
  88. package/dist/component/group/invite.d.ts.map +1 -1
  89. package/dist/component/group/member.d.ts +34 -34
  90. package/dist/component/group.d.ts +47 -62
  91. package/dist/component/group.d.ts.map +1 -1
  92. package/dist/component/http.d.ts +2 -2
  93. package/dist/component/limits.d.ts +4 -4
  94. package/dist/component/maintenance.d.ts +2 -2
  95. package/dist/component/model.d.ts +1362 -1027
  96. package/dist/component/model.d.ts.map +1 -1
  97. package/dist/component/model.js +23 -6
  98. package/dist/component/model.js.map +1 -1
  99. package/dist/component/modules.d.ts +8 -2
  100. package/dist/component/modules.d.ts.map +1 -1
  101. package/dist/component/modules.js +3 -0
  102. package/dist/component/modules.js.map +1 -1
  103. package/dist/component/oauth/client.d.ts +20 -20
  104. package/dist/component/oauth/code.d.ts +14 -14
  105. package/dist/component/oauth/refresh.d.ts +19 -19
  106. package/dist/component/schema.d.ts +1100 -611
  107. package/dist/component/schema.d.ts.map +1 -1
  108. package/dist/component/schema.js +17 -4
  109. package/dist/component/schema.js.map +1 -1
  110. package/dist/component/session.d.ts +72 -32
  111. package/dist/component/session.d.ts.map +1 -1
  112. package/dist/component/session.js +120 -32
  113. package/dist/component/session.js.map +1 -1
  114. package/dist/component/token/continuation.d.ts +40 -18
  115. package/dist/component/token/continuation.d.ts.map +1 -1
  116. package/dist/component/token/continuation.js +57 -11
  117. package/dist/component/token/continuation.js.map +1 -1
  118. package/dist/component/token/pkce.d.ts +22 -22
  119. package/dist/component/token/pkce.d.ts.map +1 -1
  120. package/dist/component/token/refresh.d.ts +39 -35
  121. package/dist/component/token/refresh.d.ts.map +1 -1
  122. package/dist/component/token/refresh.js +11 -6
  123. package/dist/component/token/refresh.js.map +1 -1
  124. package/dist/component/token/verification.d.ts +36 -32
  125. package/dist/component/token/verification.d.ts.map +1 -1
  126. package/dist/component/token/verification.js +3 -3
  127. package/dist/component/token/verification.js.map +1 -1
  128. package/dist/component/user/email.d.ts +21 -21
  129. package/dist/component/user/key.d.ts +35 -35
  130. package/dist/component/user/key.d.ts.map +1 -1
  131. package/dist/component/user.d.ts +51 -45
  132. package/dist/component/user.d.ts.map +1 -1
  133. package/dist/core/index.d.ts +54 -90
  134. package/dist/core/index.d.ts.map +1 -1
  135. package/dist/core/index.js +1 -4
  136. package/dist/core/index.js.map +1 -1
  137. package/dist/expo/index.d.ts +3 -3
  138. package/dist/expo/index.d.ts.map +1 -1
  139. package/dist/expo/index.js.map +1 -1
  140. package/dist/model.js.map +1 -1
  141. package/dist/providers/anonymous.d.ts +11 -5
  142. package/dist/providers/anonymous.d.ts.map +1 -1
  143. package/dist/providers/anonymous.js +4 -1
  144. package/dist/providers/anonymous.js.map +1 -1
  145. package/dist/providers/apple.d.ts +1 -1
  146. package/dist/providers/credentials.d.ts +21 -13
  147. package/dist/providers/credentials.d.ts.map +1 -1
  148. package/dist/providers/credentials.js +2 -0
  149. package/dist/providers/credentials.js.map +1 -1
  150. package/dist/providers/custom.d.ts +3 -3
  151. package/dist/providers/custom.d.ts.map +1 -1
  152. package/dist/providers/custom.js.map +1 -1
  153. package/dist/providers/email.d.ts +3 -3
  154. package/dist/providers/email.d.ts.map +1 -1
  155. package/dist/providers/email.js.map +1 -1
  156. package/dist/providers/github.d.ts +1 -1
  157. package/dist/providers/google.d.ts +1 -1
  158. package/dist/providers/microsoft.d.ts +1 -1
  159. package/dist/providers/password.d.ts +103 -8
  160. package/dist/providers/password.d.ts.map +1 -1
  161. package/dist/providers/password.js +71 -26
  162. package/dist/providers/password.js.map +1 -1
  163. package/dist/providers/phone.d.ts +4 -3
  164. package/dist/providers/phone.d.ts.map +1 -1
  165. package/dist/providers/phone.js.map +1 -1
  166. package/dist/react/index.d.ts +40 -41
  167. package/dist/react/index.d.ts.map +1 -1
  168. package/dist/react/index.js +27 -52
  169. package/dist/react/index.js.map +1 -1
  170. package/dist/server/auth.d.ts +157 -117
  171. package/dist/server/auth.d.ts.map +1 -1
  172. package/dist/server/auth.js +41 -22
  173. package/dist/server/auth.js.map +1 -1
  174. package/dist/server/component/factor/db.js +4 -4
  175. package/dist/server/component/factor/db.js.map +1 -1
  176. package/dist/server/config.d.ts +2 -1
  177. package/dist/server/connection/domain.d.ts +4 -66
  178. package/dist/server/connection/domain.d.ts.map +1 -1
  179. package/dist/server/connection/domain.js +22 -4
  180. package/dist/server/connection/domain.js.map +1 -1
  181. package/dist/server/connection/group/service.js +6 -4
  182. package/dist/server/connection/group/service.js.map +1 -1
  183. package/dist/server/connection/http.js +94 -261
  184. package/dist/server/connection/http.js.map +1 -1
  185. package/dist/server/connection/oidc.js +8 -17
  186. package/dist/server/connection/oidc.js.map +1 -1
  187. package/dist/server/connection/policy/domain.js +4 -1
  188. package/dist/server/connection/policy/domain.js.map +1 -1
  189. package/dist/server/connection/policy.js +14 -13
  190. package/dist/server/connection/policy.js.map +1 -1
  191. package/dist/server/connection/provision.js +5 -19
  192. package/dist/server/connection/provision.js.map +1 -1
  193. package/dist/server/connection/webhook.js +4 -36
  194. package/dist/server/connection/webhook.js.map +1 -1
  195. package/dist/server/context.d.ts +2 -2
  196. package/dist/server/context.d.ts.map +1 -1
  197. package/dist/server/context.js +35 -24
  198. package/dist/server/context.js.map +1 -1
  199. package/dist/server/contract.d.ts.map +1 -1
  200. package/dist/server/contract.js +6 -14
  201. package/dist/server/contract.js.map +1 -1
  202. package/dist/server/core.js +6 -0
  203. package/dist/server/core.js.map +1 -1
  204. package/dist/server/cors.d.ts +2 -2
  205. package/dist/server/cors.d.ts.map +1 -1
  206. package/dist/server/crypto.js.map +1 -1
  207. package/dist/server/db.js +2 -1
  208. package/dist/server/db.js.map +1 -1
  209. package/dist/server/domains/context.js +34 -0
  210. package/dist/server/domains/context.js.map +1 -0
  211. package/dist/server/domains/factor.d.ts +3 -2
  212. package/dist/server/domains/factor.d.ts.map +1 -1
  213. package/dist/server/domains/factor.js.map +1 -1
  214. package/dist/server/domains/group.js.map +1 -1
  215. package/dist/server/domains/invite.js.map +1 -1
  216. package/dist/server/domains/key.js.map +1 -1
  217. package/dist/server/domains/member.js.map +1 -1
  218. package/dist/server/domains/session.js.map +1 -1
  219. package/dist/server/domains/user.js.map +1 -1
  220. package/dist/server/env.js +2 -22
  221. package/dist/server/env.js.map +1 -1
  222. package/dist/server/events.d.ts +0 -1
  223. package/dist/server/events.d.ts.map +1 -1
  224. package/dist/server/events.js +6 -6
  225. package/dist/server/events.js.map +1 -1
  226. package/dist/server/http.d.ts +1 -0
  227. package/dist/server/http.d.ts.map +1 -1
  228. package/dist/server/http.js +4 -4
  229. package/dist/server/http.js.map +1 -1
  230. package/dist/server/identity/claims.js +1 -1
  231. package/dist/server/identity/convex.d.ts +2 -0
  232. package/dist/server/identity/convex.d.ts.map +1 -1
  233. package/dist/server/index.d.ts +2 -3
  234. package/dist/server/index.js +1 -2
  235. package/dist/server/limits.js +21 -1
  236. package/dist/server/limits.js.map +1 -1
  237. package/dist/server/mutations/credentials/signin.js +6 -3
  238. package/dist/server/mutations/credentials/signin.js.map +1 -1
  239. package/dist/server/mutations/invalidate.js +5 -10
  240. package/dist/server/mutations/invalidate.js.map +1 -1
  241. package/dist/server/mutations/oauth.js +1 -1
  242. package/dist/server/mutations/oauth.js.map +1 -1
  243. package/dist/server/mutations/retrieve.js +4 -1
  244. package/dist/server/mutations/retrieve.js.map +1 -1
  245. package/dist/server/mutations/signin.js +2 -2
  246. package/dist/server/mutations/signin.js.map +1 -1
  247. package/dist/server/mutations/verify.js +4 -3
  248. package/dist/server/mutations/verify.js.map +1 -1
  249. package/dist/server/oauth/factory.js.map +1 -1
  250. package/dist/server/runtime.d.ts +107 -127
  251. package/dist/server/runtime.d.ts.map +1 -1
  252. package/dist/server/runtime.js +43 -28
  253. package/dist/server/runtime.js.map +1 -1
  254. package/dist/server/session/lifecycle.d.ts.map +1 -1
  255. package/dist/server/session/lifecycle.js +18 -3
  256. package/dist/server/session/lifecycle.js.map +1 -1
  257. package/dist/server/signin/flow.js +1 -1
  258. package/dist/server/signin/flow.js.map +1 -1
  259. package/dist/server/tokens.js +1 -0
  260. package/dist/server/tokens.js.map +1 -1
  261. package/dist/server/totp.js +3 -3
  262. package/dist/server/totp.js.map +1 -1
  263. package/dist/server/types.d.ts +63 -43
  264. package/dist/server/types.d.ts.map +1 -1
  265. package/dist/server/user/account.js +0 -1
  266. package/dist/server/user/account.js.map +1 -1
  267. package/dist/server/validators.d.ts +874 -917
  268. package/dist/server/validators.d.ts.map +1 -1
  269. package/dist/server/validators.js +33 -32
  270. package/dist/server/validators.js.map +1 -1
  271. package/dist/server/webauthn.js +4 -4
  272. package/dist/server/webauthn.js.map +1 -1
  273. package/dist/shared/brand.d.ts +3 -7
  274. package/dist/shared/brand.d.ts.map +1 -1
  275. package/dist/shared/params.d.ts +78 -0
  276. package/dist/shared/params.d.ts.map +1 -0
  277. package/dist/shared/results.d.ts +7 -1
  278. package/dist/shared/results.d.ts.map +1 -1
  279. package/dist/svelte/context.svelte.d.ts +23 -12
  280. package/dist/svelte/context.svelte.d.ts.map +1 -1
  281. package/dist/svelte/context.svelte.js +20 -13
  282. package/dist/svelte/index.d.ts +1 -4
  283. package/dist/svelte/index.d.ts.map +1 -1
  284. package/dist/svelte/index.js +1 -4
  285. package/dist/test.d.ts +1105 -611
  286. package/dist/test.d.ts.map +1 -1
  287. package/package.json +2 -1
  288. package/dist/server/env.d.ts +0 -28
  289. package/dist/server/env.d.ts.map +0 -1
  290. package/dist/svelte/AuthLoading.svelte +0 -13
  291. package/dist/svelte/AuthLoading.svelte.d.ts +0 -8
  292. package/dist/svelte/AuthLoading.svelte.d.ts.map +0 -1
  293. package/dist/svelte/SignedIn.svelte +0 -14
  294. package/dist/svelte/SignedIn.svelte.d.ts +0 -8
  295. package/dist/svelte/SignedIn.svelte.d.ts.map +0 -1
  296. package/dist/svelte/SignedOut.svelte +0 -13
  297. package/dist/svelte/SignedOut.svelte.d.ts +0 -8
  298. package/dist/svelte/SignedOut.svelte.d.ts.map +0 -1
@@ -10,9 +10,9 @@ import { FactorKind, FactorSummary } from "./domains/factor.js";
10
10
  import { OAuthRuntimeDomain } from "./oauth/domain.js";
11
11
  import { HttpContextResolver, OptionalHttpContextResolver } from "./http.js";
12
12
  import { createGroupConnectionDomain } from "./connection/domain.js";
13
- import * as convex_values3565 from "convex/values";
13
+ import * as convex_values4178 from "convex/values";
14
14
  import { GenericValidator } from "convex/values";
15
- import * as convex_server279 from "convex/server";
15
+ import * as convex_server289 from "convex/server";
16
16
  import { GenericActionCtx, GenericDataModel, HttpRouter, RouteSpec } from "convex/server";
17
17
 
18
18
  //#region src/server/runtime.d.ts
@@ -47,15 +47,15 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
47
47
  user: {
48
48
  get: {
49
49
  (ctx: ComponentReadCtx, opts: {
50
- id: string;
50
+ id: convex_values4178.GenericId<"User">;
51
51
  }): Promise<Doc<"User"> | null>;
52
52
  (ctx: ComponentReadCtx, opts: {
53
- ids: readonly string[];
53
+ ids: readonly convex_values4178.GenericId<"User">[];
54
54
  }): Promise<Array<Doc<"User"> | null>>;
55
55
  };
56
56
  id: (ctx: ComponentReadCtx & {
57
- auth: convex_server279.Auth;
58
- }) => Promise<convex_values3565.GenericId<"User"> | null>;
57
+ auth: convex_server289.Auth;
58
+ }) => Promise<convex_values4178.GenericId<"User"> | null>;
59
59
  list: (ctx: ComponentReadCtx, opts: {
60
60
  where?: UserWhere;
61
61
  paginationOpts: {
@@ -72,16 +72,16 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
72
72
  pageStatus?: "SplitRecommended" | "SplitRequired" | null;
73
73
  }>;
74
74
  viewer: (ctx: ComponentReadCtx & {
75
- auth: convex_server279.Auth;
75
+ auth: convex_server289.Auth;
76
76
  }) => Promise<Doc<"User"> | null>;
77
77
  email: {
78
78
  list: (ctx: ComponentReadCtx & {
79
- auth: convex_server279.Auth;
79
+ auth: convex_server289.Auth;
80
80
  }, opts?: {
81
81
  userId?: string;
82
82
  }) => Promise<Doc<"UserEmail">[]>;
83
83
  create: (ctx: ComponentCtx & {
84
- auth: convex_server279.Auth;
84
+ auth: convex_server289.Auth;
85
85
  }, args: {
86
86
  email: string;
87
87
  userId?: string;
@@ -89,7 +89,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
89
89
  email: string;
90
90
  }>;
91
91
  remove: (ctx: ComponentCtx & {
92
- auth: convex_server279.Auth;
92
+ auth: convex_server289.Auth;
93
93
  }, args: {
94
94
  email: string;
95
95
  userId?: string;
@@ -97,7 +97,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
97
97
  email: string;
98
98
  }>;
99
99
  promote: (ctx: ComponentCtx & {
100
- auth: convex_server279.Auth;
100
+ auth: convex_server289.Auth;
101
101
  }, args: {
102
102
  email: string;
103
103
  userId?: string;
@@ -106,34 +106,50 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
106
106
  }>;
107
107
  primary: {
108
108
  get: (ctx: ComponentReadCtx & {
109
- auth: convex_server279.Auth;
109
+ auth: convex_server289.Auth;
110
110
  }, opts?: {
111
111
  userId?: string;
112
112
  }) => Promise<Doc<"UserEmail"> | null>;
113
113
  };
114
114
  };
115
115
  update: (ctx: ComponentCtx, opts: {
116
- id: string;
116
+ id: convex_values4178.GenericId<"User">;
117
117
  patch: Record<string, unknown>;
118
118
  }) => Promise<null>;
119
119
  remove: (ctx: ComponentCtx, opts: {
120
- id: string;
120
+ id: convex_values4178.GenericId<"User">;
121
121
  }) => Promise<null>;
122
122
  };
123
+ context: {
124
+ get: (ctx: ComponentReadCtx, args: {
125
+ userId: string;
126
+ sessionId?: string;
127
+ }) => Promise<{
128
+ user: Doc<"User"> | null;
129
+ session: Doc<"Session"> | null;
130
+ active: {
131
+ groupId: string;
132
+ group: Doc<"Group"> | null;
133
+ membership: Doc<"GroupMember">;
134
+ roleIds: string[];
135
+ grants: string[];
136
+ } | null;
137
+ }>;
138
+ };
123
139
  session: {
124
140
  revoke: <DataModel extends GenericDataModel>(ctx: GenericActionCtx<DataModel>, args: {
125
- userId: convex_values3565.GenericId<"User">;
126
- except?: convex_values3565.GenericId<"Session">[];
141
+ userId: convex_values4178.GenericId<"User">;
142
+ except?: convex_values4178.GenericId<"Session">[];
127
143
  }) => Promise<{
128
- userId: convex_values3565.GenericId<"User">;
129
- except: convex_values3565.GenericId<"Session">[];
144
+ userId: convex_values4178.GenericId<"User">;
145
+ except: convex_values4178.GenericId<"Session">[];
130
146
  }>;
131
147
  get: (ctx: ComponentReadCtx, opts: {
132
148
  id: string;
133
149
  }) => Promise<Doc<"Session"> | null>;
134
150
  id: (ctx: ComponentReadCtx & {
135
- auth: convex_server279.Auth;
136
- }) => Promise<convex_values3565.GenericId<"Session"> | null>;
151
+ auth: convex_server289.Auth;
152
+ }) => Promise<convex_values4178.GenericId<"Session"> | null>;
137
153
  list: (ctx: ComponentReadCtx, opts: {
138
154
  userId: string;
139
155
  }) => Promise<Doc<"Session">[]>;
@@ -182,10 +198,10 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
182
198
  };
183
199
  accountManagement: {
184
200
  list: (ctx: ComponentReadCtx & {
185
- auth: convex_server279.Auth;
201
+ auth: convex_server289.Auth;
186
202
  }) => Promise<AccountSummary[]>;
187
203
  remove: (ctx: ComponentCtx & {
188
- auth: convex_server279.Auth;
204
+ auth: convex_server289.Auth;
189
205
  }, args: {
190
206
  id: string;
191
207
  }) => Promise<{
@@ -194,12 +210,12 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
194
210
  };
195
211
  factor: {
196
212
  list: (ctx: ComponentReadCtx & {
197
- auth: convex_server279.Auth;
213
+ auth: convex_server289.Auth;
198
214
  }) => Promise<FactorSummary[]>;
199
215
  update: (ctx: ComponentReadCtx & {
200
- runMutation: <Mutation extends convex_server279.FunctionReference<"mutation", "public" | "internal">>(mutation: Mutation, ...args: convex_server279.OptionalRestArgs<Mutation>) => Promise<convex_server279.FunctionReturnType<Mutation>>;
216
+ runMutation: <Mutation extends convex_server289.FunctionReference<"mutation", "public" | "internal">>(mutation: Mutation, ...args: convex_server289.OptionalRestArgs<Mutation>) => Promise<convex_server289.FunctionReturnType<Mutation>>;
201
217
  } & {
202
- auth: convex_server279.Auth;
218
+ auth: convex_server289.Auth;
203
219
  }, args: {
204
220
  kind: FactorKind;
205
221
  id: string;
@@ -211,9 +227,9 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
211
227
  kind: FactorKind;
212
228
  }>;
213
229
  remove: (ctx: ComponentReadCtx & {
214
- runMutation: <Mutation extends convex_server279.FunctionReference<"mutation", "public" | "internal">>(mutation: Mutation, ...args: convex_server279.OptionalRestArgs<Mutation>) => Promise<convex_server279.FunctionReturnType<Mutation>>;
230
+ runMutation: <Mutation extends convex_server289.FunctionReference<"mutation", "public" | "internal">>(mutation: Mutation, ...args: convex_server289.OptionalRestArgs<Mutation>) => Promise<convex_server289.FunctionReturnType<Mutation>>;
215
231
  } & {
216
- auth: convex_server279.Auth;
232
+ auth: convex_server289.Auth;
217
233
  }, args: {
218
234
  kind: FactorKind;
219
235
  id: string;
@@ -225,7 +241,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
225
241
  provider: {
226
242
  signIn: <DataModel extends GenericDataModel>(ctx: GenericActionCtx<DataModel>, args: {
227
243
  provider: AuthProviderConfig;
228
- accountId?: convex_values3565.GenericId<"Account">;
244
+ accountId?: convex_values4178.GenericId<"Account">;
229
245
  params?: SignInParams;
230
246
  }) => Promise<{
231
247
  userId: string;
@@ -259,16 +275,16 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
259
275
  name: string;
260
276
  slug?: string;
261
277
  type?: string;
262
- parentGroupId?: string;
278
+ parentGroupId?: convex_values4178.GenericId<"Group">;
263
279
  extend?: Record<string, unknown>;
264
280
  };
265
- }) => Promise<string>;
281
+ }) => Promise<convex_values4178.GenericId<"Group">>;
266
282
  get: {
267
283
  (ctx: ComponentReadCtx, opts: {
268
- id: string;
284
+ id: convex_values4178.GenericId<"Group">;
269
285
  }): Promise<Doc<"Group"> | null>;
270
286
  (ctx: ComponentReadCtx, opts: {
271
- ids: readonly string[];
287
+ ids: readonly convex_values4178.GenericId<"Group">[];
272
288
  }): Promise<Array<Doc<"Group"> | null>>;
273
289
  (ctx: ComponentReadCtx, selector: {
274
290
  slug: string;
@@ -278,7 +294,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
278
294
  where?: {
279
295
  slug?: string;
280
296
  type?: string;
281
- parentGroupId?: string;
297
+ parentGroupId?: convex_values4178.GenericId<"Group">;
282
298
  name?: string;
283
299
  isRoot?: boolean;
284
300
  };
@@ -296,14 +312,14 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
296
312
  pageStatus?: "SplitRecommended" | "SplitRequired" | null;
297
313
  }>;
298
314
  update: (ctx: ComponentCtx, opts: {
299
- id: string;
315
+ id: convex_values4178.GenericId<"Group">;
300
316
  patch: Record<string, unknown>;
301
317
  }) => Promise<null>;
302
318
  remove: (ctx: ComponentCtx, opts: {
303
- id: string;
319
+ id: convex_values4178.GenericId<"Group">;
304
320
  }) => Promise<null>;
305
321
  ancestors: (ctx: ComponentReadCtx, opts: {
306
- groupId: string;
322
+ groupId: convex_values4178.GenericId<"Group">;
307
323
  maxDepth?: number;
308
324
  includeSelf?: boolean;
309
325
  }) => Promise<{
@@ -315,17 +331,17 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
315
331
  member: {
316
332
  create: (ctx: ComponentCtx, opts: {
317
333
  data: {
318
- groupId: string;
319
- userId: string;
334
+ groupId: convex_values4178.GenericId<"Group">;
335
+ userId: convex_values4178.GenericId<"User">;
320
336
  roleIds?: string[];
321
337
  status?: string;
322
338
  extend?: Record<string, unknown>;
323
339
  };
324
- }) => Promise<string>;
340
+ }) => Promise<convex_values4178.GenericId<"GroupMember">>;
325
341
  list: (ctx: ComponentReadCtx, opts?: {
326
342
  where?: {
327
- groupId?: string;
328
- userId?: string;
343
+ groupId?: convex_values4178.GenericId<"Group">;
344
+ userId?: convex_values4178.GenericId<"User">;
329
345
  status?: string;
330
346
  };
331
347
  paginationOpts: {
@@ -342,63 +358,36 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
342
358
  pageStatus?: "SplitRecommended" | "SplitRequired" | null;
343
359
  }>;
344
360
  remove: (ctx: ComponentCtx, opts: {
345
- id: string;
361
+ id: convex_values4178.GenericId<"GroupMember">;
346
362
  }) => Promise<null>;
347
363
  update: (ctx: ComponentCtx, opts: {
348
- id: string;
364
+ id: convex_values4178.GenericId<"GroupMember">;
349
365
  patch: Record<string, unknown>;
350
366
  }) => Promise<null>;
351
367
  get: {
352
368
  (ctx: ComponentReadCtx, opts: {
353
- userId: string;
354
- groupId: string;
369
+ userId: convex_values4178.GenericId<"User">;
370
+ groupId: convex_values4178.GenericId<"Group">;
355
371
  }): Promise<{
356
- membership: {
357
- _id: string;
358
- _creationTime: number;
359
- groupId: string;
360
- userId: string;
361
- role?: string;
362
- roleIds?: string[];
363
- status?: string;
364
- extend?: Record<string, unknown>;
365
- } | null;
372
+ membership: Doc<"GroupMember"> | null;
366
373
  roleIds: string[];
367
374
  grants: string[];
368
375
  }>;
369
376
  (ctx: ComponentReadCtx, opts: {
370
- userId: string;
371
- groupIds: readonly string[];
377
+ userId: convex_values4178.GenericId<"User">;
378
+ groupIds: readonly convex_values4178.GenericId<"Group">[];
372
379
  }): Promise<Array<{
373
- membership: {
374
- _id: string;
375
- _creationTime: number;
376
- groupId: string;
377
- userId: string;
378
- role?: string;
379
- roleIds?: string[];
380
- status?: string;
381
- extend?: Record<string, unknown>;
382
- } | null;
380
+ membership: Doc<"GroupMember"> | null;
383
381
  roleIds: string[];
384
382
  grants: string[];
385
383
  }>>;
386
384
  };
387
385
  resolve: (ctx: ComponentReadCtx, opts: {
388
- userId: string;
389
- groupId: string;
386
+ userId: convex_values4178.GenericId<"User">;
387
+ groupId: convex_values4178.GenericId<"Group">;
390
388
  maxDepth?: number;
391
389
  }) => Promise<{
392
- membership: {
393
- _id: string;
394
- _creationTime: number;
395
- groupId: string;
396
- userId: string;
397
- role?: string;
398
- roleIds?: string[];
399
- status?: string;
400
- extend?: Record<string, unknown>;
401
- } | null;
390
+ membership: Doc<"GroupMember"> | null;
402
391
  roleIds: string[];
403
392
  grants: string[];
404
393
  } & {
@@ -409,21 +398,12 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
409
398
  traversedGroupIds: string[];
410
399
  }>;
411
400
  assert: (ctx: ComponentReadCtx, opts: {
412
- userId: string;
413
- groupId: string;
401
+ userId: convex_values4178.GenericId<"User">;
402
+ groupId: convex_values4178.GenericId<"Group">;
414
403
  roleIds?: string[];
415
404
  grants?: string[];
416
405
  }) => Promise<{
417
- membership: {
418
- _id: string;
419
- _creationTime: number;
420
- groupId: string;
421
- userId: string;
422
- role?: string;
423
- roleIds?: string[];
424
- status?: string;
425
- extend?: Record<string, unknown>;
426
- } | null;
406
+ membership: Doc<"GroupMember"> | null;
427
407
  roleIds: string[];
428
408
  grants: string[];
429
409
  }>;
@@ -437,11 +417,11 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
437
417
  roleIds?: string[];
438
418
  expiresTime?: number;
439
419
  extend?: {
440
- [key: string]: convex_values3565.Value | undefined;
420
+ [key: string]: convex_values4178.Value | undefined;
441
421
  };
442
422
  };
443
423
  }) => Promise<{
444
- id: string;
424
+ id: convex_values4178.GenericId<"GroupInvite">;
445
425
  token: string;
446
426
  }>;
447
427
  get: (ctx: ComponentReadCtx, opts: {
@@ -452,13 +432,13 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
452
432
  token: string;
453
433
  }) => Promise<Doc<"GroupInvite"> | null>;
454
434
  accept: (ctx: ComponentCtx & {
455
- auth: convex_server279.Auth;
435
+ auth: convex_server289.Auth;
456
436
  }, args: {
457
437
  token: string;
458
438
  }) => Promise<{
459
- inviteId: string;
460
- groupId: string | null;
461
- memberId?: string;
439
+ inviteId: convex_values4178.GenericId<"GroupInvite">;
440
+ groupId: convex_values4178.GenericId<"Group"> | null;
441
+ memberId?: convex_values4178.GenericId<"GroupMember">;
462
442
  inviteStatus: string;
463
443
  membershipStatus: string;
464
444
  }>;
@@ -500,7 +480,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
500
480
  key: {
501
481
  create: (ctx: ComponentCtx, opts: {
502
482
  data: {
503
- userId: string;
483
+ userId: convex_values4178.GenericId<"User">;
504
484
  name: string;
505
485
  scopes: KeyScope[];
506
486
  rateLimit?: {
@@ -511,19 +491,19 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
511
491
  extend?: Record<string, unknown>;
512
492
  };
513
493
  }) => Promise<{
514
- id: string;
494
+ id: convex_values4178.GenericId<"ApiKey">;
515
495
  secret: string;
516
496
  }>;
517
497
  verify: (ctx: ComponentCtx, opts: {
518
498
  secret: string;
519
499
  }) => Promise<{
520
- userId: string;
521
- keyId: string;
500
+ userId: convex_values4178.GenericId<"User">;
501
+ keyId: convex_values4178.GenericId<"ApiKey">;
522
502
  scopes: ScopeChecker;
523
503
  }>;
524
504
  list: (ctx: ComponentReadCtx, opts?: {
525
505
  where?: {
526
- userId?: string;
506
+ userId?: convex_values4178.GenericId<"User">;
527
507
  revoked?: boolean;
528
508
  name?: string;
529
509
  prefix?: string;
@@ -542,10 +522,10 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
542
522
  pageStatus?: "SplitRecommended" | "SplitRequired" | null;
543
523
  }>;
544
524
  get: (ctx: ComponentReadCtx, opts: {
545
- id: string;
525
+ id: convex_values4178.GenericId<"ApiKey">;
546
526
  }) => Promise<KeyRecord | null>;
547
527
  update: (ctx: ComponentCtx, opts: {
548
- id: string;
528
+ id: convex_values4178.GenericId<"ApiKey">;
549
529
  patch: {
550
530
  name?: string;
551
531
  scopes?: KeyScope[];
@@ -556,23 +536,23 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
556
536
  };
557
537
  }) => Promise<null>;
558
538
  revoke: (ctx: ComponentCtx, opts: {
559
- id: string;
539
+ id: convex_values4178.GenericId<"ApiKey">;
560
540
  }) => Promise<null>;
561
541
  remove: (ctx: ComponentCtx, opts: {
562
- id: string;
542
+ id: convex_values4178.GenericId<"ApiKey">;
563
543
  }) => Promise<null>;
564
544
  rotate: (ctx: ComponentCtx, opts: {
565
- id: string;
545
+ id: convex_values4178.GenericId<"ApiKey">;
566
546
  name?: string;
567
547
  expiresAt?: number;
568
548
  }) => Promise<{
569
- id: string;
549
+ id: convex_values4178.GenericId<"ApiKey">;
570
550
  secret: string;
571
551
  }>;
572
552
  };
573
553
  active: {
574
554
  get: (ctx: ComponentReadCtx & {
575
- auth: convex_server279.Auth;
555
+ auth: convex_server289.Auth;
576
556
  }, opts?: {
577
557
  userId?: string;
578
558
  }) => Promise<{
@@ -583,7 +563,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
583
563
  grants: string[];
584
564
  } | null>;
585
565
  update: (ctx: ComponentCtx & {
586
- auth: convex_server279.Auth;
566
+ auth: convex_server289.Auth;
587
567
  }, args: {
588
568
  groupId: string;
589
569
  userId?: string;
@@ -591,7 +571,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
591
571
  groupId: string;
592
572
  }>;
593
573
  reset: (ctx: ComponentCtx & {
594
- auth: convex_server279.Auth;
574
+ auth: convex_server289.Auth;
595
575
  }, opts?: {
596
576
  userId?: string;
597
577
  }) => Promise<null>;
@@ -687,7 +667,7 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
687
667
  action: string;
688
668
  };
689
669
  cors?: CorsConfig;
690
- }) => convex_server279.PublicHttpAction;
670
+ }) => convex_server289.PublicHttpAction;
691
671
  /**
692
672
  * Register a Bearer-authenticated route **and** its OPTIONS preflight
693
673
  * in a single call.
@@ -746,28 +726,28 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
746
726
  *
747
727
  * Also used for refreshing the session.
748
728
  */
749
- signIn: convex_server279.RegisteredAction<"public", {
729
+ signIn: convex_server289.RegisteredAction<"public", {
750
730
  provider?: string | undefined;
751
731
  verifier?: string | undefined;
752
732
  continuation?: string | undefined;
753
- params?: Record<string, string | number | boolean | (string | number | boolean | null)[] | Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null> | undefined;
733
+ params?: any;
754
734
  refreshToken?: string | undefined;
755
735
  calledBy?: string | undefined;
756
736
  }, Promise<SignInActionResult>>;
757
737
  /**
758
738
  * Action called by the client to invalidate the current session.
759
739
  */
760
- signOut: convex_server279.RegisteredAction<"public", {}, Promise<void>>;
740
+ signOut: convex_server289.RegisteredAction<"public", {}, Promise<void>>;
761
741
  /**
762
742
  * Internal mutation used by the library to read and write
763
743
  * to the database during signin and signout.
764
744
  */
765
- store: convex_server279.RegisteredMutation<"internal", {
745
+ store: convex_server289.RegisteredMutation<"internal", {
766
746
  args: {
767
747
  sessionId?: string | undefined;
768
748
  type: "signIn";
769
- userId: string;
770
749
  provider: string;
750
+ userId: string;
771
751
  generateTokens: boolean;
772
752
  } | {
773
753
  type: "signOut";
@@ -803,71 +783,71 @@ declare function Auth(config_: ConvexAuthConfig<any>): {
803
783
  } | undefined;
804
784
  identity?: {
805
785
  type?: string | undefined;
786
+ subject?: string | undefined;
806
787
  provider?: string | undefined;
807
- connectionId?: string | undefined;
808
788
  providerAccountId?: string | undefined;
789
+ connectionId?: string | undefined;
809
790
  protocol?: string | undefined;
810
791
  issuer?: string | undefined;
811
792
  discoveryUrl?: string | undefined;
812
- subject?: string | undefined;
813
793
  entityId?: string | undefined;
814
794
  } | undefined;
815
795
  } | undefined;
796
+ profile: Record<string, string | number | boolean | (string | number | boolean | null)[] | Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null>;
816
797
  type: "userOAuth";
817
798
  provider: string;
818
799
  providerAccountId: string;
819
800
  signature: string;
820
- profile: Record<string, string | number | boolean | (string | number | boolean | null)[] | Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null>;
821
801
  } | {
822
802
  email?: string | undefined;
823
803
  phone?: string | undefined;
824
804
  accountId?: string | undefined;
825
805
  type: "createVerificationCode";
806
+ code: string;
826
807
  provider: string;
827
808
  expirationTime: number;
828
- code: string;
829
809
  allowExtraProviders: boolean;
830
810
  } | {
831
811
  shouldLinkViaEmail?: boolean | undefined;
832
812
  shouldLinkViaPhone?: boolean | undefined;
813
+ profile: Record<string, string | number | boolean | (string | number | boolean | null)[] | Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null>;
833
814
  type: "createAccountFromCredentials";
834
- provider: string;
835
815
  account: {
836
816
  secret?: string | undefined;
837
817
  id: string;
838
818
  };
839
- profile: Record<string, string | number | boolean | (string | number | boolean | null)[] | Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | null>;
819
+ provider: string;
840
820
  } | {
841
821
  type: "retrieveAccountWithCredentials";
842
- provider: string;
843
822
  account: {
844
823
  secret?: string | undefined;
845
824
  id: string;
846
825
  };
826
+ provider: string;
847
827
  } | {
848
828
  type: "credentialsSignIn";
849
- provider: string;
850
829
  account: {
851
830
  id: string;
852
831
  secret: string;
853
832
  };
833
+ provider: string;
854
834
  generateTokens: boolean;
855
835
  requireVerifiedEmail: boolean;
856
836
  enforceTotp: boolean;
857
837
  } | {
858
838
  type: "modifyAccount";
859
- provider: string;
860
839
  account: {
861
840
  id: string;
862
841
  secret: string;
863
842
  };
843
+ provider: string;
864
844
  } | {
865
845
  except?: string[] | undefined;
866
846
  type: "invalidateSessions";
867
847
  userId: string;
868
848
  };
869
849
  }, Promise<string | void | {
870
- userId: convex_values3565.GenericId<"User">;
850
+ userId: convex_values4178.GenericId<"User">;
871
851
  } | {
872
852
  account: Doc<"Account">;
873
853
  user: Doc<"User">;
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","names":[],"sources":["../../src/server/runtime.ts"],"mappings":";;;;;;;;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