@baseplate-dev/plugin-auth 0.1.3 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/core/node.d.ts.map +1 -1
- package/dist/auth/core/node.js +6 -3
- package/dist/auth/core/node.js.map +1 -1
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts +13 -1
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.d.ts.map +1 -1
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.js +20 -8
- package/dist/auth/generators/fastify/auth-module/auth-module.generator.js.map +1 -1
- package/dist/auth/generators/fastify/auth-module/generated/index.d.ts +88 -0
- package/dist/auth/generators/fastify/auth-module/generated/index.d.ts.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/index.js +9 -0
- package/dist/auth/generators/fastify/auth-module/generated/index.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/template-paths.d.ts +16 -0
- package/dist/auth/generators/fastify/auth-module/generated/template-paths.d.ts.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/template-paths.js +26 -0
- package/dist/auth/generators/fastify/auth-module/generated/template-paths.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.d.ts +10 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.js +23 -0
- package/dist/auth/generators/fastify/auth-module/generated/ts-import-providers.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/{ts-templates.d.ts → typed-templates.d.ts} +26 -41
- package/dist/auth/generators/fastify/auth-module/generated/typed-templates.d.ts.map +1 -0
- package/dist/auth/generators/fastify/auth-module/generated/typed-templates.js +68 -0
- package/dist/auth/generators/fastify/auth-module/generated/typed-templates.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/index.d.ts +2 -0
- package/dist/auth/generators/fastify/auth-module/index.d.ts.map +1 -0
- package/dist/auth/generators/fastify/auth-module/index.js +2 -0
- package/dist/auth/generators/fastify/auth-module/index.js.map +1 -0
- package/dist/auth/generators/fastify/auth-module/templates/{utils → module/utils}/cookie-signer.ts +6 -0
- package/dist/auth/generators/fastify/index.d.ts +1 -1
- package/dist/auth/generators/fastify/index.d.ts.map +1 -1
- package/dist/auth/generators/fastify/index.js +1 -1
- package/dist/auth/generators/fastify/index.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts +14 -6
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js +11 -16
- package/dist/auth0/generators/fastify/auth0-module/auth0-module.generator.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +62 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/index.js +9 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/index.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts +13 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js +23 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/template-paths.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts +10 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js +23 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-providers.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/{ts-templates.d.ts → typed-templates.d.ts} +2 -2
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/generated/{ts-templates.js → typed-templates.js} +11 -8
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.js.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/index.d.ts +2 -0
- package/dist/auth0/generators/fastify/auth0-module/index.d.ts.map +1 -0
- package/dist/auth0/generators/fastify/auth0-module/index.js +2 -0
- package/dist/auth0/generators/fastify/auth0-module/index.js.map +1 -0
- package/dist/auth0/generators/fastify/index.d.ts +1 -1
- package/dist/auth0/generators/fastify/index.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/index.js +1 -1
- package/dist/auth0/generators/fastify/index.js.map +1 -1
- package/dist/auth0/generators/react/auth0-apollo/index.d.ts +2 -0
- package/dist/auth0/generators/react/auth0-apollo/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-apollo/index.js +2 -0
- package/dist/auth0/generators/react/auth0-apollo/index.js.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts +101 -8
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js +10 -11
- package/dist/auth0/generators/react/auth0-callback/auth0-callback.generator.js.map +1 -1
- package/dist/auth0/generators/react/auth0-callback/generated/index.d.ts +290 -0
- package/dist/auth0/generators/react/auth0-callback/generated/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/generated/index.js +7 -0
- package/dist/auth0/generators/react/auth0-callback/generated/index.js.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/generated/template-paths.d.ts +13 -0
- package/dist/auth0/generators/react/auth0-callback/generated/template-paths.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/generated/template-paths.js +23 -0
- package/dist/auth0/generators/react/auth0-callback/generated/template-paths.js.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/generated/typed-templates.d.ts +280 -0
- package/dist/auth0/generators/react/auth0-callback/generated/typed-templates.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/generated/{ts-templates.js → typed-templates.js} +11 -9
- package/dist/auth0/generators/react/auth0-callback/generated/typed-templates.js.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/index.d.ts +2 -0
- package/dist/auth0/generators/react/auth0-callback/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/index.js +2 -0
- package/dist/auth0/generators/react/auth0-callback/index.js.map +1 -0
- package/dist/auth0/generators/react/auth0-callback/templates/{auth0-callback.page.tsx → routes/auth0-callback.page.tsx} +3 -3
- package/dist/auth0/generators/react/auth0-callback/templates/{signup.page.tsx → routes/signup.page.tsx} +3 -3
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts +106 -12
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js +12 -16
- package/dist/auth0/generators/react/auth0-components/auth0-components.generator.js.map +1 -1
- package/dist/auth0/generators/react/auth0-components/generated/index.d.ts +151 -0
- package/dist/auth0/generators/react/auth0-components/generated/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/index.js +9 -0
- package/dist/auth0/generators/react/auth0-components/generated/index.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/template-paths.d.ts +12 -0
- package/dist/auth0/generators/react/auth0-components/generated/template-paths.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/template-paths.js +22 -0
- package/dist/auth0/generators/react/auth0-components/generated/template-paths.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.d.ts +10 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.js +25 -0
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-providers.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/typed-templates.d.ts +132 -0
- package/dist/auth0/generators/react/auth0-components/generated/typed-templates.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/generated/typed-templates.js +17 -0
- package/dist/auth0/generators/react/auth0-components/generated/typed-templates.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/index.d.ts +2 -0
- package/dist/auth0/generators/react/auth0-components/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-components/index.js +2 -0
- package/dist/auth0/generators/react/auth0-components/index.js.map +1 -0
- package/dist/auth0/generators/react/auth0-components/templates/{RequireAuth.tsx → src/components/require-auth/require-auth.tsx} +4 -4
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +10 -2
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js +13 -24
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts +51 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/index.js +9 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/index.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts +16 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js +26 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/template-paths.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts +16 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js +27 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-providers.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +44 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +67 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/index.d.ts +2 -0
- package/dist/auth0/generators/react/auth0-hooks/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/auth0-hooks/index.js +2 -0
- package/dist/auth0/generators/react/auth0-hooks/index.js.map +1 -0
- package/dist/auth0/generators/react/index.d.ts +5 -5
- package/dist/auth0/generators/react/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/index.js +5 -5
- package/dist/auth0/generators/react/index.js.map +1 -1
- package/dist/auth0/generators/react/react-auth0/index.d.ts +2 -0
- package/dist/auth0/generators/react/react-auth0/index.d.ts.map +1 -0
- package/dist/auth0/generators/react/react-auth0/index.js +2 -0
- package/dist/auth0/generators/react/react-auth0/index.js.map +1 -0
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-DCwCR5dZ.js → __federation_expose_auth0CoreCommon-BE50qa2_.js} +3 -3
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-DCwCR5dZ.js.map → __federation_expose_auth0CoreCommon-BE50qa2_.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-BlCwYpTq.js → __federation_expose_auth0CoreWeb-AdDVCP7O.js} +7 -9
- package/dist/web/assets/__federation_expose_auth0CoreWeb-AdDVCP7O.js.map +1 -0
- package/dist/web/assets/__federation_expose_authCoreCommon-DKyLSPCa.js +36 -0
- package/dist/web/assets/__federation_expose_authCoreCommon-DKyLSPCa.js.map +1 -0
- package/dist/web/assets/__federation_expose_authCoreWeb-CfCyOvUk.js +442 -0
- package/dist/web/assets/__federation_expose_authCoreWeb-CfCyOvUk.js.map +1 -0
- package/dist/web/assets/{__federation_fn_import-dzKjrTzS.js → __federation_fn_import-CxP86CUK.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-dzKjrTzS.js.map → __federation_fn_import-CxP86CUK.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-BXHJHUXP.js → web-BFCvL5ku.js} +5 -5
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BFCvL5ku.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-GtzVuDsM.js → project-builder-lib-BAwM_-SS.js} +150 -159
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-BAwM_-SS.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-ChoqtPkg.js → ui-components-C3uzqK6u.js} +18156 -10210
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-C3uzqK6u.js.map +1 -0
- package/dist/web/assets/{index-BxDOOHD-.js → index-scyXBD_d.js} +10 -4
- package/dist/web/assets/{index-BxDOOHD-.js.map → index-scyXBD_d.js.map} +1 -1
- package/dist/web/assets/{index.esm-BZEyAv4m.js → index.esm-DIgRm3lq.js} +3 -3
- package/dist/web/assets/{index.esm-BZEyAv4m.js.map → index.esm-DIgRm3lq.js.map} +1 -1
- package/dist/web/assets/{model-merger-CdV-7CWE.js → model-merger-gxuB007n.js} +33 -23
- package/dist/web/assets/model-merger-gxuB007n.js.map +1 -0
- package/dist/web/assets/plugin-definition-Bgi_XH0-.js +22 -0
- package/dist/web/assets/plugin-definition-Bgi_XH0-.js.map +1 -0
- package/dist/web/assets/plugin-definition-EtIvYJxn.js +34 -0
- package/dist/web/assets/plugin-definition-EtIvYJxn.js.map +1 -0
- package/dist/web/assets/{react-BfiX28GO.js → react-CAuz_DuX.js} +2 -2
- package/dist/web/assets/{react-BfiX28GO.js.map → react-CAuz_DuX.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +8 -2
- package/dist/web/assets/remoteEntry.js.map +1 -1
- package/dist/web/assets/{plugin-definition-C9Q-BrBQ.js → schema-BAfRBwYE.js} +16 -27
- package/dist/web/assets/schema-BAfRBwYE.js.map +1 -0
- package/dist/web/assets/styles-BpKIyKWd.js +8 -0
- package/dist/web/assets/styles-BpKIyKWd.js.map +1 -0
- package/manifest.json +1 -1
- package/package.json +18 -10
- package/dist/auth/generators/fastify/auth-module/generated/ts-templates.d.ts.map +0 -1
- package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js +0 -94
- package/dist/auth/generators/fastify/auth-module/generated/ts-templates.js.map +0 -1
- package/dist/auth/generators/fastify/auth-module/templates/management.ts +0 -22
- package/dist/auth/generators/fastify/auth-module/templates/schema/user-session-payload.object-type.ts +0 -23
- package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.mutations.ts +0 -22
- package/dist/auth/generators/fastify/auth-module/templates/schema/user-session.queries.ts +0 -20
- package/dist/auth/generators/fastify/auth-module/templates/user-session.service.ts +0 -101
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts +0 -3
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js +0 -12
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-import-maps.js.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.d.ts.map +0 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/ts-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts +0 -106
- package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-callback/generated/ts-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts +0 -3
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js +0 -12
- package/dist/auth0/generators/react/auth0-components/generated/ts-import-maps.js.map +0 -1
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts +0 -45
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js +0 -13
- package/dist/auth0/generators/react/auth0-components/generated/ts-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts +0 -8
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js +0 -12
- package/dist/auth0/generators/react/auth0-hooks/generated/text-templates.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts +0 -3
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js +0 -16
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-import-maps.js.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts +0 -33
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.d.ts.map +0 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js +0 -50
- package/dist/auth0/generators/react/auth0-hooks/generated/ts-templates.js.map +0 -1
- package/dist/web/assets/__federation_expose_auth0CoreWeb-BlCwYpTq.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/web-BXHJHUXP.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-GtzVuDsM.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-ChoqtPkg.js.map +0 -1
- package/dist/web/assets/model-merger-CdV-7CWE.js.map +0 -1
- package/dist/web/assets/plugin-definition-C9Q-BrBQ.js.map +0 -1
- /package/dist/auth/generators/fastify/auth-module/templates/{user-session.constants.ts → module/constants/user-session.constants.ts} +0 -0
- /package/dist/auth/generators/fastify/auth-module/templates/{services → module/services}/user-session.service.ts +0 -0
- /package/dist/auth/generators/fastify/auth-module/templates/{utils → module/utils}/session-cookie.ts +0 -0
- /package/dist/auth/generators/fastify/auth-module/templates/{utils → module/utils}/verify-request-origin.ts +0 -0
- /package/dist/auth0/generators/fastify/auth0-module/templates/{management.ts → module/services/management.ts} +0 -0
- /package/dist/auth0/generators/fastify/auth0-module/templates/{user-session.service.ts → module/services/user-session.service.ts} +0 -0
- /package/dist/auth0/generators/react/auth0-hooks/templates/{useCurrentUser.gql → src/hooks/useCurrentUser.gql} +0 -0
- /package/dist/auth0/generators/react/auth0-hooks/templates/{useCurrentUser.ts → src/hooks/useCurrentUser.ts} +0 -0
- /package/dist/auth0/generators/react/auth0-hooks/templates/{useLogOut.ts → src/hooks/useLogOut.ts} +0 -0
- /package/dist/auth0/generators/react/auth0-hooks/templates/{useRequiredUserId.ts → src/hooks/useRequiredUserId.ts} +0 -0
- /package/dist/auth0/generators/react/auth0-hooks/templates/{useSession.ts → src/hooks/useSession.ts} +0 -0
|
@@ -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":"
|
|
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,
|
|
2
|
-
import {
|
|
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 {
|
|
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
|
-
|
|
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:
|
|
80
|
-
destination:
|
|
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:
|
|
93
|
-
destination:
|
|
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,
|
|
1
|
+
{"version":3,"file":"auth0-module.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/fastify/auth0-module/auth0-module.generator.ts"],"names":[],"mappings":"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"}
|
|
@@ -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
|
|
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=
|
|
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"}
|
package/dist/auth0/generators/fastify/auth0-module/generated/{ts-templates.js → typed-templates.js}
RENAMED
|
@@ -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
|
-
|
|
7
|
-
|
|
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: {
|
|
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
|
|
22
|
-
|
|
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 @@
|
|
|
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 @@
|
|
|
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/
|
|
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,
|
|
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/
|
|
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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/auth0/generators/fastify/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-apollo/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -1,45 +1,137 @@
|
|
|
1
1
|
export declare const auth0CallbackGenerator: import("@baseplate-dev/sync").GeneratorBundleCreator<{}, {
|
|
2
|
+
paths: import("@baseplate-dev/sync").GeneratorTask<{
|
|
3
|
+
auth0Auth0CallbackPaths: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-paths.js").Auth0Auth0CallbackPaths>;
|
|
4
|
+
}, {
|
|
5
|
+
reactRoutes: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/react-generators").ReactRoutesProvider>;
|
|
6
|
+
}, undefined>;
|
|
2
7
|
main: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
3
8
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
4
9
|
reactComponentsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
10
|
+
AddOptionRequiredFields: {
|
|
11
|
+
isTypeOnly: true;
|
|
12
|
+
};
|
|
5
13
|
Alert: {};
|
|
6
|
-
AlertIcon: {};
|
|
7
|
-
BackButton: {};
|
|
8
14
|
Button: {};
|
|
9
|
-
|
|
15
|
+
buttonVariants: {};
|
|
16
|
+
Calendar: {};
|
|
10
17
|
Card: {};
|
|
18
|
+
Checkbox: {};
|
|
19
|
+
CheckboxField: {};
|
|
20
|
+
CheckboxFieldController: {};
|
|
11
21
|
CheckedInput: {};
|
|
22
|
+
CircularProgress: {};
|
|
23
|
+
cn: {};
|
|
24
|
+
Combobox: {};
|
|
25
|
+
ComboboxField: {};
|
|
26
|
+
ComboboxFieldController: {};
|
|
12
27
|
ConfirmDialog: {};
|
|
28
|
+
DatePickerField: {};
|
|
29
|
+
DatePickerFieldController: {};
|
|
30
|
+
DateTimePickerField: {};
|
|
31
|
+
DateTimePickerFieldController: {};
|
|
32
|
+
Dialog: {};
|
|
33
|
+
DialogClose: {};
|
|
34
|
+
DialogContent: {};
|
|
35
|
+
DialogDescription: {};
|
|
36
|
+
DialogFooter: {};
|
|
37
|
+
DialogHeader: {};
|
|
38
|
+
DialogOverlay: {};
|
|
39
|
+
DialogPortal: {};
|
|
40
|
+
DialogTitle: {};
|
|
41
|
+
DialogTrigger: {};
|
|
42
|
+
DialogWidth: {
|
|
43
|
+
isTypeOnly: true;
|
|
44
|
+
};
|
|
45
|
+
EmptyDisplay: {};
|
|
13
46
|
ErrorableLoader: {};
|
|
14
47
|
ErrorDisplay: {};
|
|
15
|
-
|
|
48
|
+
FormControl: {};
|
|
49
|
+
FormDescription: {};
|
|
50
|
+
FormFieldProps: {
|
|
51
|
+
isTypeOnly: true;
|
|
52
|
+
};
|
|
53
|
+
FormItem: {};
|
|
16
54
|
FormLabel: {};
|
|
55
|
+
FormMessage: {};
|
|
56
|
+
IconElement: {
|
|
57
|
+
isTypeOnly: true;
|
|
58
|
+
};
|
|
59
|
+
Input: {};
|
|
60
|
+
InputField: {};
|
|
61
|
+
InputFieldController: {};
|
|
62
|
+
inputVariants: {};
|
|
63
|
+
Label: {};
|
|
17
64
|
LinkButton: {};
|
|
18
65
|
ListGroup: {};
|
|
66
|
+
Loader: {};
|
|
67
|
+
mergeRefs: {};
|
|
19
68
|
Modal: {};
|
|
69
|
+
MultiSelectOptionProps: {
|
|
70
|
+
isTypeOnly: true;
|
|
71
|
+
};
|
|
72
|
+
NavigationMenu: {};
|
|
73
|
+
NavigationMenuContent: {};
|
|
74
|
+
NavigationMenuIndicator: {};
|
|
75
|
+
NavigationMenuItem: {};
|
|
76
|
+
NavigationMenuItemWithLink: {};
|
|
77
|
+
NavigationMenuLink: {};
|
|
78
|
+
NavigationMenuList: {};
|
|
79
|
+
NavigationMenuTrigger: {};
|
|
80
|
+
navigationMenuTriggerStyle: {};
|
|
81
|
+
NavigationMenuViewport: {};
|
|
20
82
|
NotFoundCard: {};
|
|
83
|
+
Popover: {};
|
|
84
|
+
PopoverAnchor: {};
|
|
85
|
+
PopoverContent: {};
|
|
86
|
+
PopoverTrigger: {};
|
|
21
87
|
ReactDatePickerInput: {};
|
|
22
88
|
ReactSelectInput: {};
|
|
89
|
+
ScrollArea: {};
|
|
90
|
+
Select: {};
|
|
91
|
+
selectCheckVariants: {};
|
|
92
|
+
selectContentVariants: {};
|
|
93
|
+
SelectField: {};
|
|
94
|
+
SelectFieldController: {};
|
|
23
95
|
SelectInput: {};
|
|
24
|
-
|
|
25
|
-
|
|
96
|
+
selectItemVariants: {};
|
|
97
|
+
SelectOptionProps: {
|
|
98
|
+
isTypeOnly: true;
|
|
99
|
+
};
|
|
100
|
+
selectTriggerVariants: {};
|
|
101
|
+
SidebarLayout: {};
|
|
102
|
+
SidebarLayoutContent: {};
|
|
103
|
+
SidebarLayoutSidebar: {};
|
|
26
104
|
Status: {
|
|
27
105
|
isTypeOnly: true;
|
|
28
106
|
};
|
|
29
107
|
StatusType: {
|
|
30
108
|
isTypeOnly: true;
|
|
31
109
|
};
|
|
110
|
+
Switch: {};
|
|
111
|
+
SwitchField: {};
|
|
112
|
+
SwitchFieldController: {};
|
|
32
113
|
Table: {};
|
|
114
|
+
TableBody: {};
|
|
115
|
+
TableCaption: {};
|
|
116
|
+
TableCell: {};
|
|
117
|
+
TableFooter: {};
|
|
118
|
+
TableHead: {};
|
|
119
|
+
TableHeader: {};
|
|
120
|
+
TableRow: {};
|
|
121
|
+
Textarea: {};
|
|
122
|
+
TextareaField: {};
|
|
123
|
+
TextareaFieldController: {};
|
|
33
124
|
TextAreaInput: {};
|
|
34
125
|
TextInput: {};
|
|
35
|
-
|
|
126
|
+
Toaster: {};
|
|
36
127
|
useConfirmDialog: {};
|
|
37
128
|
UseConfirmDialogRequestOptions: {
|
|
38
129
|
isTypeOnly: true;
|
|
39
130
|
};
|
|
40
131
|
useConfirmDialogState: {};
|
|
132
|
+
useControlledState: {};
|
|
133
|
+
useControllerMerged: {};
|
|
41
134
|
useStatus: {};
|
|
42
|
-
useToast: {};
|
|
43
135
|
}>>;
|
|
44
136
|
authHooksImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
45
137
|
SessionData: {
|
|
@@ -56,6 +148,7 @@ export declare const auth0CallbackGenerator: import("@baseplate-dev/sync").Gener
|
|
|
56
148
|
logError: {};
|
|
57
149
|
}>>;
|
|
58
150
|
reactRoutes: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/react-generators").ReactRoutesProvider>;
|
|
151
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0CallbackPaths>;
|
|
59
152
|
}, any>;
|
|
60
153
|
}>;
|
|
61
154
|
//# sourceMappingURL=auth0-callback.generator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-callback.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-callback/auth0-callback.generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth0-callback.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-callback/auth0-callback.generator.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoEjC,CAAC"}
|