@baseplate-dev/plugin-auth 1.0.3 → 1.0.5
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/generators/auth-apollo/auth-apollo.generator.d.ts +2 -2
- package/dist/auth/core/generators/auth-email-password/generated/index.d.ts +5 -1
- package/dist/auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts +1 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js +1 -0
- package/dist/auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -1
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts +10 -2
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js +2 -0
- package/dist/auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js +1 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.js.map +1 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts +3 -4
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +1 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.js.map +1 -1
- package/dist/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +1 -2
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts +0 -1
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js +2 -7
- package/dist/auth/core/generators/auth-hooks/auth-hooks.generator.js.map +1 -1
- package/dist/auth/core/generators/auth-hooks/generated/index.d.ts +10 -3
- package/dist/auth/core/generators/auth-hooks/generated/index.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts +1 -0
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.js +1 -0
- package/dist/auth/core/generators/auth-hooks/generated/template-paths.js.map +1 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts +5 -5
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js +9 -8
- package/dist/auth/core/generators/auth-hooks/generated/template-renderers.js.map +1 -1
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts +20 -5
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js +22 -9
- package/dist/auth/core/generators/auth-hooks/generated/typed-templates.js.map +1 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js +1 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.js.map +1 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-current-user.ts +1 -2
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-log-out.gql +5 -0
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js +1 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -1
- package/dist/auth/core/generators/auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +1 -1
- package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts +4 -0
- package/dist/auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-module/auth-module.generator.js +10 -1
- package/dist/auth/core/generators/auth-module/auth-module.generator.js.map +1 -1
- package/dist/auth/core/generators/auth-module/generated/index.d.ts +14 -5
- package/dist/auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts +4 -4
- package/dist/auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-module/generated/template-renderers.js +2 -0
- package/dist/auth/core/generators/auth-module/generated/template-renderers.js.map +1 -1
- package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts +23 -10
- package/dist/auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-module/generated/typed-templates.js +8 -0
- package/dist/auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js +1 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.js.map +1 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.mutations.ts +1 -2
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js +1 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.js.map +1 -1
- package/dist/auth/core/generators/auth-module/templates/module/schema/user-session.queries.ts +1 -2
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js +4 -4
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.js.map +1 -1
- package/dist/auth/core/generators/auth-module/templates/module/services/user-session.service.ts +8 -9
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts +0 -1
- package/dist/auth/core/generators/auth-routes/auth-routes.generator.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-routes/generated/index.d.ts +3 -6
- package/dist/auth/core/generators/auth-routes/generated/index.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts +1 -2
- package/dist/auth/core/generators/auth-routes/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts +6 -10
- package/dist/auth/core/generators/auth-routes/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/generated/index.d.ts +9 -2
- package/dist/auth/core/generators/react-session/generated/index.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts +1 -1
- package/dist/auth/core/generators/react-session/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/generated/template-renderers.js +1 -0
- package/dist/auth/core/generators/react-session/generated/template-renderers.js.map +1 -1
- package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts +18 -4
- package/dist/auth/core/generators/react-session/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/generated/typed-templates.js +6 -0
- package/dist/auth/core/generators/react-session/generated/typed-templates.js.map +1 -1
- package/dist/auth/core/generators/react-session/react-session.generator.d.ts +9 -0
- package/dist/auth/core/generators/react-session/react-session.generator.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/react-session.generator.js +16 -1
- package/dist/auth/core/generators/react-session/react-session.generator.js.map +1 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js +1 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.js.map +1 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.tsx +1 -2
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js +2 -2
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js.map +1 -1
- package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx +4 -6
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts +1 -1
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts.map +1 -1
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js.map +1 -1
- package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts +2 -5
- package/dist/auth/core/schema/models.js +1 -1
- package/dist/auth/core/schema/models.js.map +1 -1
- package/dist/auth0/core/schema/migrations.d.ts.map +1 -1
- package/dist/auth0/core/schema/migrations.js +6 -4
- package/dist/auth0/core/schema/migrations.js.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/index.d.ts +2 -2
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts +2 -2
- package/dist/auth0/generators/fastify/auth0-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/fastify/auth0-module/generated/typed-templates.d.ts +2 -2
- package/dist/auth0/generators/react/auth0-hooks/auth0-hooks.generator.d.ts +11 -6
- 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 +5 -17
- 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 +6 -2
- package/dist/auth0/generators/react/auth0-hooks/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js +1 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/template-renderers.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts +12 -4
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js +2 -0
- package/dist/auth0/generators/react/auth0-hooks/generated/typed-templates.js.map +1 -1
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-current-user.ts +1 -2
- package/dist/auth0/generators/react/auth0-hooks/templates/src/hooks/use-required-user-id.ts +1 -1
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts +0 -1
- package/dist/auth0/generators/react/auth0-pages/auth0-pages.generator.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts +1 -3
- package/dist/auth0/generators/react/auth0-pages/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts +1 -2
- package/dist/auth0/generators/react/auth0-pages/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts +2 -4
- package/dist/auth0/generators/react/auth0-pages/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts +1 -3
- package/dist/auth0/generators/react/react-auth0/generated/index.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts +1 -2
- package/dist/auth0/generators/react/react-auth0/generated/template-renderers.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts +1 -2
- package/dist/auth0/generators/react/react-auth0/generated/typed-templates.d.ts.map +1 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts +0 -1
- package/dist/auth0/generators/react/react-auth0/react-auth0.generator.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts +7 -3
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js +1 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts +14 -6
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js +2 -0
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-current-user.ts +1 -2
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.js.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/templates/src/hooks/use-user-id-or-throw.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/index.d.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/placeholder-auth/core/generators/placeholder-auth-module/generated/typed-templates.d.ts +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-ClLdXltM.js → __federation_expose_auth0CoreCommon-BXcKWfCq.js} +9 -7
- package/dist/web/assets/__federation_expose_auth0CoreCommon-BXcKWfCq.js.map +1 -0
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-n4O5Eaci.js → __federation_expose_auth0CoreWeb-VnxlQY01.js} +6 -6
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-n4O5Eaci.js.map → __federation_expose_auth0CoreWeb-VnxlQY01.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-DnPBC3Po.js → __federation_expose_authCoreCommon-LrPwgIpw.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-DnPBC3Po.js.map → __federation_expose_authCoreCommon-LrPwgIpw.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-xIZTC0Jm.js → __federation_expose_authCoreWeb-CGWfg0Fb.js} +7 -7
- package/dist/web/assets/__federation_expose_authCoreWeb-CGWfg0Fb.js.map +1 -0
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-B3uMizrx.js → __federation_expose_placeholder-authCoreCommon-DCZZPRb7.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-B3uMizrx.js.map → __federation_expose_placeholder-authCoreCommon-DCZZPRb7.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-B_PIacU8.js → __federation_expose_placeholder-authCoreWeb-BunerD5g.js} +6 -6
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-B_PIacU8.js.map → __federation_expose_placeholder-authCoreWeb-BunerD5g.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-CktB8mRs.js → __federation_fn_import-BDimcZUI.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-CktB8mRs.js.map → __federation_fn_import-BDimcZUI.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-CX2RIWJk.js → web-oq9zm9eN.js} +5 -5
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-CX2RIWJk.js.map → web-oq9zm9eN.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-CScAnw0t.js → project-builder-lib-DqkNAXn3.js} +12 -7
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DqkNAXn3.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-sv0OhmFj.js → ui-components-BxXhpJ04.js} +64 -64
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-BxXhpJ04.js.map +1 -0
- package/dist/web/assets/{index-C1wLMBlv.js → index-D4PxvJ0z.js} +2 -2
- package/dist/web/assets/{index-C1wLMBlv.js.map → index-D4PxvJ0z.js.map} +1 -1
- package/dist/web/assets/{index.esm-CGKugQk7.js → index.esm-qm5h2Bmg.js} +2 -2
- package/dist/web/assets/{index.esm-CGKugQk7.js.map → index.esm-qm5h2Bmg.js.map} +1 -1
- package/dist/web/assets/{model-merger-DYdmgijL.js → model-merger-CA2yaVFd.js} +2 -2
- package/dist/web/assets/{model-merger-DYdmgijL.js.map → model-merger-CA2yaVFd.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-BRtH1ZCf.js → plugin-definition-BEHZirWF.js} +3 -3
- package/dist/web/assets/{plugin-definition-BRtH1ZCf.js.map → plugin-definition-BEHZirWF.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-DSr4dqJI.js → plugin-definition-CoiivnNt.js} +3 -3
- package/dist/web/assets/{plugin-definition-DSr4dqJI.js.map → plugin-definition-CoiivnNt.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-DkPo-aBg.js → plugin-definition-X0d5-H4U.js} +3 -3
- package/dist/web/assets/{plugin-definition-DkPo-aBg.js.map → plugin-definition-X0d5-H4U.js.map} +1 -1
- package/dist/web/assets/{react-S9chR6jh.js → react-BLL9qrdY.js} +2 -2
- package/dist/web/assets/{react-S9chR6jh.js.map → react-BLL9qrdY.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +6 -6
- package/dist/web/assets/{role-editor-form-BbHZ0ofl.js → role-editor-form-lOkPZX7S.js} +4 -4
- package/dist/web/assets/{role-editor-form-BbHZ0ofl.js.map → role-editor-form-lOkPZX7S.js.map} +1 -1
- package/dist/web/assets/{styles-Bqxfz3Ig.js → styles-B6SRrcui.js} +3 -3
- package/dist/web/assets/{styles-Bqxfz3Ig.js.map → styles-B6SRrcui.js.map} +1 -1
- package/package.json +10 -10
- package/dist/web/assets/__federation_expose_auth0CoreCommon-ClLdXltM.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-xIZTC0Jm.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-CScAnw0t.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-sv0OhmFj.js.map +0 -1
|
@@ -3,7 +3,7 @@ export declare const AUTH0_AUTH0_MODULE_TEMPLATES: {
|
|
|
3
3
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
4
4
|
config: {};
|
|
5
5
|
}>>;
|
|
6
|
-
}
|
|
6
|
+
}, Record<never, Record<never, never>>>;
|
|
7
7
|
userSessionService: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
8
8
|
TPL_USER_MODEL: {};
|
|
9
9
|
}, {
|
|
@@ -38,6 +38,6 @@ export declare const AUTH0_AUTH0_MODULE_TEMPLATES: {
|
|
|
38
38
|
isTypeOnly: true;
|
|
39
39
|
};
|
|
40
40
|
}>>;
|
|
41
|
-
}
|
|
41
|
+
}, Record<never, Record<never, never>>>;
|
|
42
42
|
};
|
|
43
43
|
//# sourceMappingURL=typed-templates.d.ts.map
|
|
@@ -19,17 +19,22 @@ export declare const auth0HooksGenerator: import("@baseplate-dev/sync").Generato
|
|
|
19
19
|
}, {
|
|
20
20
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0HooksPaths>;
|
|
21
21
|
}, undefined>;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
renderers: import("@baseplate-dev/sync").GeneratorTask<{
|
|
23
|
+
auth0Auth0HooksRenderers: import("@baseplate-dev/sync").ProviderExport<import("./generated/template-renderers.js").Auth0Auth0HooksRenderers>;
|
|
24
|
+
}, {
|
|
25
|
+
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
26
|
+
'*': {};
|
|
27
|
+
}>>;
|
|
28
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").Auth0Auth0HooksPaths>;
|
|
24
29
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
25
30
|
formatError: {};
|
|
26
31
|
logAndFormatError: {};
|
|
27
32
|
logError: {};
|
|
28
33
|
}>>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
35
|
+
}, undefined>;
|
|
36
|
+
main: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
37
|
+
renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").Auth0Auth0HooksRenderers>;
|
|
33
38
|
}, any>;
|
|
34
39
|
}>;
|
|
35
40
|
//# sourceMappingURL=auth0-hooks.generator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth0-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqC9B,CAAC"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { renderTextTemplateFileAction, typescriptFileProvider, } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { generatedGraphqlImportsProvider, reactErrorImportsProvider, } from '@baseplate-dev/react-generators';
|
|
3
1
|
import { createGenerator, createGeneratorTask } from '@baseplate-dev/sync';
|
|
4
2
|
import { z } from 'zod';
|
|
5
3
|
import { AUTH0_AUTH0_HOOKS_GENERATED } from './generated/index.js';
|
|
@@ -13,32 +11,22 @@ export const auth0HooksGenerator = createGenerator({
|
|
|
13
11
|
buildTasks: ({ userQueryName }) => ({
|
|
14
12
|
paths: AUTH0_AUTH0_HOOKS_GENERATED.paths.task,
|
|
15
13
|
imports: AUTH0_AUTH0_HOOKS_GENERATED.imports.task,
|
|
14
|
+
renderers: AUTH0_AUTH0_HOOKS_GENERATED.renderers.task,
|
|
16
15
|
main: createGeneratorTask({
|
|
17
16
|
dependencies: {
|
|
18
|
-
|
|
19
|
-
reactErrorImports: reactErrorImportsProvider,
|
|
20
|
-
generatedGraphqlImports: generatedGraphqlImportsProvider,
|
|
21
|
-
paths: AUTH0_AUTH0_HOOKS_GENERATED.paths.provider,
|
|
17
|
+
renderers: AUTH0_AUTH0_HOOKS_GENERATED.renderers.provider,
|
|
22
18
|
},
|
|
23
|
-
run({
|
|
19
|
+
run({ renderers }) {
|
|
24
20
|
return {
|
|
25
21
|
build: async (builder) => {
|
|
26
|
-
await builder.apply(
|
|
27
|
-
group: AUTH0_AUTH0_HOOKS_GENERATED.templates.hooksGroup,
|
|
28
|
-
paths,
|
|
22
|
+
await builder.apply(renderers.hooksGroup.render({
|
|
29
23
|
variables: {
|
|
30
24
|
useCurrentUser: {
|
|
31
25
|
TPL_USER: userQueryName,
|
|
32
26
|
},
|
|
33
27
|
},
|
|
34
|
-
importMapProviders: {
|
|
35
|
-
generatedGraphqlImports,
|
|
36
|
-
reactErrorImports,
|
|
37
|
-
},
|
|
38
28
|
}));
|
|
39
|
-
await builder.apply(
|
|
40
|
-
template: AUTH0_AUTH0_HOOKS_GENERATED.templates.useCurrentUserGql,
|
|
41
|
-
destination: paths.useCurrentUserGql,
|
|
29
|
+
await builder.apply(renderers.useCurrentUserGql.render({
|
|
42
30
|
variables: {
|
|
43
31
|
TPL_USER_QUERY_NAME: userQueryName,
|
|
44
32
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"auth0-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-hooks/auth0-hooks.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC;CAC1C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;IACjD,IAAI,EAAE,mBAAmB;IACzB,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,UAAU,EAAE,CAAC,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAAC;QAClC,KAAK,EAAE,2BAA2B,CAAC,KAAK,CAAC,IAAI;QAC7C,OAAO,EAAE,2BAA2B,CAAC,OAAO,CAAC,IAAI;QACjD,SAAS,EAAE,2BAA2B,CAAC,SAAS,CAAC,IAAI;QACrD,IAAI,EAAE,mBAAmB,CAAC;YACxB,YAAY,EAAE;gBACZ,SAAS,EAAE,2BAA2B,CAAC,SAAS,CAAC,QAAQ;aAC1D;YACD,GAAG,CAAC,EAAE,SAAS,EAAE;gBACf,OAAO;oBACL,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;wBACvB,MAAM,OAAO,CAAC,KAAK,CACjB,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC;4BAC1B,SAAS,EAAE;gCACT,cAAc,EAAE;oCACd,QAAQ,EAAE,aAAa;iCACxB;6BACF;yBACF,CAAC,CACH,CAAC;wBAEF,MAAM,OAAO,CAAC,KAAK,CACjB,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC;4BACjC,SAAS,EAAE;gCACT,mBAAmB,EAAE,aAAa;6BACnC;yBACF,CAAC,CACH,CAAC;oBACJ,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -47,6 +47,8 @@ export declare const AUTH0_AUTH0_HOOKS_GENERATED: {
|
|
|
47
47
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
48
48
|
'*': {};
|
|
49
49
|
}>>;
|
|
50
|
+
}, {
|
|
51
|
+
useSession: {};
|
|
50
52
|
}>;
|
|
51
53
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
52
54
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -54,9 +56,11 @@ export declare const AUTH0_AUTH0_HOOKS_GENERATED: {
|
|
|
54
56
|
logAndFormatError: {};
|
|
55
57
|
logError: {};
|
|
56
58
|
}>>;
|
|
59
|
+
}, Record<never, Record<never, never>>>;
|
|
60
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
61
|
+
useSession: {};
|
|
57
62
|
}>;
|
|
58
|
-
|
|
59
|
-
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
63
|
+
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
60
64
|
};
|
|
61
65
|
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{
|
|
62
66
|
TPL_USER_QUERY_NAME: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { AUTH0_AUTH0_HOOKS_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface Auth0Auth0HooksRenderers {
|
|
5
5
|
hooksGroup: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH0_AUTH0_HOOKS_TEMPLATES.hooksGroup>, 'importMapProviders' | 'group' | 'paths'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH0_AUTH0_HOOKS_TEMPLATES.hooksGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
useCurrentUserGql: {
|
|
9
9
|
render: (options: Omit<RenderTextTemplateFileActionInput<typeof AUTH0_AUTH0_HOOKS_TEMPLATES.useCurrentUserGql>, 'destination' | 'template'>) => BuilderAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAazD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,2BAA2B,CAAC,UAAU,CAC9C,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAazD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,2BAA2B,CAAC,UAAU,CAC9C,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,iBAAiB,EAAE;QACjB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,iCAAiC,CAC/B,OAAO,2BAA2B,CAAC,iBAAiB,CACrD,EACD,aAAa,GAAG,UAAU,CAC3B,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA6CD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;CAGvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAyBnE,MAAM,wBAAwB,GAAG,kBAAkB,CACjD,6BAA6B,CAC9B,CAAC;AAEF,MAAM,4BAA4B,GAAG,mBAAmB,CAAC;IACvD,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,uBAAuB,CAAC,QAAQ;QACvC,iBAAiB,EAAE,yBAAyB;QAC5C,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE,EAAE,wBAAwB,EAAE,wBAAwB,CAAC,MAAM,EAAE,EAAE;IACxE,GAAG,CAAC,EAAE,uBAAuB,EAAE,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE;QACvE,OAAO;YACL,SAAS,EAAE;gBACT,wBAAwB,EAAE;oBACxB,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,2BAA2B,CAAC,UAAU;4BAC7C,KAAK;4BACL,kBAAkB,EAAE;gCAClB,uBAAuB;gCACvB,iBAAiB;6BAClB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,iBAAiB,EAAE;wBACjB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,4BAA4B,CAAC;4BAC3B,QAAQ,EAAE,2BAA2B,CAAC,iBAAiB;4BACvD,WAAW,EAAE,KAAK,CAAC,iBAAiB;4BACpC,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,4BAA4B;CACnC,CAAC"}
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAyBnE,MAAM,wBAAwB,GAAG,kBAAkB,CACjD,6BAA6B,CAC9B,CAAC;AAEF,MAAM,4BAA4B,GAAG,mBAAmB,CAAC;IACvD,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,uBAAuB,CAAC,QAAQ;QACvC,iBAAiB,EAAE,yBAAyB;QAC5C,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE,EAAE,wBAAwB,EAAE,wBAAwB,CAAC,MAAM,EAAE,EAAE;IACxE,GAAG,CAAC,EAAE,uBAAuB,EAAE,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE;QACvE,OAAO;YACL,SAAS,EAAE;gBACT,wBAAwB,EAAE;oBACxB,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,2BAA2B,CAAC,UAAU;4BAC7C,KAAK;4BACL,kBAAkB,EAAE;gCAClB,uBAAuB;gCACvB,iBAAiB;6BAClB;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,iBAAiB,EAAE;wBACjB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,4BAA4B,CAAC;4BAC3B,QAAQ,EAAE,2BAA2B,CAAC,iBAAiB;4BACvD,WAAW,EAAE,KAAK,CAAC,iBAAiB;4BACpC,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,QAAQ,EAAE,wBAAwB;IAClC,IAAI,EAAE,4BAA4B;CACnC,CAAC"}
|
|
@@ -5,6 +5,8 @@ export declare const hooksGroup: {
|
|
|
5
5
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
6
6
|
'*': {};
|
|
7
7
|
}>>;
|
|
8
|
+
}, {
|
|
9
|
+
useSession: {};
|
|
8
10
|
}>;
|
|
9
11
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
10
12
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -12,9 +14,11 @@ export declare const hooksGroup: {
|
|
|
12
14
|
logAndFormatError: {};
|
|
13
15
|
logError: {};
|
|
14
16
|
}>>;
|
|
17
|
+
}, Record<never, Record<never, never>>>;
|
|
18
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
19
|
+
useSession: {};
|
|
15
20
|
}>;
|
|
16
|
-
|
|
17
|
-
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
21
|
+
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
18
22
|
};
|
|
19
23
|
export declare const AUTH0_AUTH0_HOOKS_TEMPLATES: {
|
|
20
24
|
hooksGroup: {
|
|
@@ -24,6 +28,8 @@ export declare const AUTH0_AUTH0_HOOKS_TEMPLATES: {
|
|
|
24
28
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
25
29
|
'*': {};
|
|
26
30
|
}>>;
|
|
31
|
+
}, {
|
|
32
|
+
useSession: {};
|
|
27
33
|
}>;
|
|
28
34
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
29
35
|
reactErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -31,9 +37,11 @@ export declare const AUTH0_AUTH0_HOOKS_TEMPLATES: {
|
|
|
31
37
|
logAndFormatError: {};
|
|
32
38
|
logError: {};
|
|
33
39
|
}>>;
|
|
40
|
+
}, Record<never, Record<never, never>>>;
|
|
41
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
42
|
+
useSession: {};
|
|
34
43
|
}>;
|
|
35
|
-
|
|
36
|
-
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
44
|
+
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
37
45
|
};
|
|
38
46
|
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{
|
|
39
47
|
TPL_USER_QUERY_NAME: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AA0EA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;CAKtB,CAAC;AAgBF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoC,CAAC"}
|
|
@@ -9,6 +9,7 @@ const useCurrentUser = createTsTemplateFile({
|
|
|
9
9
|
},
|
|
10
10
|
name: 'use-current-user',
|
|
11
11
|
projectExports: { useCurrentUser: {} },
|
|
12
|
+
referencedGeneratorTemplates: { useSession: {} },
|
|
12
13
|
source: {
|
|
13
14
|
path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.ts'),
|
|
14
15
|
},
|
|
@@ -31,6 +32,7 @@ const useRequiredUserId = createTsTemplateFile({
|
|
|
31
32
|
importMapProviders: {},
|
|
32
33
|
name: 'use-required-user-id',
|
|
33
34
|
projectExports: { useRequiredUserId: {} },
|
|
35
|
+
referencedGeneratorTemplates: { useSession: {} },
|
|
34
36
|
source: {
|
|
35
37
|
path: path.join(import.meta.dirname, '../templates/src/hooks/use-required-user-id.ts'),
|
|
36
38
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,cAAc,GAAG,oBAAoB,CAAC;IAC1C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE;QAClB,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;IACtC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,oBAAoB,CAAC;IACrC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE,iBAAiB,EAAE,yBAAyB,EAAE;IACpE,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACjC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,sBAAsB;IAC5B,cAAc,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE;IACzC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,gDAAgD,CACjD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,oBAAoB,CAAC;IACtC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,WAAW,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,cAAc;IACd,SAAS;IACT,iBAAiB;IACjB,UAAU;CACX,CAAC;AAEF,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;IAC/C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,6CAA6C,CAC9C;KACF;IACD,SAAS,EAAE;QACT,mBAAmB,EAAE,EAAE,WAAW,EAAE,4BAA4B,EAAE;KACnE;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,cAAc,GAAG,oBAAoB,CAAC;IAC1C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE;QAClB,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,kBAAkB;IACxB,cAAc,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE;IACtC,4BAA4B,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IAChD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,oBAAoB,CAAC;IACrC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE,iBAAiB,EAAE,yBAAyB,EAAE;IACpE,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACjC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,sBAAsB;IAC5B,cAAc,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE;IACzC,4BAA4B,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IAChD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,gDAAgD,CACjD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,oBAAoB,CAAC;IACtC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,WAAW,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;IACrE,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uCAAuC,CACxC;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,cAAc;IACd,SAAS;IACT,iBAAiB;IACjB,UAAU;CACX,CAAC;AAEF,MAAM,iBAAiB,GAAG,sBAAsB,CAAC;IAC/C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,6CAA6C,CAC9C;KACF;IACD,SAAS,EAAE;QACT,mBAAmB,EAAE,EAAE,WAAW,EAAE,4BAA4B,EAAE;KACnE;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CurrentUserFragment } from '%generatedGraphqlImports';
|
|
4
4
|
|
|
5
|
+
import { useSession } from '$useSession';
|
|
5
6
|
import { GetUserByIdDocument } from '%generatedGraphqlImports';
|
|
6
7
|
import { useQuery } from '@apollo/client';
|
|
7
8
|
|
|
8
|
-
import { useSession } from './use-session.js';
|
|
9
|
-
|
|
10
9
|
interface UseCurrentUserResult {
|
|
11
10
|
user?: CurrentUserFragment;
|
|
12
11
|
loading: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth0-pages.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-pages/auth0-pages.generator.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"auth0-pages.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/auth0-pages/auth0-pages.generator.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB9B,CAAC"}
|
|
@@ -76,7 +76,6 @@ export declare const AUTH0_AUTH0_PAGES_GENERATED: {
|
|
|
76
76
|
inputVariants: {};
|
|
77
77
|
Label: {};
|
|
78
78
|
LinkButton: {};
|
|
79
|
-
ListGroup: {};
|
|
80
79
|
Loader: {};
|
|
81
80
|
mergeRefs: {};
|
|
82
81
|
Modal: {};
|
|
@@ -209,7 +208,6 @@ export declare const AUTH0_AUTH0_PAGES_GENERATED: {
|
|
|
209
208
|
inputVariants: {};
|
|
210
209
|
Label: {};
|
|
211
210
|
LinkButton: {};
|
|
212
|
-
ListGroup: {};
|
|
213
211
|
Loader: {};
|
|
214
212
|
mergeRefs: {};
|
|
215
213
|
Modal: {};
|
|
@@ -273,7 +271,7 @@ export declare const AUTH0_AUTH0_PAGES_GENERATED: {
|
|
|
273
271
|
useControlledState: {};
|
|
274
272
|
useControllerMerged: {};
|
|
275
273
|
}>>;
|
|
276
|
-
}
|
|
274
|
+
}, Record<never, Record<never, never>>>;
|
|
277
275
|
};
|
|
278
276
|
};
|
|
279
277
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-pages/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-pages/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { AUTH0_AUTH0_PAGES_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface Auth0Auth0PagesRenderers {
|
|
5
5
|
pagesGroup: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH0_AUTH0_PAGES_TEMPLATES.pagesGroup>, 'importMapProviders' | 'group' | 'paths'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH0_AUTH0_PAGES_TEMPLATES.pagesGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export declare const AUTH0_AUTH0_PAGES_RENDERERS: {
|
|
@@ -75,7 +75,6 @@ export declare const AUTH0_AUTH0_PAGES_RENDERERS: {
|
|
|
75
75
|
inputVariants: {};
|
|
76
76
|
Label: {};
|
|
77
77
|
LinkButton: {};
|
|
78
|
-
ListGroup: {};
|
|
79
78
|
Loader: {};
|
|
80
79
|
mergeRefs: {};
|
|
81
80
|
Modal: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-pages/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAOzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,2BAA2B,CAAC,UAAU,CAC9C,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-pages/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAOzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,2BAA2B,CAAC,UAAU,CAC9C,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAkCD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvC,CAAC"}
|
|
@@ -63,7 +63,6 @@ export declare const pagesGroup: {
|
|
|
63
63
|
inputVariants: {};
|
|
64
64
|
Label: {};
|
|
65
65
|
LinkButton: {};
|
|
66
|
-
ListGroup: {};
|
|
67
66
|
Loader: {};
|
|
68
67
|
mergeRefs: {};
|
|
69
68
|
Modal: {};
|
|
@@ -127,7 +126,7 @@ export declare const pagesGroup: {
|
|
|
127
126
|
useControlledState: {};
|
|
128
127
|
useControllerMerged: {};
|
|
129
128
|
}>>;
|
|
130
|
-
}
|
|
129
|
+
}, Record<never, Record<never, never>>>;
|
|
131
130
|
};
|
|
132
131
|
export declare const AUTH0_AUTH0_PAGES_TEMPLATES: {
|
|
133
132
|
pagesGroup: {
|
|
@@ -195,7 +194,6 @@ export declare const AUTH0_AUTH0_PAGES_TEMPLATES: {
|
|
|
195
194
|
inputVariants: {};
|
|
196
195
|
Label: {};
|
|
197
196
|
LinkButton: {};
|
|
198
|
-
ListGroup: {};
|
|
199
197
|
Loader: {};
|
|
200
198
|
mergeRefs: {};
|
|
201
199
|
Modal: {};
|
|
@@ -259,7 +257,7 @@ export declare const AUTH0_AUTH0_PAGES_TEMPLATES: {
|
|
|
259
257
|
useControlledState: {};
|
|
260
258
|
useControllerMerged: {};
|
|
261
259
|
}>>;
|
|
262
|
-
}
|
|
260
|
+
}, Record<never, Record<never, never>>>;
|
|
263
261
|
};
|
|
264
262
|
};
|
|
265
263
|
//# sourceMappingURL=typed-templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-pages/generated/typed-templates.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/auth0-pages/generated/typed-templates.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAY,CAAC;AAEpC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAC"}
|
|
@@ -76,7 +76,6 @@ export declare const AUTH0_REACT_AUTH0_GENERATED: {
|
|
|
76
76
|
inputVariants: {};
|
|
77
77
|
Label: {};
|
|
78
78
|
LinkButton: {};
|
|
79
|
-
ListGroup: {};
|
|
80
79
|
Loader: {};
|
|
81
80
|
mergeRefs: {};
|
|
82
81
|
Modal: {};
|
|
@@ -213,7 +212,6 @@ export declare const AUTH0_REACT_AUTH0_GENERATED: {
|
|
|
213
212
|
inputVariants: {};
|
|
214
213
|
Label: {};
|
|
215
214
|
LinkButton: {};
|
|
216
|
-
ListGroup: {};
|
|
217
215
|
Loader: {};
|
|
218
216
|
mergeRefs: {};
|
|
219
217
|
Modal: {};
|
|
@@ -282,7 +280,7 @@ export declare const AUTH0_REACT_AUTH0_GENERATED: {
|
|
|
282
280
|
logAndFormatError: {};
|
|
283
281
|
logError: {};
|
|
284
282
|
}>>;
|
|
285
|
-
}
|
|
283
|
+
}, Record<never, Record<never, never>>>;
|
|
286
284
|
};
|
|
287
285
|
};
|
|
288
286
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/react-auth0/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/react-auth0/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { AUTH0_REACT_AUTH0_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface Auth0ReactAuth0Renderers {
|
|
5
5
|
authLoadedGate: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_REACT_AUTH0_TEMPLATES.authLoadedGate>, 'destination' | 'importMapProviders' | 'template'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_REACT_AUTH0_TEMPLATES.authLoadedGate>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export declare const AUTH0_REACT_AUTH0_RENDERERS: {
|
|
@@ -75,7 +75,6 @@ export declare const AUTH0_REACT_AUTH0_RENDERERS: {
|
|
|
75
75
|
inputVariants: {};
|
|
76
76
|
Label: {};
|
|
77
77
|
LinkButton: {};
|
|
78
|
-
ListGroup: {};
|
|
79
78
|
Loader: {};
|
|
80
79
|
mergeRefs: {};
|
|
81
80
|
Modal: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/react-auth0/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAUzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE;QACd,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,2BAA2B,CAAC,cAAc,CAClD,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/react-auth0/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAUzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE;QACd,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,2BAA2B,CAAC,cAAc,CAClD,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAoCD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGvC,CAAC"}
|
|
@@ -63,7 +63,6 @@ export declare const AUTH0_REACT_AUTH0_TEMPLATES: {
|
|
|
63
63
|
inputVariants: {};
|
|
64
64
|
Label: {};
|
|
65
65
|
LinkButton: {};
|
|
66
|
-
ListGroup: {};
|
|
67
66
|
Loader: {};
|
|
68
67
|
mergeRefs: {};
|
|
69
68
|
Modal: {};
|
|
@@ -132,6 +131,6 @@ export declare const AUTH0_REACT_AUTH0_TEMPLATES: {
|
|
|
132
131
|
logAndFormatError: {};
|
|
133
132
|
logError: {};
|
|
134
133
|
}>>;
|
|
135
|
-
}
|
|
134
|
+
}, Record<never, Record<never, never>>>;
|
|
136
135
|
};
|
|
137
136
|
//# sourceMappingURL=typed-templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/react-auth0/generated/typed-templates.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/react/react-auth0/generated/typed-templates.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-auth0.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/react-auth0/react-auth0.generator.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"react-auth0.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth0/generators/react/react-auth0/react-auth0.generator.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAFhC,sBAAoB;yCAGlB,sBAAsB;;;;;yCAKQ,sBAAsB;wCAE9B,sBAAsB;wCAEZ,sBAAsB;sCAE1C,sBACP;;;;;;;;;;;;;;kCAjByB,sBAAsB;mCAI9B,sBAAsB;mCAEhB,sBACf;+BAEoB,sBAC7B;;;;EAoGJ,CAAC"}
|
|
@@ -40,10 +40,14 @@ export declare const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_GENERATED: {
|
|
|
40
40
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
41
41
|
'*': {};
|
|
42
42
|
}>>;
|
|
43
|
+
}, {
|
|
44
|
+
useSession: {};
|
|
45
|
+
}>;
|
|
46
|
+
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
47
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
48
|
+
useSession: {};
|
|
43
49
|
}>;
|
|
44
|
-
|
|
45
|
-
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
46
|
-
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
50
|
+
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
47
51
|
};
|
|
48
52
|
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
49
53
|
};
|
package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sDAAsD
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface PlaceholderAuthCorePlaceholderAuthHooksRenderers {
|
|
5
5
|
hooksGroup: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES.hooksGroup>, 'importMapProviders' | 'group' | 'paths'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES.hooksGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
useCurrentUserGql: {
|
|
9
9
|
render: (options: Omit<RenderTextTemplateFileActionInput<typeof PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES.useCurrentUserGql>, 'destination' | 'template'>) => BuilderAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAUzD,OAAO,EAAE,sDAAsD,EAAE,MAAM,sBAAsB,CAAC;AAE9F,MAAM,WAAW,gDAAgD;IAC/D,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,sDAAsD,CAAC,UAAU,CACzE,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAUzD,OAAO,EAAE,sDAAsD,EAAE,MAAM,sBAAsB,CAAC;AAE9F,MAAM,WAAW,gDAAgD;IAC/D,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,sDAAsD,CAAC,UAAU,CACzE,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,iBAAiB,EAAE;QACjB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,iCAAiC,CAC/B,OAAO,sDAAsD,CAAC,iBAAiB,CAChF,EACD,aAAa,GAAG,UAAU,CAC3B,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAkDD,eAAO,MAAM,sDAAsD;;;;;;;;;;;CAGlE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,kDAAkD,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,sDAAsD,EAAE,MAAM,sBAAsB,CAAC;AAyB9F,MAAM,gDAAgD,GACpD,kBAAkB,CAChB,wDAAwD,CACzD,CAAC;AAEJ,MAAM,oDAAoD,GACxD,mBAAmB,CAAC;IAClB,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,kDAAkD,CAAC,QAAQ;QAClE,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,gDAAgD,EAC9C,gDAAgD,CAAC,MAAM,EAAE;KAC5D;IACD,GAAG,CAAC,EAAE,uBAAuB,EAAE,KAAK,EAAE,cAAc,EAAE;QACpD,OAAO;YACL,SAAS,EAAE;gBACT,gDAAgD,EAAE;oBAChD,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EACH,sDAAsD,CAAC,UAAU;4BACnE,KAAK;4BACL,kBAAkB,EAAE;gCAClB,uBAAuB;6BACxB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,iBAAiB,EAAE;wBACjB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,4BAA4B,CAAC;4BAC3B,QAAQ,EACN,sDAAsD,CAAC,iBAAiB;4BAC1E,WAAW,EAAE,KAAK,CAAC,iBAAiB;4BACpC,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,sDAAsD,GAAG;IACpE,QAAQ,EAAE,gDAAgD;IAC1D,IAAI,EAAE,oDAAoD;CAC3D,CAAC"}
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,kDAAkD,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAAE,sDAAsD,EAAE,MAAM,sBAAsB,CAAC;AAyB9F,MAAM,gDAAgD,GACpD,kBAAkB,CAChB,wDAAwD,CACzD,CAAC;AAEJ,MAAM,oDAAoD,GACxD,mBAAmB,CAAC;IAClB,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,kDAAkD,CAAC,QAAQ;QAClE,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,gDAAgD,EAC9C,gDAAgD,CAAC,MAAM,EAAE;KAC5D;IACD,GAAG,CAAC,EAAE,uBAAuB,EAAE,KAAK,EAAE,cAAc,EAAE;QACpD,OAAO;YACL,SAAS,EAAE;gBACT,gDAAgD,EAAE;oBAChD,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EACH,sDAAsD,CAAC,UAAU;4BACnE,KAAK;4BACL,kBAAkB,EAAE;gCAClB,uBAAuB;6BACxB;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,iBAAiB,EAAE;wBACjB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,4BAA4B,CAAC;4BAC3B,QAAQ,EACN,sDAAsD,CAAC,iBAAiB;4BAC1E,WAAW,EAAE,KAAK,CAAC,iBAAiB;4BACpC,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,sDAAsD,GAAG;IACpE,QAAQ,EAAE,gDAAgD;IAC1D,IAAI,EAAE,oDAAoD;CAC3D,CAAC"}
|
package/dist/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.d.ts
CHANGED
|
@@ -3,10 +3,14 @@ export declare const hooksGroup: {
|
|
|
3
3
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
4
4
|
'*': {};
|
|
5
5
|
}>>;
|
|
6
|
+
}, {
|
|
7
|
+
useSession: {};
|
|
6
8
|
}>;
|
|
7
|
-
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
8
|
-
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
9
|
-
|
|
9
|
+
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
10
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
11
|
+
useSession: {};
|
|
12
|
+
}>;
|
|
13
|
+
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
10
14
|
};
|
|
11
15
|
export declare const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES: {
|
|
12
16
|
hooksGroup: {
|
|
@@ -14,10 +18,14 @@ export declare const PLACEHOLDER_AUTH_CORE_PLACEHOLDER_AUTH_HOOKS_TEMPLATES: {
|
|
|
14
18
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
15
19
|
'*': {};
|
|
16
20
|
}>>;
|
|
21
|
+
}, {
|
|
22
|
+
useSession: {};
|
|
23
|
+
}>;
|
|
24
|
+
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
25
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
26
|
+
useSession: {};
|
|
17
27
|
}>;
|
|
18
|
-
|
|
19
|
-
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
20
|
-
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
28
|
+
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
21
29
|
};
|
|
22
30
|
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
23
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/placeholder-auth/core/generators/placeholder-auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAuEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAKtB,CAAC;AAcF,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;;;;CAGlE,CAAC"}
|