@baseplate-dev/plugin-auth 0.6.15 → 0.6.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -0
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
- package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +9 -2
- package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +6 -2
- package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +16 -2
- package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +8 -1
- package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +8 -1
- package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +5 -1
- package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +7 -14
- package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +42 -84
- package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +70 -140
- package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +14 -28
- package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +7 -14
- package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +7 -14
- package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
- package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
- package/dist/local-auth/core/generators/auth-apollo/auth-apollo.generator.d.ts +1 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +2 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +6 -3
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +2 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +6 -3
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +6 -3
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +7 -2
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +18 -3
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +6 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +14 -3
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +18 -16
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +18 -16
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +6 -6
- package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +6 -6
- package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +7 -14
- package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +42 -84
- package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +63 -126
- package/dist/local-auth/core/generators/react-session/generated/index.d.ts +14 -28
- package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +7 -14
- package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +14 -28
- package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +7 -14
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.js +3 -1
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ChkXxpXe.js} +24 -24
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-CO5Pvo0y.js} +6 -5
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-37vlYRxk.js} +2 -2
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DRSNXPPo.js} +11120 -4828
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-DfiQqvVC.js} +4179 -2900
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-BEZ7A-cz.js} +2 -3
- package/dist/web/assets/arduino-BXtgMpyb.js +21 -0
- package/dist/web/assets/auth-BxAE0rgh.js +1 -0
- package/dist/web/assets/bash-Zh_IyzBN.js +192 -0
- package/dist/web/assets/basic-3mvohyEL.js +28 -0
- package/dist/web/assets/c-6gdx-Hqg.js +74 -0
- package/dist/web/assets/clike-Ds9lUsCq.js +41 -0
- package/dist/web/assets/{common-2qsch56z.js → common-ByxS61u8.js} +8 -6
- package/dist/web/assets/{common-D-CUPN3f.js → common-CKl_XlvH.js} +3 -3
- package/dist/web/assets/{common-BJslFOaI.js → common-TDf_PrjX.js} +3 -3
- package/dist/web/assets/{common-2sTWj7X2.js → common-UpVCKZeW.js} +8 -6
- package/dist/web/assets/{common-DtVPzGI9.js → common-crSwCD36.js} +3 -3
- package/dist/web/assets/{common-BY8yEk1M.js → common-iHaemino.js} +3 -3
- package/dist/web/assets/cpp-DRYAY5P6.js +82 -0
- package/dist/web/assets/csharp-RJBSoHJ6.js +301 -0
- package/dist/web/assets/css-D7TbgetL.js +70 -0
- package/dist/web/assets/diff-CtSa_15w.js +54 -0
- package/dist/web/assets/{dist-SBfmsOB2.js → dist-CrLSslv6.js} +2 -2
- package/dist/web/assets/{dist-DiQ4J8N0.js → dist-DY7ZXvq4.js} +1408 -916
- package/dist/web/assets/{get-auth-plugin-definition-gCzcUybB.js → get-auth-plugin-definition-kDCtXq_6.js} +2 -2
- package/dist/web/assets/go-D9nlw8GJ.js +36 -0
- package/dist/web/assets/{hostInit-BPDI3Q4j.js → hostInit-Cruek6c6.js} +2 -2
- package/dist/web/assets/ini-CU-wHLTy.js +51 -0
- package/dist/web/assets/java-Asfw0WtJ.js +116 -0
- package/dist/web/assets/javascript-fpnGEVws.js +124 -0
- package/dist/web/assets/json-DN8T4yFI.js +38 -0
- package/dist/web/assets/kotlin-zNWfDPVY.js +83 -0
- package/dist/web/assets/less-ZXX1tgaG.js +42 -0
- package/dist/web/assets/lua-D9bD4wrb.js +28 -0
- package/dist/web/assets/makefile-CKoRpler.js +40 -0
- package/dist/web/assets/markdown-ewV-vLcZ.js +278 -0
- package/dist/web/assets/markup-D2krQlDZ.js +176 -0
- package/dist/web/assets/markup-templating-c_XBo6vX.js +94 -0
- package/dist/web/assets/mf-entry-bootstrap-0-dfed0275.js +35 -0
- package/dist/web/assets/mf-entry-bootstrap-1-5275674a.js +35 -0
- package/dist/web/assets/{mf-entry-bootstrap-0-b337c957.js → mf-entry-bootstrap-2-39fb9255.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-3-49e64336.js +35 -0
- package/dist/web/assets/{model-utils-BoeoBppL.js → model-utils-C0WDb_Ec.js} +269 -26
- package/dist/web/assets/{models-Bb8Sa9xa.js → models-BZmCbizK.js} +3 -3
- package/dist/web/assets/{models-CExR9mVk.js → models-DSvs_3bA.js} +3 -3
- package/dist/web/assets/objectivec-PkUOhxeb.js +25 -0
- package/dist/web/assets/perl-Cul_ma_h.js +92 -0
- package/dist/web/assets/php-CfWLJZIj.js +298 -0
- package/dist/web/assets/{plugin-definition-BSgRuyCf.js → plugin-definition-CYj29S3q.js} +3 -3
- package/dist/web/assets/{plugin-definition-DoLu-enC.js → plugin-definition-DOMmPL2Z.js} +3 -3
- package/dist/web/assets/python-CURlmZ7M.js +73 -0
- package/dist/web/assets/r-8lr7pbGm.js +30 -0
- package/dist/web/assets/regex-CxQ7DXCx.js +96 -0
- package/dist/web/assets/{rolldown-runtime-FZ4Itg2g.js → rolldown-runtime-7_rZTKki.js} +1 -1
- package/dist/web/assets/ruby-BlM93DKO.js +175 -0
- package/dist/web/assets/rust-CpZXpaj0.js +107 -0
- package/dist/web/assets/sass-DG0YAnL7.js +65 -0
- package/dist/web/assets/scss-BDRIqhak.js +70 -0
- package/dist/web/assets/sql-C-bL8_gT.js +40 -0
- package/dist/web/assets/{styles-Cc26Bbxc.css → styles-DIj1cIPB.css} +119 -1
- package/dist/web/assets/{styles-DWNihayS.js → styles-yjbHBTlw.js} +8 -8
- package/dist/web/assets/swift-rQ52kfab.js +107 -0
- package/dist/web/assets/typescript-C5BVqltI.js +57 -0
- package/dist/web/assets/vbnet-_PL7-T9d.js +32 -0
- package/dist/web/assets/{virtualExposes-ZQ3-2Iup.js → virtualExposes-CbPBmicF.js} +1 -1
- package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-XM6iYVxf.js} +5 -5
- package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DGjg7Brm.js} +15 -15
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-B6BXIeF1.js} +15 -15
- package/dist/web/assets/{vite-preload-helper-iIio8xkS.js → vite-preload-helper-ARKYL6bp.js} +5 -1
- package/dist/web/assets/{web-pdVFZ-id.js → web-1eTcxMhf.js} +3 -3
- package/dist/web/assets/{web-sVeHdqQo.js → web-CDAKPPK9.js} +13 -13
- package/dist/web/assets/{web-CbftiK5A.js → web-CXAHKjIY.js} +19 -19
- package/dist/web/assets/{web-DUQ-iyMI.js → web-D0MSKfyv.js} +31 -30
- package/dist/web/assets/{web-BbZNg5Ko.js → web-DbeAaDTV.js} +16 -16
- package/dist/web/assets/{web-QvGnMr85.js → web-VqBA3jxZ.js} +13 -13
- package/dist/web/assets/{web-BWF6Fc7g.js → web-miDovYk_.js} +3 -3
- package/dist/web/assets/workerBundle-BjsY-uXx.js +10 -0
- package/dist/web/assets/yaml-C9m3vuV5.js +90 -0
- package/dist/web/index.html +5 -2
- package/dist/web/remoteEntry.js +1 -1
- package/dist/web/remoteEntry.ssr.js +2 -2
- package/package.json +38 -41
- package/dist/web/assets/auth-BA-e6ORB.js +0 -1
- package/dist/web/assets/index-BocHdii2.js +0 -2
package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts
CHANGED
|
@@ -44,10 +44,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
44
44
|
AutocompleteValue: {};
|
|
45
45
|
Badge: {};
|
|
46
46
|
badgeVariants: {};
|
|
47
|
-
BadgeWithIcon: {};
|
|
48
|
-
BadgeWithIconProps: {
|
|
49
|
-
isTypeOnly: true;
|
|
50
|
-
};
|
|
51
47
|
Breadcrumb: {};
|
|
52
48
|
BreadcrumbEllipsis: {};
|
|
53
49
|
BreadcrumbItem: {};
|
|
@@ -67,7 +63,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
67
63
|
Checkbox: {};
|
|
68
64
|
CheckboxField: {};
|
|
69
65
|
CheckboxFieldController: {};
|
|
70
|
-
CheckedInput: {};
|
|
71
66
|
CircularProgress: {};
|
|
72
67
|
cn: {};
|
|
73
68
|
Collapsible: {};
|
|
@@ -158,10 +153,8 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
158
153
|
ItemTitle: {};
|
|
159
154
|
itemVariants: {};
|
|
160
155
|
Label: {};
|
|
161
|
-
LinkButton: {};
|
|
162
156
|
Loader: {};
|
|
163
157
|
mergeRefs: {};
|
|
164
|
-
Modal: {};
|
|
165
158
|
MultiComboboxField: {};
|
|
166
159
|
MultiComboboxFieldController: {};
|
|
167
160
|
MultiComboboxFieldProps: {
|
|
@@ -179,19 +172,21 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
179
172
|
NavigationMenuList: {};
|
|
180
173
|
NavigationMenuTrigger: {};
|
|
181
174
|
navigationMenuTriggerStyle: {};
|
|
182
|
-
NavigationMenuViewport: {};
|
|
183
175
|
NotFoundCard: {};
|
|
176
|
+
NumberField: {};
|
|
177
|
+
NumberFieldController: {};
|
|
184
178
|
Popover: {};
|
|
185
|
-
PopoverAnchor: {};
|
|
186
179
|
PopoverContent: {};
|
|
187
180
|
PopoverTrigger: {};
|
|
188
|
-
|
|
189
|
-
|
|
181
|
+
RadioField: {};
|
|
182
|
+
RadioFieldController: {};
|
|
183
|
+
RadioOptionProps: {
|
|
184
|
+
isTypeOnly: true;
|
|
185
|
+
};
|
|
190
186
|
ScrollArea: {};
|
|
191
187
|
Select: {};
|
|
192
188
|
SelectField: {};
|
|
193
189
|
SelectFieldController: {};
|
|
194
|
-
SelectInput: {};
|
|
195
190
|
SelectOptionProps: {
|
|
196
191
|
isTypeOnly: true;
|
|
197
192
|
};
|
|
@@ -244,8 +239,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
244
239
|
Textarea: {};
|
|
245
240
|
TextareaField: {};
|
|
246
241
|
TextareaFieldController: {};
|
|
247
|
-
TextAreaInput: {};
|
|
248
|
-
TextInput: {};
|
|
249
242
|
Toaster: {};
|
|
250
243
|
Tooltip: {};
|
|
251
244
|
TooltipContent: {};
|
|
@@ -299,10 +292,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
299
292
|
AutocompleteValue: {};
|
|
300
293
|
Badge: {};
|
|
301
294
|
badgeVariants: {};
|
|
302
|
-
BadgeWithIcon: {};
|
|
303
|
-
BadgeWithIconProps: {
|
|
304
|
-
isTypeOnly: true;
|
|
305
|
-
};
|
|
306
295
|
Breadcrumb: {};
|
|
307
296
|
BreadcrumbEllipsis: {};
|
|
308
297
|
BreadcrumbItem: {};
|
|
@@ -322,7 +311,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
322
311
|
Checkbox: {};
|
|
323
312
|
CheckboxField: {};
|
|
324
313
|
CheckboxFieldController: {};
|
|
325
|
-
CheckedInput: {};
|
|
326
314
|
CircularProgress: {};
|
|
327
315
|
cn: {};
|
|
328
316
|
Collapsible: {};
|
|
@@ -413,10 +401,8 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
413
401
|
ItemTitle: {};
|
|
414
402
|
itemVariants: {};
|
|
415
403
|
Label: {};
|
|
416
|
-
LinkButton: {};
|
|
417
404
|
Loader: {};
|
|
418
405
|
mergeRefs: {};
|
|
419
|
-
Modal: {};
|
|
420
406
|
MultiComboboxField: {};
|
|
421
407
|
MultiComboboxFieldController: {};
|
|
422
408
|
MultiComboboxFieldProps: {
|
|
@@ -434,19 +420,21 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
434
420
|
NavigationMenuList: {};
|
|
435
421
|
NavigationMenuTrigger: {};
|
|
436
422
|
navigationMenuTriggerStyle: {};
|
|
437
|
-
NavigationMenuViewport: {};
|
|
438
423
|
NotFoundCard: {};
|
|
424
|
+
NumberField: {};
|
|
425
|
+
NumberFieldController: {};
|
|
439
426
|
Popover: {};
|
|
440
|
-
PopoverAnchor: {};
|
|
441
427
|
PopoverContent: {};
|
|
442
428
|
PopoverTrigger: {};
|
|
443
|
-
|
|
444
|
-
|
|
429
|
+
RadioField: {};
|
|
430
|
+
RadioFieldController: {};
|
|
431
|
+
RadioOptionProps: {
|
|
432
|
+
isTypeOnly: true;
|
|
433
|
+
};
|
|
445
434
|
ScrollArea: {};
|
|
446
435
|
Select: {};
|
|
447
436
|
SelectField: {};
|
|
448
437
|
SelectFieldController: {};
|
|
449
|
-
SelectInput: {};
|
|
450
438
|
SelectOptionProps: {
|
|
451
439
|
isTypeOnly: true;
|
|
452
440
|
};
|
|
@@ -499,8 +487,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_GENERATE
|
|
|
499
487
|
Textarea: {};
|
|
500
488
|
TextareaField: {};
|
|
501
489
|
TextareaFieldController: {};
|
|
502
|
-
TextAreaInput: {};
|
|
503
|
-
TextInput: {};
|
|
504
490
|
Toaster: {};
|
|
505
491
|
Tooltip: {};
|
|
506
492
|
TooltipContent: {};
|
|
@@ -43,10 +43,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERER
|
|
|
43
43
|
AutocompleteValue: {};
|
|
44
44
|
Badge: {};
|
|
45
45
|
badgeVariants: {};
|
|
46
|
-
BadgeWithIcon: {};
|
|
47
|
-
BadgeWithIconProps: {
|
|
48
|
-
isTypeOnly: true;
|
|
49
|
-
};
|
|
50
46
|
Breadcrumb: {};
|
|
51
47
|
BreadcrumbEllipsis: {};
|
|
52
48
|
BreadcrumbItem: {};
|
|
@@ -66,7 +62,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERER
|
|
|
66
62
|
Checkbox: {};
|
|
67
63
|
CheckboxField: {};
|
|
68
64
|
CheckboxFieldController: {};
|
|
69
|
-
CheckedInput: {};
|
|
70
65
|
CircularProgress: {};
|
|
71
66
|
cn: {};
|
|
72
67
|
Collapsible: {};
|
|
@@ -157,10 +152,8 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERER
|
|
|
157
152
|
ItemTitle: {};
|
|
158
153
|
itemVariants: {};
|
|
159
154
|
Label: {};
|
|
160
|
-
LinkButton: {};
|
|
161
155
|
Loader: {};
|
|
162
156
|
mergeRefs: {};
|
|
163
|
-
Modal: {};
|
|
164
157
|
MultiComboboxField: {};
|
|
165
158
|
MultiComboboxFieldController: {};
|
|
166
159
|
MultiComboboxFieldProps: {
|
|
@@ -178,19 +171,21 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERER
|
|
|
178
171
|
NavigationMenuList: {};
|
|
179
172
|
NavigationMenuTrigger: {};
|
|
180
173
|
navigationMenuTriggerStyle: {};
|
|
181
|
-
NavigationMenuViewport: {};
|
|
182
174
|
NotFoundCard: {};
|
|
175
|
+
NumberField: {};
|
|
176
|
+
NumberFieldController: {};
|
|
183
177
|
Popover: {};
|
|
184
|
-
PopoverAnchor: {};
|
|
185
178
|
PopoverContent: {};
|
|
186
179
|
PopoverTrigger: {};
|
|
187
|
-
|
|
188
|
-
|
|
180
|
+
RadioField: {};
|
|
181
|
+
RadioFieldController: {};
|
|
182
|
+
RadioOptionProps: {
|
|
183
|
+
isTypeOnly: true;
|
|
184
|
+
};
|
|
189
185
|
ScrollArea: {};
|
|
190
186
|
Select: {};
|
|
191
187
|
SelectField: {};
|
|
192
188
|
SelectFieldController: {};
|
|
193
|
-
SelectInput: {};
|
|
194
189
|
SelectOptionProps: {
|
|
195
190
|
isTypeOnly: true;
|
|
196
191
|
};
|
|
@@ -243,8 +238,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_RENDERER
|
|
|
243
238
|
Textarea: {};
|
|
244
239
|
TextareaField: {};
|
|
245
240
|
TextareaFieldController: {};
|
|
246
|
-
TextAreaInput: {};
|
|
247
|
-
TextInput: {};
|
|
248
241
|
Toaster: {};
|
|
249
242
|
Tooltip: {};
|
|
250
243
|
TooltipContent: {};
|
|
@@ -31,10 +31,6 @@ export declare const mainGroup: {
|
|
|
31
31
|
AutocompleteValue: {};
|
|
32
32
|
Badge: {};
|
|
33
33
|
badgeVariants: {};
|
|
34
|
-
BadgeWithIcon: {};
|
|
35
|
-
BadgeWithIconProps: {
|
|
36
|
-
isTypeOnly: true;
|
|
37
|
-
};
|
|
38
34
|
Breadcrumb: {};
|
|
39
35
|
BreadcrumbEllipsis: {};
|
|
40
36
|
BreadcrumbItem: {};
|
|
@@ -54,7 +50,6 @@ export declare const mainGroup: {
|
|
|
54
50
|
Checkbox: {};
|
|
55
51
|
CheckboxField: {};
|
|
56
52
|
CheckboxFieldController: {};
|
|
57
|
-
CheckedInput: {};
|
|
58
53
|
CircularProgress: {};
|
|
59
54
|
cn: {};
|
|
60
55
|
Collapsible: {};
|
|
@@ -145,10 +140,8 @@ export declare const mainGroup: {
|
|
|
145
140
|
ItemTitle: {};
|
|
146
141
|
itemVariants: {};
|
|
147
142
|
Label: {};
|
|
148
|
-
LinkButton: {};
|
|
149
143
|
Loader: {};
|
|
150
144
|
mergeRefs: {};
|
|
151
|
-
Modal: {};
|
|
152
145
|
MultiComboboxField: {};
|
|
153
146
|
MultiComboboxFieldController: {};
|
|
154
147
|
MultiComboboxFieldProps: {
|
|
@@ -166,19 +159,21 @@ export declare const mainGroup: {
|
|
|
166
159
|
NavigationMenuList: {};
|
|
167
160
|
NavigationMenuTrigger: {};
|
|
168
161
|
navigationMenuTriggerStyle: {};
|
|
169
|
-
NavigationMenuViewport: {};
|
|
170
162
|
NotFoundCard: {};
|
|
163
|
+
NumberField: {};
|
|
164
|
+
NumberFieldController: {};
|
|
171
165
|
Popover: {};
|
|
172
|
-
PopoverAnchor: {};
|
|
173
166
|
PopoverContent: {};
|
|
174
167
|
PopoverTrigger: {};
|
|
175
|
-
|
|
176
|
-
|
|
168
|
+
RadioField: {};
|
|
169
|
+
RadioFieldController: {};
|
|
170
|
+
RadioOptionProps: {
|
|
171
|
+
isTypeOnly: true;
|
|
172
|
+
};
|
|
177
173
|
ScrollArea: {};
|
|
178
174
|
Select: {};
|
|
179
175
|
SelectField: {};
|
|
180
176
|
SelectFieldController: {};
|
|
181
|
-
SelectInput: {};
|
|
182
177
|
SelectOptionProps: {
|
|
183
178
|
isTypeOnly: true;
|
|
184
179
|
};
|
|
@@ -231,8 +226,6 @@ export declare const mainGroup: {
|
|
|
231
226
|
Textarea: {};
|
|
232
227
|
TextareaField: {};
|
|
233
228
|
TextareaFieldController: {};
|
|
234
|
-
TextAreaInput: {};
|
|
235
|
-
TextInput: {};
|
|
236
229
|
Toaster: {};
|
|
237
230
|
Tooltip: {};
|
|
238
231
|
TooltipContent: {};
|
|
@@ -285,10 +278,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATE
|
|
|
285
278
|
AutocompleteValue: {};
|
|
286
279
|
Badge: {};
|
|
287
280
|
badgeVariants: {};
|
|
288
|
-
BadgeWithIcon: {};
|
|
289
|
-
BadgeWithIconProps: {
|
|
290
|
-
isTypeOnly: true;
|
|
291
|
-
};
|
|
292
281
|
Breadcrumb: {};
|
|
293
282
|
BreadcrumbEllipsis: {};
|
|
294
283
|
BreadcrumbItem: {};
|
|
@@ -308,7 +297,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATE
|
|
|
308
297
|
Checkbox: {};
|
|
309
298
|
CheckboxField: {};
|
|
310
299
|
CheckboxFieldController: {};
|
|
311
|
-
CheckedInput: {};
|
|
312
300
|
CircularProgress: {};
|
|
313
301
|
cn: {};
|
|
314
302
|
Collapsible: {};
|
|
@@ -399,10 +387,8 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATE
|
|
|
399
387
|
ItemTitle: {};
|
|
400
388
|
itemVariants: {};
|
|
401
389
|
Label: {};
|
|
402
|
-
LinkButton: {};
|
|
403
390
|
Loader: {};
|
|
404
391
|
mergeRefs: {};
|
|
405
|
-
Modal: {};
|
|
406
392
|
MultiComboboxField: {};
|
|
407
393
|
MultiComboboxFieldController: {};
|
|
408
394
|
MultiComboboxFieldProps: {
|
|
@@ -420,19 +406,21 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATE
|
|
|
420
406
|
NavigationMenuList: {};
|
|
421
407
|
NavigationMenuTrigger: {};
|
|
422
408
|
navigationMenuTriggerStyle: {};
|
|
423
|
-
NavigationMenuViewport: {};
|
|
424
409
|
NotFoundCard: {};
|
|
410
|
+
NumberField: {};
|
|
411
|
+
NumberFieldController: {};
|
|
425
412
|
Popover: {};
|
|
426
|
-
PopoverAnchor: {};
|
|
427
413
|
PopoverContent: {};
|
|
428
414
|
PopoverTrigger: {};
|
|
429
|
-
|
|
430
|
-
|
|
415
|
+
RadioField: {};
|
|
416
|
+
RadioFieldController: {};
|
|
417
|
+
RadioOptionProps: {
|
|
418
|
+
isTypeOnly: true;
|
|
419
|
+
};
|
|
431
420
|
ScrollArea: {};
|
|
432
421
|
Select: {};
|
|
433
422
|
SelectField: {};
|
|
434
423
|
SelectFieldController: {};
|
|
435
|
-
SelectInput: {};
|
|
436
424
|
SelectOptionProps: {
|
|
437
425
|
isTypeOnly: true;
|
|
438
426
|
};
|
|
@@ -485,8 +473,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_RESET_PASSWORD_ACTION_TEMPLATE
|
|
|
485
473
|
Textarea: {};
|
|
486
474
|
TextareaField: {};
|
|
487
475
|
TextareaFieldController: {};
|
|
488
|
-
TextAreaInput: {};
|
|
489
|
-
TextInput: {};
|
|
490
476
|
Toaster: {};
|
|
491
477
|
Tooltip: {};
|
|
492
478
|
TooltipContent: {};
|
|
@@ -28,10 +28,6 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
28
28
|
AutocompleteValue: {};
|
|
29
29
|
Badge: {};
|
|
30
30
|
badgeVariants: {};
|
|
31
|
-
BadgeWithIcon: {};
|
|
32
|
-
BadgeWithIconProps: {
|
|
33
|
-
isTypeOnly: true;
|
|
34
|
-
};
|
|
35
31
|
Breadcrumb: {};
|
|
36
32
|
BreadcrumbEllipsis: {};
|
|
37
33
|
BreadcrumbItem: {};
|
|
@@ -51,7 +47,6 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
51
47
|
Checkbox: {};
|
|
52
48
|
CheckboxField: {};
|
|
53
49
|
CheckboxFieldController: {};
|
|
54
|
-
CheckedInput: {};
|
|
55
50
|
CircularProgress: {};
|
|
56
51
|
cn: {};
|
|
57
52
|
Collapsible: {};
|
|
@@ -142,10 +137,8 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
142
137
|
ItemTitle: {};
|
|
143
138
|
itemVariants: {};
|
|
144
139
|
Label: {};
|
|
145
|
-
LinkButton: {};
|
|
146
140
|
Loader: {};
|
|
147
141
|
mergeRefs: {};
|
|
148
|
-
Modal: {};
|
|
149
142
|
MultiComboboxField: {};
|
|
150
143
|
MultiComboboxFieldController: {};
|
|
151
144
|
MultiComboboxFieldProps: {
|
|
@@ -163,19 +156,21 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
163
156
|
NavigationMenuList: {};
|
|
164
157
|
NavigationMenuTrigger: {};
|
|
165
158
|
navigationMenuTriggerStyle: {};
|
|
166
|
-
NavigationMenuViewport: {};
|
|
167
159
|
NotFoundCard: {};
|
|
160
|
+
NumberField: {};
|
|
161
|
+
NumberFieldController: {};
|
|
168
162
|
Popover: {};
|
|
169
|
-
PopoverAnchor: {};
|
|
170
163
|
PopoverContent: {};
|
|
171
164
|
PopoverTrigger: {};
|
|
172
|
-
|
|
173
|
-
|
|
165
|
+
RadioField: {};
|
|
166
|
+
RadioFieldController: {};
|
|
167
|
+
RadioOptionProps: {
|
|
168
|
+
isTypeOnly: true;
|
|
169
|
+
};
|
|
174
170
|
ScrollArea: {};
|
|
175
171
|
Select: {};
|
|
176
172
|
SelectField: {};
|
|
177
173
|
SelectFieldController: {};
|
|
178
|
-
SelectInput: {};
|
|
179
174
|
SelectOptionProps: {
|
|
180
175
|
isTypeOnly: true;
|
|
181
176
|
};
|
|
@@ -228,8 +223,6 @@ export declare const adminCrudRolesColumnGenerator: import("@baseplate-dev/sync"
|
|
|
228
223
|
Textarea: {};
|
|
229
224
|
TextareaField: {};
|
|
230
225
|
TextareaFieldController: {};
|
|
231
|
-
TextAreaInput: {};
|
|
232
|
-
TextInput: {};
|
|
233
226
|
Toaster: {};
|
|
234
227
|
Tooltip: {};
|
|
235
228
|
TooltipContent: {};
|
package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts
CHANGED
|
@@ -36,6 +36,12 @@ export declare const betterAuthModuleGenerator: import("@baseplate-dev/sync").Ge
|
|
|
36
36
|
isTypeOnly: true;
|
|
37
37
|
};
|
|
38
38
|
createAppRuntime: {};
|
|
39
|
+
InternalServices: {
|
|
40
|
+
isTypeOnly: true;
|
|
41
|
+
};
|
|
42
|
+
RuntimeServices: {
|
|
43
|
+
isTypeOnly: true;
|
|
44
|
+
};
|
|
39
45
|
}>>;
|
|
40
46
|
authContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
41
47
|
AuthContext: {
|
|
@@ -64,7 +70,8 @@ export declare const betterAuthModuleGenerator: import("@baseplate-dev/sync").Ge
|
|
|
64
70
|
};
|
|
65
71
|
}>>;
|
|
66
72
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
67
|
-
|
|
73
|
+
getConfig: {};
|
|
74
|
+
isDevelopment: {};
|
|
68
75
|
}>>;
|
|
69
76
|
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
70
77
|
createEmailService: {};
|
|
@@ -124,7 +131,7 @@ export declare const betterAuthModuleGenerator: import("@baseplate-dev/sync").Ge
|
|
|
124
131
|
}, any>;
|
|
125
132
|
appRuntimeConfig: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
126
133
|
appRuntimeConfig: import("@baseplate-dev/sync").ProviderType<Omit<import("@baseplate-dev/utils").FieldMap<{
|
|
127
|
-
services: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/
|
|
134
|
+
services: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/fastify-generators").AppRuntimeServiceEntry>;
|
|
128
135
|
construction: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/fastify-generators").AppRuntimeConstructionEntry>;
|
|
129
136
|
flattenedModuleFields: import("@baseplate-dev/utils").MapContainer<string, string>;
|
|
130
137
|
usesBackgroundServices: import("@baseplate-dev/utils").ScalarContainer<boolean | undefined>;
|
package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js
CHANGED
|
@@ -85,8 +85,12 @@ export const betterAuthModuleGenerator = createGenerator({
|
|
|
85
85
|
paths: BETTER_AUTH_BETTER_AUTH_MODULE_GENERATED.paths.provider,
|
|
86
86
|
},
|
|
87
87
|
run({ appRuntimeConfig, userSessionTypesImports, paths }) {
|
|
88
|
-
appRuntimeConfig.services.set('betterAuth',
|
|
89
|
-
|
|
88
|
+
appRuntimeConfig.services.set('betterAuth', {
|
|
89
|
+
type: tsCodeFragment('Auth', tsTypeImportBuilder(['Auth']).from(paths.auth)),
|
|
90
|
+
});
|
|
91
|
+
appRuntimeConfig.services.set('userSession', {
|
|
92
|
+
type: userSessionTypesImports.UserSessionService.typeFragment(),
|
|
93
|
+
});
|
|
90
94
|
appRuntimeConfig.construction.set('betterAuth', {
|
|
91
95
|
dependencies: ['email'],
|
|
92
96
|
fragment: TsCodeUtils.template `${TsCodeUtils.importFragment('buildAuth', paths.auth)}({ email })`,
|
|
@@ -39,6 +39,12 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_GENERATED: {
|
|
|
39
39
|
isTypeOnly: true;
|
|
40
40
|
};
|
|
41
41
|
createAppRuntime: {};
|
|
42
|
+
InternalServices: {
|
|
43
|
+
isTypeOnly: true;
|
|
44
|
+
};
|
|
45
|
+
RuntimeServices: {
|
|
46
|
+
isTypeOnly: true;
|
|
47
|
+
};
|
|
42
48
|
}>>;
|
|
43
49
|
authContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
44
50
|
AuthContext: {
|
|
@@ -67,7 +73,8 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_GENERATED: {
|
|
|
67
73
|
};
|
|
68
74
|
}>>;
|
|
69
75
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
70
|
-
|
|
76
|
+
getConfig: {};
|
|
77
|
+
isDevelopment: {};
|
|
71
78
|
}>>;
|
|
72
79
|
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
73
80
|
createEmailService: {};
|
|
@@ -132,7 +139,8 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_GENERATED: {
|
|
|
132
139
|
};
|
|
133
140
|
}>>;
|
|
134
141
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
135
|
-
|
|
142
|
+
getConfig: {};
|
|
143
|
+
isDevelopment: {};
|
|
136
144
|
}>>;
|
|
137
145
|
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
138
146
|
createEmailService: {};
|
|
@@ -174,6 +182,12 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_GENERATED: {
|
|
|
174
182
|
isTypeOnly: true;
|
|
175
183
|
};
|
|
176
184
|
createAppRuntime: {};
|
|
185
|
+
InternalServices: {
|
|
186
|
+
isTypeOnly: true;
|
|
187
|
+
};
|
|
188
|
+
RuntimeServices: {
|
|
189
|
+
isTypeOnly: true;
|
|
190
|
+
};
|
|
177
191
|
}>>;
|
|
178
192
|
}, {
|
|
179
193
|
headersUtils: {};
|
package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts
CHANGED
|
@@ -31,6 +31,12 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_RENDERERS: {
|
|
|
31
31
|
isTypeOnly: true;
|
|
32
32
|
};
|
|
33
33
|
createAppRuntime: {};
|
|
34
|
+
InternalServices: {
|
|
35
|
+
isTypeOnly: true;
|
|
36
|
+
};
|
|
37
|
+
RuntimeServices: {
|
|
38
|
+
isTypeOnly: true;
|
|
39
|
+
};
|
|
34
40
|
}>>;
|
|
35
41
|
authContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
36
42
|
AuthContext: {
|
|
@@ -59,7 +65,8 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_RENDERERS: {
|
|
|
59
65
|
};
|
|
60
66
|
}>>;
|
|
61
67
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
62
|
-
|
|
68
|
+
getConfig: {};
|
|
69
|
+
isDevelopment: {};
|
|
63
70
|
}>>;
|
|
64
71
|
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
65
72
|
createEmailService: {};
|
package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts
CHANGED
|
@@ -16,7 +16,8 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_TEMPLATES: {
|
|
|
16
16
|
};
|
|
17
17
|
}>>;
|
|
18
18
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
19
|
-
|
|
19
|
+
getConfig: {};
|
|
20
|
+
isDevelopment: {};
|
|
20
21
|
}>>;
|
|
21
22
|
emailModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
22
23
|
createEmailService: {};
|
|
@@ -58,6 +59,12 @@ export declare const BETTER_AUTH_BETTER_AUTH_MODULE_TEMPLATES: {
|
|
|
58
59
|
isTypeOnly: true;
|
|
59
60
|
};
|
|
60
61
|
createAppRuntime: {};
|
|
62
|
+
InternalServices: {
|
|
63
|
+
isTypeOnly: true;
|
|
64
|
+
};
|
|
65
|
+
RuntimeServices: {
|
|
66
|
+
isTypeOnly: true;
|
|
67
|
+
};
|
|
61
68
|
}>>;
|
|
62
69
|
}, {
|
|
63
70
|
headersUtils: {};
|
package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts
CHANGED
|
@@ -4,12 +4,16 @@ import type { AuthRole } from '%authRolesImports';
|
|
|
4
4
|
import type { EmailService } from '%emailModuleImports';
|
|
5
5
|
|
|
6
6
|
import { DEFAULT_USER_ROLES } from '%authRolesImports';
|
|
7
|
-
import {
|
|
7
|
+
import { getConfig } from '%configServiceImports';
|
|
8
8
|
import { prisma } from '%prismaImports';
|
|
9
9
|
import { betterAuth } from 'better-auth';
|
|
10
10
|
import { prismaAdapter } from 'better-auth/adapters/prisma';
|
|
11
11
|
import { customSession } from 'better-auth/plugins';
|
|
12
12
|
|
|
13
|
+
// Read at module scope: this module already requires backend env at import
|
|
14
|
+
// via the Prisma client.
|
|
15
|
+
const config = getConfig();
|
|
16
|
+
|
|
13
17
|
/**
|
|
14
18
|
* Returns the cookie prefix for Better Auth.
|
|
15
19
|
* In development, scopes cookies to the server port to avoid collisions
|
package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts
CHANGED
|
@@ -35,10 +35,6 @@ export declare const betterAuthPagesGenerator: import("@baseplate-dev/sync").Gen
|
|
|
35
35
|
AutocompleteValue: {};
|
|
36
36
|
Badge: {};
|
|
37
37
|
badgeVariants: {};
|
|
38
|
-
BadgeWithIcon: {};
|
|
39
|
-
BadgeWithIconProps: {
|
|
40
|
-
isTypeOnly: true;
|
|
41
|
-
};
|
|
42
38
|
Breadcrumb: {};
|
|
43
39
|
BreadcrumbEllipsis: {};
|
|
44
40
|
BreadcrumbItem: {};
|
|
@@ -58,7 +54,6 @@ export declare const betterAuthPagesGenerator: import("@baseplate-dev/sync").Gen
|
|
|
58
54
|
Checkbox: {};
|
|
59
55
|
CheckboxField: {};
|
|
60
56
|
CheckboxFieldController: {};
|
|
61
|
-
CheckedInput: {};
|
|
62
57
|
CircularProgress: {};
|
|
63
58
|
cn: {};
|
|
64
59
|
Collapsible: {};
|
|
@@ -149,10 +144,8 @@ export declare const betterAuthPagesGenerator: import("@baseplate-dev/sync").Gen
|
|
|
149
144
|
ItemTitle: {};
|
|
150
145
|
itemVariants: {};
|
|
151
146
|
Label: {};
|
|
152
|
-
LinkButton: {};
|
|
153
147
|
Loader: {};
|
|
154
148
|
mergeRefs: {};
|
|
155
|
-
Modal: {};
|
|
156
149
|
MultiComboboxField: {};
|
|
157
150
|
MultiComboboxFieldController: {};
|
|
158
151
|
MultiComboboxFieldProps: {
|
|
@@ -170,19 +163,21 @@ export declare const betterAuthPagesGenerator: import("@baseplate-dev/sync").Gen
|
|
|
170
163
|
NavigationMenuList: {};
|
|
171
164
|
NavigationMenuTrigger: {};
|
|
172
165
|
navigationMenuTriggerStyle: {};
|
|
173
|
-
NavigationMenuViewport: {};
|
|
174
166
|
NotFoundCard: {};
|
|
167
|
+
NumberField: {};
|
|
168
|
+
NumberFieldController: {};
|
|
175
169
|
Popover: {};
|
|
176
|
-
PopoverAnchor: {};
|
|
177
170
|
PopoverContent: {};
|
|
178
171
|
PopoverTrigger: {};
|
|
179
|
-
|
|
180
|
-
|
|
172
|
+
RadioField: {};
|
|
173
|
+
RadioFieldController: {};
|
|
174
|
+
RadioOptionProps: {
|
|
175
|
+
isTypeOnly: true;
|
|
176
|
+
};
|
|
181
177
|
ScrollArea: {};
|
|
182
178
|
Select: {};
|
|
183
179
|
SelectField: {};
|
|
184
180
|
SelectFieldController: {};
|
|
185
|
-
SelectInput: {};
|
|
186
181
|
SelectOptionProps: {
|
|
187
182
|
isTypeOnly: true;
|
|
188
183
|
};
|
|
@@ -235,8 +230,6 @@ export declare const betterAuthPagesGenerator: import("@baseplate-dev/sync").Gen
|
|
|
235
230
|
Textarea: {};
|
|
236
231
|
TextareaField: {};
|
|
237
232
|
TextareaFieldController: {};
|
|
238
|
-
TextAreaInput: {};
|
|
239
|
-
TextInput: {};
|
|
240
233
|
Toaster: {};
|
|
241
234
|
Tooltip: {};
|
|
242
235
|
TooltipContent: {};
|