@convex-dev/better-auth 0.10.13 → 0.11.0

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 (185) hide show
  1. package/dist/auth-options.d.ts.map +1 -1
  2. package/dist/auth-options.js +0 -2
  3. package/dist/auth-options.js.map +1 -1
  4. package/dist/client/adapter-utils.d.ts +10 -10
  5. package/dist/client/adapter-utils.d.ts.map +1 -1
  6. package/dist/client/adapter-utils.js +41 -32
  7. package/dist/client/adapter-utils.js.map +1 -1
  8. package/dist/client/adapter.d.ts +1 -1
  9. package/dist/client/adapter.d.ts.map +1 -1
  10. package/dist/client/adapter.js +113 -7
  11. package/dist/client/adapter.js.map +1 -1
  12. package/dist/client/create-api.d.ts +8 -7
  13. package/dist/client/create-api.d.ts.map +1 -1
  14. package/dist/client/create-api.js +1 -0
  15. package/dist/client/create-api.js.map +1 -1
  16. package/dist/client/create-client.d.ts +1 -1
  17. package/dist/client/create-client.d.ts.map +1 -1
  18. package/dist/client/create-client.js +8 -7
  19. package/dist/client/create-client.js.map +1 -1
  20. package/dist/client/create-schema.d.ts +0 -1
  21. package/dist/client/create-schema.d.ts.map +1 -1
  22. package/dist/client/create-schema.js +0 -1
  23. package/dist/client/create-schema.js.map +1 -1
  24. package/dist/component/_generated/api.d.ts +12 -0
  25. package/dist/component/_generated/api.d.ts.map +1 -1
  26. package/dist/component/_generated/api.js.map +1 -1
  27. package/dist/component/_generated/component.d.ts +7407 -92
  28. package/dist/component/_generated/component.d.ts.map +1 -1
  29. package/dist/component/adapter.d.ts +8 -7
  30. package/dist/component/adapter.d.ts.map +1 -1
  31. package/dist/component/adapterTest.d.ts +1 -7
  32. package/dist/component/adapterTest.d.ts.map +1 -1
  33. package/dist/component/adapterTest.js +193 -390
  34. package/dist/component/adapterTest.js.map +1 -1
  35. package/dist/component/schema.d.ts +35 -74
  36. package/dist/component/schema.d.ts.map +1 -1
  37. package/dist/component/schema.js +16 -21
  38. package/dist/component/schema.js.map +1 -1
  39. package/dist/component/testProfiles/adapterAdditionalFields.d.ts +131 -0
  40. package/dist/component/testProfiles/adapterAdditionalFields.d.ts.map +1 -0
  41. package/dist/component/testProfiles/adapterAdditionalFields.js +5 -0
  42. package/dist/component/testProfiles/adapterAdditionalFields.js.map +1 -0
  43. package/dist/component/testProfiles/adapterOrganizationJoins.d.ts +131 -0
  44. package/dist/component/testProfiles/adapterOrganizationJoins.d.ts.map +1 -0
  45. package/dist/component/testProfiles/adapterOrganizationJoins.js +5 -0
  46. package/dist/component/testProfiles/adapterOrganizationJoins.js.map +1 -0
  47. package/dist/component/testProfiles/adapterPluginTable.d.ts +131 -0
  48. package/dist/component/testProfiles/adapterPluginTable.d.ts.map +1 -0
  49. package/dist/component/testProfiles/adapterPluginTable.js +5 -0
  50. package/dist/component/testProfiles/adapterPluginTable.js.map +1 -0
  51. package/dist/component/testProfiles/adapterRenameField.d.ts +131 -0
  52. package/dist/component/testProfiles/adapterRenameField.d.ts.map +1 -0
  53. package/dist/component/testProfiles/adapterRenameField.js +5 -0
  54. package/dist/component/testProfiles/adapterRenameField.js.map +1 -0
  55. package/dist/component/testProfiles/adapterRenameUserCustom.d.ts +131 -0
  56. package/dist/component/testProfiles/adapterRenameUserCustom.d.ts.map +1 -0
  57. package/dist/component/testProfiles/adapterRenameUserCustom.js +5 -0
  58. package/dist/component/testProfiles/adapterRenameUserCustom.js.map +1 -0
  59. package/dist/component/testProfiles/adapterRenameUserTable.d.ts +131 -0
  60. package/dist/component/testProfiles/adapterRenameUserTable.d.ts.map +1 -0
  61. package/dist/component/testProfiles/adapterRenameUserTable.js +5 -0
  62. package/dist/component/testProfiles/adapterRenameUserTable.js.map +1 -0
  63. package/dist/component/testProfiles/auth-options.profile-additional-fields.d.ts +3 -0
  64. package/dist/component/testProfiles/auth-options.profile-additional-fields.d.ts.map +1 -0
  65. package/dist/component/testProfiles/auth-options.profile-additional-fields.js +38 -0
  66. package/dist/component/testProfiles/auth-options.profile-additional-fields.js.map +1 -0
  67. package/dist/component/testProfiles/auth-options.profile-plugin-table.d.ts +3 -0
  68. package/dist/component/testProfiles/auth-options.profile-plugin-table.d.ts.map +1 -0
  69. package/dist/component/testProfiles/auth-options.profile-plugin-table.js +92 -0
  70. package/dist/component/testProfiles/auth-options.profile-plugin-table.js.map +1 -0
  71. package/dist/component/testProfiles/auth-options.profile-rename-joins.d.ts +6 -0
  72. package/dist/component/testProfiles/auth-options.profile-rename-joins.d.ts.map +1 -0
  73. package/dist/component/testProfiles/auth-options.profile-rename-joins.js +49 -0
  74. package/dist/component/testProfiles/auth-options.profile-rename-joins.js.map +1 -0
  75. package/dist/component/testProfiles/schema.profile-additional-fields.d.ts +227 -0
  76. package/dist/component/testProfiles/schema.profile-additional-fields.d.ts.map +1 -0
  77. package/dist/component/testProfiles/schema.profile-additional-fields.js +37 -0
  78. package/dist/component/testProfiles/schema.profile-additional-fields.js.map +1 -0
  79. package/dist/component/testProfiles/schema.profile-plugin-table.d.ts +450 -0
  80. package/dist/component/testProfiles/schema.profile-plugin-table.d.ts.map +1 -0
  81. package/dist/component/testProfiles/schema.profile-plugin-table.js +116 -0
  82. package/dist/component/testProfiles/schema.profile-plugin-table.js.map +1 -0
  83. package/dist/nextjs/index.d.ts.map +1 -1
  84. package/dist/nextjs/index.js +1 -0
  85. package/dist/nextjs/index.js.map +1 -1
  86. package/dist/plugins/convex/index.d.ts +131 -12
  87. package/dist/plugins/convex/index.d.ts.map +1 -1
  88. package/dist/plugins/convex/index.js +12 -5
  89. package/dist/plugins/convex/index.js.map +1 -1
  90. package/dist/plugins/cross-domain/client.d.ts +1 -1
  91. package/dist/plugins/cross-domain/index.d.ts +126 -1
  92. package/dist/plugins/cross-domain/index.d.ts.map +1 -1
  93. package/dist/plugins/cross-domain/index.js +10 -15
  94. package/dist/plugins/cross-domain/index.js.map +1 -1
  95. package/dist/react-start/index.d.ts.map +1 -1
  96. package/dist/react-start/index.js +1 -0
  97. package/dist/react-start/index.js.map +1 -1
  98. package/dist/test/adapter-factory/auth-flow.d.ts +42 -0
  99. package/dist/test/adapter-factory/auth-flow.d.ts.map +1 -0
  100. package/dist/test/adapter-factory/auth-flow.js +145 -0
  101. package/dist/test/adapter-factory/auth-flow.js.map +1 -0
  102. package/dist/test/adapter-factory/basic.d.ts +190 -0
  103. package/dist/test/adapter-factory/basic.d.ts.map +1 -0
  104. package/dist/test/adapter-factory/basic.js +2713 -0
  105. package/dist/test/adapter-factory/basic.js.map +1 -0
  106. package/dist/test/adapter-factory/convex-custom.d.ts +18 -0
  107. package/dist/test/adapter-factory/convex-custom.d.ts.map +1 -0
  108. package/dist/test/adapter-factory/convex-custom.js +610 -0
  109. package/dist/test/adapter-factory/convex-custom.js.map +1 -0
  110. package/dist/test/adapter-factory/index.d.ts +11 -0
  111. package/dist/test/adapter-factory/index.d.ts.map +1 -0
  112. package/dist/test/adapter-factory/index.js +11 -0
  113. package/dist/test/adapter-factory/index.js.map +1 -0
  114. package/dist/test/adapter-factory/joins.d.ts +18 -0
  115. package/dist/test/adapter-factory/joins.d.ts.map +1 -0
  116. package/dist/test/adapter-factory/joins.js +22 -0
  117. package/dist/test/adapter-factory/joins.js.map +1 -0
  118. package/dist/test/adapter-factory/number-id.d.ts +18 -0
  119. package/dist/test/adapter-factory/number-id.d.ts.map +1 -0
  120. package/dist/test/adapter-factory/number-id.js +36 -0
  121. package/dist/test/adapter-factory/number-id.js.map +1 -0
  122. package/dist/test/adapter-factory/profile-additional-fields.d.ts +71 -0
  123. package/dist/test/adapter-factory/profile-additional-fields.d.ts.map +1 -0
  124. package/dist/test/adapter-factory/profile-additional-fields.js +44 -0
  125. package/dist/test/adapter-factory/profile-additional-fields.js.map +1 -0
  126. package/dist/test/adapter-factory/profile-plugin-table.d.ts +19 -0
  127. package/dist/test/adapter-factory/profile-plugin-table.d.ts.map +1 -0
  128. package/dist/test/adapter-factory/profile-plugin-table.js +25 -0
  129. package/dist/test/adapter-factory/profile-plugin-table.js.map +1 -0
  130. package/dist/test/adapter-factory/profile-rename-joins.d.ts +73 -0
  131. package/dist/test/adapter-factory/profile-rename-joins.d.ts.map +1 -0
  132. package/dist/test/adapter-factory/profile-rename-joins.js +34 -0
  133. package/dist/test/adapter-factory/profile-rename-joins.js.map +1 -0
  134. package/dist/test/adapter-factory/transactions.d.ts +21 -0
  135. package/dist/test/adapter-factory/transactions.d.ts.map +1 -0
  136. package/dist/test/adapter-factory/transactions.js +28 -0
  137. package/dist/test/adapter-factory/transactions.js.map +1 -0
  138. package/dist/test/adapter-factory/uuid.d.ts +18 -0
  139. package/dist/test/adapter-factory/uuid.d.ts.map +1 -0
  140. package/dist/test/adapter-factory/uuid.js +58 -0
  141. package/dist/test/adapter-factory/uuid.js.map +1 -0
  142. package/dist/utils/index.d.ts +18 -3
  143. package/dist/utils/index.d.ts.map +1 -1
  144. package/dist/utils/index.js.map +1 -1
  145. package/package.json +8 -4
  146. package/src/auth-options.ts +0 -2
  147. package/src/client/adapter-utils.ts +80 -73
  148. package/src/client/adapter.test.ts +2 -74
  149. package/src/client/adapter.ts +142 -7
  150. package/src/client/create-api.ts +1 -0
  151. package/src/client/create-client.ts +14 -6
  152. package/src/client/create-schema.ts +0 -1
  153. package/src/component/_generated/api.ts +12 -0
  154. package/src/component/_generated/component.ts +19454 -215
  155. package/src/component/adapterTest.ts +250 -466
  156. package/src/component/schema.ts +21 -26
  157. package/src/component/testProfiles/adapterAdditionalFields.ts +13 -0
  158. package/src/component/testProfiles/adapterOrganizationJoins.ts +13 -0
  159. package/src/component/testProfiles/adapterPluginTable.ts +13 -0
  160. package/src/component/testProfiles/adapterRenameField.ts +13 -0
  161. package/src/component/testProfiles/adapterRenameUserCustom.ts +13 -0
  162. package/src/component/testProfiles/adapterRenameUserTable.ts +13 -0
  163. package/src/component/testProfiles/auth-options.profile-additional-fields.ts +39 -0
  164. package/src/component/testProfiles/auth-options.profile-plugin-table.ts +93 -0
  165. package/src/component/testProfiles/auth-options.profile-rename-joins.ts +54 -0
  166. package/src/component/testProfiles/schema.profile-additional-fields.ts +39 -0
  167. package/src/component/testProfiles/schema.profile-plugin-table.ts +130 -0
  168. package/src/nextjs/index.ts +1 -0
  169. package/src/plugins/convex/index.test.ts +55 -0
  170. package/src/plugins/convex/index.ts +26 -11
  171. package/src/plugins/cross-domain/index.test.ts +67 -0
  172. package/src/plugins/cross-domain/index.ts +10 -21
  173. package/src/react-start/index.ts +1 -0
  174. package/src/test/adapter-factory/auth-flow.ts +170 -0
  175. package/src/test/adapter-factory/basic.ts +3190 -0
  176. package/src/test/adapter-factory/convex-custom.ts +706 -0
  177. package/src/test/adapter-factory/index.ts +10 -0
  178. package/src/test/adapter-factory/joins.ts +28 -0
  179. package/src/test/adapter-factory/number-id.ts +45 -0
  180. package/src/test/adapter-factory/profile-additional-fields.ts +84 -0
  181. package/src/test/adapter-factory/profile-plugin-table.ts +37 -0
  182. package/src/test/adapter-factory/profile-rename-joins.ts +67 -0
  183. package/src/test/adapter-factory/transactions.ts +38 -0
  184. package/src/test/adapter-factory/uuid.ts +67 -0
  185. package/src/utils/index.ts +25 -3
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This file is auto-generated. Do not edit this file manually.
3
+ * To regenerate the schema, run:
4
+ * `npx @better-auth/cli generate --output src/component/schema.ts -y`
5
+ *
6
+ * To customize the schema, generate to an alternate file and import
7
+ * the table definitions to your schema file. See
8
+ * https://labs.convex.dev/better-auth/features/local-install#adding-custom-indexes.
9
+ */
1
10
  export declare const tables: {
2
11
  user: import("convex/server").TableDefinition<import("convex/values").VObject<{
3
12
  image?: string | null | undefined;
@@ -115,43 +124,17 @@ export declare const tables: {
115
124
  }, "required", "userId" | "secret" | "backupCodes">, {
116
125
  userId: ["userId", "_creationTime"];
117
126
  }, {}, {}>;
118
- passkey: import("convex/server").TableDefinition<import("convex/values").VObject<{
119
- createdAt?: number | null | undefined;
120
- name?: string | null | undefined;
121
- transports?: string | null | undefined;
122
- aaguid?: string | null | undefined;
123
- userId: string;
124
- publicKey: string;
125
- credentialID: string;
126
- counter: number;
127
- deviceType: string;
128
- backedUp: boolean;
129
- }, {
130
- name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
131
- publicKey: import("convex/values").VString<string, "required">;
132
- userId: import("convex/values").VString<string, "required">;
133
- credentialID: import("convex/values").VString<string, "required">;
134
- counter: import("convex/values").VFloat64<number, "required">;
135
- deviceType: import("convex/values").VString<string, "required">;
136
- backedUp: import("convex/values").VBoolean<boolean, "required">;
137
- transports: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
138
- createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
139
- aaguid: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
140
- }, "required", "createdAt" | "name" | "userId" | "publicKey" | "credentialID" | "counter" | "deviceType" | "backedUp" | "transports" | "aaguid">, {
141
- credentialID: ["credentialID", "_creationTime"];
142
- userId: ["userId", "_creationTime"];
143
- }, {}, {}>;
144
127
  oauthApplication: import("convex/server").TableDefinition<import("convex/values").VObject<{
145
128
  type?: string | null | undefined;
129
+ metadata?: string | null | undefined;
146
130
  createdAt?: number | null | undefined;
147
131
  updatedAt?: number | null | undefined;
148
132
  name?: string | null | undefined;
149
133
  userId?: string | null | undefined;
150
- metadata?: string | null | undefined;
151
134
  icon?: string | null | undefined;
152
135
  clientId?: string | null | undefined;
153
136
  clientSecret?: string | null | undefined;
154
- redirectURLs?: string | null | undefined;
137
+ redirectUrls?: string | null | undefined;
155
138
  disabled?: boolean | null | undefined;
156
139
  }, {
157
140
  name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
@@ -159,13 +142,13 @@ export declare const tables: {
159
142
  metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
160
143
  clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
161
144
  clientSecret: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
162
- redirectURLs: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
145
+ redirectUrls: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
163
146
  type: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
164
147
  disabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
165
148
  userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
166
149
  createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
167
150
  updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
168
- }, "required", "type" | "createdAt" | "updatedAt" | "name" | "userId" | "metadata" | "icon" | "clientId" | "clientSecret" | "redirectURLs" | "disabled">, {
151
+ }, "required", "type" | "metadata" | "createdAt" | "updatedAt" | "name" | "userId" | "icon" | "clientId" | "clientSecret" | "redirectUrls" | "disabled">, {
169
152
  clientId: ["clientId", "_creationTime"];
170
153
  userId: ["userId", "_creationTime"];
171
154
  }, {}, {}>;
@@ -214,6 +197,7 @@ export declare const tables: {
214
197
  userId: ["userId", "_creationTime"];
215
198
  }, {}, {}>;
216
199
  jwks: import("convex/server").TableDefinition<import("convex/values").VObject<{
200
+ expiresAt?: number | null | undefined;
217
201
  createdAt: number;
218
202
  publicKey: string;
219
203
  privateKey: string;
@@ -221,15 +205,16 @@ export declare const tables: {
221
205
  publicKey: import("convex/values").VString<string, "required">;
222
206
  privateKey: import("convex/values").VString<string, "required">;
223
207
  createdAt: import("convex/values").VFloat64<number, "required">;
224
- }, "required", "createdAt" | "publicKey" | "privateKey">, {}, {}, {}>;
208
+ expiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
209
+ }, "required", "createdAt" | "expiresAt" | "publicKey" | "privateKey">, {}, {}, {}>;
225
210
  rateLimit: import("convex/server").TableDefinition<import("convex/values").VObject<{
226
- key?: string | null | undefined;
227
- count?: number | null | undefined;
228
- lastRequest?: number | null | undefined;
211
+ key: string;
212
+ count: number;
213
+ lastRequest: number;
229
214
  }, {
230
- key: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
231
- count: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
232
- lastRequest: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
215
+ key: import("convex/values").VString<string, "required">;
216
+ count: import("convex/values").VFloat64<number, "required">;
217
+ lastRequest: import("convex/values").VFloat64<number, "required">;
233
218
  }, "required", "key" | "count" | "lastRequest">, {
234
219
  key: ["key", "_creationTime"];
235
220
  }, {}, {}>;
@@ -351,43 +336,17 @@ declare const schema: import("convex/server").SchemaDefinition<{
351
336
  }, "required", "userId" | "secret" | "backupCodes">, {
352
337
  userId: ["userId", "_creationTime"];
353
338
  }, {}, {}>;
354
- passkey: import("convex/server").TableDefinition<import("convex/values").VObject<{
355
- createdAt?: number | null | undefined;
356
- name?: string | null | undefined;
357
- transports?: string | null | undefined;
358
- aaguid?: string | null | undefined;
359
- userId: string;
360
- publicKey: string;
361
- credentialID: string;
362
- counter: number;
363
- deviceType: string;
364
- backedUp: boolean;
365
- }, {
366
- name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
367
- publicKey: import("convex/values").VString<string, "required">;
368
- userId: import("convex/values").VString<string, "required">;
369
- credentialID: import("convex/values").VString<string, "required">;
370
- counter: import("convex/values").VFloat64<number, "required">;
371
- deviceType: import("convex/values").VString<string, "required">;
372
- backedUp: import("convex/values").VBoolean<boolean, "required">;
373
- transports: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
374
- createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
375
- aaguid: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
376
- }, "required", "createdAt" | "name" | "userId" | "publicKey" | "credentialID" | "counter" | "deviceType" | "backedUp" | "transports" | "aaguid">, {
377
- credentialID: ["credentialID", "_creationTime"];
378
- userId: ["userId", "_creationTime"];
379
- }, {}, {}>;
380
339
  oauthApplication: import("convex/server").TableDefinition<import("convex/values").VObject<{
381
340
  type?: string | null | undefined;
341
+ metadata?: string | null | undefined;
382
342
  createdAt?: number | null | undefined;
383
343
  updatedAt?: number | null | undefined;
384
344
  name?: string | null | undefined;
385
345
  userId?: string | null | undefined;
386
- metadata?: string | null | undefined;
387
346
  icon?: string | null | undefined;
388
347
  clientId?: string | null | undefined;
389
348
  clientSecret?: string | null | undefined;
390
- redirectURLs?: string | null | undefined;
349
+ redirectUrls?: string | null | undefined;
391
350
  disabled?: boolean | null | undefined;
392
351
  }, {
393
352
  name: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
@@ -395,13 +354,13 @@ declare const schema: import("convex/server").SchemaDefinition<{
395
354
  metadata: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
396
355
  clientId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
397
356
  clientSecret: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
398
- redirectURLs: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
357
+ redirectUrls: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
399
358
  type: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
400
359
  disabled: import("convex/values").VUnion<boolean | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VBoolean<boolean, "required">], "optional", never>;
401
360
  userId: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
402
361
  createdAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
403
362
  updatedAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
404
- }, "required", "type" | "createdAt" | "updatedAt" | "name" | "userId" | "metadata" | "icon" | "clientId" | "clientSecret" | "redirectURLs" | "disabled">, {
363
+ }, "required", "type" | "metadata" | "createdAt" | "updatedAt" | "name" | "userId" | "icon" | "clientId" | "clientSecret" | "redirectUrls" | "disabled">, {
405
364
  clientId: ["clientId", "_creationTime"];
406
365
  userId: ["userId", "_creationTime"];
407
366
  }, {}, {}>;
@@ -450,6 +409,7 @@ declare const schema: import("convex/server").SchemaDefinition<{
450
409
  userId: ["userId", "_creationTime"];
451
410
  }, {}, {}>;
452
411
  jwks: import("convex/server").TableDefinition<import("convex/values").VObject<{
412
+ expiresAt?: number | null | undefined;
453
413
  createdAt: number;
454
414
  publicKey: string;
455
415
  privateKey: string;
@@ -457,15 +417,16 @@ declare const schema: import("convex/server").SchemaDefinition<{
457
417
  publicKey: import("convex/values").VString<string, "required">;
458
418
  privateKey: import("convex/values").VString<string, "required">;
459
419
  createdAt: import("convex/values").VFloat64<number, "required">;
460
- }, "required", "createdAt" | "publicKey" | "privateKey">, {}, {}, {}>;
420
+ expiresAt: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
421
+ }, "required", "createdAt" | "expiresAt" | "publicKey" | "privateKey">, {}, {}, {}>;
461
422
  rateLimit: import("convex/server").TableDefinition<import("convex/values").VObject<{
462
- key?: string | null | undefined;
463
- count?: number | null | undefined;
464
- lastRequest?: number | null | undefined;
423
+ key: string;
424
+ count: number;
425
+ lastRequest: number;
465
426
  }, {
466
- key: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VString<string, "required">], "optional", never>;
467
- count: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
468
- lastRequest: import("convex/values").VUnion<number | null | undefined, [import("convex/values").VNull<null, "required">, import("convex/values").VFloat64<number, "required">], "optional", never>;
427
+ key: import("convex/values").VString<string, "required">;
428
+ count: import("convex/values").VFloat64<number, "required">;
429
+ lastRequest: import("convex/values").VFloat64<number, "required">;
469
430
  }, "required", "key" | "count" | "lastRequest">, {
470
431
  key: ["key", "_creationTime"];
471
432
  }, {}, {}>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/component/schema.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AEpC,eAAe,MAAM,CAAC"}
@@ -1,6 +1,12 @@
1
- // This file is auto-generated. Do not edit this file manually.
2
- // To regenerate the schema, run:
3
- // `npx @better-auth/cli generate --output src/component/schema.ts -y`
1
+ /**
2
+ * This file is auto-generated. Do not edit this file manually.
3
+ * To regenerate the schema, run:
4
+ * `npx @better-auth/cli generate --output src/component/schema.ts -y`
5
+ *
6
+ * To customize the schema, generate to an alternate file and import
7
+ * the table definitions to your schema file. See
8
+ * https://labs.convex.dev/better-auth/features/local-install#adding-custom-indexes.
9
+ */
4
10
  import { defineSchema, defineTable } from "convex/server";
5
11
  import { v } from "convex/values";
6
12
  export const tables = {
@@ -68,20 +74,7 @@ export const tables = {
68
74
  secret: v.string(),
69
75
  backupCodes: v.string(),
70
76
  userId: v.string(),
71
- }).index("userId", ["userId"]),
72
- passkey: defineTable({
73
- name: v.optional(v.union(v.null(), v.string())),
74
- publicKey: v.string(),
75
- userId: v.string(),
76
- credentialID: v.string(),
77
- counter: v.number(),
78
- deviceType: v.string(),
79
- backedUp: v.boolean(),
80
- transports: v.optional(v.union(v.null(), v.string())),
81
- createdAt: v.optional(v.union(v.null(), v.number())),
82
- aaguid: v.optional(v.union(v.null(), v.string())),
83
77
  })
84
- .index("credentialID", ["credentialID"])
85
78
  .index("userId", ["userId"]),
86
79
  oauthApplication: defineTable({
87
80
  name: v.optional(v.union(v.null(), v.string())),
@@ -89,7 +82,7 @@ export const tables = {
89
82
  metadata: v.optional(v.union(v.null(), v.string())),
90
83
  clientId: v.optional(v.union(v.null(), v.string())),
91
84
  clientSecret: v.optional(v.union(v.null(), v.string())),
92
- redirectURLs: v.optional(v.union(v.null(), v.string())),
85
+ redirectUrls: v.optional(v.union(v.null(), v.string())),
93
86
  type: v.optional(v.union(v.null(), v.string())),
94
87
  disabled: v.optional(v.union(v.null(), v.boolean())),
95
88
  userId: v.optional(v.union(v.null(), v.string())),
@@ -127,12 +120,14 @@ export const tables = {
127
120
  publicKey: v.string(),
128
121
  privateKey: v.string(),
129
122
  createdAt: v.number(),
123
+ expiresAt: v.optional(v.union(v.null(), v.number())),
130
124
  }),
131
125
  rateLimit: defineTable({
132
- key: v.optional(v.union(v.null(), v.string())),
133
- count: v.optional(v.union(v.null(), v.number())),
134
- lastRequest: v.optional(v.union(v.null(), v.number())),
135
- }).index("key", ["key"]),
126
+ key: v.string(),
127
+ count: v.number(),
128
+ lastRequest: v.number(),
129
+ })
130
+ .index("key", ["key"]),
136
131
  };
137
132
  const schema = defineSchema(tables);
138
133
  export default schema;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/component/schema.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,iCAAiC;AACjC,sEAAsE;AAEtE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,WAAW,CAAC;QAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE;QAC1B,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QAChD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAC5D,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE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AAK,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;KACrD,CAAC;IACF,SAAS,EAAE,WAAW,CAAC;QACrB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;QACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;KACxB,CAAC;SACC,KAAK,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAEpC,eAAe,MAAM,CAAC"}
@@ -0,0 +1,131 @@
1
+ export declare const create: import("convex/server").RegisteredMutation<"public", {
2
+ onCreateHandle?: string | undefined;
3
+ select?: string[] | undefined;
4
+ input: {
5
+ data: {
6
+ [x: string]: any;
7
+ [x: number]: any;
8
+ [x: symbol]: any;
9
+ };
10
+ model: string;
11
+ };
12
+ }, Promise<any>>, findOne: import("convex/server").RegisteredQuery<"public", {
13
+ join?: any;
14
+ select?: string[] | undefined;
15
+ where?: {
16
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
17
+ connector?: "AND" | "OR" | undefined;
18
+ value: string | number | boolean | string[] | number[] | null;
19
+ field: string;
20
+ }[] | undefined;
21
+ model: string;
22
+ }, Promise<import("convex/server").GenericDocument | null>>, findMany: import("convex/server").RegisteredQuery<"public", {
23
+ join?: any;
24
+ select?: string[] | undefined;
25
+ limit?: number | undefined;
26
+ offset?: number | undefined;
27
+ sortBy?: {
28
+ field: string;
29
+ direction: "asc" | "desc";
30
+ } | undefined;
31
+ where?: {
32
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
33
+ connector?: "AND" | "OR" | undefined;
34
+ value: string | number | boolean | string[] | number[] | null;
35
+ field: string;
36
+ }[] | undefined;
37
+ paginationOpts: {
38
+ id?: number;
39
+ endCursor?: string | null;
40
+ maximumRowsRead?: number;
41
+ maximumBytesRead?: number;
42
+ numItems: number;
43
+ cursor: string | null;
44
+ };
45
+ model: string;
46
+ }, Promise<import("convex/server").PaginationResult<import("convex/server").GenericDocument>>>, updateOne: import("convex/server").RegisteredMutation<"public", {
47
+ onUpdateHandle?: string | undefined;
48
+ input: {
49
+ where?: {
50
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
51
+ connector?: "AND" | "OR" | undefined;
52
+ value: string | number | boolean | string[] | number[] | null;
53
+ field: string;
54
+ }[] | undefined;
55
+ update: {
56
+ [x: string]: unknown;
57
+ [x: number]: unknown;
58
+ [x: symbol]: unknown;
59
+ };
60
+ model: import("../_generated/dataModel.js").TableNames;
61
+ };
62
+ }, Promise<any>>, updateMany: import("convex/server").RegisteredMutation<"public", {
63
+ onUpdateHandle?: string | undefined;
64
+ input: {
65
+ where?: {
66
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
67
+ connector?: "AND" | "OR" | undefined;
68
+ value: string | number | boolean | string[] | number[] | null;
69
+ field: string;
70
+ }[] | undefined;
71
+ update: {
72
+ [x: string]: unknown;
73
+ [x: number]: unknown;
74
+ [x: symbol]: unknown;
75
+ };
76
+ model: import("../_generated/dataModel.js").TableNames;
77
+ };
78
+ paginationOpts: {
79
+ id?: number;
80
+ endCursor?: string | null;
81
+ maximumRowsRead?: number;
82
+ maximumBytesRead?: number;
83
+ numItems: number;
84
+ cursor: string | null;
85
+ };
86
+ }, Promise<{
87
+ count: number;
88
+ ids: import("convex/values").Value[];
89
+ isDone: boolean;
90
+ continueCursor: import("convex/server").Cursor;
91
+ splitCursor?: import("convex/server").Cursor | null;
92
+ pageStatus?: "SplitRecommended" | "SplitRequired" | null;
93
+ }>>, deleteOne: import("convex/server").RegisteredMutation<"public", {
94
+ onDeleteHandle?: string | undefined;
95
+ input: {
96
+ where?: {
97
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
98
+ connector?: "AND" | "OR" | undefined;
99
+ value: string | number | boolean | string[] | number[] | null;
100
+ field: string;
101
+ }[] | undefined;
102
+ model: import("../_generated/dataModel.js").TableNames;
103
+ };
104
+ }, Promise<import("convex/server").GenericDocument | undefined>>, deleteMany: import("convex/server").RegisteredMutation<"public", {
105
+ onDeleteHandle?: string | undefined;
106
+ input: {
107
+ where?: {
108
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
109
+ connector?: "AND" | "OR" | undefined;
110
+ value: string | number | boolean | string[] | number[] | null;
111
+ field: string;
112
+ }[] | undefined;
113
+ model: import("../_generated/dataModel.js").TableNames;
114
+ };
115
+ paginationOpts: {
116
+ id?: number;
117
+ endCursor?: string | null;
118
+ maximumRowsRead?: number;
119
+ maximumBytesRead?: number;
120
+ numItems: number;
121
+ cursor: string | null;
122
+ };
123
+ }, Promise<{
124
+ count: number;
125
+ ids: import("convex/values").Value[];
126
+ isDone: boolean;
127
+ continueCursor: import("convex/server").Cursor;
128
+ splitCursor?: import("convex/server").Cursor | null;
129
+ pageStatus?: "SplitRecommended" | "SplitRequired" | null;
130
+ }>>;
131
+ //# sourceMappingURL=adapterAdditionalFields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapterAdditionalFields.d.ts","sourceRoot":"","sources":["../../../src/component/testProfiles/adapterAdditionalFields.ts"],"names":[],"mappings":"AAIA,eAAO,MACN,MAAM;;;;;;;;;;;kBACN,OAAO;;;;;;;;;;6DACP,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gGACR,SAAS;;;;;;;;;;;;;;;;kBACT,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACV,SAAS;;;;;;;;;;;kEACT,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;GACgD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { createApi } from "../../client/index.js";
2
+ import { additionalFieldsProfileOptions } from "./auth-options.profile-additional-fields.js";
3
+ import schema from "./schema.profile-additional-fields.js";
4
+ export const { create, findOne, findMany, updateOne, updateMany, deleteOne, deleteMany, } = createApi(schema, () => additionalFieldsProfileOptions);
5
+ //# sourceMappingURL=adapterAdditionalFields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapterAdditionalFields.js","sourceRoot":"","sources":["../../../src/component/testProfiles/adapterAdditionalFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,MAAM,MAAM,uCAAuC,CAAC;AAE3D,MAAM,CAAC,MAAM,EACZ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,SAAS,EACT,UAAU,EACV,SAAS,EACT,UAAU,GACV,GAAG,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,8BAA8B,CAAC,CAAC"}
@@ -0,0 +1,131 @@
1
+ export declare const create: import("convex/server").RegisteredMutation<"public", {
2
+ onCreateHandle?: string | undefined;
3
+ select?: string[] | undefined;
4
+ input: {
5
+ data: {
6
+ [x: string]: any;
7
+ [x: number]: any;
8
+ [x: symbol]: any;
9
+ };
10
+ model: string;
11
+ };
12
+ }, Promise<any>>, findOne: import("convex/server").RegisteredQuery<"public", {
13
+ join?: any;
14
+ select?: string[] | undefined;
15
+ where?: {
16
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
17
+ connector?: "AND" | "OR" | undefined;
18
+ value: string | number | boolean | string[] | number[] | null;
19
+ field: string;
20
+ }[] | undefined;
21
+ model: string;
22
+ }, Promise<import("convex/server").GenericDocument | null>>, findMany: import("convex/server").RegisteredQuery<"public", {
23
+ join?: any;
24
+ select?: string[] | undefined;
25
+ limit?: number | undefined;
26
+ offset?: number | undefined;
27
+ sortBy?: {
28
+ field: string;
29
+ direction: "asc" | "desc";
30
+ } | undefined;
31
+ where?: {
32
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
33
+ connector?: "AND" | "OR" | undefined;
34
+ value: string | number | boolean | string[] | number[] | null;
35
+ field: string;
36
+ }[] | undefined;
37
+ paginationOpts: {
38
+ id?: number;
39
+ endCursor?: string | null;
40
+ maximumRowsRead?: number;
41
+ maximumBytesRead?: number;
42
+ numItems: number;
43
+ cursor: string | null;
44
+ };
45
+ model: string;
46
+ }, Promise<import("convex/server").PaginationResult<import("convex/server").GenericDocument>>>, updateOne: import("convex/server").RegisteredMutation<"public", {
47
+ onUpdateHandle?: string | undefined;
48
+ input: {
49
+ where?: {
50
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
51
+ connector?: "AND" | "OR" | undefined;
52
+ value: string | number | boolean | string[] | number[] | null;
53
+ field: string;
54
+ }[] | undefined;
55
+ update: {
56
+ [x: string]: unknown;
57
+ [x: number]: unknown;
58
+ [x: symbol]: unknown;
59
+ };
60
+ model: import("../_generated/dataModel.js").TableNames;
61
+ };
62
+ }, Promise<any>>, updateMany: import("convex/server").RegisteredMutation<"public", {
63
+ onUpdateHandle?: string | undefined;
64
+ input: {
65
+ where?: {
66
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
67
+ connector?: "AND" | "OR" | undefined;
68
+ value: string | number | boolean | string[] | number[] | null;
69
+ field: string;
70
+ }[] | undefined;
71
+ update: {
72
+ [x: string]: unknown;
73
+ [x: number]: unknown;
74
+ [x: symbol]: unknown;
75
+ };
76
+ model: import("../_generated/dataModel.js").TableNames;
77
+ };
78
+ paginationOpts: {
79
+ id?: number;
80
+ endCursor?: string | null;
81
+ maximumRowsRead?: number;
82
+ maximumBytesRead?: number;
83
+ numItems: number;
84
+ cursor: string | null;
85
+ };
86
+ }, Promise<{
87
+ count: number;
88
+ ids: import("convex/values").Value[];
89
+ isDone: boolean;
90
+ continueCursor: import("convex/server").Cursor;
91
+ splitCursor?: import("convex/server").Cursor | null;
92
+ pageStatus?: "SplitRecommended" | "SplitRequired" | null;
93
+ }>>, deleteOne: import("convex/server").RegisteredMutation<"public", {
94
+ onDeleteHandle?: string | undefined;
95
+ input: {
96
+ where?: {
97
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
98
+ connector?: "AND" | "OR" | undefined;
99
+ value: string | number | boolean | string[] | number[] | null;
100
+ field: string;
101
+ }[] | undefined;
102
+ model: import("../_generated/dataModel.js").TableNames;
103
+ };
104
+ }, Promise<import("convex/server").GenericDocument | undefined>>, deleteMany: import("convex/server").RegisteredMutation<"public", {
105
+ onDeleteHandle?: string | undefined;
106
+ input: {
107
+ where?: {
108
+ operator?: "lt" | "lte" | "gt" | "gte" | "eq" | "in" | "not_in" | "ne" | "contains" | "starts_with" | "ends_with" | undefined;
109
+ connector?: "AND" | "OR" | undefined;
110
+ value: string | number | boolean | string[] | number[] | null;
111
+ field: string;
112
+ }[] | undefined;
113
+ model: import("../_generated/dataModel.js").TableNames;
114
+ };
115
+ paginationOpts: {
116
+ id?: number;
117
+ endCursor?: string | null;
118
+ maximumRowsRead?: number;
119
+ maximumBytesRead?: number;
120
+ numItems: number;
121
+ cursor: string | null;
122
+ };
123
+ }, Promise<{
124
+ count: number;
125
+ ids: import("convex/values").Value[];
126
+ isDone: boolean;
127
+ continueCursor: import("convex/server").Cursor;
128
+ splitCursor?: import("convex/server").Cursor | null;
129
+ pageStatus?: "SplitRecommended" | "SplitRequired" | null;
130
+ }>>;
131
+ //# sourceMappingURL=adapterOrganizationJoins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapterOrganizationJoins.d.ts","sourceRoot":"","sources":["../../../src/component/testProfiles/adapterOrganizationJoins.ts"],"names":[],"mappings":"AAIA,eAAO,MACL,MAAM;;;;;;;;;;;kBACN,OAAO;;;;;;;;;;6DACP,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;gGACR,SAAS;;;;;;;;;;;;;;;;kBACT,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KACV,SAAS;;;;;;;;;;;kEACT,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;GACgD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { createApi } from "../../client/index.js";
2
+ import { organizationJoinsProfileOptions } from "./auth-options.profile-rename-joins.js";
3
+ import schema from "./schema.profile-plugin-table.js";
4
+ export const { create, findOne, findMany, updateOne, updateMany, deleteOne, deleteMany, } = createApi(schema, () => organizationJoinsProfileOptions);
5
+ //# sourceMappingURL=adapterOrganizationJoins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adapterOrganizationJoins.js","sourceRoot":"","sources":["../../../src/component/testProfiles/adapterOrganizationJoins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wCAAwC,CAAC;AACzF,OAAO,MAAM,MAAM,kCAAkC,CAAC;AAEtD,MAAM,CAAC,MAAM,EACX,MAAM,EACN,OAAO,EACP,QAAQ,EACR,SAAS,EACT,UAAU,EACV,SAAS,EACT,UAAU,GACX,GAAG,SAAS,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,+BAA+B,CAAC,CAAC"}