@baseplate-dev/plugin-auth 0.1.2 → 1.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 (242) hide show
  1. package/dist/auth/core/common.d.ts +1 -0
  2. package/dist/auth/core/common.d.ts.map +1 -1
  3. package/dist/auth/core/common.js.map +1 -1
  4. package/dist/auth/core/node.d.ts.map +1 -1
  5. package/dist/auth/core/node.js +6 -3
  6. package/dist/auth/core/node.js.map +1 -1
  7. package/dist/auth/core/schema/models.d.ts.map +1 -1
  8. package/dist/auth/core/schema/models.js +11 -0
  9. package/dist/auth/core/schema/models.js.map +1 -1
  10. package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts +13 -1
  11. package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts.map +1 -1
  12. package/dist/auth/generators/fastify/auth-module/auth-module.generator.js +20 -8
  13. package/dist/auth/generators/fastify/auth-module/auth-module.generator.js.map +1 -1
  14. package/dist/auth/generators/fastify/auth-module/generated/index.d.ts +88 -0
  15. package/dist/auth/generators/fastify/auth-module/generated/index.d.ts.map +1 -0
  16. package/dist/auth/generators/fastify/auth-module/generated/index.js +9 -0
  17. package/dist/auth/generators/fastify/auth-module/generated/index.js.map +1 -0
  18. package/dist/auth/generators/fastify/auth-module/generated/template-paths.d.ts +16 -0
  19. package/dist/auth/generators/fastify/auth-module/generated/template-paths.d.ts.map +1 -0
  20. package/dist/auth/generators/fastify/auth-module/generated/template-paths.js +26 -0
  21. package/dist/auth/generators/fastify/auth-module/generated/template-paths.js.map +1 -0
  22. package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.d.ts +10 -0
  23. package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.d.ts.map +1 -0
  24. package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.js +23 -0
  25. package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.js.map +1 -0
  26. package/dist/auth/generators/fastify/auth-module/generated/{ts-templates.d.ts → typed-templates.d.ts} +26 -41
  27. package/dist/auth/generators/fastify/auth-module/generated/typed-templates.d.ts.map +1 -0
  28. package/dist/auth/generators/fastify/auth-module/generated/typed-templates.js +68 -0
  29. package/dist/auth/generators/fastify/auth-module/generated/typed-templates.js.map +1 -0
  30. package/dist/auth/generators/fastify/auth-module/index.d.ts +2 -0
  31. package/dist/auth/generators/fastify/auth-module/index.d.ts.map +1 -0
  32. package/dist/auth/generators/fastify/auth-module/index.js +2 -0
  33. package/dist/auth/generators/fastify/auth-module/index.js.map +1 -0
  34. package/dist/auth/generators/fastify/auth-module/templates/{utils → module/utils}/cookie-signer.ts +6 -0
  35. package/dist/auth/generators/fastify/index.d.ts +1 -1
  36. package/dist/auth/generators/fastify/index.d.ts.map +1 -1
  37. package/dist/auth/generators/fastify/index.js +1 -1
  38. package/dist/auth/generators/fastify/index.js.map +1 -1
  39. package/dist/auth0/core/schema/models.d.ts.map +1 -1
  40. package/dist/auth0/core/schema/models.js +6 -0
  41. package/dist/auth0/core/schema/models.js.map +1 -1
  42. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +14 -6
  43. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
  44. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +11 -16
  45. package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -1
  46. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +62 -0
  47. package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -0
  48. package/dist/auth0/generators/fastify/auth0-module/generated/index.js +9 -0
  49. package/dist/auth0/generators/fastify/auth0-module/generated/index.js.map +1 -0
  50. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +13 -0
  51. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +1 -0
  52. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +23 -0
  53. package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +1 -0
  54. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts +10 -0
  55. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts.map +1 -0
  56. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js +23 -0
  57. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js.map +1 -0
  58. package/dist/auth0/generators/fastify/auth0-module/generated/{ts-templates.d.ts → typed-templates.d.ts} +2 -2
  59. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -0
  60. package/dist/auth0/generators/fastify/auth0-module/generated/{ts-templates.js → typed-templates.js} +11 -8
  61. package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +1 -0
  62. package/dist/auth0/generators/fastify/auth0-module/index.d.ts +2 -0
  63. package/dist/auth0/generators/fastify/auth0-module/index.d.ts.map +1 -0
  64. package/dist/auth0/generators/fastify/auth0-module/index.js +2 -0
  65. package/dist/auth0/generators/fastify/auth0-module/index.js.map +1 -0
  66. package/dist/auth0/generators/fastify/index.d.ts +1 -1
  67. package/dist/auth0/generators/fastify/index.d.ts.map +1 -1
  68. package/dist/auth0/generators/fastify/index.js +1 -1
  69. package/dist/auth0/generators/fastify/index.js.map +1 -1
  70. package/dist/auth0/generators/react/auth0-apollo/index.d.ts +2 -0
  71. package/dist/auth0/generators/react/auth0-apollo/index.d.ts.map +1 -0
  72. package/dist/auth0/generators/react/auth0-apollo/index.js +2 -0
  73. package/dist/auth0/generators/react/auth0-apollo/index.js.map +1 -0
  74. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts +101 -8
  75. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts.map +1 -1
  76. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js +10 -11
  77. package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js.map +1 -1
  78. package/dist/auth0/generators/react/auth0-callback/generated/index.d.ts +290 -0
  79. package/dist/auth0/generators/react/auth0-callback/generated/index.d.ts.map +1 -0
  80. package/dist/auth0/generators/react/auth0-callback/generated/index.js +7 -0
  81. package/dist/auth0/generators/react/auth0-callback/generated/index.js.map +1 -0
  82. package/dist/auth0/generators/react/auth0-callback/generated/template-paths.d.ts +13 -0
  83. package/dist/auth0/generators/react/auth0-callback/generated/template-paths.d.ts.map +1 -0
  84. package/dist/auth0/generators/react/auth0-callback/generated/template-paths.js +23 -0
  85. package/dist/auth0/generators/react/auth0-callback/generated/template-paths.js.map +1 -0
  86. package/dist/auth0/generators/react/auth0-callback/generated/typed-templates.d.ts +280 -0
  87. package/dist/auth0/generators/react/auth0-callback/generated/typed-templates.d.ts.map +1 -0
  88. package/dist/auth0/generators/react/auth0-callback/generated/{ts-templates.js → typed-templates.js} +11 -9
  89. package/dist/auth0/generators/react/auth0-callback/generated/typed-templates.js.map +1 -0
  90. package/dist/auth0/generators/react/auth0-callback/index.d.ts +2 -0
  91. package/dist/auth0/generators/react/auth0-callback/index.d.ts.map +1 -0
  92. package/dist/auth0/generators/react/auth0-callback/index.js +2 -0
  93. package/dist/auth0/generators/react/auth0-callback/index.js.map +1 -0
  94. package/dist/auth0/generators/react/auth0-callback/templates/{auth0-callback.page.tsx → routes/auth0-callback.page.tsx} +3 -3
  95. package/dist/auth0/generators/react/auth0-callback/templates/{signup.page.tsx → routes/signup.page.tsx} +3 -3
  96. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts +106 -12
  97. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts.map +1 -1
  98. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js +12 -16
  99. package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js.map +1 -1
  100. package/dist/auth0/generators/react/auth0-components/generated/index.d.ts +151 -0
  101. package/dist/auth0/generators/react/auth0-components/generated/index.d.ts.map +1 -0
  102. package/dist/auth0/generators/react/auth0-components/generated/index.js +9 -0
  103. package/dist/auth0/generators/react/auth0-components/generated/index.js.map +1 -0
  104. package/dist/auth0/generators/react/auth0-components/generated/template-paths.d.ts +12 -0
  105. package/dist/auth0/generators/react/auth0-components/generated/template-paths.d.ts.map +1 -0
  106. package/dist/auth0/generators/react/auth0-components/generated/template-paths.js +22 -0
  107. package/dist/auth0/generators/react/auth0-components/generated/template-paths.js.map +1 -0
  108. package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.d.ts +10 -0
  109. package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.d.ts.map +1 -0
  110. package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.js +25 -0
  111. package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.js.map +1 -0
  112. package/dist/auth0/generators/react/auth0-components/generated/typed-templates.d.ts +132 -0
  113. package/dist/auth0/generators/react/auth0-components/generated/typed-templates.d.ts.map +1 -0
  114. package/dist/auth0/generators/react/auth0-components/generated/typed-templates.js +17 -0
  115. package/dist/auth0/generators/react/auth0-components/generated/typed-templates.js.map +1 -0
  116. package/dist/auth0/generators/react/auth0-components/index.d.ts +2 -0
  117. package/dist/auth0/generators/react/auth0-components/index.d.ts.map +1 -0
  118. package/dist/auth0/generators/react/auth0-components/index.js +2 -0
  119. package/dist/auth0/generators/react/auth0-components/index.js.map +1 -0
  120. package/dist/auth0/generators/react/auth0-components/templates/{RequireAuth.tsx → src/components/require-auth/require-auth.tsx} +4 -4
  121. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +10 -2
  122. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
  123. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +13 -24
  124. package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
  125. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +51 -0
  126. package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -0
  127. package/dist/auth0/generators/react/auth0-hooks/generated/index.js +9 -0
  128. package/dist/auth0/generators/react/auth0-hooks/generated/index.js.map +1 -0
  129. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +16 -0
  130. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +1 -0
  131. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +26 -0
  132. package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +1 -0
  133. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +16 -0
  134. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -0
  135. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +27 -0
  136. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -0
  137. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +44 -0
  138. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -0
  139. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +67 -0
  140. package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -0
  141. package/dist/auth0/generators/react/auth0-hooks/index.d.ts +2 -0
  142. package/dist/auth0/generators/react/auth0-hooks/index.d.ts.map +1 -0
  143. package/dist/auth0/generators/react/auth0-hooks/index.js +2 -0
  144. package/dist/auth0/generators/react/auth0-hooks/index.js.map +1 -0
  145. package/dist/auth0/generators/react/index.d.ts +5 -5
  146. package/dist/auth0/generators/react/index.d.ts.map +1 -1
  147. package/dist/auth0/generators/react/index.js +5 -5
  148. package/dist/auth0/generators/react/index.js.map +1 -1
  149. package/dist/auth0/generators/react/react-auth0/index.d.ts +2 -0
  150. package/dist/auth0/generators/react/react-auth0/index.d.ts.map +1 -0
  151. package/dist/auth0/generators/react/react-auth0/index.js +2 -0
  152. package/dist/auth0/generators/react/react-auth0/index.js.map +1 -0
  153. package/dist/web/assets/{__federation_expose_auth0CoreCommon--n6esVYP.js → __federation_expose_auth0CoreCommon-hOTVdirQ.js} +3 -3
  154. package/dist/web/assets/{__federation_expose_auth0CoreCommon--n6esVYP.js.map → __federation_expose_auth0CoreCommon-hOTVdirQ.js.map} +1 -1
  155. package/dist/web/assets/{__federation_expose_auth0CoreWeb-Ql6gpX5q.js → __federation_expose_auth0CoreWeb-xV61eveJ.js} +13 -9
  156. package/dist/web/assets/__federation_expose_auth0CoreWeb-xV61eveJ.js.map +1 -0
  157. package/dist/web/assets/__federation_expose_authCoreCommon-CndjGc3R.js +36 -0
  158. package/dist/web/assets/__federation_expose_authCoreCommon-CndjGc3R.js.map +1 -0
  159. package/dist/web/assets/__federation_expose_authCoreWeb-CJ4-gYAU.js +442 -0
  160. package/dist/web/assets/__federation_expose_authCoreWeb-CJ4-gYAU.js.map +1 -0
  161. package/dist/web/assets/{__federation_fn_import-BiwmVFwy.js → __federation_fn_import-Drn1CtCD.js} +2 -2
  162. package/dist/web/assets/{__federation_fn_import-BiwmVFwy.js.map → __federation_fn_import-Drn1CtCD.js.map} +1 -1
  163. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-CY8oz43s.js → web-CcNXBRTZ.js} +18 -7
  164. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-CcNXBRTZ.js.map +1 -0
  165. package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-B62IPizQ.js → project-builder-lib-Tb9xtEo4.js} +162 -829
  166. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-Tb9xtEo4.js.map +1 -0
  167. package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-BU2QTWNs.js → ui-components-0t9VhwId.js} +17757 -9806
  168. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-0t9VhwId.js.map +1 -0
  169. package/dist/web/assets/{index-CgJx-krK.js → index-CZqpaSlN.js} +10 -4
  170. package/dist/web/assets/{index-CgJx-krK.js.map → index-CZqpaSlN.js.map} +1 -1
  171. package/dist/web/assets/{index.esm-BcxPd7Ha.js → index.esm-SbEmZvZj.js} +3 -3
  172. package/dist/web/assets/{index.esm-BcxPd7Ha.js.map → index.esm-SbEmZvZj.js.map} +1 -1
  173. package/dist/web/assets/{model-utils-CbQJy1wE.js → model-merger-BLh0ERqk.js} +807 -19
  174. package/dist/web/assets/model-merger-BLh0ERqk.js.map +1 -0
  175. package/dist/web/assets/plugin-definition-CNgM5Juv.js +34 -0
  176. package/dist/web/assets/plugin-definition-CNgM5Juv.js.map +1 -0
  177. package/dist/web/assets/plugin-definition-CQ2no5O3.js +22 -0
  178. package/dist/web/assets/plugin-definition-CQ2no5O3.js.map +1 -0
  179. package/dist/web/assets/{react-2jQE8aG0.js → react-BiQIVSjI.js} +2 -2
  180. package/dist/web/assets/{react-2jQE8aG0.js.map → react-BiQIVSjI.js.map} +1 -1
  181. package/dist/web/assets/remoteEntry.js +8 -2
  182. package/dist/web/assets/remoteEntry.js.map +1 -1
  183. package/dist/web/assets/{plugin-definition-BQRupXoQ.js → schema-CaLuKwEg.js} +16 -27
  184. package/dist/web/assets/schema-CaLuKwEg.js.map +1 -0
  185. package/dist/web/assets/styles-BPCQNyj6.js +8 -0
  186. package/dist/web/assets/styles-BPCQNyj6.js.map +1 -0
  187. package/manifest.json +1 -1
  188. package/package.json +23 -13
  189. package/dist/auth/generators/fastify/auth-module/generated/ts-templates.d.ts.map +0 -1
  190. package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js +0 -94
  191. package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js.map +0 -1
  192. package/dist/auth/generators/fastify/auth-module/templates/management.ts +0 -22
  193. package/dist/auth/generators/fastify/auth-module/templates/schema/user-session-payload.object-type.ts +0 -23
  194. package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.mutations.ts +0 -22
  195. package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.queries.ts +0 -20
  196. package/dist/auth/generators/fastify/auth-module/templates/user-session.service.ts +0 -101
  197. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts +0 -3
  198. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts.map +0 -1
  199. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js +0 -12
  200. package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js.map +0 -1
  201. package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.d.ts.map +0 -1
  202. package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.js.map +0 -1
  203. package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts +0 -106
  204. package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts.map +0 -1
  205. package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.js.map +0 -1
  206. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts +0 -3
  207. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts.map +0 -1
  208. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js +0 -12
  209. package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js.map +0 -1
  210. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts +0 -45
  211. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts.map +0 -1
  212. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js +0 -13
  213. package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js.map +0 -1
  214. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts +0 -8
  215. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts.map +0 -1
  216. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js +0 -12
  217. package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js.map +0 -1
  218. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts +0 -3
  219. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts.map +0 -1
  220. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js +0 -16
  221. package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js.map +0 -1
  222. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts +0 -33
  223. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts.map +0 -1
  224. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js +0 -50
  225. package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js.map +0 -1
  226. package/dist/web/assets/__federation_expose_auth0CoreWeb-Ql6gpX5q.js.map +0 -1
  227. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-CY8oz43s.js.map +0 -1
  228. package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B62IPizQ.js.map +0 -1
  229. package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BU2QTWNs.js.map +0 -1
  230. package/dist/web/assets/model-utils-CbQJy1wE.js.map +0 -1
  231. package/dist/web/assets/plugin-definition-BQRupXoQ.js.map +0 -1
  232. /package/dist/auth/generators/fastify/auth-module/templates/{user-session.constants.ts → module/constants/user-session.constants.ts} +0 -0
  233. /package/dist/auth/generators/fastify/auth-module/templates/{services → module/services}/user-session.service.ts +0 -0
  234. /package/dist/auth/generators/fastify/auth-module/templates/{utils → module/utils}/session-cookie.ts +0 -0
  235. /package/dist/auth/generators/fastify/auth-module/templates/{utils → module/utils}/verify-request-origin.ts +0 -0
  236. /package/dist/auth0/generators/fastify/auth0-module/templates/{management.ts → module/services/management.ts} +0 -0
  237. /package/dist/auth0/generators/fastify/auth0-module/templates/{user-session.service.ts → module/services/user-session.service.ts} +0 -0
  238. /package/dist/auth0/generators/react/auth0-hooks/templates/{useCurrentUser.gql → src/hooks/useCurrentUser.gql} +0 -0
  239. /package/dist/auth0/generators/react/auth0-hooks/templates/{useCurrentUser.ts → src/hooks/useCurrentUser.ts} +0 -0
  240. /package/dist/auth0/generators/react/auth0-hooks/templates/{useLogOut.ts → src/hooks/useLogOut.ts} +0 -0
  241. /package/dist/auth0/generators/react/auth0-hooks/templates/{useRequiredUserId.ts → src/hooks/useRequiredUserId.ts} +0 -0
  242. /package/dist/auth0/generators/react/auth0-hooks/templates/{useSession.ts → src/hooks/useSession.ts} +0 -0
@@ -2,6 +2,12 @@
2
2
 
3
3
  import * as crypto from 'node:crypto';
4
4
 
5
+ /**
6
+ * Cookie signing utilities
7
+ * Based on node-cookie-signature by TJ Holowaychuk
8
+ * Source: https://github.com/tj/node-cookie-signature
9
+ */
10
+
5
11
  /**
6
12
  * Sign the given `val` with `secret` using HMAC-SHA256.
7
13
  *
@@ -1,2 +1,2 @@
1
- export * from './auth-module/auth-module.generator.js';
1
+ export * from './auth-module/index.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './auth-module/auth-module.generator.js';
1
+ export * from './auth-module/index.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/auth/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/auth/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/auth0/core/schema/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,wBAAgB,iBAAiB,CAAC,EAChC,cAAc,EACd,SAAS,GACV,EAAE,IAAI,CAAC,qBAAqB,EAAE,gBAAgB,GAAG,WAAW,CAAC,GAAG;IAC/D,IAAI,EAAE,qBAAqB,CAAC;CAC7B,CA+BA"}
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/auth0/core/schema/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEpE,wBAAgB,iBAAiB,CAAC,EAChC,cAAc,EACd,SAAS,GACV,EAAE,IAAI,CAAC,qBAAqB,EAAE,gBAAgB,GAAG,WAAW,CAAC,GAAG;IAC/D,IAAI,EAAE,qBAAqB,CAAC;CAC7B,CAqCA"}
@@ -27,6 +27,12 @@ export function createAuth0Models({ authFeatureRef, modelRefs, }) {
27
27
  },
28
28
  ],
29
29
  },
30
+ graphql: {
31
+ objectType: {
32
+ enabled: true,
33
+ fields: ['id', 'email'],
34
+ },
35
+ },
30
36
  },
31
37
  };
32
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/auth0/core/schema/models.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,iBAAiB,CAAC,EAChC,cAAc,EACd,SAAS,GACmD;IAG5D,OAAO;QACL,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE;gBACL,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,IAAI;wBACV,IAAI,EAAE,MAAM;wBACZ,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;qBAC3B;oBACD;wBACE,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,QAAQ;qBACf;oBACD;wBACE,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE,IAAI;qBACjB;iBACF;gBACD,mBAAmB,EAAE,CAAC,IAAI,CAAC;gBAC3B,iBAAiB,EAAE;oBACjB;wBACE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;qBAClC;iBACF;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/auth0/core/schema/models.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,iBAAiB,CAAC,EAChC,cAAc,EACd,SAAS,GACmD;IAG5D,OAAO;QACL,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE;gBACL,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,IAAI;wBACV,IAAI,EAAE,MAAM;wBACZ,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;qBAC3B;oBACD;wBACE,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,QAAQ;qBACf;oBACD;wBACE,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE,IAAI;qBACjB;iBACF;gBACD,mBAAmB,EAAE,CAAC,IAAI,CAAC;gBAC3B,iBAAiB,EAAE;oBACjB;wBACE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;qBAClC;iBACF;aACF;YACD,OAAO,EAAE;gBACP,UAAU,EAAE;oBACV,OAAO,EAAE,IAAI;oBACb,MAAM,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC;iBACxB;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
@@ -2,18 +2,27 @@ export declare const auth0ModuleGenerator: import("@baseplate-dev/sync").Generat
2
2
  userModelName: string;
3
3
  includeManagement?: boolean | undefined;
4
4
  }, {
5
+ paths: import("@baseplate-dev/sync").GeneratorTask<{
6
+ auth0Auth0ModulePaths: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-paths.js").Auth0Auth0ModulePaths>;
7
+ }, {
8
+ appModule: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").AppModuleProvider>;
9
+ }, undefined>;
10
+ imports: import("@baseplate-dev/sync").GeneratorTask<{
11
+ userSessionServiceImports: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
12
+ userSessionService: {};
13
+ }>>;
14
+ }, {
15
+ paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0ModulePaths>;
16
+ }, undefined>;
5
17
  nodeManagementPackage: import("@baseplate-dev/sync").AnyGeneratorTask | undefined;
6
18
  config: import("@baseplate-dev/sync").GeneratorTask<undefined, {
7
19
  provider: import("@baseplate-dev/sync").ProviderType<Omit<import("@baseplate-dev/utils").FieldMap<{
8
20
  configFields: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/fastify-generators").ConfigServiceField>;
9
21
  }>, "getValues">>;
10
22
  }, undefined>;
11
- main: import("@baseplate-dev/sync").GeneratorTask<{
12
- userSessionServiceImports: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
13
- userSessionService: {};
14
- }>>;
15
- }, {
23
+ main: import("@baseplate-dev/sync").GeneratorTask<any, {
16
24
  typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
25
+ paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0ModulePaths>;
17
26
  authRolesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
18
27
  AuthRole: {
19
28
  isTypeOnly: true;
@@ -24,7 +33,6 @@ export declare const auth0ModuleGenerator: import("@baseplate-dev/sync").Generat
24
33
  isTypeOnly: true;
25
34
  };
26
35
  }>>;
27
- appModule: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").AppModuleProvider>;
28
36
  configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
29
37
  config: {};
30
38
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"auth0-module.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,oBAAoB;;;;;;;iCAPM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAZ9C,sBACb;yCAMC,sBACH;4BAGgD,sBAAsB;uCAIhD,sBACd;;;;;;EAgJN,CAAC"}
1
+ {"version":3,"file":"auth0-module.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;iCAFjC,sBAEiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAff,sBACE;yCAK+C,sBAE9C;4BAGY,sBACf;uCAKU,sBAAsB;;;;;;EAqIhC,CAAC"}
@@ -1,10 +1,9 @@
1
- import { createNodePackagesTask, extractPackageVersions, projectScope, tsCodeFragment, tsImportBuilder, typescriptFileProvider, } from '@baseplate-dev/core-generators';
2
- import { appModuleProvider, authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, configServiceProvider, fastifyServerConfigProvider, prismaOutputProvider, userSessionServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
1
+ import { createNodePackagesTask, extractPackageVersions, tsCodeFragment, tsImportBuilder, typescriptFileProvider, } from '@baseplate-dev/core-generators';
2
+ import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, configServiceProvider, fastifyServerConfigProvider, prismaOutputProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
3
3
  import { createGenerator, createGeneratorTask, createProviderTask, } from '@baseplate-dev/sync';
4
4
  import { z } from 'zod';
5
5
  import { AUTH0_PACKAGES } from '#src/auth0/constants/packages.js';
6
- import { createAuth0ModuleImports } from './generated/ts-import-maps.js';
7
- import { AUTH_0_AUTH_0_MODULE_TS_TEMPLATES } from './generated/ts-templates.js';
6
+ import { AUTH0_AUTH0_MODULE_GENERATED } from './generated/index.js';
8
7
  const descriptorSchema = z.object({
9
8
  userModelName: z.string().min(1),
10
9
  includeManagement: z.boolean().optional(),
@@ -14,6 +13,8 @@ export const auth0ModuleGenerator = createGenerator({
14
13
  generatorFileUrl: import.meta.url,
15
14
  descriptorSchema,
16
15
  buildTasks: ({ includeManagement, userModelName }) => ({
16
+ paths: AUTH0_AUTH0_MODULE_GENERATED.paths.task,
17
+ imports: AUTH0_AUTH0_MODULE_GENERATED.imports.task,
17
18
  nodeManagementPackage: includeManagement
18
19
  ? createNodePackagesTask({
19
20
  prod: extractPackageVersions(AUTH0_PACKAGES, ['auth0']),
@@ -56,28 +57,22 @@ export const auth0ModuleGenerator = createGenerator({
56
57
  main: createGeneratorTask({
57
58
  dependencies: {
58
59
  typescriptFile: typescriptFileProvider,
60
+ paths: AUTH0_AUTH0_MODULE_GENERATED.paths.provider,
59
61
  authRolesImports: authRolesImportsProvider,
60
- appModule: appModuleProvider,
61
62
  configServiceImports: configServiceImportsProvider,
62
63
  prismaOutput: prismaOutputProvider,
63
64
  userSessionTypesImports: userSessionTypesImportsProvider,
64
65
  authContextImports: authContextImportsProvider,
65
66
  },
66
- exports: {
67
- userSessionServiceImports: userSessionServiceImportsProvider.export(projectScope),
68
- },
69
- run({ typescriptFile, authRolesImports, prismaOutput, configServiceImports, appModule, userSessionTypesImports, authContextImports, }) {
70
- const userSessionServicePath = `${appModule.getModuleFolder()}/services/user-session.service.ts`;
71
- const managementPath = `${appModule.getModuleFolder()}/services/management.ts`;
67
+ run({ typescriptFile, paths, authRolesImports, prismaOutput, configServiceImports, userSessionTypesImports, authContextImports, }) {
72
68
  return {
73
69
  providers: {
74
70
  auth0Module: {},
75
- userSessionServiceImports: createAuth0ModuleImports(`${appModule.getModuleFolder()}/services`),
76
71
  },
77
72
  build: async (builder) => {
78
73
  await builder.apply(typescriptFile.renderTemplateFile({
79
- template: AUTH_0_AUTH_0_MODULE_TS_TEMPLATES.userSessionService,
80
- destination: userSessionServicePath,
74
+ template: AUTH0_AUTH0_MODULE_GENERATED.templates.userSessionService,
75
+ destination: paths.userSessionService,
81
76
  variables: {
82
77
  TPL_USER_MODEL: prismaOutput.getPrismaModelFragment(userModelName),
83
78
  },
@@ -89,8 +84,8 @@ export const auth0ModuleGenerator = createGenerator({
89
84
  }));
90
85
  if (includeManagement) {
91
86
  await builder.apply(typescriptFile.renderTemplateFile({
92
- template: AUTH_0_AUTH_0_MODULE_TS_TEMPLATES.management,
93
- destination: managementPath,
87
+ template: AUTH0_AUTH0_MODULE_GENERATED.templates.management,
88
+ destination: paths.management,
94
89
  importMapProviders: {
95
90
  configServiceImports,
96
91
  },
@@ -1 +1 @@
1
- {"version":3,"file":"auth0-module.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MA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oB,CAAC,MAAM,CAAC,WAAW,EAAE,CAC1C;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
1
+ {"version":3,"file":"auth0-module.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAClD,IAAI,EAAE,oBAAoB;IAC1B,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,UAAU,EAAE,CAAC,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAAC;QACrD,KAAK,EAAE,4BAA4B,CAAC,KAAK,CAAC,IAAI;QAC9C,OAAO,EAAE,4BAA4B,CAAC,OAAO,CAAC,IAAI;QAClD,qBA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,CAAC;SACF,CAAC;QACF,YAAY,EAAE,sBAAsB,CAAC;YACnC,IAAI,EAAE,sBAAsB,CAAC,cAAc,EAAE,CAAC,sBAAsB,CAAC,CAAC;SACvE,CAAC;QACF,kBAAkB,EAAE,mBAAmB,CAAC;YACtC,YAAY,EAAE;gBACZ,mBAAmB,EAAE,2BAA2B;gBAChD,oBAAoB,EAAE,4BAA4B;aACnD;YACD,GAAG,CAAC,EAAE,mBAAmB,EAAE,oBAAoB,EAAE;gBAC/C,mBAAmB,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE;oBACpD,MAAM,EAAE,cAAc,CACpB,oBAAoB,EACpB,eAAe,EAAE;yBACd,OAAO,CAAC,oBAAoB,CAAC;yBAC7B,IAAI,CAAC,sBAAsB,CAAC,CAChC;oBACD,OAAO,EAAE,cAAc,CACrB;;;IAGR,EACQ,oBAAoB,CAAC,MAAM,CAAC,WAAW,EAAE,CAC1C;iBACF,CAAC,CAAC;YACL,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ export declare const AUTH0_AUTH0_MODULE_GENERATED: {
2
+ imports: {
3
+ task: import("@baseplate-dev/sync").GeneratorTask<{
4
+ userSessionServiceImports: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
5
+ userSessionService: {};
6
+ }>>;
7
+ }, {
8
+ paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").Auth0Auth0ModulePaths>;
9
+ }, undefined>;
10
+ };
11
+ paths: {
12
+ provider: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").Auth0Auth0ModulePaths>;
13
+ task: import("@baseplate-dev/sync").GeneratorTask<{
14
+ auth0Auth0ModulePaths: import("@baseplate-dev/sync").ProviderExport<import("./template-paths.js").Auth0Auth0ModulePaths>;
15
+ }, {
16
+ appModule: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").AppModuleProvider>;
17
+ }, undefined>;
18
+ };
19
+ templates: {
20
+ management: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
21
+ configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
22
+ config: {};
23
+ }>>;
24
+ }>;
25
+ userSessionService: import("@baseplate-dev/core-generators").TsTemplateFile<{
26
+ TPL_USER_MODEL: {};
27
+ }, {
28
+ authContextImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
29
+ AuthContext: {
30
+ isTypeOnly: true;
31
+ };
32
+ AuthSessionInfo: {
33
+ isTypeOnly: true;
34
+ };
35
+ AuthUserSessionInfo: {
36
+ isTypeOnly: true;
37
+ };
38
+ createAuthContextFromSessionInfo: {};
39
+ InvalidSessionError: {};
40
+ }>>;
41
+ authRolesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
42
+ AuthRole: {
43
+ isTypeOnly: true;
44
+ };
45
+ DEFAULT_PUBLIC_ROLES: {};
46
+ DEFAULT_USER_ROLES: {};
47
+ RoleConfig: {
48
+ isTypeOnly: true;
49
+ };
50
+ }>>;
51
+ userSessionTypesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
52
+ UserSessionPayload: {
53
+ isTypeOnly: true;
54
+ };
55
+ UserSessionService: {
56
+ isTypeOnly: true;
57
+ };
58
+ }>>;
59
+ }>;
60
+ };
61
+ };
62
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { AUTH0_AUTH0_MODULE_PATHS } from './template-paths.js';
2
+ import { AUTH0_AUTH0_MODULE_IMPORTS } from './ts-import-providers.js';
3
+ import { AUTH0_AUTH0_MODULE_TEMPLATES } from './typed-templates.js';
4
+ export const AUTH0_AUTH0_MODULE_GENERATED = {
5
+ imports: AUTH0_AUTH0_MODULE_IMPORTS,
6
+ paths: AUTH0_AUTH0_MODULE_PATHS,
7
+ templates: AUTH0_AUTH0_MODULE_TEMPLATES,
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,OAAO,EAAE,0BAA0B;IACnC,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,4BAA4B;CACxC,CAAC"}
@@ -0,0 +1,13 @@
1
+ export interface Auth0Auth0ModulePaths {
2
+ management: string;
3
+ userSessionService: string;
4
+ }
5
+ export declare const AUTH0_AUTH0_MODULE_PATHS: {
6
+ provider: import("@baseplate-dev/sync").ProviderType<Auth0Auth0ModulePaths>;
7
+ task: import("@baseplate-dev/sync").GeneratorTask<{
8
+ auth0Auth0ModulePaths: import("@baseplate-dev/sync").ProviderExport<Auth0Auth0ModulePaths>;
9
+ }, {
10
+ appModule: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/fastify-generators").AppModuleProvider>;
11
+ }, undefined>;
12
+ };
13
+ //# sourceMappingURL=template-paths.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAuBD,eAAO,MAAM,wBAAwB;;;;;;;CAGpC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { appModuleProvider } from '@baseplate-dev/fastify-generators';
2
+ import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
3
+ const auth0Auth0ModulePaths = createProviderType('auth0-auth0-module-paths');
4
+ const auth0Auth0ModulePathsTask = createGeneratorTask({
5
+ dependencies: { appModule: appModuleProvider },
6
+ exports: { auth0Auth0ModulePaths: auth0Auth0ModulePaths.export() },
7
+ run({ appModule }) {
8
+ const moduleRoot = appModule.getModuleFolder();
9
+ return {
10
+ providers: {
11
+ auth0Auth0ModulePaths: {
12
+ management: `${moduleRoot}/services/management.ts`,
13
+ userSessionService: `${moduleRoot}/services/user-session.service.ts`,
14
+ },
15
+ },
16
+ };
17
+ },
18
+ });
19
+ export const AUTH0_AUTH0_MODULE_PATHS = {
20
+ provider: auth0Auth0ModulePaths,
21
+ task: auth0Auth0ModulePathsTask,
22
+ };
23
+ //# sourceMappingURL=template-paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAO9E,MAAM,qBAAqB,GAAG,kBAAkB,CAC9C,0BAA0B,CAC3B,CAAC;AAEF,MAAM,yBAAyB,GAAG,mBAAmB,CAAC;IACpD,YAAY,EAAE,EAAE,SAAS,EAAE,iBAAiB,EAAE;IAC9C,OAAO,EAAE,EAAE,qBAAqB,EAAE,qBAAqB,CAAC,MAAM,EAAE,EAAE;IAClE,GAAG,CAAC,EAAE,SAAS,EAAE;QACf,MAAM,UAAU,GAAG,SAAS,CAAC,eAAe,EAAE,CAAC;QAE/C,OAAO;YACL,SAAS,EAAE;gBACT,qBAAqB,EAAE;oBACrB,UAAU,EAAE,GAAG,UAAU,yBAAyB;oBAClD,kBAAkB,EAAE,GAAG,UAAU,mCAAmC;iBACrE;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,qBAAqB;IAC/B,IAAI,EAAE,yBAAyB;CAChC,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const AUTH0_AUTH0_MODULE_IMPORTS: {
2
+ task: import("@baseplate-dev/sync").GeneratorTask<{
3
+ userSessionServiceImports: import("@baseplate-dev/sync").ProviderExport<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
4
+ userSessionService: {};
5
+ }>>;
6
+ }, {
7
+ paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").Auth0Auth0ModulePaths>;
8
+ }, undefined>;
9
+ };
10
+ //# sourceMappingURL=ts-import-providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/ts-import-providers.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,0BAA0B;;;;;;;;CAEtC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { createTsImportMap, packageScope, } from '@baseplate-dev/core-generators';
2
+ import { userSessionServiceImportsProvider, userSessionServiceImportsSchema, } from '@baseplate-dev/fastify-generators';
3
+ import { createGeneratorTask } from '@baseplate-dev/sync';
4
+ import { AUTH0_AUTH0_MODULE_PATHS } from './template-paths.js';
5
+ const auth0Auth0ModuleImportsTask = createGeneratorTask({
6
+ dependencies: {
7
+ paths: AUTH0_AUTH0_MODULE_PATHS.provider,
8
+ },
9
+ exports: {
10
+ userSessionServiceImports: userSessionServiceImportsProvider.export(packageScope),
11
+ },
12
+ run({ paths }) {
13
+ return {
14
+ providers: {
15
+ userSessionServiceImports: createTsImportMap(userSessionServiceImportsSchema, { userSessionService: paths.userSessionService }),
16
+ },
17
+ };
18
+ },
19
+ });
20
+ export const AUTH0_AUTH0_MODULE_IMPORTS = {
21
+ task: auth0Auth0ModuleImportsTask,
22
+ };
23
+ //# sourceMappingURL=ts-import-providers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,2BAA2B,GAAG,mBAAmB,CAAC;IACtD,YAAY,EAAE;QACZ,KAAK,EAAE,wBAAwB,CAAC,QAAQ;KACzC;IACD,OAAO,EAAE;QACP,yBAAyB,EACvB,iCAAiC,CAAC,MAAM,CAAC,YAAY,CAAC;KACzD;IACD,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,yBAAyB,EAAE,iBAAiB,CAC1C,+BAA+B,EAC/B,EAAE,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,EAAE,CACjD;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,2BAA2B;CAClC,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const AUTH_0_AUTH_0_MODULE_TS_TEMPLATES: {
1
+ export declare const AUTH0_AUTH0_MODULE_TEMPLATES: {
2
2
  management: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
3
3
  configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
4
4
  config: {};
@@ -40,4 +40,4 @@ export declare const AUTH_0_AUTH_0_MODULE_TS_TEMPLATES: {
40
40
  }>>;
41
41
  }>;
42
42
  };
43
- //# sourceMappingURL=ts-templates.d.ts.map
43
+ //# sourceMappingURL=typed-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/typed-templates.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAC"}
@@ -1,13 +1,17 @@
1
1
  import { createTsTemplateFile } from '@baseplate-dev/core-generators';
2
2
  import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
3
+ import path from 'node:path';
3
4
  const management = createTsTemplateFile({
5
+ fileOptions: { kind: 'singleton' },
4
6
  importMapProviders: { configServiceImports: configServiceImportsProvider },
5
7
  name: 'management',
6
- projectExports: {},
7
- source: { path: 'management.ts' },
8
+ source: {
9
+ path: path.join(import.meta.dirname, '../templates/module/services/management.ts'),
10
+ },
8
11
  variables: {},
9
12
  });
10
13
  const userSessionService = createTsTemplateFile({
14
+ fileOptions: { kind: 'singleton' },
11
15
  importMapProviders: {
12
16
  authContextImports: authContextImportsProvider,
13
17
  authRolesImports: authRolesImportsProvider,
@@ -15,11 +19,10 @@ const userSessionService = createTsTemplateFile({
15
19
  },
16
20
  name: 'user-session-service',
17
21
  projectExports: { userSessionService: {} },
18
- source: { path: 'user-session.service.ts' },
22
+ source: {
23
+ path: path.join(import.meta.dirname, '../templates/module/services/user-session.service.ts'),
24
+ },
19
25
  variables: { TPL_USER_MODEL: {} },
20
26
  });
21
- export const AUTH_0_AUTH_0_MODULE_TS_TEMPLATES = {
22
- management,
23
- userSessionService,
24
- };
25
- //# sourceMappingURL=ts-templates.js.map
27
+ export const AUTH0_AUTH0_MODULE_TEMPLATES = { management, userSessionService };
28
+ //# sourceMappingURL=typed-templates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,UAAU,GAAG,oBAAoB,CAAC;IACtC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE,EAAE,oBAAoB,EAAE,4BAA4B,EAAE;IAC1E,IAAI,EAAE,YAAY;IAClB,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;IAC9C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,kBAAkB,EAAE;QAClB,kBAAkB,EAAE,0BAA0B;QAC9C,gBAAgB,EAAE,wBAAwB;QAC1C,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,sBAAsB;IAC5B,cAAc,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE;IAC1C,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,sDAAsD,CACvD;KACF;IACD,SAAS,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,EAAE,UAAU,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './auth0-module.generator.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './auth0-module.generator.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './auth0-module/auth0-module.generator.js';
1
+ export * from './auth0-module/index.js';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth0/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth0/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './auth0-module/auth0-module.generator.js';
1
+ export * from './auth0-module/index.js';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/auth0/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/auth0/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './auth0-apollo.generator.js';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-apollo/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './auth0-apollo.generator.js';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-apollo/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}