@baseplate-dev/plugin-auth 3.0.4 → 4.0.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 (281) hide show
  1. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +39 -25
  2. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
  3. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +18 -24
  4. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -1
  5. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +16 -0
  6. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -1
  7. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +1 -0
  8. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +1 -1
  9. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +1 -0
  10. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +1 -1
  11. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +9 -0
  12. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
  13. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js +15 -2
  14. package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.js.map +1 -1
  15. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +10 -0
  16. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -1
  17. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js +18 -2
  18. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +1 -1
  19. package/dist/auth0/generators/fastify/auth0-module/templates/module/schema/user-session.queries.ts +22 -0
  20. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +0 -5
  21. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
  22. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +1 -10
  23. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  24. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +0 -18
  25. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
  26. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +0 -2
  27. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +1 -1
  28. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +0 -2
  29. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +1 -1
  30. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +1 -7
  31. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +1 -1
  32. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +3 -12
  33. package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +1 -1
  34. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +0 -1
  35. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -1
  36. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +0 -1
  37. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -1
  38. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +0 -23
  39. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
  40. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +4 -33
  41. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
  42. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +25 -4
  43. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts.map +1 -1
  44. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js +16 -13
  45. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.js.map +1 -1
  46. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +24 -7
  47. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts.map +1 -1
  48. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts +0 -1
  49. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.d.ts.map +1 -1
  50. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js +0 -1
  51. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.js.map +1 -1
  52. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +13 -6
  53. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts.map +1 -1
  54. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js +5 -12
  55. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.js.map +1 -1
  56. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +12 -5
  57. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts.map +1 -1
  58. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js +3 -12
  59. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.js.map +1 -1
  60. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts +3 -2
  61. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.d.ts.map +1 -1
  62. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js +26 -7
  63. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.js.map +1 -1
  64. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.tsx +34 -12
  65. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +25 -4
  66. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts.map +1 -1
  67. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js +35 -25
  68. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.js.map +1 -1
  69. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +24 -7
  70. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts.map +1 -1
  71. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts +0 -1
  72. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.d.ts.map +1 -1
  73. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js +0 -1
  74. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-paths.js.map +1 -1
  75. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +13 -6
  76. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts.map +1 -1
  77. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js +5 -12
  78. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.js.map +1 -1
  79. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +24 -7
  80. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts.map +1 -1
  81. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js +3 -12
  82. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.js.map +1 -1
  83. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts +3 -2
  84. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.d.ts.map +1 -1
  85. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js +22 -6
  86. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.js.map +1 -1
  87. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.tsx +30 -11
  88. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts.map +1 -1
  89. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js +7 -11
  90. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.js.map +1 -1
  91. package/dist/local-auth/admin/node.d.ts.map +1 -1
  92. package/dist/local-auth/admin/node.js +2 -6
  93. package/dist/local-auth/admin/node.js.map +1 -1
  94. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +12 -3
  95. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
  96. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js +0 -1
  97. package/dist/local-auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -1
  98. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts +36 -18
  99. package/dist/local-auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
  100. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts +0 -3
  101. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -1
  102. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js +0 -3
  103. package/dist/local-auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -1
  104. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts +13 -6
  105. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
  106. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js +5 -12
  107. package/dist/local-auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -1
  108. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +0 -1
  109. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  110. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +0 -1
  111. package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -1
  112. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts +48 -30
  113. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
  114. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js +6 -49
  115. package/dist/local-auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -1
  116. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts +1 -0
  117. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.d.ts.map +1 -1
  118. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js +9 -2
  119. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.js.map +1 -1
  120. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.ts +10 -2
  121. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts +2 -2
  122. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.d.ts.map +1 -1
  123. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js +0 -1
  124. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.js.map +1 -1
  125. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-session.ts +2 -2
  126. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
  127. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -0
  128. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
  129. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +6 -1
  130. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
  131. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +12 -2
  132. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
  133. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +5 -2
  134. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
  135. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +16 -0
  136. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
  137. package/dist/local-auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +19 -0
  138. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +12 -3
  139. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
  140. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js +1 -8
  141. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.js.map +1 -1
  142. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +36 -7
  143. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
  144. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts +0 -1
  145. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.d.ts.map +1 -1
  146. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js +0 -1
  147. package/dist/local-auth/core/generators/auth-routes/generated/template-paths.js.map +1 -1
  148. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +13 -6
  149. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
  150. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js +5 -12
  151. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.js.map +1 -1
  152. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +48 -9
  153. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
  154. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js +5 -13
  155. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.js.map +1 -1
  156. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js +11 -2
  157. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.js.map +1 -1
  158. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/login.tsx +12 -2
  159. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js +11 -2
  160. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.js.map +1 -1
  161. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/register.tsx +12 -2
  162. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +24 -7
  163. package/dist/local-auth/core/generators/react-session/generated/index.d.ts.map +1 -1
  164. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts +0 -1
  165. package/dist/local-auth/core/generators/react-session/generated/template-paths.d.ts.map +1 -1
  166. package/dist/local-auth/core/generators/react-session/generated/template-paths.js +0 -1
  167. package/dist/local-auth/core/generators/react-session/generated/template-paths.js.map +1 -1
  168. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +13 -7
  169. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
  170. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js +5 -12
  171. package/dist/local-auth/core/generators/react-session/generated/template-renderers.js.map +1 -1
  172. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +24 -7
  173. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
  174. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js +4 -15
  175. package/dist/local-auth/core/generators/react-session/generated/typed-templates.js.map +1 -1
  176. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +12 -3
  177. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
  178. package/dist/local-auth/core/generators/react-session/react-session.generator.js +0 -1
  179. package/dist/local-auth/core/generators/react-session/react-session.generator.js.map +1 -1
  180. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -1
  181. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js +10 -2
  182. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -1
  183. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +11 -2
  184. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +0 -12
  185. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
  186. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts +0 -2
  187. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.d.ts.map +1 -1
  188. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js +0 -2
  189. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-paths.js.map +1 -1
  190. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -7
  191. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -1
  192. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +2 -14
  193. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -1
  194. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts +0 -1
  195. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
  196. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js +0 -1
  197. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/ts-import-providers.js.map +1 -1
  198. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +0 -15
  199. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
  200. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +2 -31
  201. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
  202. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts +0 -5
  203. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.d.ts.map +1 -1
  204. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js +1 -7
  205. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/placeholder-auth-hooks.generator.js.map +1 -1
  206. package/dist/web/assets/{__federation_expose_auth0CoreCommon-DxPG_Wc0.js → __federation_expose_auth0CoreCommon-Ga9LD3d6.js} +3 -3
  207. package/dist/web/assets/{__federation_expose_auth0CoreCommon-DxPG_Wc0.js.map → __federation_expose_auth0CoreCommon-Ga9LD3d6.js.map} +1 -1
  208. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js → __federation_expose_auth0CoreWeb-CZueDXPK.js} +5 -5
  209. package/dist/web/assets/{__federation_expose_auth0CoreWeb-B9jV1EyN.js.map → __federation_expose_auth0CoreWeb-CZueDXPK.js.map} +1 -1
  210. package/dist/web/assets/{__federation_expose_authCoreCommon-Cxa_7fkO.js → __federation_expose_authCoreCommon-BrTLsuJC.js} +3 -3
  211. package/dist/web/assets/{__federation_expose_authCoreCommon-Cxa_7fkO.js.map → __federation_expose_authCoreCommon-BrTLsuJC.js.map} +1 -1
  212. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js → __federation_expose_authCoreWeb-C8rgnA2v.js} +6 -6
  213. package/dist/web/assets/{__federation_expose_authCoreWeb-CTQI1rXb.js.map → __federation_expose_authCoreWeb-C8rgnA2v.js.map} +1 -1
  214. package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js → __federation_expose_local-authAdminCommon-C75-DAzO.js} +2 -2
  215. package/dist/web/assets/{__federation_expose_local-authAdminCommon-C0_ovnDb.js.map → __federation_expose_local-authAdminCommon-C75-DAzO.js.map} +1 -1
  216. package/dist/web/assets/{__federation_expose_local-authAdminWeb-GqHU6av7.js → __federation_expose_local-authAdminWeb-D2xGvwyL.js} +2 -2
  217. package/dist/web/assets/{__federation_expose_local-authAdminWeb-GqHU6av7.js.map → __federation_expose_local-authAdminWeb-D2xGvwyL.js.map} +1 -1
  218. package/dist/web/assets/{__federation_expose_local-authCoreCommon-PHXPCKoj.js → __federation_expose_local-authCoreCommon-BFUbyPYg.js} +3 -3
  219. package/dist/web/assets/{__federation_expose_local-authCoreCommon-PHXPCKoj.js.map → __federation_expose_local-authCoreCommon-BFUbyPYg.js.map} +1 -1
  220. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js → __federation_expose_local-authCoreWeb-ChyvdsRq.js} +5 -5
  221. package/dist/web/assets/{__federation_expose_local-authCoreWeb-Dz4oU0uP.js.map → __federation_expose_local-authCoreWeb-ChyvdsRq.js.map} +1 -1
  222. package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js → __federation_expose_placeholder-authCoreCommon-DrFV9FSW.js} +3 -3
  223. package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-CrB_sJO_.js.map → __federation_expose_placeholder-authCoreCommon-DrFV9FSW.js.map} +1 -1
  224. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js → __federation_expose_placeholder-authCoreWeb-CT8JKYLB.js} +5 -5
  225. package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-KJ8YuuIQ.js.map → __federation_expose_placeholder-authCoreWeb-CT8JKYLB.js.map} +1 -1
  226. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js → __federation_fn_import-C_QCk5FX.js} +2 -2
  227. package/dist/web/assets/{__federation_fn_import-CVjKjdRb.js.map → __federation_fn_import-C_QCk5FX.js.map} +1 -1
  228. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js → web-DtztAtUw.js} +5 -5
  229. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BTmJxb08.js.map → web-DtztAtUw.js.map} +1 -1
  230. package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-FK4Jv94w.js → project-builder-lib-CcNtL_U6.js} +293 -216
  231. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CcNtL_U6.js.map +1 -0
  232. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js → ui-components-DA_4I2Vy.js} +5 -5
  233. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-jZLf5m_y.js.map → ui-components-DA_4I2Vy.js.map} +1 -1
  234. package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-CAgM5SRt.js → utils-Bxy-1ETU.js} +34 -3
  235. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-Bxy-1ETU.js.map +1 -0
  236. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js → react-router-DooFj-IS.js} +2 -2
  237. package/dist/web/assets/__federation_shared_@tanstack/{react-router-DynsSbJG.js.map → react-router-DooFj-IS.js.map} +1 -1
  238. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js → get-auth-plugin-definition-D2XMaoy7.js} +2 -2
  239. package/dist/web/assets/{get-auth-plugin-definition-DqZ2Eg7c.js.map → get-auth-plugin-definition-D2XMaoy7.js.map} +1 -1
  240. package/dist/web/assets/{index-Dccn3WBN.js → index-DwJT6_Wn.js} +2 -2
  241. package/dist/web/assets/{index-Dccn3WBN.js.map → index-DwJT6_Wn.js.map} +1 -1
  242. package/dist/web/assets/{index.esm-DeCjXqFv.js → index.esm-ChwWPPiL.js} +2 -2
  243. package/dist/web/assets/{index.esm-DeCjXqFv.js.map → index.esm-ChwWPPiL.js.map} +1 -1
  244. package/dist/web/assets/{model-merger-kOQ_dmiE.js → model-merger-gGkFnyaY.js} +7 -2
  245. package/dist/web/assets/model-merger-gGkFnyaY.js.map +1 -0
  246. package/dist/web/assets/{plugin-definition-qkkt1X28.js → plugin-definition-QRBMcFiG.js} +2 -2
  247. package/dist/web/assets/{plugin-definition-qkkt1X28.js.map → plugin-definition-QRBMcFiG.js.map} +1 -1
  248. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js → plugin-definition-_slrOM0G.js} +2 -2
  249. package/dist/web/assets/{plugin-definition-CxKhFkmJ.js.map → plugin-definition-_slrOM0G.js.map} +1 -1
  250. package/dist/web/assets/{plugin-definition-JFxKP18O.js → plugin-definition-hAzbWO7b.js} +2 -2
  251. package/dist/web/assets/{plugin-definition-JFxKP18O.js.map → plugin-definition-hAzbWO7b.js.map} +1 -1
  252. package/dist/web/assets/{plugin-definition-DKygiFuR.js → plugin-definition-rpMj4pr8.js} +2 -2
  253. package/dist/web/assets/{plugin-definition-DKygiFuR.js.map → plugin-definition-rpMj4pr8.js.map} +1 -1
  254. package/dist/web/assets/{react-DA5A88WZ.js → react-DbX1FP85.js} +2 -2
  255. package/dist/web/assets/{react-DA5A88WZ.js.map → react-DbX1FP85.js.map} +1 -1
  256. package/dist/web/assets/remoteEntry.js +10 -10
  257. package/dist/web/assets/{styles-CfTjrsB-.js → styles-DqLt1Blm.js} +3 -3
  258. package/dist/web/assets/{styles-CfTjrsB-.js.map → styles-DqLt1Blm.js.map} +1 -1
  259. package/package.json +12 -12
  260. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.gql +0 -10
  261. package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +0 -30
  262. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/templates/routes/-components/role-manager-dialog.gql +0 -7
  263. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/templates/routes/-components/password-reset-dialog.gql +0 -7
  264. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -18
  265. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  266. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  267. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +0 -22
  268. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  269. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +0 -39
  270. package/dist/local-auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +0 -5
  271. package/dist/local-auth/core/generators/auth-routes/templates/routes/auth_/queries.gql +0 -17
  272. package/dist/local-auth/core/generators/react-session/templates/src/app/user-session-provider.gql +0 -7
  273. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts +0 -14
  274. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +0 -1
  275. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.gql +0 -10
  276. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +0 -23
  277. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +0 -1
  278. package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +0 -35
  279. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-FK4Jv94w.js.map +0 -1
  280. package/dist/web/assets/__federation_shared_@baseplate-dev/utils-CAgM5SRt.js.map +0 -1
  281. package/dist/web/assets/model-merger-kOQ_dmiE.js.map +0 -1
@@ -1,22 +1,16 @@
1
- import type { RenderTextTemplateFileActionInput, RenderTsTemplateGroupActionInput } from '@baseplate-dev/core-generators';
1
+ import type { RenderTsTemplateGroupActionInput } from '@baseplate-dev/core-generators';
2
2
  import type { BuilderAction } from '@baseplate-dev/sync';
3
3
  import { AUTH0_AUTH0_HOOKS_TEMPLATES } from './typed-templates.js';
4
4
  export interface Auth0Auth0HooksRenderers {
5
5
  hooksGroup: {
6
6
  render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH0_AUTH0_HOOKS_TEMPLATES.hooksGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
7
7
  };
8
- useCurrentUserGql: {
9
- render: (options: Omit<RenderTextTemplateFileActionInput<typeof AUTH0_AUTH0_HOOKS_TEMPLATES.useCurrentUserGql>, 'destination' | 'template'>) => BuilderAction;
10
- };
11
8
  }
12
9
  export declare const AUTH0_AUTH0_HOOKS_RENDERERS: {
13
10
  provider: import("@baseplate-dev/sync").ProviderType<Auth0Auth0HooksRenderers>;
14
11
  task: import("@baseplate-dev/sync").GeneratorTask<{
15
12
  auth0Auth0HooksRenderers: import("@baseplate-dev/sync").ProviderExport<Auth0Auth0HooksRenderers>;
16
13
  }, {
17
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
18
- '*': {};
19
- }>>;
20
14
  paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").Auth0Auth0HooksPaths>;
21
15
  reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
22
16
  formatError: {};
@@ -1 +1 @@
1
- {"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAazD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,2BAA2B,CAAC,UAAU,CAC9C,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,iBAAiB,EAAE;QACjB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,iCAAiC,CAC/B,OAAO,2BAA2B,CAAC,iBAAiB,CACrD,EACD,aAAa,GAAG,UAAU,CAC3B,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA6CD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CAGvC,CAAC"}
1
+ {"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAOzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,2BAA2B,CAAC,UAAU,CAC9C,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAmCD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;CAGvC,CAAC"}
@@ -1,18 +1,17 @@
1
- import { renderTextTemplateFileAction, typescriptFileProvider, } from '@baseplate-dev/core-generators';
2
- import { generatedGraphqlImportsProvider, reactErrorImportsProvider, } from '@baseplate-dev/react-generators';
1
+ import { typescriptFileProvider } from '@baseplate-dev/core-generators';
2
+ import { reactErrorImportsProvider } from '@baseplate-dev/react-generators';
3
3
  import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
4
4
  import { AUTH0_AUTH0_HOOKS_PATHS } from './template-paths.js';
5
5
  import { AUTH0_AUTH0_HOOKS_TEMPLATES } from './typed-templates.js';
6
6
  const auth0Auth0HooksRenderers = createProviderType('auth0-auth0-hooks-renderers');
7
7
  const auth0Auth0HooksRenderersTask = createGeneratorTask({
8
8
  dependencies: {
9
- generatedGraphqlImports: generatedGraphqlImportsProvider,
10
9
  paths: AUTH0_AUTH0_HOOKS_PATHS.provider,
11
10
  reactErrorImports: reactErrorImportsProvider,
12
11
  typescriptFile: typescriptFileProvider,
13
12
  },
14
13
  exports: { auth0Auth0HooksRenderers: auth0Auth0HooksRenderers.export() },
15
- run({ generatedGraphqlImports, paths, reactErrorImports, typescriptFile }) {
14
+ run({ paths, reactErrorImports, typescriptFile }) {
16
15
  return {
17
16
  providers: {
18
17
  auth0Auth0HooksRenderers: {
@@ -21,20 +20,12 @@ const auth0Auth0HooksRenderersTask = createGeneratorTask({
21
20
  group: AUTH0_AUTH0_HOOKS_TEMPLATES.hooksGroup,
22
21
  paths,
23
22
  importMapProviders: {
24
- generatedGraphqlImports,
25
23
  reactErrorImports,
26
24
  },
27
25
  generatorPaths: paths,
28
26
  ...options,
29
27
  }),
30
28
  },
31
- useCurrentUserGql: {
32
- render: (options) => renderTextTemplateFileAction({
33
- template: AUTH0_AUTH0_HOOKS_TEMPLATES.useCurrentUserGql,
34
- destination: paths.useCurrentUserGql,
35
- ...options,
36
- }),
37
- },
38
29
  },
39
30
  },
40
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,m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AAC"}
1
+ {"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAenE,MAAM,wBAAwB,GAAG,kBAAkB,CACjD,6BAA6B,CAC9B,CAAC;AAEF,MAAM,4BAA4B,GAAG,mBAAmB,CAAC;IACvD,YAAY,EAAE;QACZ,KAAK,EAAE,uBAAuB,CAAC,QAAQ;QACvC,iBAAiB,EAAE,yBAAyB;QAC5C,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE,EAAE,wBAAwB,EAAE,wBAAwB,CAAC,MAAM,EAAE,EAAE;IACxE,GAAG,CAAC,EAAE,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE;QAC9C,OAAO;YACL,SAAS,EAAE;gBACT,wBAAwB,EAAE;oBACxB,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,2BAA2B,CAAC,UAAU;4BAC7C,KAAK;4BACL,kBAAkB,EAAE;gCAClB,iBAAiB;6BAClB;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,4BAA4B;CACnC,CAAC"}
@@ -4,7 +4,6 @@ export declare const AUTH0_AUTH0_HOOKS_IMPORTS: {
4
4
  SessionData: {
5
5
  isTypeOnly: true;
6
6
  };
7
- useCurrentUser: {};
8
7
  useLogOut: {};
9
8
  useRequiredUserId: {};
10
9
  useSession: {};
@@ -1 +1 @@
1
- {"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;CAErC,CAAC"}
1
+ {"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;CAErC,CAAC"}
@@ -13,7 +13,6 @@ const auth0Auth0HooksImportsTask = createGeneratorTask({
13
13
  authHooksImports: createTsImportMap(authHooksImportsSchema, {
14
14
  AuthRole: paths.useSession,
15
15
  SessionData: paths.useSession,
16
- useCurrentUser: paths.useCurrentUser,
17
16
  useLogOut: paths.useLogOut,
18
17
  useRequiredUserId: paths.useRequiredUserId,
19
18
  useSession: paths.useSession,
@@ -1 +1 @@
1
- {"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;IACrD,YAAY,EAAE;QACZ,KAAK,EAAE,uBAAuB,CAAC,QAAQ;KACxC;IACD,OAAO,EAAE,EAAE,gBAAgB,EAAE,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE;IAC5E,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,gBAAgB,EAAE,iBAAiB,CAAC,sBAAsB,EAAE;oBAC1D,QAAQ,EAAE,KAAK,CAAC,UAAU;oBAC1B,WAAW,EAAE,KAAK,CAAC,UAAU;oBAC7B,cAAc,EAAE,KAAK,CAAC,cAAc;oBACpC,SAAS,EAAE,KAAK,CAAC,SAAS;oBAC1B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;oBAC1C,UAAU,EAAE,KAAK,CAAC,UAAU;iBAC7B,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,0BAA0B;CACjC,CAAC"}
1
+ {"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;IACrD,YAAY,EAAE;QACZ,KAAK,EAAE,uBAAuB,CAAC,QAAQ;KACxC;IACD,OAAO,EAAE,EAAE,gBAAgB,EAAE,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE;IAC5E,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,gBAAgB,EAAE,iBAAiB,CAAC,sBAAsB,EAAE;oBAC1D,QAAQ,EAAE,KAAK,CAAC,UAAU;oBAC1B,WAAW,EAAE,KAAK,CAAC,UAAU;oBAC7B,SAAS,EAAE,KAAK,CAAC,SAAS;oBAC1B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;oBAC1C,UAAU,EAAE,KAAK,CAAC,UAAU;iBAC7B,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,0BAA0B;CACjC,CAAC"}
@@ -1,13 +1,4 @@
1
1
  export declare const hooksGroup: {
2
- useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{
3
- TPL_USER: {};
4
- }, {
5
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
6
- '*': {};
7
- }>>;
8
- }, {
9
- useSession: {};
10
- }>;
11
2
  useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
12
3
  reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
13
4
  formatError: {};
@@ -24,15 +15,6 @@ export declare const hooksGroup: {
24
15
  };
25
16
  export declare const AUTH0_AUTH0_HOOKS_TEMPLATES: {
26
17
  hooksGroup: {
27
- useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{
28
- TPL_USER: {};
29
- }, {
30
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
31
- '*': {};
32
- }>>;
33
- }, {
34
- useSession: {};
35
- }>;
36
18
  useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
37
19
  reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
38
20
  formatError: {};
@@ -47,10 +29,5 @@ export declare const AUTH0_AUTH0_HOOKS_TEMPLATES: {
47
29
  TPL_AUTH_ROLES: {};
48
30
  }, {}, Record<never, Record<never, never>>>;
49
31
  };
50
- useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{
51
- TPL_USER_QUERY_NAME: {
52
- description: string;
53
- };
54
- }>;
55
32
  };
56
33
  //# sourceMappingURL=typed-templates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AA8EA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAKtB,CAAC;AAgBF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
1
+ {"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAsDA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;CAA+C,CAAC;AAEvE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CAAiB,CAAC"}
@@ -1,20 +1,6 @@
1
- import { createTextTemplateFile, createTsTemplateFile, } from '@baseplate-dev/core-generators';
2
- import { generatedGraphqlImportsProvider, reactErrorImportsProvider, } from '@baseplate-dev/react-generators';
1
+ import { createTsTemplateFile } from '@baseplate-dev/core-generators';
2
+ import { reactErrorImportsProvider } from '@baseplate-dev/react-generators';
3
3
  import path from 'node:path';
4
- const useCurrentUser = createTsTemplateFile({
5
- fileOptions: { kind: 'singleton' },
6
- group: 'hooks',
7
- importMapProviders: {
8
- generatedGraphqlImports: generatedGraphqlImportsProvider,
9
- },
10
- name: 'use-current-user',
11
- projectExports: { useCurrentUser: {} },
12
- referencedGeneratorTemplates: { useSession: {} },
13
- source: {
14
- path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.ts'),
15
- },
16
- variables: { TPL_USER: {} },
17
- });
18
4
  const useLogOut = createTsTemplateFile({
19
5
  fileOptions: { kind: 'singleton' },
20
6
  group: 'hooks',
@@ -53,21 +39,6 @@ const useSession = createTsTemplateFile({
53
39
  },
54
40
  variables: { TPL_AUTH_ROLES: {} },
55
41
  });
56
- export const hooksGroup = {
57
- useCurrentUser,
58
- useLogOut,
59
- useRequiredUserId,
60
- useSession,
61
- };
62
- const useCurrentUserGql = createTextTemplateFile({
63
- fileOptions: { kind: 'singleton' },
64
- name: 'use-current-user-gql',
65
- source: {
66
- path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.gql'),
67
- },
68
- variables: {
69
- TPL_USER_QUERY_NAME: { description: 'The name of the user query' },
70
- },
71
- });
72
- export const AUTH0_AUTH0_HOOKS_TEMPLATES = { hooksGroup, useCurrentUserGql };
42
+ export const hooksGroup = { useLogOut, useRequiredUserId, useSession };
43
+ export const AUTH0_AUTH0_HOOKS_TEMPLATES = { hooksGroup };
73
44
  //# sourceMappingURL=typed-templates.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,cAAc,GAAG,oBAAoB,CAAC;IAC1C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE;QAClB,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;IACtC,4BAA4B,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IAChD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EA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CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,cAAc;IACd,SAAS;IACT,iBAAiB;IACjB,UAAU;CACX,CAAC;AAEF,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;IAC/C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,6CAA6C,CAC9C;KACF;IACD,SAAS,EAAE;QACT,mBAAmB,EAAE,EAAE,WAAW,EAAE,4BAA4B,EAAE;KACnE;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,SAAS,GAAG,oBAAoB,CAAC;IACrC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE,iBAAiB,EAAE,yBAAyB,EAAE;IACpE,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACjC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,sBAAsB;IAC5B,cAAc,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE;IACzC,4BAA4B,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IAChD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,gDAAgD,CACjD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,oBAAoB,CAAC;IACtC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE;QACd,QAAQ,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;QAC9B,WAAW,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;QACjC,UAAU,EAAE,EAAE;KACf;IACD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAEvE,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,UAAU,EAAE,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev/sync").GeneratorBundleCreator<{
2
2
  order: number;
3
- userModelName: string;
4
3
  availableRoles: {
5
4
  name: string;
6
5
  comment: string;
@@ -15,8 +14,18 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
15
14
  renderers: import("@baseplate-dev/sync").GeneratorTask<{
16
15
  localAuthAdminAdminCrudManageRolesActionRenderers: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-renderers.js").LocalAuthAdminAdminCrudManageRolesActionRenderers>;
17
16
  }, {
18
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
19
- '*': {};
17
+ graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
18
+ graphql: {};
19
+ readFragment: {};
20
+ FragmentOf: {
21
+ isTypeOnly: true;
22
+ };
23
+ ResultOf: {
24
+ isTypeOnly: true;
25
+ };
26
+ VariablesOf: {
27
+ isTypeOnly: true;
28
+ };
20
29
  }>>;
21
30
  paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").LocalAuthAdminAdminCrudManageRolesActionPaths>;
22
31
  reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
@@ -447,7 +456,19 @@ export declare const adminCrudManageRolesActionGenerator: import("@baseplate-dev
447
456
  }>>;
448
457
  renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").LocalAuthAdminAdminCrudManageRolesActionRenderers>;
449
458
  paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").LocalAuthAdminAdminCrudManageRolesActionPaths>;
450
- adminCrudQueries: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/react-generators").AdminCrudQueriesProvider>;
459
+ graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
460
+ graphql: {};
461
+ readFragment: {};
462
+ FragmentOf: {
463
+ isTypeOnly: true;
464
+ };
465
+ ResultOf: {
466
+ isTypeOnly: true;
467
+ };
468
+ VariablesOf: {
469
+ isTypeOnly: true;
470
+ };
471
+ }>>;
451
472
  }, any>;
452
473
  }>;
453
474
  //# sourceMappingURL=admin-crud-manage-roles-action.generator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"admin-crud-manage-roles-action.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0H9C,CAAC"}
1
+ {"version":3,"file":"admin-crud-manage-roles-action.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AA2BA,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgI9C,CAAC"}
@@ -1,12 +1,11 @@
1
1
  import { tsImportBuilder, tsTemplateWithImports, } from '@baseplate-dev/core-generators';
2
- import { adminCrudActionContainerProvider, adminCrudQueriesProvider, reactComponentsImportsProvider, } from '@baseplate-dev/react-generators';
2
+ import { adminCrudActionContainerProvider, graphqlImportsProvider, reactComponentsImportsProvider, } from '@baseplate-dev/react-generators';
3
3
  import { createGenerator, createGeneratorTask } from '@baseplate-dev/sync';
4
4
  import { z } from 'zod';
5
5
  import { LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED as GENERATED_TEMPLATES } from './generated/index.js';
6
6
  const descriptorSchema = z.object({
7
7
  order: z.int().nonnegative(),
8
8
  position: z.enum(['inline', 'dropdown']).default('dropdown'),
9
- userModelName: z.string().min(1),
10
9
  availableRoles: z.array(z.object({
11
10
  name: z.string(),
12
11
  comment: z.string(),
@@ -17,7 +16,7 @@ export const adminCrudManageRolesActionGenerator = createGenerator({
17
16
  generatorFileUrl: import.meta.url,
18
17
  descriptorSchema,
19
18
  getInstanceName: () => 'manage-roles',
20
- buildTasks: ({ order, position, userModelName, availableRoles }) => ({
19
+ buildTasks: ({ order, position, availableRoles }) => ({
21
20
  paths: GENERATED_TEMPLATES.paths.task,
22
21
  renderers: GENERATED_TEMPLATES.renderers.task,
23
22
  main: createGeneratorTask({
@@ -26,9 +25,9 @@ export const adminCrudManageRolesActionGenerator = createGenerator({
26
25
  reactComponentsImports: reactComponentsImportsProvider,
27
26
  renderers: GENERATED_TEMPLATES.renderers.provider,
28
27
  paths: GENERATED_TEMPLATES.paths.provider,
29
- adminCrudQueries: adminCrudQueriesProvider,
28
+ graphqlImports: graphqlImportsProvider,
30
29
  },
31
- run({ adminCrudActionContainer, reactComponentsImports, renderers, adminCrudQueries, paths, }) {
30
+ run({ adminCrudActionContainer, reactComponentsImports, renderers, paths, graphqlImports, }) {
32
31
  // Create the action fragment based on position
33
32
  const actionFragment = position === 'inline'
34
33
  ? tsTemplateWithImports([
@@ -62,8 +61,10 @@ export const adminCrudManageRolesActionGenerator = createGenerator({
62
61
  // Hook content for managing the role dialog state
63
62
  const hookContent = tsTemplateWithImports([
64
63
  tsImportBuilder(['useState']).from('react'),
64
+ graphqlImports.FragmentOf.typeDeclaration(),
65
+ tsImportBuilder(['roleManagerDialogUserFragment']).from(paths.roleManagerDialog),
65
66
  ]) `
66
- const [roleDialogUser, setRoleDialogUser] = useState<${adminCrudQueries.getRowFragmentExpression()} | null>(
67
+ const [roleDialogUser, setRoleDialogUser] = useState<FragmentOf<typeof roleManagerDialogUserFragment> | null>(
67
68
  null,
68
69
  );
69
70
  `;
@@ -81,6 +82,13 @@ export const adminCrudManageRolesActionGenerator = createGenerator({
81
82
  />
82
83
  )}
83
84
  `;
85
+ const roleManagerDialogUserFragment = {
86
+ variableName: 'roleManagerDialogUserFragment',
87
+ fragmentName: 'RoleManagerDialog_user',
88
+ onType: 'User',
89
+ fields: [],
90
+ path: paths.roleManagerDialog,
91
+ };
84
92
  // Add the action to the container
85
93
  adminCrudActionContainer.addAction({
86
94
  name: 'Manage Roles',
@@ -92,10 +100,9 @@ export const adminCrudManageRolesActionGenerator = createGenerator({
92
100
  siblingContent,
93
101
  graphQLFields: [
94
102
  {
95
- name: 'roles',
96
- fields: [{ name: 'role' }],
103
+ type: 'spread',
104
+ fragment: roleManagerDialogUserFragment,
97
105
  },
98
- { name: 'name' },
99
106
  ],
100
107
  });
101
108
  return {
@@ -108,10 +115,6 @@ export const adminCrudManageRolesActionGenerator = createGenerator({
108
115
  description: role.comment,
109
116
  }))),
110
117
  },
111
- }), renderers.roleManagerDialogGql.render({
112
- variables: {
113
- TPL_USER_ROW_FRAGMENT: `${userModelName}Row`,
114
- },
115
118
  }));
116
119
  },
117
120
  };
@@ -1 +1 @@
1
- {"version":3,"file":"admin-crud-manage-roles-action.generator.js","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,gCAAgC,EAChC,wBAAwB,EACxB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,yDAAyD,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC5D,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,cAAc,EAAE,CAAC,CAAC,KAAK,CACrB,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,eAAe,CAAC;IACjE,IAAI,EAAE,iDAAiD;IACvD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,CAAC"}
1
+ {"version":3,"file":"admin-crud-manage-roles-action.generator.js","sourceRoot":"","sources":["../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EACf,qBAAqB,GACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,gCAAgC,EAChC,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,yDAAyD,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExH,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC5B,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAC5D,cAAc,EAAE,CAAC,CAAC,KAAK,CACrB,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,eAAe,CAAC;IACjE,IAAI,EAAE,iDAAiD;IACvD,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,eAAe,EAAE,GAAG,EAAE,CAAC,cAAc;IACrC,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;QACpD,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,IAAI;QACrC,SAAS,EAAE,mBAAmB,CAAC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AC,iBAAiB,CAAC;iBACrE,CAAC,CAAA;;;;;;;;;;SAUD,CAAC;gBAEF,MAAM,6BAA6B,GAAoB;oBACrD,YAAY,EAAE,+BAA+B;oBAC7C,YAAY,EAAE,wBAAwB;oBACtC,MAAM,EAAE,MAAM;oBACd,MAAM,EAAE,EAAE;oBACV,IAAI,EAAE,KAAK,CAAC,iBAAiB;iBAC9B,CAAC;gBAEF,kCAAkC;gBAClC,wBAAwB,CAAC,SAAS,CAAC;oBACjC,IAAI,EAAE,cAAc;oBACpB,IAAI,EAAE,cAAc;oBACpB,QAAQ;oBACR,KAAK;oBACL,MAAM,EAAE,cAAc;oBACtB,WAAW;oBACX,cAAc;oBACd,aAAa,EAAE;wBACb;4BACE,IAAI,EAAE,QAAQ;4BACd,QAAQ,EAAE,6BAA6B;yBACxC;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO;oBACL,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;wBACvB,MAAM,OAAO,CAAC,KAAK,CACjB,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC;4BACjC,SAAS,EAAE;gCACT,mBAAmB,EAAE,IAAI,CAAC,SAAS,CACjC,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;oCAC5B,KAAK,EAAE,IAAI,CAAC,IAAI;oCAChB,KAAK,EAAE,IAAI,CAAC,IAAI;oCAChB,WAAW,EAAE,IAAI,CAAC,OAAO;iCAC1B,CAAC,CAAC,CACJ;6BACF;yBACF,CAAC,CACH,CAAC;oBACJ,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
@@ -12,8 +12,18 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
12
12
  task: import("@baseplate-dev/sync").GeneratorTask<{
13
13
  localAuthAdminAdminCrudManageRolesActionRenderers: import("@baseplate-dev/sync").ProviderExport<import("./template-renderers.js").LocalAuthAdminAdminCrudManageRolesActionRenderers>;
14
14
  }, {
15
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
16
- '*': {};
15
+ graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
16
+ graphql: {};
17
+ readFragment: {};
18
+ FragmentOf: {
19
+ isTypeOnly: true;
20
+ };
21
+ ResultOf: {
22
+ isTypeOnly: true;
23
+ };
24
+ VariablesOf: {
25
+ isTypeOnly: true;
26
+ };
17
27
  }>>;
18
28
  paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthAdminAdminCrudManageRolesActionPaths>;
19
29
  reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
@@ -234,8 +244,18 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
234
244
  roleManagerDialog: import("@baseplate-dev/core-generators").TsTemplateFile<{
235
245
  TPL_AVAILABLE_ROLES: {};
236
246
  }, {
237
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
238
- '*': {};
247
+ graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
248
+ graphql: {};
249
+ readFragment: {};
250
+ FragmentOf: {
251
+ isTypeOnly: true;
252
+ };
253
+ ResultOf: {
254
+ isTypeOnly: true;
255
+ };
256
+ VariablesOf: {
257
+ isTypeOnly: true;
258
+ };
239
259
  }>>;
240
260
  reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
241
261
  AddOptionRequiredFields: {
@@ -449,9 +469,6 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_GENERATED:
449
469
  useSidebar: {};
450
470
  }>>;
451
471
  }, Record<never, Record<never, never>>>;
452
- roleManagerDialogGql: import("@baseplate-dev/core-generators").TextTemplateFile<{
453
- TPL_USER_ROW_FRAGMENT: {};
454
- }>;
455
472
  };
456
473
  };
457
474
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,yDAAyD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,yDAAyD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIrE,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export interface LocalAuthAdminAdminCrudManageRolesActionPaths {
2
2
  roleManagerDialog: string;
3
- roleManagerDialogGql: string;
4
3
  }
5
4
  export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_PATHS: {
6
5
  provider: import("@baseplate-dev/sync").ProviderType<LocalAuthAdminAdminCrudManageRolesActionPaths>;
@@ -1 +1 @@
1
- {"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,6CAA6C;IAC5D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AA2BD,eAAO,MAAM,qDAAqD;;;;;;;CAGjE,CAAC"}
1
+ {"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,6CAA6C;IAC5D,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AA0BD,eAAO,MAAM,qDAAqD;;;;;;;CAGjE,CAAC"}
@@ -12,7 +12,6 @@ const localAuthAdminAdminCrudManageRolesActionPathsTask = createGeneratorTask({
12
12
  providers: {
13
13
  localAuthAdminAdminCrudManageRolesActionPaths: {
14
14
  roleManagerDialog: `${routesRoot}/-components/role-manager-dialog.tsx`,
15
- roleManagerDialogGql: `${routesRoot}/-components/role-manager-dialog.gql`,
16
15
  },
17
16
  },
18
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAO9E,MAAM,6CAA6C,GACjD,kBAAkB,CAChB,uDAAuD,CACxD,CAAC;AAEJ,MAAM,iDAAiD,GAAG,mBAAmB,CAAC;IAC5E,YAAY,EAAE,EAAE,WAAW,EAAE,mBAAmB,EAAE;IAClD,OAAO,EAAE;QACP,6CAA6C,EAC3C,6CAA6C,CAAC,MAAM,EAAE;KACzD;IACD,GAAG,CAAC,EAAE,WAAW,EAAE;QACjB,MAAM,UAAU,GAAG,WAAW,CAAC,qBAAqB,EAAE,CAAC;QAEvD,OAAO;YACL,SAAS,EAAE;gBACT,6CAA6C,EAAE;oBAC7C,iBAAiB,EAAE,GAAG,UAAU,sCAAsC;oBACtE,oBAAoB,EAAE,GAAG,UAAU,sCAAsC;iBAC1E;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qDAAqD,GAAG;IACnE,QAAQ,EAAE,6CAA6C;IACvD,IAAI,EAAE,iDAAiD;CACxD,CAAC"}
1
+ {"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAM9E,MAAM,6CAA6C,GACjD,kBAAkB,CAChB,uDAAuD,CACxD,CAAC;AAEJ,MAAM,iDAAiD,GAAG,mBAAmB,CAAC;IAC5E,YAAY,EAAE,EAAE,WAAW,EAAE,mBAAmB,EAAE;IAClD,OAAO,EAAE;QACP,6CAA6C,EAC3C,6CAA6C,CAAC,MAAM,EAAE;KACzD;IACD,GAAG,CAAC,EAAE,WAAW,EAAE;QACjB,MAAM,UAAU,GAAG,WAAW,CAAC,qBAAqB,EAAE,CAAC;QAEvD,OAAO;YACL,SAAS,EAAE;gBACT,6CAA6C,EAAE;oBAC7C,iBAAiB,EAAE,GAAG,UAAU,sCAAsC;iBACvE;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qDAAqD,GAAG;IACnE,QAAQ,EAAE,6CAA6C;IACvD,IAAI,EAAE,iDAAiD;CACxD,CAAC"}
@@ -1,21 +1,28 @@
1
- import type { RenderTextTemplateFileActionInput, RenderTsTemplateFileActionInput } from '@baseplate-dev/core-generators';
1
+ import type { RenderTsTemplateFileActionInput } from '@baseplate-dev/core-generators';
2
2
  import type { BuilderAction } from '@baseplate-dev/sync';
3
3
  import { LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES } from './typed-templates.js';
4
4
  export interface LocalAuthAdminAdminCrudManageRolesActionRenderers {
5
5
  roleManagerDialog: {
6
6
  render: (options: Omit<RenderTsTemplateFileActionInput<typeof LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES.roleManagerDialog>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
7
7
  };
8
- roleManagerDialogGql: {
9
- render: (options: Omit<RenderTextTemplateFileActionInput<typeof LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES.roleManagerDialogGql>, 'destination' | 'template'>) => BuilderAction;
10
- };
11
8
  }
12
9
  export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_RENDERERS: {
13
10
  provider: import("@baseplate-dev/sync").ProviderType<LocalAuthAdminAdminCrudManageRolesActionRenderers>;
14
11
  task: import("@baseplate-dev/sync").GeneratorTask<{
15
12
  localAuthAdminAdminCrudManageRolesActionRenderers: import("@baseplate-dev/sync").ProviderExport<LocalAuthAdminAdminCrudManageRolesActionRenderers>;
16
13
  }, {
17
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
18
- '*': {};
14
+ graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
15
+ graphql: {};
16
+ readFragment: {};
17
+ FragmentOf: {
18
+ isTypeOnly: true;
19
+ };
20
+ ResultOf: {
21
+ isTypeOnly: true;
22
+ };
23
+ VariablesOf: {
24
+ isTypeOnly: true;
25
+ };
19
26
  }>>;
20
27
  paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthAdminAdminCrudManageRolesActionPaths>;
21
28
  reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,+BAA+B,EAChC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAazD,OAAO,EAAE,yDAAyD,EAAE,MAAM,sBAAsB,CAAC;AAEjG,MAAM,WAAW,iDAAiD;IAChE,iBAAiB,EAAE;QACjB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,yDAAyD,CAAC,iBAAiB,CACnF,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;IACF,oBAAoB,EAAE;QACpB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,iCAAiC,CAC/B,OAAO,yDAAyD,CAAC,oBAAoB,CACtF,EACD,aAAa,GAAG,UAAU,CAC3B,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAwDD,eAAO,MAAM,yDAAyD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGrE,CAAC"}
1
+ {"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAUzD,OAAO,EAAE,yDAAyD,EAAE,MAAM,sBAAsB,CAAC;AAEjG,MAAM,WAAW,iDAAiD;IAChE,iBAAiB,EAAE;QACjB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,yDAAyD,CAAC,iBAAiB,CACnF,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA0CD,eAAO,MAAM,yDAAyD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGrE,CAAC"}
@@ -1,12 +1,12 @@
1
- import { renderTextTemplateFileAction, typescriptFileProvider, } from '@baseplate-dev/core-generators';
2
- import { generatedGraphqlImportsProvider, reactComponentsImportsProvider, } from '@baseplate-dev/react-generators';
1
+ import { typescriptFileProvider } from '@baseplate-dev/core-generators';
2
+ import { graphqlImportsProvider, reactComponentsImportsProvider, } from '@baseplate-dev/react-generators';
3
3
  import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
4
4
  import { LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_PATHS } from './template-paths.js';
5
5
  import { LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES } from './typed-templates.js';
6
6
  const localAuthAdminAdminCrudManageRolesActionRenderers = createProviderType('local-auth-admin-admin-crud-manage-roles-action-renderers');
7
7
  const localAuthAdminAdminCrudManageRolesActionRenderersTask = createGeneratorTask({
8
8
  dependencies: {
9
- generatedGraphqlImports: generatedGraphqlImportsProvider,
9
+ graphqlImports: graphqlImportsProvider,
10
10
  paths: LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_PATHS.provider,
11
11
  reactComponentsImports: reactComponentsImportsProvider,
12
12
  typescriptFile: typescriptFileProvider,
@@ -14,7 +14,7 @@ const localAuthAdminAdminCrudManageRolesActionRenderersTask = createGeneratorTas
14
14
  exports: {
15
15
  localAuthAdminAdminCrudManageRolesActionRenderers: localAuthAdminAdminCrudManageRolesActionRenderers.export(),
16
16
  },
17
- run({ generatedGraphqlImports, paths, reactComponentsImports, typescriptFile, }) {
17
+ run({ graphqlImports, paths, reactComponentsImports, typescriptFile }) {
18
18
  return {
19
19
  providers: {
20
20
  localAuthAdminAdminCrudManageRolesActionRenderers: {
@@ -23,19 +23,12 @@ const localAuthAdminAdminCrudManageRolesActionRenderersTask = createGeneratorTas
23
23
  template: LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES.roleManagerDialog,
24
24
  destination: paths.roleManagerDialog,
25
25
  importMapProviders: {
26
- generatedGraphqlImports,
26
+ graphqlImports,
27
27
  reactComponentsImports,
28
28
  },
29
29
  ...options,
30
30
  }),
31
31
  },
32
- roleManagerDialogGql: {
33
- render: (options) => renderTextTemplateFileAction({
34
- template: LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES.roleManagerDialogGql,
35
- destination: paths.roleManagerDialogGql,
36
- ...options,
37
- }),
38
- },
39
32
  },
40
33
  },
41
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,qDAAqD,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,yDAAyD,EAAE,MAAM,sBAAsB,CAAC;AAyBjG,MAAM,iDAAiD,GACrD,kBAAkB,CAChB,2DAA2D,CAC5D,CAAC;AAEJ,MAAM,qDAAqD,GACzD,mBAAmB,CAAC;IAClB,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,qDAAqD,CAAC,QAAQ;QACrE,sBAAsB,EAAE,8BAA8B;QACtD,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,iDAAiD,EAC/C,iDAAiD,CAAC,MAAM,EAAE;KAC7D;IACD,GAAG,CAAC,EACF,uBAAuB,EACvB,KAAK,EACL,sBAAsB,EACtB,cAAc,GACf;QACC,OAAO;YACL,SAAS,EAAE;gBACT,iDAAiD,EAAE;oBACjD,iBAAiB,EAAE;wBACjB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EACN,yDAAyD,CAAC,iBAAiB;4BAC7E,WAAW,EAAE,KAAK,CAAC,iBAAiB;4BACpC,kBAAkB,EAAE;gCAClB,uBAAuB;gCACvB,sBAAsB;6BACvB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,oBAAoB,EAAE;wBACpB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,4BAA4B,CAAC;4BAC3B,QAAQ,EACN,yDAAyD,CAAC,oBAAoB;4BAChF,WAAW,EAAE,KAAK,CAAC,oBAAoB;4BACvC,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,yDAAyD,GAAG;IACvE,QAAQ,EAAE,iDAAiD;IAC3D,IAAI,EAAE,qDAAqD;CAC5D,CAAC"}
1
+ {"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,sBAAsB,EACtB,8BAA8B,GAC/B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,qDAAqD,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,yDAAyD,EAAE,MAAM,sBAAsB,CAAC;AAejG,MAAM,iDAAiD,GACrD,kBAAkB,CAChB,2DAA2D,CAC5D,CAAC;AAEJ,MAAM,qDAAqD,GACzD,mBAAmB,CAAC;IAClB,YAAY,EAAE;QACZ,cAAc,EAAE,sBAAsB;QACtC,KAAK,EAAE,qDAAqD,CAAC,QAAQ;QACrE,sBAAsB,EAAE,8BAA8B;QACtD,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,iDAAiD,EAC/C,iDAAiD,CAAC,MAAM,EAAE;KAC7D;IACD,GAAG,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,sBAAsB,EAAE,cAAc,EAAE;QACnE,OAAO;YACL,SAAS,EAAE;gBACT,iDAAiD,EAAE;oBACjD,iBAAiB,EAAE;wBACjB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,kBAAkB,CAAC;4BAChC,QAAQ,EACN,yDAAyD,CAAC,iBAAiB;4BAC7E,WAAW,EAAE,KAAK,CAAC,iBAAiB;4BACpC,kBAAkB,EAAE;gCAClB,cAAc;gCACd,sBAAsB;6BACvB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,yDAAyD,GAAG;IACvE,QAAQ,EAAE,iDAAiD;IAC3D,IAAI,EAAE,qDAAqD;CAC5D,CAAC"}
@@ -2,8 +2,18 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
2
2
  roleManagerDialog: import("@baseplate-dev/core-generators").TsTemplateFile<{
3
3
  TPL_AVAILABLE_ROLES: {};
4
4
  }, {
5
- generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
6
- '*': {};
5
+ graphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
6
+ graphql: {};
7
+ readFragment: {};
8
+ FragmentOf: {
9
+ isTypeOnly: true;
10
+ };
11
+ ResultOf: {
12
+ isTypeOnly: true;
13
+ };
14
+ VariablesOf: {
15
+ isTypeOnly: true;
16
+ };
7
17
  }>>;
8
18
  reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
9
19
  AddOptionRequiredFields: {
@@ -217,8 +227,5 @@ export declare const LOCAL_AUTH_ADMIN_ADMIN_CRUD_MANAGE_ROLES_ACTION_TEMPLATES:
217
227
  useSidebar: {};
218
228
  }>>;
219
229
  }, Record<never, Record<never, never>>>;
220
- roleManagerDialogGql: import("@baseplate-dev/core-generators").TextTemplateFile<{
221
- TPL_USER_ROW_FRAGMENT: {};
222
- }>;
223
230
  };
224
231
  //# sourceMappingURL=typed-templates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.ts"],"names":[],"mappings":"AAuCA,eAAO,MAAM,yDAAyD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGrE,CAAC"}
1
+ {"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,yDAAyD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAErE,CAAC"}