@baseplate-dev/plugin-auth 0.6.14 → 0.6.16

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 (145) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/auth/core/components/auth-definition-editor.js +3 -0
  3. package/dist/auth/core/components/role-editor-form/role-editor-form.js +2 -0
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  6. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  7. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  10. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  11. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  12. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  13. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +9 -2
  14. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +6 -2
  15. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +16 -2
  16. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +8 -1
  17. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +8 -1
  18. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +5 -1
  19. package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js +4 -0
  20. package/dist/better-auth/generators/fastify/seed-initial-user/templates/src/prisma/seed-initial-user.ts +3 -2
  21. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +7 -14
  22. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +42 -84
  23. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +7 -14
  24. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +70 -140
  25. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +14 -28
  26. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +7 -14
  27. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +7 -14
  28. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +7 -14
  29. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
  30. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  31. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  32. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  33. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  34. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  35. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  36. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  37. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  38. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +2 -1
  39. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +6 -3
  40. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +2 -1
  41. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -3
  42. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -2
  43. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +2 -2
  44. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +2 -2
  45. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +2 -2
  46. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +8 -5
  47. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +8 -8
  48. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +10 -2
  49. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -1
  50. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +27 -3
  51. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +9 -1
  52. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +20 -3
  53. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +18 -16
  54. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +18 -16
  55. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +6 -6
  56. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +6 -6
  57. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +7 -14
  58. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +42 -84
  59. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +7 -14
  60. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +63 -126
  61. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +14 -28
  62. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +7 -14
  63. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +14 -28
  64. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +7 -14
  65. package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +4 -0
  66. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +2 -1
  67. package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +3 -1
  68. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +1 -1
  69. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.js +3 -1
  70. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-3sV-KVGF.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js} +15 -15
  71. 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-0m3QgjSy.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-BfSk5vRC.js} +5 -4
  72. 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-QrOyqu9V.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-DZIcwf2B.js} +1 -1
  73. 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-BTSgZGcl.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js} +10053 -3750
  74. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CJ027_El.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js} +3823 -2545
  75. package/dist/web/assets/arduino-BP2nYunF.js +21 -0
  76. package/dist/web/assets/auth-8qJtXAgU.js +1 -0
  77. package/dist/web/assets/bash-Zh_IyzBN.js +192 -0
  78. package/dist/web/assets/basic-3mvohyEL.js +28 -0
  79. package/dist/web/assets/c-C7Ey31hW.js +74 -0
  80. package/dist/web/assets/clike-D9YNFwtw.js +41 -0
  81. package/dist/web/assets/{common-Aq-HXybV.js → common-23-wvKrM.js} +5 -5
  82. package/dist/web/assets/{common-7-ZtKO5B.js → common-B-NI9TR-.js} +2 -2
  83. package/dist/web/assets/{common-CDrUdhRf.js → common-BBriDRRy.js} +3 -3
  84. package/dist/web/assets/{common-BPbNs2A1.js → common-BvU-7KsV.js} +5 -5
  85. package/dist/web/assets/{common-B_XZ3l9w.js → common-DBBUvtGu.js} +2 -2
  86. package/dist/web/assets/{common-B8N9gx2s.js → common-eFh2vwGb.js} +3 -3
  87. package/dist/web/assets/cpp-_RjA_yNA.js +82 -0
  88. package/dist/web/assets/csharp-0LZzOc6Q.js +301 -0
  89. package/dist/web/assets/css-D7TbgetL.js +70 -0
  90. package/dist/web/assets/diff-CtSa_15w.js +54 -0
  91. package/dist/web/assets/{dist-D3CkiDKT.js → dist-BjxypexQ.js} +1672 -992
  92. package/dist/web/assets/{get-auth-plugin-definition-D3ocnNxw.js → get-auth-plugin-definition-x8oAsN1R.js} +2 -2
  93. package/dist/web/assets/go-CzER04EZ.js +36 -0
  94. package/dist/web/assets/{hostInit-D3RxwboF.js → hostInit-Bay0Y9UX.js} +1 -1
  95. package/dist/web/assets/{index-CozZxQl1.js → index-qso1IsKy.js} +2 -2
  96. package/dist/web/assets/ini-CU-wHLTy.js +51 -0
  97. package/dist/web/assets/java-HAvRESj1.js +116 -0
  98. package/dist/web/assets/javascript-BVAr0eZH.js +124 -0
  99. package/dist/web/assets/json-DN8T4yFI.js +38 -0
  100. package/dist/web/assets/kotlin-DkCMjTKK.js +83 -0
  101. package/dist/web/assets/less-ZXX1tgaG.js +42 -0
  102. package/dist/web/assets/lua-D9bD4wrb.js +28 -0
  103. package/dist/web/assets/makefile-CKoRpler.js +40 -0
  104. package/dist/web/assets/markdown-_2_uVr2L.js +278 -0
  105. package/dist/web/assets/markup-BVZ8HhdW.js +176 -0
  106. package/dist/web/assets/markup-templating-BDIRuVJH.js +94 -0
  107. package/dist/web/assets/{mf-entry-bootstrap-0-069a3ab2.js → mf-entry-bootstrap-0-659c976f.js} +2 -2
  108. package/dist/web/assets/{model-utils-CYaLYwoX.js → model-utils-dNFTOjqi.js} +305 -27
  109. package/dist/web/assets/{models-BX4xFiEn.js → models-BpslIbU7.js} +2 -2
  110. package/dist/web/assets/{models-k-iaCft-.js → models-CKab4MTC.js} +2 -2
  111. package/dist/web/assets/objectivec-DPgB68It.js +25 -0
  112. package/dist/web/assets/perl-Cul_ma_h.js +92 -0
  113. package/dist/web/assets/php-JTON0zp9.js +298 -0
  114. package/dist/web/assets/{plugin-definition-CI1aEVGv.js → plugin-definition-8Exesd6T.js} +2 -2
  115. package/dist/web/assets/{plugin-definition-BI565qFo.js → plugin-definition-ChBrbazJ.js} +2 -2
  116. package/dist/web/assets/python-CURlmZ7M.js +73 -0
  117. package/dist/web/assets/r-8lr7pbGm.js +30 -0
  118. package/dist/web/assets/regex-CxQ7DXCx.js +96 -0
  119. package/dist/web/assets/ruby-BoFHz67P.js +175 -0
  120. package/dist/web/assets/rust-CpZXpaj0.js +107 -0
  121. package/dist/web/assets/sass-DG0YAnL7.js +65 -0
  122. package/dist/web/assets/scss-BDRIqhak.js +70 -0
  123. package/dist/web/assets/sql-C-bL8_gT.js +40 -0
  124. package/dist/web/assets/{styles-f4jHVv0S.js → styles-Cuq4wgvD.js} +7 -7
  125. package/dist/web/assets/swift-rQ52kfab.js +107 -0
  126. package/dist/web/assets/typescript-CDkIWcT8.js +57 -0
  127. package/dist/web/assets/vbnet-_PL7-T9d.js +32 -0
  128. package/dist/web/assets/{virtualExposes-BHQhgLE-.js → virtualExposes-BwIds34r.js} +1 -1
  129. package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-aH8n-Nbe.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js} +3 -3
  130. package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-I_SxfvGj.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js} +13 -13
  131. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BQ0UMKSv.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js} +13 -13
  132. package/dist/web/assets/{web-DCK_tLVa.js → web-BZd3bM0n.js} +6 -6
  133. package/dist/web/assets/{web-CkbTu31Q.js → web-BgWG7dYl.js} +10 -10
  134. package/dist/web/assets/{web-Dh6pUTrF.js → web-CXHw8SK7.js} +13 -13
  135. package/dist/web/assets/{web-Cn3uvuFs.js → web-CnB-sqCR.js} +20 -18
  136. package/dist/web/assets/{web-BRvS0HRS.js → web-DHv2aVpi.js} +10 -10
  137. package/dist/web/assets/{web-YXVJWeXy.js → web-DNrWXjpS.js} +3 -3
  138. package/dist/web/assets/{web-nLSlkJy_.js → web-D_H-MoGI.js} +3 -3
  139. package/dist/web/assets/workerBundle-GFUata9j.js +10 -0
  140. package/dist/web/assets/yaml-C9m3vuV5.js +90 -0
  141. package/dist/web/index.html +2 -2
  142. package/dist/web/remoteEntry.js +1 -1
  143. package/dist/web/remoteEntry.ssr.js +1 -1
  144. package/package.json +18 -17
  145. package/dist/web/assets/auth-D8BnFQKk.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @baseplate-dev/plugin-auth
2
2
 
3
+ ## 0.6.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [#994](https://github.com/halfdomelabs/baseplate/pull/994) [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552) Thanks [@kingston](https://github.com/kingston)! - Backend environment configuration is now exposed via a lazy `getConfig()` (plus an `isDevelopment()` helper) instead of a module-scope `config` constant, so backend modules can be imported by tooling and tests without a fully configured environment, and invalid configuration now fails with a readable list of the offending variables.
8
+
9
+ - [#994](https://github.com/halfdomelabs/baseplate/pull/994) [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552) Thanks [@kingston](https://github.com/kingston)! - Successful logins no longer count against the per-IP login rate limit, so users behind a shared IP are no longer locked out by ordinary repeated logins.
10
+
11
+ - Updated dependencies [[`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552), [`261d933`](https://github.com/halfdomelabs/baseplate/commit/261d9331ec09c4b60ee17057cbd57feb36827552)]:
12
+ - @baseplate-dev/react-generators@0.6.16
13
+ - @baseplate-dev/core-generators@0.6.16
14
+ - @baseplate-dev/fastify-generators@0.6.16
15
+ - @baseplate-dev/plugin-email@0.6.16
16
+ - @baseplate-dev/plugin-queue@0.6.16
17
+ - @baseplate-dev/ui-components@0.6.16
18
+ - @baseplate-dev/project-builder-lib@0.6.16
19
+ - @baseplate-dev/plugin-rate-limit@0.6.16
20
+ - @baseplate-dev/sync@0.6.16
21
+ - @baseplate-dev/utils@0.6.16
22
+
23
+ ## 0.6.15
24
+
25
+ ### Patch Changes
26
+
27
+ - [#962](https://github.com/halfdomelabs/baseplate/pull/962) [`615c8e1`](https://github.com/halfdomelabs/baseplate/commit/615c8e173cede3cfa0298b92d5b84999ffedce5b) Thanks [@kingston](https://github.com/kingston)! - Tightened handling of indexed access across the codebase, fixing latent cases where a missing array element or record entry could surface as an undefined value in a field typed as required, such as unmatched regular expression capture groups and parsed command strings.
28
+
29
+ - [#967](https://github.com/halfdomelabs/baseplate/pull/967) [`8b2dfd7`](https://github.com/halfdomelabs/baseplate/commit/8b2dfd7aa799b51dfa02deeaf7592af8ea29ed7e) Thanks [@kingston](https://github.com/kingston)! - Fix login and change-password failing with an internal server error instead of an invalid credentials message when the account has no stored password, which affected logging in with an unrecognized email address and changing the password on accounts linked only to a social provider
30
+
31
+ - [#964](https://github.com/halfdomelabs/baseplate/pull/964) [`fb42641`](https://github.com/halfdomelabs/baseplate/commit/fb42641e235085cca019992f8615c2b9be0fdacb) Thanks [@kingston](https://github.com/kingston)! - Fixed the initial user seed script occasionally failing because no name was supplied. The seed script now sets the initial user's name from a new `INITIAL_USER_NAME` seed environment variable, defaulting to "Admin" if not set.
32
+
33
+ - Updated dependencies [[`403874a`](https://github.com/halfdomelabs/baseplate/commit/403874a10f67120eb36badc93920359cb267dcb5), [`615c8e1`](https://github.com/halfdomelabs/baseplate/commit/615c8e173cede3cfa0298b92d5b84999ffedce5b), [`8b2dfd7`](https://github.com/halfdomelabs/baseplate/commit/8b2dfd7aa799b51dfa02deeaf7592af8ea29ed7e), [`dac747d`](https://github.com/halfdomelabs/baseplate/commit/dac747d5085f82de33bc4cc66ef0709fc405cccd), [`4ed5ae3`](https://github.com/halfdomelabs/baseplate/commit/4ed5ae379ec7097d072612fa9c29738947b11334), [`05cfe52`](https://github.com/halfdomelabs/baseplate/commit/05cfe5202692c8f3f3876d2e1c994c267d18d622), [`3184ab4`](https://github.com/halfdomelabs/baseplate/commit/3184ab40137515c7c96249793ca882526055292d), [`615c8e1`](https://github.com/halfdomelabs/baseplate/commit/615c8e173cede3cfa0298b92d5b84999ffedce5b), [`9cdfaa9`](https://github.com/halfdomelabs/baseplate/commit/9cdfaa9e3702c8a569c5dac739877dc8330a8f73), [`9139686`](https://github.com/halfdomelabs/baseplate/commit/91396867ec7832068aa6a5d19d038dcd1f04ec5c), [`e12d469`](https://github.com/halfdomelabs/baseplate/commit/e12d4699363b6d8c24c060929bec7b117933c8c2), [`e12d469`](https://github.com/halfdomelabs/baseplate/commit/e12d4699363b6d8c24c060929bec7b117933c8c2), [`15f4f2c`](https://github.com/halfdomelabs/baseplate/commit/15f4f2c6742bdde2b6a5f0b5f5063e01a053123e)]:
34
+ - @baseplate-dev/fastify-generators@0.6.15
35
+ - @baseplate-dev/project-builder-lib@0.6.15
36
+ - @baseplate-dev/core-generators@0.6.15
37
+ - @baseplate-dev/plugin-email@0.6.15
38
+ - @baseplate-dev/plugin-queue@0.6.15
39
+ - @baseplate-dev/react-generators@0.6.15
40
+ - @baseplate-dev/sync@0.6.15
41
+ - @baseplate-dev/utils@0.6.15
42
+ - @baseplate-dev/plugin-rate-limit@0.6.15
43
+ - @baseplate-dev/ui-components@0.6.15
44
+
3
45
  ## 0.6.14
4
46
 
5
47
  ### Patch Changes
@@ -22,6 +22,9 @@ export function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onS
22
22
  }
23
23
  const defaultAuthFeatureRef = FeatureUtils.getFeatureIdByNameOrDefault(definition, 'accounts/auth');
24
24
  const defaultAccountsFeatureRef = FeatureUtils.getFeatureIdByNameOrDefault(definition, 'accounts/users');
25
+ if (!defaultImplementation) {
26
+ throw new Error('No auth implementation plugins are available');
27
+ }
25
28
  return {
26
29
  implementationPluginKey: defaultImplementation.key,
27
30
  authFeatureRef: defaultAuthFeatureRef,
@@ -26,6 +26,8 @@ export function RoleEditorForm({ className, control, }) {
26
26
  }
27
27
  function handleDeleteRole(roleIdx) {
28
28
  const role = roles[roleIdx];
29
+ if (!role)
30
+ return;
29
31
  requestConfirm({
30
32
  title: 'Delete Role',
31
33
  content: `Are you sure you want to delete the role "${role.name}"?`,
@@ -46,10 +46,6 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
46
46
  AutocompleteValue: {};
47
47
  Badge: {};
48
48
  badgeVariants: {};
49
- BadgeWithIcon: {};
50
- BadgeWithIconProps: {
51
- isTypeOnly: true;
52
- };
53
49
  Breadcrumb: {};
54
50
  BreadcrumbEllipsis: {};
55
51
  BreadcrumbItem: {};
@@ -69,7 +65,6 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
69
65
  Checkbox: {};
70
66
  CheckboxField: {};
71
67
  CheckboxFieldController: {};
72
- CheckedInput: {};
73
68
  CircularProgress: {};
74
69
  cn: {};
75
70
  Collapsible: {};
@@ -160,10 +155,8 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
160
155
  ItemTitle: {};
161
156
  itemVariants: {};
162
157
  Label: {};
163
- LinkButton: {};
164
158
  Loader: {};
165
159
  mergeRefs: {};
166
- Modal: {};
167
160
  MultiComboboxField: {};
168
161
  MultiComboboxFieldController: {};
169
162
  MultiComboboxFieldProps: {
@@ -181,19 +174,21 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
181
174
  NavigationMenuList: {};
182
175
  NavigationMenuTrigger: {};
183
176
  navigationMenuTriggerStyle: {};
184
- NavigationMenuViewport: {};
185
177
  NotFoundCard: {};
178
+ NumberField: {};
179
+ NumberFieldController: {};
186
180
  Popover: {};
187
- PopoverAnchor: {};
188
181
  PopoverContent: {};
189
182
  PopoverTrigger: {};
190
- ReactDatePickerInput: {};
191
- ReactSelectInput: {};
183
+ RadioField: {};
184
+ RadioFieldController: {};
185
+ RadioOptionProps: {
186
+ isTypeOnly: true;
187
+ };
192
188
  ScrollArea: {};
193
189
  Select: {};
194
190
  SelectField: {};
195
191
  SelectFieldController: {};
196
- SelectInput: {};
197
192
  SelectOptionProps: {
198
193
  isTypeOnly: true;
199
194
  };
@@ -246,8 +241,6 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
246
241
  Textarea: {};
247
242
  TextareaField: {};
248
243
  TextareaFieldController: {};
249
- TextAreaInput: {};
250
- TextInput: {};
251
244
  Toaster: {};
252
245
  Tooltip: {};
253
246
  TooltipContent: {};
@@ -291,10 +284,6 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
291
284
  AutocompleteValue: {};
292
285
  Badge: {};
293
286
  badgeVariants: {};
294
- BadgeWithIcon: {};
295
- BadgeWithIconProps: {
296
- isTypeOnly: true;
297
- };
298
287
  Breadcrumb: {};
299
288
  BreadcrumbEllipsis: {};
300
289
  BreadcrumbItem: {};
@@ -314,7 +303,6 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
314
303
  Checkbox: {};
315
304
  CheckboxField: {};
316
305
  CheckboxFieldController: {};
317
- CheckedInput: {};
318
306
  CircularProgress: {};
319
307
  cn: {};
320
308
  Collapsible: {};
@@ -405,10 +393,8 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
405
393
  ItemTitle: {};
406
394
  itemVariants: {};
407
395
  Label: {};
408
- LinkButton: {};
409
396
  Loader: {};
410
397
  mergeRefs: {};
411
- Modal: {};
412
398
  MultiComboboxField: {};
413
399
  MultiComboboxFieldController: {};
414
400
  MultiComboboxFieldProps: {
@@ -426,19 +412,21 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
426
412
  NavigationMenuList: {};
427
413
  NavigationMenuTrigger: {};
428
414
  navigationMenuTriggerStyle: {};
429
- NavigationMenuViewport: {};
430
415
  NotFoundCard: {};
416
+ NumberField: {};
417
+ NumberFieldController: {};
431
418
  Popover: {};
432
- PopoverAnchor: {};
433
419
  PopoverContent: {};
434
420
  PopoverTrigger: {};
435
- ReactDatePickerInput: {};
436
- ReactSelectInput: {};
421
+ RadioField: {};
422
+ RadioFieldController: {};
423
+ RadioOptionProps: {
424
+ isTypeOnly: true;
425
+ };
437
426
  ScrollArea: {};
438
427
  Select: {};
439
428
  SelectField: {};
440
429
  SelectFieldController: {};
441
- SelectInput: {};
442
430
  SelectOptionProps: {
443
431
  isTypeOnly: true;
444
432
  };
@@ -491,8 +479,6 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
491
479
  Textarea: {};
492
480
  TextareaField: {};
493
481
  TextareaFieldController: {};
494
- TextAreaInput: {};
495
- TextInput: {};
496
482
  Toaster: {};
497
483
  Tooltip: {};
498
484
  TooltipContent: {};
@@ -44,10 +44,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
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_MANAGE_ROLES_ACTION_GENERATED:
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_MANAGE_ROLES_ACTION_GENERATED:
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_MANAGE_ROLES_ACTION_GENERATED:
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
- ReactDatePickerInput: {};
189
- ReactSelectInput: {};
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_MANAGE_ROLES_ACTION_GENERATED:
244
239
  Textarea: {};
245
240
  TextareaField: {};
246
241
  TextareaFieldController: {};
247
- TextAreaInput: {};
248
- TextInput: {};
249
242
  Toaster: {};
250
243
  Tooltip: {};
251
244
  TooltipContent: {};
@@ -300,10 +293,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
300
293
  AutocompleteValue: {};
301
294
  Badge: {};
302
295
  badgeVariants: {};
303
- BadgeWithIcon: {};
304
- BadgeWithIconProps: {
305
- isTypeOnly: true;
306
- };
307
296
  Breadcrumb: {};
308
297
  BreadcrumbEllipsis: {};
309
298
  BreadcrumbItem: {};
@@ -323,7 +312,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
323
312
  Checkbox: {};
324
313
  CheckboxField: {};
325
314
  CheckboxFieldController: {};
326
- CheckedInput: {};
327
315
  CircularProgress: {};
328
316
  cn: {};
329
317
  Collapsible: {};
@@ -414,10 +402,8 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
414
402
  ItemTitle: {};
415
403
  itemVariants: {};
416
404
  Label: {};
417
- LinkButton: {};
418
405
  Loader: {};
419
406
  mergeRefs: {};
420
- Modal: {};
421
407
  MultiComboboxField: {};
422
408
  MultiComboboxFieldController: {};
423
409
  MultiComboboxFieldProps: {
@@ -435,19 +421,21 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
435
421
  NavigationMenuList: {};
436
422
  NavigationMenuTrigger: {};
437
423
  navigationMenuTriggerStyle: {};
438
- NavigationMenuViewport: {};
439
424
  NotFoundCard: {};
425
+ NumberField: {};
426
+ NumberFieldController: {};
440
427
  Popover: {};
441
- PopoverAnchor: {};
442
428
  PopoverContent: {};
443
429
  PopoverTrigger: {};
444
- ReactDatePickerInput: {};
445
- ReactSelectInput: {};
430
+ RadioField: {};
431
+ RadioFieldController: {};
432
+ RadioOptionProps: {
433
+ isTypeOnly: true;
434
+ };
446
435
  ScrollArea: {};
447
436
  Select: {};
448
437
  SelectField: {};
449
438
  SelectFieldController: {};
450
- SelectInput: {};
451
439
  SelectOptionProps: {
452
440
  isTypeOnly: true;
453
441
  };
@@ -500,8 +488,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
500
488
  Textarea: {};
501
489
  TextareaField: {};
502
490
  TextareaFieldController: {};
503
- TextAreaInput: {};
504
- TextInput: {};
505
491
  Toaster: {};
506
492
  Tooltip: {};
507
493
  TooltipContent: {};
@@ -43,10 +43,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_RENDERERS:
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_MANAGE_ROLES_ACTION_RENDERERS:
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_MANAGE_ROLES_ACTION_RENDERERS:
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_MANAGE_ROLES_ACTION_RENDERERS:
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
- ReactDatePickerInput: {};
188
- ReactSelectInput: {};
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_MANAGE_ROLES_ACTION_RENDERERS:
243
238
  Textarea: {};
244
239
  TextareaField: {};
245
240
  TextareaFieldController: {};
246
- TextAreaInput: {};
247
- TextInput: {};
248
241
  Toaster: {};
249
242
  Tooltip: {};
250
243
  TooltipContent: {};
@@ -33,10 +33,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
33
33
  AutocompleteValue: {};
34
34
  Badge: {};
35
35
  badgeVariants: {};
36
- BadgeWithIcon: {};
37
- BadgeWithIconProps: {
38
- isTypeOnly: true;
39
- };
40
36
  Breadcrumb: {};
41
37
  BreadcrumbEllipsis: {};
42
38
  BreadcrumbItem: {};
@@ -56,7 +52,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
56
52
  Checkbox: {};
57
53
  CheckboxField: {};
58
54
  CheckboxFieldController: {};
59
- CheckedInput: {};
60
55
  CircularProgress: {};
61
56
  cn: {};
62
57
  Collapsible: {};
@@ -147,10 +142,8 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
147
142
  ItemTitle: {};
148
143
  itemVariants: {};
149
144
  Label: {};
150
- LinkButton: {};
151
145
  Loader: {};
152
146
  mergeRefs: {};
153
- Modal: {};
154
147
  MultiComboboxField: {};
155
148
  MultiComboboxFieldController: {};
156
149
  MultiComboboxFieldProps: {
@@ -168,19 +161,21 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
168
161
  NavigationMenuList: {};
169
162
  NavigationMenuTrigger: {};
170
163
  navigationMenuTriggerStyle: {};
171
- NavigationMenuViewport: {};
172
164
  NotFoundCard: {};
165
+ NumberField: {};
166
+ NumberFieldController: {};
173
167
  Popover: {};
174
- PopoverAnchor: {};
175
168
  PopoverContent: {};
176
169
  PopoverTrigger: {};
177
- ReactDatePickerInput: {};
178
- ReactSelectInput: {};
170
+ RadioField: {};
171
+ RadioFieldController: {};
172
+ RadioOptionProps: {
173
+ isTypeOnly: true;
174
+ };
179
175
  ScrollArea: {};
180
176
  Select: {};
181
177
  SelectField: {};
182
178
  SelectFieldController: {};
183
- SelectInput: {};
184
179
  SelectOptionProps: {
185
180
  isTypeOnly: true;
186
181
  };
@@ -233,8 +228,6 @@ export declare const BETTER_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
233
228
  Textarea: {};
234
229
  TextareaField: {};
235
230
  TextareaFieldController: {};
236
- TextAreaInput: {};
237
- TextInput: {};
238
231
  Toaster: {};
239
232
  Tooltip: {};
240
233
  TooltipContent: {};
@@ -45,10 +45,6 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
45
45
  AutocompleteValue: {};
46
46
  Badge: {};
47
47
  badgeVariants: {};
48
- BadgeWithIcon: {};
49
- BadgeWithIconProps: {
50
- isTypeOnly: true;
51
- };
52
48
  Breadcrumb: {};
53
49
  BreadcrumbEllipsis: {};
54
50
  BreadcrumbItem: {};
@@ -68,7 +64,6 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
68
64
  Checkbox: {};
69
65
  CheckboxField: {};
70
66
  CheckboxFieldController: {};
71
- CheckedInput: {};
72
67
  CircularProgress: {};
73
68
  cn: {};
74
69
  Collapsible: {};
@@ -159,10 +154,8 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
159
154
  ItemTitle: {};
160
155
  itemVariants: {};
161
156
  Label: {};
162
- LinkButton: {};
163
157
  Loader: {};
164
158
  mergeRefs: {};
165
- Modal: {};
166
159
  MultiComboboxField: {};
167
160
  MultiComboboxFieldController: {};
168
161
  MultiComboboxFieldProps: {
@@ -180,19 +173,21 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
180
173
  NavigationMenuList: {};
181
174
  NavigationMenuTrigger: {};
182
175
  navigationMenuTriggerStyle: {};
183
- NavigationMenuViewport: {};
184
176
  NotFoundCard: {};
177
+ NumberField: {};
178
+ NumberFieldController: {};
185
179
  Popover: {};
186
- PopoverAnchor: {};
187
180
  PopoverContent: {};
188
181
  PopoverTrigger: {};
189
- ReactDatePickerInput: {};
190
- ReactSelectInput: {};
182
+ RadioField: {};
183
+ RadioFieldController: {};
184
+ RadioOptionProps: {
185
+ isTypeOnly: true;
186
+ };
191
187
  ScrollArea: {};
192
188
  Select: {};
193
189
  SelectField: {};
194
190
  SelectFieldController: {};
195
- SelectInput: {};
196
191
  SelectOptionProps: {
197
192
  isTypeOnly: true;
198
193
  };
@@ -245,8 +240,6 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
245
240
  Textarea: {};
246
241
  TextareaField: {};
247
242
  TextareaFieldController: {};
248
- TextAreaInput: {};
249
- TextInput: {};
250
243
  Toaster: {};
251
244
  Tooltip: {};
252
245
  TooltipContent: {};
@@ -290,10 +283,6 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
290
283
  AutocompleteValue: {};
291
284
  Badge: {};
292
285
  badgeVariants: {};
293
- BadgeWithIcon: {};
294
- BadgeWithIconProps: {
295
- isTypeOnly: true;
296
- };
297
286
  Breadcrumb: {};
298
287
  BreadcrumbEllipsis: {};
299
288
  BreadcrumbItem: {};
@@ -313,7 +302,6 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
313
302
  Checkbox: {};
314
303
  CheckboxField: {};
315
304
  CheckboxFieldController: {};
316
- CheckedInput: {};
317
305
  CircularProgress: {};
318
306
  cn: {};
319
307
  Collapsible: {};
@@ -404,10 +392,8 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
404
392
  ItemTitle: {};
405
393
  itemVariants: {};
406
394
  Label: {};
407
- LinkButton: {};
408
395
  Loader: {};
409
396
  mergeRefs: {};
410
- Modal: {};
411
397
  MultiComboboxField: {};
412
398
  MultiComboboxFieldController: {};
413
399
  MultiComboboxFieldProps: {
@@ -425,19 +411,21 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
425
411
  NavigationMenuList: {};
426
412
  NavigationMenuTrigger: {};
427
413
  navigationMenuTriggerStyle: {};
428
- NavigationMenuViewport: {};
429
414
  NotFoundCard: {};
415
+ NumberField: {};
416
+ NumberFieldController: {};
430
417
  Popover: {};
431
- PopoverAnchor: {};
432
418
  PopoverContent: {};
433
419
  PopoverTrigger: {};
434
- ReactDatePickerInput: {};
435
- ReactSelectInput: {};
420
+ RadioField: {};
421
+ RadioFieldController: {};
422
+ RadioOptionProps: {
423
+ isTypeOnly: true;
424
+ };
436
425
  ScrollArea: {};
437
426
  Select: {};
438
427
  SelectField: {};
439
428
  SelectFieldController: {};
440
- SelectInput: {};
441
429
  SelectOptionProps: {
442
430
  isTypeOnly: true;
443
431
  };
@@ -490,8 +478,6 @@ export declare const adminCrudResetPasswordActionGenerator: import("@baseplate-d
490
478
  Textarea: {};
491
479
  TextareaField: {};
492
480
  TextareaFieldController: {};
493
- TextAreaInput: {};
494
- TextInput: {};
495
481
  Toaster: {};
496
482
  Tooltip: {};
497
483
  TooltipContent: {};