@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
|
@@ -82,7 +82,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_GENERATED: {
|
|
|
82
82
|
inputVariants: {};
|
|
83
83
|
Label: {};
|
|
84
84
|
LinkButton: {};
|
|
85
|
-
ListGroup: {};
|
|
86
85
|
Loader: {};
|
|
87
86
|
mergeRefs: {};
|
|
88
87
|
Modal: {};
|
|
@@ -244,7 +243,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_GENERATED: {
|
|
|
244
243
|
inputVariants: {};
|
|
245
244
|
Label: {};
|
|
246
245
|
LinkButton: {};
|
|
247
|
-
ListGroup: {};
|
|
248
246
|
Loader: {};
|
|
249
247
|
mergeRefs: {};
|
|
250
248
|
Modal: {};
|
|
@@ -331,7 +329,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_GENERATED: {
|
|
|
331
329
|
};
|
|
332
330
|
useUserSessionClient: {};
|
|
333
331
|
}>>;
|
|
334
|
-
}
|
|
332
|
+
}, Record<never, Record<never, never>>>;
|
|
335
333
|
register: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
336
334
|
apolloErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
337
335
|
getApolloErrorCode: {};
|
|
@@ -402,7 +400,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_GENERATED: {
|
|
|
402
400
|
inputVariants: {};
|
|
403
401
|
Label: {};
|
|
404
402
|
LinkButton: {};
|
|
405
|
-
ListGroup: {};
|
|
406
403
|
Loader: {};
|
|
407
404
|
mergeRefs: {};
|
|
408
405
|
Modal: {};
|
|
@@ -489,8 +486,8 @@ export declare const AUTH_CORE_AUTH_ROUTES_GENERATED: {
|
|
|
489
486
|
};
|
|
490
487
|
useUserSessionClient: {};
|
|
491
488
|
}>>;
|
|
492
|
-
}
|
|
493
|
-
route: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
489
|
+
}, Record<never, Record<never, never>>>;
|
|
490
|
+
route: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
494
491
|
};
|
|
495
492
|
queriesGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
496
493
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-routes/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-routes/generated/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI3C,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { AUTH_CORE_AUTH_ROUTES_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface AuthCoreAuthRoutesRenderers {
|
|
5
5
|
mainGroup: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH_CORE_AUTH_ROUTES_TEMPLATES.mainGroup>, 'importMapProviders' | 'group' | 'paths'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH_CORE_AUTH_ROUTES_TEMPLATES.mainGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
queriesGql: {
|
|
9
9
|
render: (options: Omit<RenderTextTemplateFileActionInput<typeof AUTH_CORE_AUTH_ROUTES_TEMPLATES.queriesGql>, 'destination' | 'template'>) => BuilderAction;
|
|
@@ -84,7 +84,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_RENDERERS: {
|
|
|
84
84
|
inputVariants: {};
|
|
85
85
|
Label: {};
|
|
86
86
|
LinkButton: {};
|
|
87
|
-
ListGroup: {};
|
|
88
87
|
Loader: {};
|
|
89
88
|
mergeRefs: {};
|
|
90
89
|
Modal: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-routes/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;AAiBzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAEvE,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE;QACT,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,+BAA+B,CAAC,SAAS,CACjD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-routes/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;AAiBzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,sBAAsB,CAAC;AAEvE,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE;QACT,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,+BAA+B,CAAC,SAAS,CACjD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,iCAAiC,CAC/B,OAAO,+BAA+B,CAAC,UAAU,CAClD,EACD,aAAa,GAAG,UAAU,CAC3B,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AA6DD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAG3C,CAAC"}
|
|
@@ -69,7 +69,6 @@ export declare const mainGroup: {
|
|
|
69
69
|
inputVariants: {};
|
|
70
70
|
Label: {};
|
|
71
71
|
LinkButton: {};
|
|
72
|
-
ListGroup: {};
|
|
73
72
|
Loader: {};
|
|
74
73
|
mergeRefs: {};
|
|
75
74
|
Modal: {};
|
|
@@ -156,7 +155,7 @@ export declare const mainGroup: {
|
|
|
156
155
|
};
|
|
157
156
|
useUserSessionClient: {};
|
|
158
157
|
}>>;
|
|
159
|
-
}
|
|
158
|
+
}, Record<never, Record<never, never>>>;
|
|
160
159
|
register: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
161
160
|
apolloErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
162
161
|
getApolloErrorCode: {};
|
|
@@ -227,7 +226,6 @@ export declare const mainGroup: {
|
|
|
227
226
|
inputVariants: {};
|
|
228
227
|
Label: {};
|
|
229
228
|
LinkButton: {};
|
|
230
|
-
ListGroup: {};
|
|
231
229
|
Loader: {};
|
|
232
230
|
mergeRefs: {};
|
|
233
231
|
Modal: {};
|
|
@@ -314,8 +312,8 @@ export declare const mainGroup: {
|
|
|
314
312
|
};
|
|
315
313
|
useUserSessionClient: {};
|
|
316
314
|
}>>;
|
|
317
|
-
}
|
|
318
|
-
route: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
315
|
+
}, Record<never, Record<never, never>>>;
|
|
316
|
+
route: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
319
317
|
};
|
|
320
318
|
export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
321
319
|
mainGroup: {
|
|
@@ -389,7 +387,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
389
387
|
inputVariants: {};
|
|
390
388
|
Label: {};
|
|
391
389
|
LinkButton: {};
|
|
392
|
-
ListGroup: {};
|
|
393
390
|
Loader: {};
|
|
394
391
|
mergeRefs: {};
|
|
395
392
|
Modal: {};
|
|
@@ -476,7 +473,7 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
476
473
|
};
|
|
477
474
|
useUserSessionClient: {};
|
|
478
475
|
}>>;
|
|
479
|
-
}
|
|
476
|
+
}, Record<never, Record<never, never>>>;
|
|
480
477
|
register: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
481
478
|
apolloErrorImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
482
479
|
getApolloErrorCode: {};
|
|
@@ -547,7 +544,6 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
547
544
|
inputVariants: {};
|
|
548
545
|
Label: {};
|
|
549
546
|
LinkButton: {};
|
|
550
|
-
ListGroup: {};
|
|
551
547
|
Loader: {};
|
|
552
548
|
mergeRefs: {};
|
|
553
549
|
Modal: {};
|
|
@@ -634,8 +630,8 @@ export declare const AUTH_CORE_AUTH_ROUTES_TEMPLATES: {
|
|
|
634
630
|
};
|
|
635
631
|
useUserSessionClient: {};
|
|
636
632
|
}>>;
|
|
637
|
-
}
|
|
638
|
-
route: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}
|
|
633
|
+
}, Record<never, Record<never, never>>>;
|
|
634
|
+
route: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, Record<never, Record<never, never>>>;
|
|
639
635
|
};
|
|
640
636
|
queriesGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
641
637
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-routes/generated/typed-templates.ts"],"names":[],"mappings":"AA8DA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/auth-routes/generated/typed-templates.ts"],"names":[],"mappings":"AA8DA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA6B,CAAC;AAcpD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4B,CAAC"}
|
|
@@ -52,14 +52,21 @@ export declare const AUTH_CORE_REACT_SESSION_GENERATED: {
|
|
|
52
52
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
53
53
|
'*': {};
|
|
54
54
|
}>>;
|
|
55
|
+
}, {
|
|
56
|
+
useUserSessionClient: {};
|
|
55
57
|
}>;
|
|
56
58
|
userSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
57
59
|
reactUtilsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
58
60
|
getSafeLocalStorage: {};
|
|
59
61
|
}>>;
|
|
62
|
+
}, Record<never, Record<never, never>>>;
|
|
63
|
+
userSessionProvider: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
64
|
+
useUserSessionClient: {};
|
|
65
|
+
userSessionClient: {};
|
|
66
|
+
}>;
|
|
67
|
+
useUserSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
68
|
+
userSessionClient: {};
|
|
60
69
|
}>;
|
|
61
|
-
userSessionProvider: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
62
|
-
useUserSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
63
70
|
};
|
|
64
71
|
userSessionCheckGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
65
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iCAAiC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK7C,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { AUTH_CORE_REACT_SESSION_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface AuthCoreReactSessionRenderers {
|
|
5
5
|
mainGroup: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH_CORE_REACT_SESSION_TEMPLATES.mainGroup>, 'importMapProviders' | 'group' | 'paths'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateGroupActionInput<typeof AUTH_CORE_REACT_SESSION_TEMPLATES.mainGroup>, 'importMapProviders' | 'group' | 'paths' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
userSessionCheckGql: {
|
|
9
9
|
render: (options: Omit<RenderTextTemplateFileActionInput<typeof AUTH_CORE_REACT_SESSION_TEMPLATES.userSessionCheckGql>, 'destination' | 'template'>) => BuilderAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/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,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAEzE,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE;QACT,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,iCAAiC,CAAC,SAAS,CACnD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/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,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAEzE,MAAM,WAAW,6BAA6B;IAC5C,SAAS,EAAE;QACT,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,iCAAiC,CAAC,SAAS,CACnD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,mBAAmB,EAAE;QACnB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,iCAAiC,CAC/B,OAAO,iCAAiC,CAAC,mBAAmB,CAC7D,EACD,aAAa,GAAG,UAAU,CAC3B,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAgDD,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;CAG7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/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,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAyBzE,MAAM,6BAA6B,GACjC,kBAAkB,CAChB,mCAAmC,CACpC,CAAC;AAEJ,MAAM,iCAAiC,GAAG,mBAAmB,CAAC;IAC5D,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,6BAA6B,CAAC,QAAQ;QAC7C,iBAAiB,EAAE,yBAAyB;QAC5C,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,6BAA6B,EAAE,6BAA6B,CAAC,MAAM,EAAE;KACtE;IACD,GAAG,CAAC,EAAE,uBAAuB,EAAE,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE;QACvE,OAAO;YACL,SAAS,EAAE;gBACT,6BAA6B,EAAE;oBAC7B,SAAS,EAAE;wBACT,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,iCAAiC,CAAC,SAAS;4BAClD,KAAK;4BACL,kBAAkB,EAAE;gCAClB,uBAAuB;gCACvB,iBAAiB;6BAClB;4BACD,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,mBAAmB,EAAE;wBACnB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,4BAA4B,CAAC;4BAC3B,QAAQ,EAAE,iCAAiC,CAAC,mBAAmB;4BAC/D,WAAW,EAAE,KAAK,CAAC,mBAAmB;4BACtC,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,6BAA6B;IACvC,IAAI,EAAE,iCAAiC;CACxC,CAAC"}
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/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,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAyBzE,MAAM,6BAA6B,GACjC,kBAAkB,CAChB,mCAAmC,CACpC,CAAC;AAEJ,MAAM,iCAAiC,GAAG,mBAAmB,CAAC;IAC5D,YAAY,EAAE;QACZ,uBAAuB,EAAE,+BAA+B;QACxD,KAAK,EAAE,6BAA6B,CAAC,QAAQ;QAC7C,iBAAiB,EAAE,yBAAyB;QAC5C,cAAc,EAAE,sBAAsB;KACvC;IACD,OAAO,EAAE;QACP,6BAA6B,EAAE,6BAA6B,CAAC,MAAM,EAAE;KACtE;IACD,GAAG,CAAC,EAAE,uBAAuB,EAAE,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE;QACvE,OAAO;YACL,SAAS,EAAE;gBACT,6BAA6B,EAAE;oBAC7B,SAAS,EAAE;wBACT,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EAAE,iCAAiC,CAAC,SAAS;4BAClD,KAAK;4BACL,kBAAkB,EAAE;gCAClB,uBAAuB;gCACvB,iBAAiB;6BAClB;4BACD,cAAc,EAAE,KAAK;4BACrB,GAAG,OAAO;yBACX,CAAC;qBACL;oBACD,mBAAmB,EAAE;wBACnB,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,4BAA4B,CAAC;4BAC3B,QAAQ,EAAE,iCAAiC,CAAC,mBAAmB;4BAC/D,WAAW,EAAE,KAAK,CAAC,mBAAmB;4BACtC,GAAG,OAAO;yBACX,CAAC;qBACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,QAAQ,EAAE,6BAA6B;IACvC,IAAI,EAAE,iCAAiC;CACxC,CAAC"}
|
|
@@ -3,14 +3,21 @@ export declare const mainGroup: {
|
|
|
3
3
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
4
4
|
'*': {};
|
|
5
5
|
}>>;
|
|
6
|
+
}, {
|
|
7
|
+
useUserSessionClient: {};
|
|
6
8
|
}>;
|
|
7
9
|
userSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
8
10
|
reactUtilsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
9
11
|
getSafeLocalStorage: {};
|
|
10
12
|
}>>;
|
|
13
|
+
}, Record<never, Record<never, never>>>;
|
|
14
|
+
userSessionProvider: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
15
|
+
useUserSessionClient: {};
|
|
16
|
+
userSessionClient: {};
|
|
17
|
+
}>;
|
|
18
|
+
useUserSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
19
|
+
userSessionClient: {};
|
|
11
20
|
}>;
|
|
12
|
-
userSessionProvider: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
13
|
-
useUserSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
14
21
|
};
|
|
15
22
|
export declare const AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
16
23
|
mainGroup: {
|
|
@@ -18,14 +25,21 @@ export declare const AUTH_CORE_REACT_SESSION_TEMPLATES: {
|
|
|
18
25
|
generatedGraphqlImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
19
26
|
'*': {};
|
|
20
27
|
}>>;
|
|
28
|
+
}, {
|
|
29
|
+
useUserSessionClient: {};
|
|
21
30
|
}>;
|
|
22
31
|
userSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
23
32
|
reactUtilsImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
24
33
|
getSafeLocalStorage: {};
|
|
25
34
|
}>>;
|
|
35
|
+
}, Record<never, Record<never, never>>>;
|
|
36
|
+
userSessionProvider: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
37
|
+
useUserSessionClient: {};
|
|
38
|
+
userSessionClient: {};
|
|
39
|
+
}>;
|
|
40
|
+
useUserSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}, {
|
|
41
|
+
userSessionClient: {};
|
|
26
42
|
}>;
|
|
27
|
-
userSessionProvider: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
28
|
-
useUserSessionClient: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {}>;
|
|
29
43
|
};
|
|
30
44
|
userSessionCheckGql: import("@baseplate-dev/core-generators").TextTemplateFile<{}>;
|
|
31
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAsFA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAKrB,CAAC;AAcF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;CAG7C,CAAC"}
|
|
@@ -8,6 +8,7 @@ const userSessionCheck = createTsTemplateFile({
|
|
|
8
8
|
generatedGraphqlImports: generatedGraphqlImportsProvider,
|
|
9
9
|
},
|
|
10
10
|
name: 'user-session-check',
|
|
11
|
+
referencedGeneratorTemplates: { useUserSessionClient: {} },
|
|
11
12
|
source: {
|
|
12
13
|
path: path.join(import.meta.dirname, '../templates/src/app/user-session-check.tsx'),
|
|
13
14
|
},
|
|
@@ -35,6 +36,10 @@ const userSessionProvider = createTsTemplateFile({
|
|
|
35
36
|
group: 'main',
|
|
36
37
|
importMapProviders: {},
|
|
37
38
|
name: 'user-session-provider',
|
|
39
|
+
referencedGeneratorTemplates: {
|
|
40
|
+
useUserSessionClient: {},
|
|
41
|
+
userSessionClient: {},
|
|
42
|
+
},
|
|
38
43
|
source: {
|
|
39
44
|
path: path.join(import.meta.dirname, '../templates/src/app/user-session-provider.tsx'),
|
|
40
45
|
},
|
|
@@ -50,6 +55,7 @@ const useUserSessionClient = createTsTemplateFile({
|
|
|
50
55
|
UserSessionClientContextValue: { isTypeOnly: true },
|
|
51
56
|
useUserSessionClient: {},
|
|
52
57
|
},
|
|
58
|
+
referencedGeneratorTemplates: { userSessionClient: {} },
|
|
53
59
|
source: {
|
|
54
60
|
path: path.join(import.meta.dirname, '../templates/src/hooks/use-user-session-client.ts'),
|
|
55
61
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO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IAAI,EAAE,uBAAuB;IAC7B,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,oBAAoB,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,MAAM;IACb,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,yBAAyB;IAC/B,cAAc,EAAE;QACd,wBAAwB,EAAE,EAAE;QAC5B,6BAA6B,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;QACnD,oBAAoB,EAAE,EAAE;KACzB;IACD,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,mDAAmD,CACpD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,gBAAgB;IAChB,iBAAiB;IACjB,mBAAmB;IACnB,oBAAoB;CACrB,CAAC;AAEF,MAAM,mBAAmB,GAAG,sBAAsB,CAAC;IACjD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,6CAA6C,CAC9C;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,SAAS;IACT,mBAAmB;CACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/auth/core/generators/react-session/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,gC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 +41,15 @@ export declare const reactSessionGenerator: import("@baseplate-dev/sync").Genera
|
|
|
41
41
|
}>>;
|
|
42
42
|
typescriptFile: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").TypescriptFileProvider>;
|
|
43
43
|
}, undefined>;
|
|
44
|
+
reactAppConfig: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
45
|
+
reactAppConfig: import("@baseplate-dev/sync").ProviderType<Omit<import("@baseplate-dev/utils").FieldMap<{
|
|
46
|
+
errorBoundary: import("@baseplate-dev/utils").ScalarContainer<((contents: import("@baseplate-dev/core-generators").TsCodeFragment) => import("@baseplate-dev/core-generators").TsCodeFragment) | undefined>;
|
|
47
|
+
renderWrappers: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/react-generators").RenderWrapper>;
|
|
48
|
+
renderSiblings: import("@baseplate-dev/utils").MapContainer<string, import("@baseplate-dev/core-generators").TsCodeFragment>;
|
|
49
|
+
renderRoot: import("@baseplate-dev/utils").ScalarContainer<import("@baseplate-dev/core-generators").TsCodeFragment | undefined>;
|
|
50
|
+
}>, "getValues">>;
|
|
51
|
+
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").AuthCoreReactSessionPaths>;
|
|
52
|
+
}, any>;
|
|
44
53
|
main: import("@baseplate-dev/sync").GeneratorTask<any, {
|
|
45
54
|
renderers: import("@baseplate-dev/sync").ProviderType<import("./generated/template-renderers.js").AuthCoreReactSessionRenderers>;
|
|
46
55
|
paths: import("@baseplate-dev/sync").ProviderType<import("./generated/template-paths.js").AuthCoreReactSessionPaths>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-session.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react-session.generator.d.ts","sourceRoot":"","sources":["../../../../../src/auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"AAaA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAGhC,sBACD;mCAEa,sBAAsB;mCAEhC,sBAAsB;+BAED,sBAAsB;;;;;;;;EAwC7C,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { renderTextTemplateFileAction } from '@baseplate-dev/core-generators';
|
|
1
|
+
import { renderTextTemplateFileAction, TsCodeUtils, tsImportBuilder, } from '@baseplate-dev/core-generators';
|
|
2
|
+
import { reactAppConfigProvider } from '@baseplate-dev/react-generators';
|
|
2
3
|
import { createGenerator, createGeneratorTask } from '@baseplate-dev/sync';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
import { AUTH_CORE_REACT_SESSION_GENERATED as GENERATED_TEMPLATES } from './generated/index.js';
|
|
@@ -14,6 +15,20 @@ export const reactSessionGenerator = createGenerator({
|
|
|
14
15
|
paths: GENERATED_TEMPLATES.paths.task,
|
|
15
16
|
imports: GENERATED_TEMPLATES.imports.task,
|
|
16
17
|
renderers: GENERATED_TEMPLATES.renderers.task,
|
|
18
|
+
reactAppConfig: createGeneratorTask({
|
|
19
|
+
dependencies: {
|
|
20
|
+
reactAppConfig: reactAppConfigProvider,
|
|
21
|
+
paths: GENERATED_TEMPLATES.paths.provider,
|
|
22
|
+
},
|
|
23
|
+
run({ reactAppConfig, paths }) {
|
|
24
|
+
reactAppConfig.renderWrappers.set('react-session', {
|
|
25
|
+
wrap: (contents) => TsCodeUtils.templateWithImports([
|
|
26
|
+
tsImportBuilder(['UserSessionProvider']).from(paths.userSessionProvider),
|
|
27
|
+
]) `<UserSessionProvider>${contents}</UserSessionProvider>`,
|
|
28
|
+
type: 'auth',
|
|
29
|
+
});
|
|
30
|
+
},
|
|
31
|
+
}),
|
|
17
32
|
main: createGeneratorTask({
|
|
18
33
|
dependencies: {
|
|
19
34
|
renderers: GENERATED_TEMPLATES.renderers.provider,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-session.generator.js","sourceRoot":"","sources":["../../../../../src/auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"react-session.generator.js","sourceRoot":"","sources":["../../../../../src/auth/core/generators/react-session/react-session.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,WAAW,EACX,eAAe,GAChB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,iCAAiC,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhG,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,eAAe,CAAC;IACnD,IAAI,EAAE,yBAAyB;IAC/B,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,cAAc,EAAE,mBAAmB,CAAC;YAClC,YAAY,EAAE;gBACZ,cAAc,EAAE,sBAAsB;gBACtC,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,QAAQ;aAC1C;YACD,GAAG,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE;gBAC3B,cAAc,CAAC,cAAc,CAAC,GAAG,CAAC,eAAe,EAAE;oBACjD,IAAI,EAAE,CAAC,QAAQ,EAAE,EAAE,CACjB,WAAW,CAAC,mBAAmB,CAAC;wBAC9B,eAAe,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI,CAC3C,KAAK,CAAC,mBAAmB,CAC1B;qBACF,CAAC,CAAA,wBAAwB,QAAQ,wBAAwB;oBAC5D,IAAI,EAAE,MAAM;iBACb,CAAC,CAAC;YACL,CAAC;SACF,CAAC;QACF,IAAI,EAAE,mBAAmB,CAAC;YACxB,YAAY,EAAE;gBACZ,SAAS,EAAE,mBAAmB,CAAC,SAAS,CAAC,QAAQ;gBACjD,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC,QAAQ;aAC1C;YACD,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;gBACtB,OAAO;oBACL,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;wBACvB,MAAM,OAAO,CAAC,KAAK,CACjB,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC;4BACzB,SAAS,EAAE,EAAE;yBACd,CAAC,CACH,CAAC;wBACF,MAAM,OAAO,CAAC,KAAK,CACjB,4BAA4B,CAAC;4BAC3B,WAAW,EAAE,KAAK,CAAC,mBAAmB;4BACtC,QAAQ,EAAE,mBAAmB,CAAC,SAAS,CAAC,mBAAmB;4BAC3D,SAAS,EAAE,EAAE;yBACd,CAAC,CACH,CAAC;oBACJ,CAAC;iBACF,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC;CACH,CAAC,CAAC"}
|
package/dist/auth/core/generators/react-session/templates/src/app/user-session-check.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-session-check.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-check.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-session-check.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-check.tsx"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,KAAK,CAAC,YAAY,GAAG,IAAI,CAe5D"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
+
import { useUserSessionClient } from '$useUserSessionClient';
|
|
2
3
|
import { GetCurrentUserSessionDocument } from '%generatedGraphqlImports';
|
|
3
4
|
import { useQuery } from '@apollo/client';
|
|
4
5
|
import { useEffect } from 'react';
|
|
5
|
-
import { useUserSessionClient } from '../hooks/use-user-session-client.js';
|
|
6
6
|
/**
|
|
7
7
|
* Checks if the user session matches the loaded ID on first page load.
|
|
8
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-session-check.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-check.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"user-session-check.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-check.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC;;;;GAIG;AACH,MAAM,UAAU,gBAAgB;IAC9B,MAAM,EAAE,IAAI,EAAE,GAAG,QAAQ,CAAC,6BAA6B,EAAE;QACvD,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,oBAAoB,EAAE,CAAC;IAE1C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,IAAI,EAAE,kBAAkB,EAAE,MAAM;YAAE,OAAO;QAE9C,IAAI,IAAI,CAAC,kBAAkB,CAAC,MAAM,KAAK,MAAM,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC;YACnE,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,CAAC;IACH,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IAEnB,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
+
import { useUserSessionClient } from '$useUserSessionClient';
|
|
3
4
|
import { GetCurrentUserSessionDocument } from '%generatedGraphqlImports';
|
|
4
5
|
import { useQuery } from '@apollo/client';
|
|
5
6
|
import { useEffect } from 'react';
|
|
6
7
|
|
|
7
|
-
import { useUserSessionClient } from '../hooks/use-user-session-client.js';
|
|
8
|
-
|
|
9
8
|
/**
|
|
10
9
|
* Checks if the user session matches the loaded ID on first page load.
|
|
11
10
|
*
|
package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-session-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-session-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,UAAU,wBAAwB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,GACT,EAAE,wBAAwB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4B9C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createUserSessionClient } from '$userSessionClient';
|
|
3
|
+
import { UserSessionClientContext } from '$useUserSessionClient';
|
|
2
4
|
import { useEffect, useMemo, useState } from 'react';
|
|
3
|
-
import { UserSessionClientContext } from '../hooks/use-user-session-client.js';
|
|
4
|
-
import { createUserSessionClient } from '../services/user-session-client.js';
|
|
5
5
|
export function UserSessionProvider({ children, }) {
|
|
6
6
|
const [userSessionClient] = useState(() => createUserSessionClient());
|
|
7
7
|
const [session, setSession] = useState(userSessionClient.getSession());
|
package/dist/auth/core/generators/react-session/templates/src/app/user-session-provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-session-provider.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"user-session-provider.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/app/user-session-provider.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAMrD,MAAM,UAAU,mBAAmB,CAAC,EAClC,QAAQ,GACiB;IACzB,MAAM,CAAC,iBAAiB,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,uBAAuB,EAAE,CAAC,CAAC;IACtE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CACpC,iBAAiB,CAAC,UAAU,EAAE,CAC/B,CAAC;IAEF,+BAA+B;IAC/B,SAAS,CACP,GAAG,EAAE,CACH,iBAAiB,CAAC,eAAe,CAAC,CAAC,UAAU,EAAE,EAAE;QAC/C,UAAU,CAAC,UAAU,CAAC,CAAC;IACzB,CAAC,CAAC,EACJ,CAAC,iBAAiB,CAAC,CACpB,CAAC;IAEF,MAAM,YAAY,GAAkC,OAAO,CACzD,GAAG,EAAE,CAAC,CAAC;QACL,MAAM,EAAE,iBAAiB;QACzB,OAAO;KACR,CAAC,EACF,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAC7B,CAAC;IAEF,OAAO,CACL,KAAC,wBAAwB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,YACnD,QAAQ,GACyB,CACrC,CAAC;AACJ,CAAC"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
+
import type { UserSessionData } from '$userSessionClient';
|
|
4
|
+
import type { UserSessionClientContextValue } from '$useUserSessionClient';
|
|
3
5
|
import type React from 'react';
|
|
4
6
|
|
|
7
|
+
import { createUserSessionClient } from '$userSessionClient';
|
|
8
|
+
import { UserSessionClientContext } from '$useUserSessionClient';
|
|
5
9
|
import { useEffect, useMemo, useState } from 'react';
|
|
6
10
|
|
|
7
|
-
import type { UserSessionClientContextValue } from '../hooks/use-user-session-client.js';
|
|
8
|
-
import type { UserSessionData } from '../services/user-session-client.js';
|
|
9
|
-
|
|
10
|
-
import { UserSessionClientContext } from '../hooks/use-user-session-client.js';
|
|
11
|
-
import { createUserSessionClient } from '../services/user-session-client.js';
|
|
12
|
-
|
|
13
11
|
interface UserSessionProviderProps {
|
|
14
12
|
children: React.ReactNode;
|
|
15
13
|
}
|
package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UserSessionClient, UserSessionData } from '
|
|
1
|
+
import type { UserSessionClient, UserSessionData } from '$userSessionClient';
|
|
2
2
|
export interface UserSessionClientContextValue {
|
|
3
3
|
client: UserSessionClient;
|
|
4
4
|
session: UserSessionData | undefined;
|
package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-user-session-client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-user-session-client.d.ts","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAI7E,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,iBAAiB,CAAC;IAC1B,OAAO,EAAE,eAAe,GAAG,SAAS,CAAC;CACtC;AAED,eAAO,MAAM,wBAAwB,oEAEzB,CAAC;AAEb;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,6BAA6B,CAUpE"}
|
package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-user-session-client.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts"],"names":[],"mappings":"AAAA,cAAc;
|
|
1
|
+
{"version":3,"file":"use-user-session-client.js","sourceRoot":"","sources":["../../../../../../../../src/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts"],"names":[],"mappings":"AAAA,cAAc;AAId,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAOlD,MAAM,CAAC,MAAM,wBAAwB,GAAG,aAAa,CAEnD,SAAS,CAAC,CAAC;AAEb;;;GAGG;AACH,MAAM,UAAU,oBAAoB;IAClC,MAAM,MAAM,GAAG,UAAU,CAAC,wBAAwB,CAAC,CAAC;IAEpD,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CACb,sEAAsE,CACvE,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/dist/auth/core/generators/react-session/templates/src/hooks/use-user-session-client.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import type { UserSessionClient, UserSessionData } from '$userSessionClient';
|
|
4
4
|
|
|
5
|
-
import
|
|
6
|
-
UserSessionClient,
|
|
7
|
-
UserSessionData,
|
|
8
|
-
} from '../services/user-session-client.js';
|
|
5
|
+
import { createContext, useContext } from 'react';
|
|
9
6
|
|
|
10
7
|
export interface UserSessionClientContextValue {
|
|
11
8
|
client: UserSessionClient;
|
|
@@ -98,7 +98,7 @@ export function createAuthModels({ authFeatureRef, modelRefs, }) {
|
|
|
98
98
|
name: 'user',
|
|
99
99
|
references: [{ localRef: 'userId', foreignRef: 'id' }],
|
|
100
100
|
modelRef: modelRefs.user,
|
|
101
|
-
foreignRelationName: '
|
|
101
|
+
foreignRelationName: 'accounts',
|
|
102
102
|
onDelete: 'Cascade',
|
|
103
103
|
onUpdate: 'Restrict',
|
|
104
104
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../../src/auth/core/schema/models.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,gBAAgB,CAAC,EAC/B,cAAc,EACd,SAAS,GACkD;IAM3D,OAAO;QACL,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS,CAAC,IAAI;YACpB,UAAU,EAAE,cAAc;YAC1B,KAAK,EAAE;gBACL,MAAM,EAAE;oBACN;wBACE,IAAI,EAAE,IAAI;wBACV,IAAI,EAAE,MAAM;wBACZ,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;qBAC3B;oBACD;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE,IAAI;qBACjB;oBACD;wBACE,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,QAAQ;qBACf;oBACD;wBACE,IAAI,EAAE,eAAe;wBACrB,IAAI,EAAE,SAAS;wBACf,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE;qBAC9B;oBACD;wBACE,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,UAAU;wBAChB,OAAO,EAA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EAAE,IAAI;wBACV,IAAI,EAAE,MAAM;wBACZ,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;qBAC3B;oBACD;wBACE,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,MAAM;qBACb;oBACD;wBACE,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,QAAQ;qBACf;oBACD;wBACE,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,UAAU;qBACjB;oBACD;wBACE,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,UAAU;wBAChB,OAAO,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE;qBAChC;oBACD;wBACE,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,UAAU;wBAChB,OAAO,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE;qBAChC;oBACD;wBACE,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,UAAU;wBAChB,OAAO,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;qBACjD;iBACF;gBACD,mBAAmB,EAAE,CAAC,IAAI,CAAC;gBAC3B,iBAAiB,EAAE;oBACjB;wBACE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;qBAChC;iBACF;gBACD,SAAS,EAAE;oBACT;wBACE,IAAI,EAAE,MAAM;wBACZ,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;wBACtD,QAAQ,EAAE,SAAS,CAAC,IAAI;wBACxB,mBAAmB,EAAE,UAAU;wBAC/B,QAAQ,EAAE,SAAS;wBACnB,QAAQ,EAAE,UAAU;qBACrB;iBACF;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../../../src/auth0/core/schema/migrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAEhF,eAAO,MAAM,8BAA8B,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../../../src/auth0/core/schema/migrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAEhF,eAAO,MAAM,8BAA8B,EAAE,qBAAqB,EAiBjE,CAAC"}
|
|
@@ -5,10 +5,12 @@ export const AUTH0_PLUGIN_CONFIG_MIGRATIONS = [
|
|
|
5
5
|
migrate: (config) => {
|
|
6
6
|
const typedConfig = config;
|
|
7
7
|
return {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
updatedConfig: {
|
|
9
|
+
...typedConfig,
|
|
10
|
+
userAccountModelRef: undefined,
|
|
11
|
+
modelRefs: {
|
|
12
|
+
user: typedConfig.userAccountModelRef,
|
|
13
|
+
},
|
|
12
14
|
},
|
|
13
15
|
};
|
|
14
16
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../../../src/auth0/core/schema/migrations.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,8BAA8B,GAA4B;IACrE;QACE,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;YAClB,MAAM,WAAW,GAAG,MAAyC,CAAC;YAC9D,OAAO;gBACL,GAAG,WAAW;
|
|
1
|
+
{"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../../../src/auth0/core/schema/migrations.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,8BAA8B,GAA4B;IACrE;QACE,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,CAAC;QACV,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;YAClB,MAAM,WAAW,GAAG,MAAyC,CAAC;YAC9D,OAAO;gBACL,aAAa,EAAE;oBACb,GAAG,WAAW;oBACd,mBAAmB,EAAE,SAAS;oBAC9B,SAAS,EAAE;wBACT,IAAI,EAAE,WAAW,CAAC,mBAAmB;qBACtC;iBACF;aACF,CAAC;QACJ,CAAC;KACF;CACF,CAAC"}
|
|
@@ -64,7 +64,7 @@ export declare const AUTH0_AUTH0_MODULE_GENERATED: {
|
|
|
64
64
|
configServiceImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
65
65
|
config: {};
|
|
66
66
|
}>>;
|
|
67
|
-
}
|
|
67
|
+
}, Record<never, Record<never, never>>>;
|
|
68
68
|
userSessionService: import("@baseplate-dev/core-generators").TsTemplateFile<{
|
|
69
69
|
TPL_USER_MODEL: {};
|
|
70
70
|
}, {
|
|
@@ -99,7 +99,7 @@ export declare const AUTH0_AUTH0_MODULE_GENERATED: {
|
|
|
99
99
|
isTypeOnly: true;
|
|
100
100
|
};
|
|
101
101
|
}>>;
|
|
102
|
-
}
|
|
102
|
+
}, Record<never, Record<never, never>>>;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,10 +3,10 @@ import type { BuilderAction } from '@baseplate-dev/sync';
|
|
|
3
3
|
import { AUTH0_AUTH0_MODULE_TEMPLATES } from './typed-templates.js';
|
|
4
4
|
export interface Auth0Auth0ModuleRenderers {
|
|
5
5
|
management: {
|
|
6
|
-
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_AUTH0_MODULE_TEMPLATES.management>, 'destination' | 'importMapProviders' | 'template'>) => BuilderAction;
|
|
6
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_AUTH0_MODULE_TEMPLATES.management>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
7
7
|
};
|
|
8
8
|
userSessionService: {
|
|
9
|
-
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_AUTH0_MODULE_TEMPLATES.userSessionService>, 'destination' | 'importMapProviders' | 'template'>) => BuilderAction;
|
|
9
|
+
render: (options: Omit<RenderTsTemplateFileActionInput<typeof AUTH0_AUTH0_MODULE_TEMPLATES.userSessionService>, 'destination' | 'importMapProviders' | 'template' | 'generatorPaths'>) => BuilderAction;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export declare const AUTH0_AUTH0_MODULE_RENDERERS: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/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;AAYzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,4BAA4B,CAAC,UAAU,CAC/C,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/auth0/generators/fastify/auth0-module/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;AAYzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sBAAsB,CAAC;AAEpE,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,4BAA4B,CAAC,UAAU,CAC/C,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;IACF,kBAAkB,EAAE;QAClB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,4BAA4B,CAAC,kBAAkB,CACvD,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAyDD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGxC,CAAC"}
|