@baseplate-dev/plugin-auth 1.0.4 → 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-DcWFsNod.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-BrPTg7eC.js → __federation_expose_auth0CoreWeb-VnxlQY01.js} +6 -6
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-BrPTg7eC.js.map → __federation_expose_auth0CoreWeb-VnxlQY01.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-20XIFvpM.js → __federation_expose_authCoreCommon-LrPwgIpw.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-20XIFvpM.js.map → __federation_expose_authCoreCommon-LrPwgIpw.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-BB5P8uYV.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-Jwt0q3ST.js → __federation_expose_placeholder-authCoreCommon-DCZZPRb7.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-Jwt0q3ST.js.map → __federation_expose_placeholder-authCoreCommon-DCZZPRb7.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-_Y4pVvZX.js → __federation_expose_placeholder-authCoreWeb-BunerD5g.js} +6 -6
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-_Y4pVvZX.js.map → __federation_expose_placeholder-authCoreWeb-BunerD5g.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-CpGU4emr.js → __federation_fn_import-BDimcZUI.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-CpGU4emr.js.map → __federation_fn_import-BDimcZUI.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-33D53Q49.js → web-oq9zm9eN.js} +5 -5
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-33D53Q49.js.map → web-oq9zm9eN.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-B8gI4CR0.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-ClpdcB7_.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-47TZ-Oc4.js → index-D4PxvJ0z.js} +2 -2
- package/dist/web/assets/{index-47TZ-Oc4.js.map → index-D4PxvJ0z.js.map} +1 -1
- package/dist/web/assets/{index.esm-Erws1yaL.js → index.esm-qm5h2Bmg.js} +2 -2
- package/dist/web/assets/{index.esm-Erws1yaL.js.map → index.esm-qm5h2Bmg.js.map} +1 -1
- package/dist/web/assets/{model-merger-BteeU9dp.js → model-merger-CA2yaVFd.js} +2 -2
- package/dist/web/assets/{model-merger-BteeU9dp.js.map → model-merger-CA2yaVFd.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-CnMRuS0h.js → plugin-definition-BEHZirWF.js} +3 -3
- package/dist/web/assets/{plugin-definition-CnMRuS0h.js.map → plugin-definition-BEHZirWF.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-BOUJurAr.js → plugin-definition-CoiivnNt.js} +3 -3
- package/dist/web/assets/{plugin-definition-BOUJurAr.js.map → plugin-definition-CoiivnNt.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-BeI52Xpr.js → plugin-definition-X0d5-H4U.js} +3 -3
- package/dist/web/assets/{plugin-definition-BeI52Xpr.js.map → plugin-definition-X0d5-H4U.js.map} +1 -1
- package/dist/web/assets/{react-CIaEd3xM.js → react-BLL9qrdY.js} +2 -2
- package/dist/web/assets/{react-CIaEd3xM.js.map → react-BLL9qrdY.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +6 -6
- package/dist/web/assets/{role-editor-form-Bk9sOqqk.js → role-editor-form-lOkPZX7S.js} +4 -4
- package/dist/web/assets/{role-editor-form-Bk9sOqqk.js.map → role-editor-form-lOkPZX7S.js.map} +1 -1
- package/dist/web/assets/{styles-mSx3A02F.js → styles-B6SRrcui.js} +3 -3
- package/dist/web/assets/{styles-mSx3A02F.js.map → styles-B6SRrcui.js.map} +1 -1
- package/package.json +10 -10
- package/dist/web/assets/__federation_expose_auth0CoreCommon-DcWFsNod.js.map +0 -1
- package/dist/web/assets/__federation_expose_authCoreWeb-BB5P8uYV.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-B8gI4CR0.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/ui-components-ClpdcB7_.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const authApolloGenerator: import("@baseplate-dev/sync").GeneratorBundleCreator<{}, {
|
|
2
2
|
main: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
3
3
|
reactApolloConfig: import("@baseplate-dev/sync").ProviderType<Omit<import("@baseplate-dev/utils").FieldMap<{
|
|
4
|
-
createApolloClientArguments: import("@baseplate-dev/utils").NamedArrayFieldContainer<import("@baseplate-dev/react-generators").ApolloCreateArgument>;
|
|
5
|
-
apolloLinks: import("@baseplate-dev/utils").NamedArrayFieldContainer<import("@baseplate-dev/react-generators").ApolloLink>;
|
|
4
|
+
createApolloClientArguments: import("@baseplate-dev/utils").NamedArrayFieldContainer<import("@baseplate-dev/react-generators/src/index.js").ApolloCreateArgument>;
|
|
5
|
+
apolloLinks: import("@baseplate-dev/utils").NamedArrayFieldContainer<import("@baseplate-dev/react-generators/src/index.js").ApolloLink>;
|
|
6
6
|
websocketOptions: import("@baseplate-dev/utils").MapContainer<string, string | import("@baseplate-dev/core-generators").TsCodeFragment>;
|
|
7
7
|
}>, "getValues">>;
|
|
8
8
|
reactSession: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -69,7 +69,7 @@ export declare const AUTH_CORE_AUTH_EMAIL_PASSWORD_GENERATED: {
|
|
|
69
69
|
};
|
|
70
70
|
templates: {
|
|
71
71
|
moduleGroup: {
|
|
72
|
-
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
72
|
+
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
73
73
|
schemaUserPasswordMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
74
74
|
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
75
75
|
userSessionPayload: {};
|
|
@@ -77,6 +77,8 @@ export declare const AUTH_CORE_AUTH_EMAIL_PASSWORD_GENERATED: {
|
|
|
77
77
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
78
78
|
builder: {};
|
|
79
79
|
}>>;
|
|
80
|
+
}, {
|
|
81
|
+
servicesUserPassword: {};
|
|
80
82
|
}>;
|
|
81
83
|
servicesUserPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
82
84
|
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -113,6 +115,8 @@ export declare const AUTH_CORE_AUTH_EMAIL_PASSWORD_GENERATED: {
|
|
|
113
115
|
isTypeOnly: true;
|
|
114
116
|
};
|
|
115
117
|
}>>;
|
|
118
|
+
}, {
|
|
119
|
+
constantsPassword: {};
|
|
116
120
|
}>;
|
|
117
121
|
};
|
|
118
122
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uCAAuC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKnD,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface AuthCoreAuthEmailPasswordRenderers {
|
|
5
5
|
moduleGroup: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES.moduleGroup>, 'importMapProviders' | 'group' | 'paths'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES.moduleGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export declare const AUTH_CORE_AUTH_EMAIL_PASSWORD_RENDERERS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAiBzD,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE;QACX,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,uCAAuC,CAAC,WAAW,CAC3D,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAiBzD,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE;QACX,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,uCAAuC,CAAC,WAAW,CAC3D,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAgED,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,kCAAkC,EAClC,oCAAoC,EACpC,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wEAAwE,CAAC;AAEnH,OAAO,EAAE,mCAAmC,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAe/E,MAAM,kCAAkC,GACtC,kBAAkB,CAChB,yCAAyC,CAC1C,CAAC;AAEJ,MAAM,sCAAsC,GAAG,mBAAmB,CAAC;IACjE,YAAY,EAAE;QACZ,iBAAiB,EAAE,yBAAyB;QAC5C,0BAA0B,EAAE,kCAAkC;QAC9D,4BAA4B,EAAE,oCAAoC;QAClE,KAAK,EAAE,mCAAmC,CAAC,QAAQ;QACnD,aAAa,EAAE,qBAAqB;QACpC,aAAa,EAAE,qBAAqB;QACpC,4BAA4B,EAAE,oCAAoC;QAClE,cAAc,EAAE,sBAAsB;QACtC,yBAAyB,EAAE,iCAAiC;QAC5D,uBAAuB,EAAE,+BAA+B;KACzD;IACD,OAAO,EAAE;QACP,kCAAkC,EAChC,kCAAkC,CAAC,MAAM,EAAE;KAC9C;IACD,GAAG,CAAC,EACF,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,EACL,aAAa,EACb,aAAa,EACb,4BAA4B,EAC5B,cAAc,EACd,yBAAyB,EACzB,uBAAuB,GACxB;QACC,OAAO;YACL,SAAS,EAAE;gBACT,kCAAkC,EAAE;oBAClC,WAAW,EAAE;wBACX,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,uCAAuC,CAAC,WAAW;4BAC1D,KAAK;4BACL,kBAAkB,EAAE;gCAClB,iBAAiB;gCACjB,0BAA0B;gCAC1B,4BAA4B;gCAC5B,aAAa;gCACb,aAAa;gCACb,4BAA4B;gCAC5B,yBAAyB;gCACzB,uBAAuB;6BACxB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,QAAQ,EAAE,kCAAkC;IAC5C,IAAI,EAAE,sCAAsC;CAC7C,CAAC"}
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/template-renderers.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,kCAAkC,EAClC,oCAAoC,EACpC,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wEAAwE,CAAC;AAEnH,OAAO,EAAE,mCAAmC,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,uCAAuC,EAAE,MAAM,sBAAsB,CAAC;AAe/E,MAAM,kCAAkC,GACtC,kBAAkB,CAChB,yCAAyC,CAC1C,CAAC;AAEJ,MAAM,sCAAsC,GAAG,mBAAmB,CAAC;IACjE,YAAY,EAAE;QACZ,iBAAiB,EAAE,yBAAyB;QAC5C,0BAA0B,EAAE,kCAAkC;QAC9D,4BAA4B,EAAE,oCAAoC;QAClE,KAAK,EAAE,mCAAmC,CAAC,QAAQ;QACnD,aAAa,EAAE,qBAAqB;QACpC,aAAa,EAAE,qBAAqB;QACpC,4BAA4B,EAAE,oCAAoC;QAClE,cAAc,EAAE,sBAAsB;QACtC,yBAAyB,EAAE,iCAAiC;QAC5D,uBAAuB,EAAE,+BAA+B;KACzD;IACD,OAAO,EAAE;QACP,kCAAkC,EAChC,kCAAkC,CAAC,MAAM,EAAE;KAC9C;IACD,GAAG,CAAC,EACF,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,EACL,aAAa,EACb,aAAa,EACb,4BAA4B,EAC5B,cAAc,EACd,yBAAyB,EACzB,uBAAuB,GACxB;QACC,OAAO;YACL,SAAS,EAAE;gBACT,kCAAkC,EAAE;oBAClC,WAAW,EAAE;wBACX,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,uCAAuC,CAAC,WAAW;4BAC1D,KAAK;4BACL,kBAAkB,EAAE;gCAClB,iBAAiB;gCACjB,0BAA0B;gCAC1B,4BAA4B;gCAC5B,aAAa;gCACb,aAAa;gCACb,4BAA4B;gCAC5B,yBAAyB;gCACzB,uBAAuB;6BACxB;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,QAAQ,EAAE,kCAAkC;IAC5C,IAAI,EAAE,sCAAsC;CAC7C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const moduleGroup: {
|
|
2
|
-
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
2
|
+
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
3
3
|
schemaUserPasswordMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
4
4
|
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
5
5
|
userSessionPayload: {};
|
|
@@ -7,6 +7,8 @@ export declare const moduleGroup: {
|
|
|
7
7
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
8
8
|
builder: {};
|
|
9
9
|
}>>;
|
|
10
|
+
}, {
|
|
11
|
+
servicesUserPassword: {};
|
|
10
12
|
}>;
|
|
11
13
|
servicesUserPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
12
14
|
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -43,11 +45,13 @@ export declare const moduleGroup: {
|
|
|
43
45
|
isTypeOnly: true;
|
|
44
46
|
};
|
|
45
47
|
}>>;
|
|
48
|
+
}, {
|
|
49
|
+
constantsPassword: {};
|
|
46
50
|
}>;
|
|
47
51
|
};
|
|
48
52
|
export declare const AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
49
53
|
moduleGroup: {
|
|
50
|
-
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
54
|
+
constantsPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
51
55
|
schemaUserPasswordMutations: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
52
56
|
authModuleImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
53
57
|
userSessionPayload: {};
|
|
@@ -55,6 +59,8 @@ export declare const AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
|
55
59
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
56
60
|
builder: {};
|
|
57
61
|
}>>;
|
|
62
|
+
}, {
|
|
63
|
+
servicesUserPassword: {};
|
|
58
64
|
}>;
|
|
59
65
|
servicesUserPassword: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
60
66
|
errorHandlerServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -91,6 +97,8 @@ export declare const AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
|
91
97
|
isTypeOnly: true;
|
|
92
98
|
};
|
|
93
99
|
}>>;
|
|
100
|
+
}, {
|
|
101
|
+
constantsPassword: {};
|
|
94
102
|
}>;
|
|
95
103
|
};
|
|
96
104
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"AAyEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkB,CAAC"}
|
|
@@ -21,6 +21,7 @@ const schemaUserPasswordMutations = createTsTemplateFile({
|
|
|
21
21
|
pothosImports: pothosImportsProvider,
|
|
22
22
|
},
|
|
23
23
|
name: 'schema-user-password-mutations',
|
|
24
|
+
referencedGeneratorTemplates: { servicesUserPassword: {} },
|
|
24
25
|
source: {
|
|
25
26
|
path: path.join(import.meta.dirname, '../templates/module/schema/user-password.mutations.ts'),
|
|
26
27
|
},
|
|
@@ -42,6 +43,7 @@ const servicesUserPassword = createTsTemplateFile({
|
|
|
42
43
|
authenticateUserWithEmailAndPassword: {},
|
|
43
44
|
createUserWithEmailAndPassword: {},
|
|
44
45
|
},
|
|
46
|
+
referencedGeneratorTemplates: { constantsPassword: {} },
|
|
45
47
|
source: {
|
|
46
48
|
path: path.join(import.meta.dirname, '../templates/module/services/user-password.service.ts'),
|
|
47
49
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,kCAAkC,EAClC,oCAAoC,EACpC,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,wEAAwE,CAAC;AAEnH,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,QAAQ;IACf,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,oBAAoB;IAC1B,cAAc,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,qDAAqD,CACtD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;IACvD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,QAAQ;IACf,kBAAkB,EAAE;QAClB,iBAAiB,EAAE,yBAAyB;QAC5C,aAAa,EAAE,qBAAqB;KACrC;IACD,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uDAAuD,CACxD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,QAAQ;IACf,kBAAkB,EAAE;QAClB,0BAA0B,EAAE,kCAAkC;QAC9D,4BAA4B,EAAE,oCAAoC;QAClE,aAAa,EAAE,qBAAqB;QACpC,4BAA4B,EAAE,oCAAoC;QAClE,yBAAyB,EAAE,iCAAiC;QAC5D,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,wBAAwB;IAC9B,cAAc,EAAE;QACd,oCAAoC,EAAE,EAAE;QACxC,8BAA8B,EAAE,EAAE;KACnC;IACD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uDAAuD,CACxD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB;IACjB,2BAA2B;IAC3B,oBAAoB;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,uCAAuC,GAAG,EAAE,WAAW,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,kCAAkC,EAClC,oCAAoC,EACpC,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,wEAAwE,CAAC;AAEnH,MAAM,iBAAiB,GAAG,oBAAoB,CAAC;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,QAAQ;IACf,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,oBAAoB;IAC1B,cAAc,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE;IAC3C,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,qDAAqD,CACtD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;IACvD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,QAAQ;IACf,kBAAkB,EAAE;QAClB,iBAAiB,EAAE,yBAAyB;QAC5C,aAAa,EAAE,qBAAqB;KACrC;IACD,IAAI,EAAE,gCAAgC;IACtC,4BAA4B,EAAE,EAAE,oBAAoB,EAAE,EAAE,EAAE;IAC1D,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uDAAuD,CACxD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,QAAQ;IACf,kBAAkB,EAAE;QAClB,0BAA0B,EAAE,kCAAkC;QAC9D,4BAA4B,EAAE,oCAAoC;QAClE,aAAa,EAAE,qBAAqB;QACpC,4BAA4B,EAAE,oCAAoC;QAClE,yBAAyB,EAAE,iCAAiC;QAC5D,uBAAuB,EAAE,+BAA+B;KACzD;IACD,IAAI,EAAE,wBAAwB;IAC9B,cAAc,EAAE;QACd,oCAAoC,EAAE,EAAE;QACxC,8BAA8B,EAAE,EAAE;KACnC;IACD,4BAA4B,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE;IACvD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,uDAAuD,CACxD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB;IACjB,2BAA2B;IAC3B,oBAAoB;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,uCAAuC,GAAG,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
+
import { authenticateUserWithEmailAndPassword, createUserWithEmailAndPassword, } from '$servicesUserPassword';
|
|
2
3
|
import { userSessionPayload } from '%authModuleImports';
|
|
3
4
|
import { builder } from '%pothosImports';
|
|
4
|
-
import { authenticateUserWithEmailAndPassword, createUserWithEmailAndPassword, } from '../services/user-password.service.js';
|
|
5
5
|
builder.mutationField('registerWithEmailPassword', (t) => t.fieldWithInputPayload({
|
|
6
6
|
authorize: ['public'],
|
|
7
7
|
payload: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-password.mutations.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,
|
|
1
|
+
{"version":3,"file":"user-password.mutations.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/auth-email-password/templates/module/schema/user-password.mutations.ts"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,EACL,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,OAAO,CAAC,aAAa,CAAC,2BAA2B,EAAE,CAAC,CAAC,EAAE,EAAE,CACvD,CAAC,CAAC,qBAAqB,CAAC;IACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;KACvD;IACD,KAAK,EAAE;QACL,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QACxD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;KAC5D;IACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,CAC1C,8BAA8B,CAAC;QAC7B,KAAK;QACL,OAAO;KACR,CAAC;CACL,CAAC,CACH,CAAC;AAEF,OAAO,CAAC,aAAa,CAAC,wBAAwB,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,CAAC,CAAC,qBAAqB,CAAC;IACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC;KACvD;IACD,KAAK,EAAE;QACL,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QACxD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;KAC5D;IACD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,CAC1C,oCAAoC,CAAC;QACnC,KAAK;QACL,OAAO;KACR,CAAC;CACL,CAAC,CACH,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
-
import { userSessionPayload } from '%authModuleImports';
|
|
4
|
-
import { builder } from '%pothosImports';
|
|
5
|
-
|
|
6
3
|
import {
|
|
7
4
|
authenticateUserWithEmailAndPassword,
|
|
8
5
|
createUserWithEmailAndPassword,
|
|
9
|
-
} from '
|
|
6
|
+
} from '$servicesUserPassword';
|
|
7
|
+
import { userSessionPayload } from '%authModuleImports';
|
|
8
|
+
import { builder } from '%pothosImports';
|
|
10
9
|
|
|
11
10
|
builder.mutationField('registerWithEmailPassword', (t) =>
|
|
12
11
|
t.fieldWithInputPayload({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-password.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"user-password.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AA4BnE,wBAAsB,8BAA8B,CAAC,EACnD,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,OAAO,EAAE,qBAAqB,CAAC;CAChC,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAmC3C;AAED,wBAAsB,oCAAoC,CAAC,EACzD,KAAK,EACL,OAAO,GACR,EAAE;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,OAAO,EAAE,qBAAqB,CAAC;CAChC,GAAG,OAAO,CAAC;IAAE,OAAO,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAkC3C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
+
import { PASSWORD_MIN_LENGTH } from '$constantsPassword';
|
|
2
3
|
import { BadRequestError, handleZodRequestValidationError, } from '%errorHandlerServiceImports';
|
|
3
4
|
import { createPasswordHash, verifyPasswordHash, } from '%passwordHasherServiceImports';
|
|
4
5
|
import { prisma } from '%prismaImports';
|
|
5
6
|
import { userSessionService } from '%userSessionServiceImports';
|
|
6
7
|
import z from 'zod';
|
|
7
|
-
import { PASSWORD_MIN_LENGTH } from '../constants/password.constants.js';
|
|
8
8
|
const PROVIDER_ID = 'email-password';
|
|
9
9
|
const MAX_VALUE_LENGTH = 255;
|
|
10
10
|
const emailPasswordSchema = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-password.service.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts"],"names":[],"mappings":"AAAA,cAAc;AAKd,OAAO,EACL,eAAe,EACf,+BAA+B,GAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,
|
|
1
|
+
{"version":3,"file":"user-password.service.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts"],"names":[],"mappings":"AAAA,cAAc;AAKd,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,eAAe,EACf,+BAA+B,GAChC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,WAAW,GAAG,gBAAgB,CAAC;AAErC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAE7B,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,KAAK,EAAE;SACP,GAAG,CAAC,gBAAgB,CAAC;SACrB,SAAS,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;IAC5C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC;CACpE,CAAC,CAAC;AAEH,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAAC,EACnD,KAAK,EACL,OAAO,GAOR;IACC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,mBAAmB;SAClD,UAAU,CAAC,KAAK,CAAC;SACjB,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAC1C,+CAA+C;IAC/C,MAAM,YAAY,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC;QACvD,KAAK,EAAE;YACL,oBAAoB,EAAE;gBACpB,SAAS,EAAE,KAAK;gBAChB,UAAU,EAAE,WAAW;aACxB;SACF;KACF,CAAC,CAAC;IAEH,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;QAC1B,MAAM,IAAI,eAAe,CAAC,qBAAqB,EAAE,aAAa,CAAC,CAAC;IAClE,CAAC;IAED,cAAc;IACd,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACpC,IAAI,EAAE;YACJ,KAAK;YACL,QAAQ,EAAE;gBACR,MAAM,EAAE;oBACN,SAAS,EAAE,KAAK;oBAChB,UAAU,EAAE,WAAW;oBACvB,QAAQ,EAAE,MAAM,kBAAkB,CAAC,QAAQ,CAAC;iBAC7C;aACF;SACF;KACF,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,MAAM,kBAAkB,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;IAEzE,OAAO,EAAE,OAAO,EAAE,CAAC;AACrB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,oCAAoC,CAAC,EACzD,KAAK,EACL,OAAO,GAOR;IACC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,mBAAmB;SAClD,UAAU,CAAC,KAAK,CAAC;SACjB,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAE1C,uCAAuC;IACvC,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,UAAU,CAAC;QACtD,KAAK,EAAE;YACL,oBAAoB,EAAE;gBACpB,SAAS,EAAE,KAAK;gBAChB,UAAU,EAAE,WAAW;aACxB;SACF;KACF,CAAC,CAAC;IAEH,IAAI,WAAW,KAAK,IAAI,EAAE,CAAC;QACzB,MAAM,IAAI,eAAe,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;IAC9D,CAAC;IAED,2BAA2B;IAC3B,MAAM,OAAO,GAAG,MAAM,kBAAkB,CACtC,WAAW,CAAC,QAAQ,IAAI,EAAE,EAC1B,QAAQ,CACT,CAAC;IACF,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;IACpE,CAAC;IAED,MAAM,OAAO,GAAG,MAAM,kBAAkB,CAAC,aAAa,CACpD,WAAW,CAAC,MAAM,EAClB,OAAO,CACR,CAAC;IAEF,OAAO,EAAE,OAAO,EAAE,CAAC;AACrB,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import type { RequestServiceContext } from '%requestServiceContextImports';
|
|
4
4
|
import type { UserSessionPayload } from '%userSessionTypesImports';
|
|
5
5
|
|
|
6
|
+
import { PASSWORD_MIN_LENGTH } from '$constantsPassword';
|
|
6
7
|
import {
|
|
7
8
|
BadRequestError,
|
|
8
9
|
handleZodRequestValidationError,
|
|
@@ -15,8 +16,6 @@ import { prisma } from '%prismaImports';
|
|
|
15
16
|
import { userSessionService } from '%userSessionServiceImports';
|
|
16
17
|
import z from 'zod';
|
|
17
18
|
|
|
18
|
-
import { PASSWORD_MIN_LENGTH } from '../constants/password.constants.js';
|
|
19
|
-
|
|
20
19
|
const PROVIDER_ID = 'email-password';
|
|
21
20
|
|
|
22
21
|
const MAX_VALUE_LENGTH = 255;
|
|
@@ -55,7 +55,6 @@ export declare const authHooksGenerator: import("@baseplate-dev/sync").Generator
|
|
|
55
55
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
56
56
|
}, undefined>;
|
|
57
57
|
main: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
58
|
-
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").AuthCoreAuthHooksPaths>;
|
|
59
58
|
renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").AuthCoreAuthHooksRenderers>;
|
|
60
59
|
}, any>;
|
|
61
60
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-hooks/auth-hooks.generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth-hooks.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-hooks/auth-hooks.generator.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB7B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { renderTextTemplateFileAction } from '@baseplate-dev/core-generators';
|
|
2
1
|
import { createGenerator, createGeneratorTask } from '@baseplate-dev/sync';
|
|
3
2
|
import { z } from 'zod';
|
|
4
3
|
import { AUTH_CORE_AUTH_HOOKS_GENERATED as GENERATED_TEMPLATES } from './generated/index.js';
|
|
@@ -18,17 +17,13 @@ export const authHooksGenerator = createGenerator({
|
|
|
18
17
|
renderers: GENERATED_TEMPLATES.renderers.task,
|
|
19
18
|
main: createGeneratorTask({
|
|
20
19
|
dependencies: {
|
|
21
|
-
paths: GENERATED_TEMPLATES.paths.provider,
|
|
22
20
|
renderers: GENERATED_TEMPLATES.renderers.provider,
|
|
23
21
|
},
|
|
24
|
-
run({
|
|
22
|
+
run({ renderers }) {
|
|
25
23
|
return {
|
|
26
24
|
build: async (builder) => {
|
|
27
25
|
await builder.apply(renderers.hooksGroup.render({}));
|
|
28
|
-
await builder.apply(
|
|
29
|
-
template: GENERATED_TEMPLATES.templates.useCurrentUserGql,
|
|
30
|
-
destination: paths.useCurrentUserGql,
|
|
31
|
-
}));
|
|
26
|
+
await builder.apply(renderers.hooksGqlGroup.render({}));
|
|
32
27
|
},
|
|
33
28
|
};
|
|
34
29
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-hooks/auth-hooks.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"auth-hooks.generator.js","sourceRoot":"","sources":["../../../../../src/auth/core/generators/auth-hooks/auth-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,8BAA8B,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE7F,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEtC;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC;IAChD,IAAI,EAAE,sBAAsB;IAC5B,gBAAgB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG;IACjC,gBAAgB;IAChB,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC;QACjB,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,IAAI;QACrC,OAAO,EAAE,mBAAmB,CAAC,OAAO,CAAC,IAAI;QACzC,SAAS,EAAE,mBAAmB,CAAC,SAAS,CAAC,IAAI;QAC7C,IAAI,EAAE,mBAAmB,CAAC;YACxB,YAAY,EAAE;gBACZ,SAAS,EAAE,mBAAmB,CAAC,SAAS,CAAC,QAAQ;aAClD;YACD,GAAG,CAAC,EAAE,SAAS,EAAE;gBACf,OAAO;oBACL,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;wBACvB,MAAM,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;wBACrD,MAAM,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;oBAC1D,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -58,11 +58,17 @@ export declare const AUTH_CORE_AUTH_HOOKS_GENERATED: {
|
|
|
58
58
|
}, undefined>;
|
|
59
59
|
};
|
|
60
60
|
templates: {
|
|
61
|
+
hooksGqlGroup: {
|
|
62
|
+
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
63
|
+
useLogOutGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
64
|
+
};
|
|
61
65
|
hooksGroup: {
|
|
62
66
|
useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
63
67
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
64
68
|
'*': {};
|
|
65
69
|
}>>;
|
|
70
|
+
}, {
|
|
71
|
+
useSession: {};
|
|
66
72
|
}>;
|
|
67
73
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
68
74
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -91,8 +97,10 @@ export declare const AUTH_CORE_AUTH_HOOKS_GENERATED: {
|
|
|
91
97
|
};
|
|
92
98
|
useUserSessionClient: {};
|
|
93
99
|
}>>;
|
|
100
|
+
}, Record<never, Record<never, never>>>;
|
|
101
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
102
|
+
useSession: {};
|
|
94
103
|
}>;
|
|
95
|
-
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
96
104
|
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
97
105
|
reactSessionImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
98
106
|
createUserSessionClient: {};
|
|
@@ -112,9 +120,8 @@ export declare const AUTH_CORE_AUTH_HOOKS_GENERATED: {
|
|
|
112
120
|
};
|
|
113
121
|
useUserSessionClient: {};
|
|
114
122
|
}>>;
|
|
115
|
-
}
|
|
123
|
+
}, Record<never, Record<never, never>>>;
|
|
116
124
|
};
|
|
117
|
-
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
118
125
|
};
|
|
119
126
|
};
|
|
120
127
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,8BAA8B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"template-paths.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AA2BD,eAAO,MAAM,0BAA0B;;;;;;;CAGtC,CAAC"}
|
|
@@ -12,6 +12,7 @@ const authCoreAuthHooksPathsTask = createGeneratorTask({
|
|
|
12
12
|
useCurrentUser: `${srcRoot}/hooks/use-current-user.ts`,
|
|
13
13
|
useCurrentUserGql: `${srcRoot}/hooks/use-current-user.gql`,
|
|
14
14
|
useLogOut: `${srcRoot}/hooks/use-log-out.ts`,
|
|
15
|
+
useLogOutGql: `${srcRoot}/hooks/use-log-out.gql`,
|
|
15
16
|
useRequiredUserId: `${srcRoot}/hooks/use-user-id-or-throw.ts`,
|
|
16
17
|
useSession: `${srcRoot}/hooks/use-session.ts`,
|
|
17
18
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"template-paths.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAW9E,MAAM,sBAAsB,GAAG,kBAAkB,CAC/C,4BAA4B,CAC7B,CAAC;AAEF,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;IACrD,YAAY,EAAE,EAAE,WAAW,EAAE,mBAAmB,EAAE;IAClD,OAAO,EAAE,EAAE,sBAAsB,EAAE,sBAAsB,CAAC,MAAM,EAAE,EAAE;IACpE,GAAG,CAAC,EAAE,WAAW,EAAE;QACjB,MAAM,OAAO,GAAG,WAAW,CAAC,iBAAiB,EAAE,CAAC;QAEhD,OAAO;YACL,SAAS,EAAE;gBACT,sBAAsB,EAAE;oBACtB,cAAc,EAAE,GAAG,OAAO,4BAA4B;oBACtD,iBAAiB,EAAE,GAAG,OAAO,6BAA6B;oBAC1D,SAAS,EAAE,GAAG,OAAO,uBAAuB;oBAC5C,YAAY,EAAE,GAAG,OAAO,wBAAwB;oBAChD,iBAAiB,EAAE,GAAG,OAAO,gCAAgC;oBAC7D,UAAU,EAAE,GAAG,OAAO,uBAAuB;iBAC9C;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,sBAAsB;IAChC,IAAI,EAAE,0BAA0B;CACjC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { RenderTextTemplateGroupActionInput, RenderTsTemplateGroupActionInput } from '@baseplate-dev/core-generators';
|
|
2
2
|
import type { BuilderAction } from '@baseplate-dev/sync';
|
|
3
3
|
import { AUTH_CORE_AUTH_HOOKS_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface AuthCoreAuthHooksRenderers {
|
|
5
|
-
|
|
6
|
-
render: (options: Omit<
|
|
5
|
+
hooksGqlGroup: {
|
|
6
|
+
render: (options: Omit<RenderTextTemplateGroupActionInput<typeof AUTH_CORE_AUTH_HOOKS_TEMPLATES.hooksGqlGroup>, 'group' | 'paths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
render: (options: Omit<
|
|
8
|
+
hooksGroup: {
|
|
9
|
+
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH_CORE_AUTH_HOOKS_TEMPLATES.hooksGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export declare const AUTH_CORE_AUTH_HOOKS_RENDERERS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAezD,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAEtE,MAAM,WAAW,0BAA0B;IACzC,aAAa,EAAE;QACb,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,kCAAkC,CAChC,OAAO,8BAA8B,CAAC,aAAa,CACpD,EACD,OAAO,GAAG,OAAO,CAClB,KACE,aAAa,CAAC;KACpB,CAAC;IACF,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,8BAA8B,CAAC,UAAU,CACjD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAsDD,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG1C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { renderTextTemplateGroupAction, typescriptFileProvider, } from '@baseplate-dev/core-generators';
|
|
2
2
|
import { generatedGraphqlImportsProvider, reactErrorImportsProvider, } from '@baseplate-dev/react-generators';
|
|
3
3
|
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
4
4
|
import { reactSessionImportsProvider } from '#src/auth/core/generators/react-session/generated/ts-import-providers.js';
|
|
@@ -18,6 +18,13 @@ const authCoreAuthHooksRenderersTask = createGeneratorTask({
|
|
|
18
18
|
return {
|
|
19
19
|
providers: {
|
|
20
20
|
authCoreAuthHooksRenderers: {
|
|
21
|
+
hooksGqlGroup: {
|
|
22
|
+
render: (options) => renderTextTemplateGroupAction({
|
|
23
|
+
group: AUTH_CORE_AUTH_HOOKS_TEMPLATES.hooksGqlGroup,
|
|
24
|
+
paths,
|
|
25
|
+
...options,
|
|
26
|
+
}),
|
|
27
|
+
},
|
|
21
28
|
hooksGroup: {
|
|
22
29
|
render: (options) => typescriptFile.renderTemplateGroup({
|
|
23
30
|
group: AUTH_CORE_AUTH_HOOKS_TEMPLATES.hooksGroup,
|
|
@@ -27,13 +34,7 @@ const authCoreAuthHooksRenderersTask = createGeneratorTask({
|
|
|
27
34
|
reactErrorImports,
|
|
28
35
|
reactSessionImports,
|
|
29
36
|
},
|
|
30
|
-
|
|
31
|
-
}),
|
|
32
|
-
},
|
|
33
|
-
useCurrentUserGql: {
|
|
34
|
-
render: (options) => renderTextTemplateFileAction({
|
|
35
|
-
template: AUTH_CORE_AUTH_HOOKS_TEMPLATES.useCurrentUserGql,
|
|
36
|
-
destination: paths.useCurrentUserGql,
|
|
37
|
+
generatorPaths: paths,
|
|
37
38
|
...options,
|
|
38
39
|
}),
|
|
39
40
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,6BAA6B,EAC7B,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,2BAA2B,EAAE,MAAM,0EAA0E,CAAC;AAEvH,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAyBtE,MAAM,0BAA0B,GAC9B,kBAAkB,CAChB,gCAAgC,CACjC,CAAC;AAEJ,MAAM,8BAA8B,GAAG,mBAAmB,CAAC;IACzD,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,0BAA0B,CAAC,QAAQ;QAC1C,iBAAiB,EAAE,yBAAyB;QAC5C,mBAAmB,EAAE,2BAA2B;QAChD,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE,EAAE,0BAA0B,EAAE,0BAA0B,CAAC,MAAM,EAAE,EAAE;IAC5E,GAAG,CAAC,EACF,uBAAuB,EACvB,KAAK,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf;QACC,OAAO;YACL,SAAS,EAAE;gBACT,0BAA0B,EAAE;oBAC1B,aAAa,EAAE;wBACb,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,6BAA6B,CAAC;4BAC5B,KAAK,EAAE,8BAA8B,CAAC,aAAa;4BACnD,KAAK;4BACL,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,UAAU,EAAE;wBACV,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,8BAA8B,CAAC,UAAU;4BAChD,KAAK;4BACL,kBAAkB,EAAE;gCAClB,uBAAuB;gCACvB,iBAAiB;gCACjB,mBAAmB;6BACpB;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,0BAA0B;IACpC,IAAI,EAAE,8BAA8B;CACrC,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
export declare const hooksGqlGroup: {
|
|
2
|
+
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
3
|
+
useLogOutGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
4
|
+
};
|
|
1
5
|
export declare const hooksGroup: {
|
|
2
6
|
useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
3
7
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
4
8
|
'*': {};
|
|
5
9
|
}>>;
|
|
10
|
+
}, {
|
|
11
|
+
useSession: {};
|
|
6
12
|
}>;
|
|
7
13
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
8
14
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -31,8 +37,10 @@ export declare const hooksGroup: {
|
|
|
31
37
|
};
|
|
32
38
|
useUserSessionClient: {};
|
|
33
39
|
}>>;
|
|
40
|
+
}, Record<never, Record<never, never>>>;
|
|
41
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
42
|
+
useSession: {};
|
|
34
43
|
}>;
|
|
35
|
-
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
36
44
|
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
37
45
|
reactSessionImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
38
46
|
createUserSessionClient: {};
|
|
@@ -52,14 +60,20 @@ export declare const hooksGroup: {
|
|
|
52
60
|
};
|
|
53
61
|
useUserSessionClient: {};
|
|
54
62
|
}>>;
|
|
55
|
-
}
|
|
63
|
+
}, Record<never, Record<never, never>>>;
|
|
56
64
|
};
|
|
57
65
|
export declare const AUTH_CORE_AUTH_HOOKS_TEMPLATES: {
|
|
66
|
+
hooksGqlGroup: {
|
|
67
|
+
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
68
|
+
useLogOutGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
69
|
+
};
|
|
58
70
|
hooksGroup: {
|
|
59
71
|
useCurrentUser: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
60
72
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
61
73
|
'*': {};
|
|
62
74
|
}>>;
|
|
75
|
+
}, {
|
|
76
|
+
useSession: {};
|
|
63
77
|
}>;
|
|
64
78
|
useLogOut: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
65
79
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
@@ -88,8 +102,10 @@ export declare const AUTH_CORE_AUTH_HOOKS_TEMPLATES: {
|
|
|
88
102
|
};
|
|
89
103
|
useUserSessionClient: {};
|
|
90
104
|
}>>;
|
|
105
|
+
}, Record<never, Record<never, never>>>;
|
|
106
|
+
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
107
|
+
useSession: {};
|
|
91
108
|
}>;
|
|
92
|
-
useRequiredUserId: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
93
109
|
useSession: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
94
110
|
reactSessionImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
95
111
|
createUserSessionClient: {};
|
|
@@ -109,8 +125,7 @@ export declare const AUTH_CORE_AUTH_HOOKS_TEMPLATES: {
|
|
|
109
125
|
};
|
|
110
126
|
useUserSessionClient: {};
|
|
111
127
|
}>>;
|
|
112
|
-
}
|
|
128
|
+
}, Record<never, Record<never, never>>>;
|
|
113
129
|
};
|
|
114
|
-
useCurrentUserGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
115
130
|
};
|
|
116
131
|
//# sourceMappingURL=typed-templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-hooks/generated/typed-templates.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,aAAa;;;CAAsC,CAAC;AAsEjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtB,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgC,CAAC"}
|
|
@@ -2,6 +2,25 @@ import { createTextTemplateFile, createTsTemplateFile, } from '@baseplate-dev/co
|
|
|
2
2
|
import { generatedGraphqlImportsProvider, reactErrorImportsProvider, } from '@baseplate-dev/react-generators';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import { reactSessionImportsProvider } from '#src/auth/core/generators/react-session/generated/ts-import-providers.js';
|
|
5
|
+
const useCurrentUserGql = createTextTemplateFile({
|
|
6
|
+
fileOptions: { kind: 'singleton' },
|
|
7
|
+
group: 'hooks-gql',
|
|
8
|
+
name: 'use-current-user-gql',
|
|
9
|
+
source: {
|
|
10
|
+
path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.gql'),
|
|
11
|
+
},
|
|
12
|
+
variables: {},
|
|
13
|
+
});
|
|
14
|
+
const useLogOutGql = createTextTemplateFile({
|
|
15
|
+
fileOptions: { kind: 'singleton' },
|
|
16
|
+
group: 'hooks-gql',
|
|
17
|
+
name: 'use-log-out-gql',
|
|
18
|
+
source: {
|
|
19
|
+
path: path.join(import.meta.dirname, '../templates/src/hooks/use-log-out.gql'),
|
|
20
|
+
},
|
|
21
|
+
variables: {},
|
|
22
|
+
});
|
|
23
|
+
export const hooksGqlGroup = { useCurrentUserGql, useLogOutGql };
|
|
5
24
|
const useCurrentUser = createTsTemplateFile({
|
|
6
25
|
fileOptions: { kind: 'singleton' },
|
|
7
26
|
group: 'hooks',
|
|
@@ -10,6 +29,7 @@ const useCurrentUser = createTsTemplateFile({
|
|
|
10
29
|
},
|
|
11
30
|
name: 'use-current-user',
|
|
12
31
|
projectExports: { useCurrentUser: {} },
|
|
32
|
+
referencedGeneratorTemplates: { useSession: {} },
|
|
13
33
|
source: {
|
|
14
34
|
path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.ts'),
|
|
15
35
|
},
|
|
@@ -36,6 +56,7 @@ const useRequiredUserId = createTsTemplateFile({
|
|
|
36
56
|
importMapProviders: {},
|
|
37
57
|
name: 'use-required-user-id',
|
|
38
58
|
projectExports: { useRequiredUserId: {} },
|
|
59
|
+
referencedGeneratorTemplates: { useSession: {} },
|
|
39
60
|
source: {
|
|
40
61
|
path: path.join(import.meta.dirname, '../templates/src/hooks/use-user-id-or-throw.ts'),
|
|
41
62
|
},
|
|
@@ -58,13 +79,5 @@ export const hooksGroup = {
|
|
|
58
79
|
useRequiredUserId,
|
|
59
80
|
useSession,
|
|
60
81
|
};
|
|
61
|
-
const
|
|
62
|
-
fileOptions: { kind: 'singleton' },
|
|
63
|
-
name: 'use-current-user-gql',
|
|
64
|
-
source: {
|
|
65
|
-
path: path.join(import.meta.dirname, '../templates/src/hooks/use-current-user.gql'),
|
|
66
|
-
},
|
|
67
|
-
variables: {},
|
|
68
|
-
});
|
|
69
|
-
export const AUTH_CORE_AUTH_HOOKS_TEMPLATES = { hooksGroup, useCurrentUserGql };
|
|
82
|
+
export const AUTH_CORE_AUTH_HOOKS_TEMPLATES = { hooksGqlGroup, hooksGroup };
|
|
70
83
|
//# sourceMappingURL=typed-templates.js.map
|