@baseplate-dev/plugin-auth 2.0.8 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +12 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js +4 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts +1 -2
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +12 -0
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js +2 -1
- package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts +1 -2
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js +1 -1
- package/dist/local-auth/core/generators/auth-hooks/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +12 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js +4 -2
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts +1 -2
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +12 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js +2 -1
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.d.ts.map +1 -1
- package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts +1 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts +1 -2
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js +1 -1
- package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts +12 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/index.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts +6 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js +4 -2
- package/dist/local-auth/core/generators/seed-initial-user/generated/template-renderers.js.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts +1 -2
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/ts-import-providers.js.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts +6 -0
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js +2 -1
- package/dist/local-auth/core/generators/seed-initial-user/generated/typed-templates.js.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts +6 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.d.ts.map +1 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-CZKXKtdg.js → __federation_expose_auth0CoreCommon-xk1Gj1WU.js} +3 -3
- package/dist/web/assets/{__federation_expose_auth0CoreCommon-CZKXKtdg.js.map → __federation_expose_auth0CoreCommon-xk1Gj1WU.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-geAHQXw8.js → __federation_expose_auth0CoreWeb-CAiUkJwE.js} +5 -5
- package/dist/web/assets/{__federation_expose_auth0CoreWeb-geAHQXw8.js.map → __federation_expose_auth0CoreWeb-CAiUkJwE.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreCommon-BViBe4DS.js → __federation_expose_authCoreCommon-K21saJbW.js} +3 -3
- package/dist/web/assets/{__federation_expose_authCoreCommon-BViBe4DS.js.map → __federation_expose_authCoreCommon-K21saJbW.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_authCoreWeb-Bg3h64mw.js → __federation_expose_authCoreWeb-L7mv-Kl9.js} +6 -6
- package/dist/web/assets/{__federation_expose_authCoreWeb-Bg3h64mw.js.map → __federation_expose_authCoreWeb-L7mv-Kl9.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-M_4c2ukP.js → __federation_expose_local-authAdminCommon-BcMGRCCu.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminCommon-M_4c2ukP.js.map → __federation_expose_local-authAdminCommon-BcMGRCCu.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-BSY1dZOn.js → __federation_expose_local-authAdminWeb-DUY1rKEt.js} +2 -2
- package/dist/web/assets/{__federation_expose_local-authAdminWeb-BSY1dZOn.js.map → __federation_expose_local-authAdminWeb-DUY1rKEt.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-DG2cv8RB.js → __federation_expose_local-authCoreCommon-B1wtgXDT.js} +3 -3
- package/dist/web/assets/{__federation_expose_local-authCoreCommon-DG2cv8RB.js.map → __federation_expose_local-authCoreCommon-B1wtgXDT.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-luPBuflE.js → __federation_expose_local-authCoreWeb-CSWj3XON.js} +5 -5
- package/dist/web/assets/{__federation_expose_local-authCoreWeb-luPBuflE.js.map → __federation_expose_local-authCoreWeb-CSWj3XON.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-Cb6bmMtY.js → __federation_expose_placeholder-authCoreCommon-BTZdABuy.js} +3 -3
- package/dist/web/assets/{__federation_expose_placeholder-authCoreCommon-Cb6bmMtY.js.map → __federation_expose_placeholder-authCoreCommon-BTZdABuy.js.map} +1 -1
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-DUhTjT7C.js → __federation_expose_placeholder-authCoreWeb-DXc_X2aO.js} +5 -5
- package/dist/web/assets/{__federation_expose_placeholder-authCoreWeb-DUhTjT7C.js.map → __federation_expose_placeholder-authCoreWeb-DXc_X2aO.js.map} +1 -1
- package/dist/web/assets/{__federation_fn_import-Csq_dMs0.js → __federation_fn_import-BVpKhyMw.js} +2 -2
- package/dist/web/assets/{__federation_fn_import-Csq_dMs0.js.map → __federation_fn_import-BVpKhyMw.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-CgtWwz-I.js → web-gdwlRH2l.js} +5 -5
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib/{web-CgtWwz-I.js.map → web-gdwlRH2l.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{project-builder-lib-DcCDifTM.js → project-builder-lib-BvJ1_iif.js} +542 -305
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-BvJ1_iif.js.map +1 -0
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-DST25W-W.js → ui-components-E30UR3cY.js} +8 -7
- package/dist/web/assets/__federation_shared_@baseplate-dev/{ui-components-DST25W-W.js.map → ui-components-E30UR3cY.js.map} +1 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/{utils-DPq3fZwQ.js → utils-Ciu7eAT9.js} +42 -3
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-Ciu7eAT9.js.map +1 -0
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-WDylYaIf.js → react-router-AU7vpPwr.js} +2 -2
- package/dist/web/assets/__federation_shared_@tanstack/{react-router-WDylYaIf.js.map → react-router-AU7vpPwr.js.map} +1 -1
- package/dist/web/assets/{get-auth-plugin-definition-BW3aipsm.js → get-auth-plugin-definition-CHOjVGaq.js} +2 -2
- package/dist/web/assets/{get-auth-plugin-definition-BW3aipsm.js.map → get-auth-plugin-definition-CHOjVGaq.js.map} +1 -1
- package/dist/web/assets/{index-D17gcHW9.js → index-DqPqnxYC.js} +2 -2
- package/dist/web/assets/{index-D17gcHW9.js.map → index-DqPqnxYC.js.map} +1 -1
- package/dist/web/assets/{index.esm-Db3JT_Sb.js → index.esm-DUunUtBj.js} +2 -2
- package/dist/web/assets/{index.esm-Db3JT_Sb.js.map → index.esm-DUunUtBj.js.map} +1 -1
- package/dist/web/assets/{model-merger-BZk6R5TG.js → model-merger-CI1pu411.js} +3 -3
- package/dist/web/assets/{model-merger-BZk6R5TG.js.map → model-merger-CI1pu411.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-BzNRzlSY.js → plugin-definition--cfUfY5Z.js} +2 -2
- package/dist/web/assets/{plugin-definition-BzNRzlSY.js.map → plugin-definition--cfUfY5Z.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-BYGf_zSR.js → plugin-definition-BYzEIUL9.js} +2 -2
- package/dist/web/assets/{plugin-definition-BYGf_zSR.js.map → plugin-definition-BYzEIUL9.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-Btdhhs9H.js → plugin-definition-BzhiPIBh.js} +2 -2
- package/dist/web/assets/{plugin-definition-Btdhhs9H.js.map → plugin-definition-BzhiPIBh.js.map} +1 -1
- package/dist/web/assets/{plugin-definition-TOGLgOaU.js → plugin-definition-CIiMl7Zf.js} +2 -2
- package/dist/web/assets/{plugin-definition-TOGLgOaU.js.map → plugin-definition-CIiMl7Zf.js.map} +1 -1
- package/dist/web/assets/{react-CyMZK5Vn.js → react-DW8S9iUr.js} +2 -2
- package/dist/web/assets/{react-CyMZK5Vn.js.map → react-DW8S9iUr.js.map} +1 -1
- package/dist/web/assets/remoteEntry.js +10 -10
- package/dist/web/assets/{styles-CkOdb5Qq.js → styles-N05E1ZaS.js} +3 -3
- package/dist/web/assets/{styles-CkOdb5Qq.js.map → styles-N05E1ZaS.js.map} +1 -1
- package/package.json +12 -12
- package/dist/web/assets/__federation_shared_@baseplate-dev/project-builder-lib-DcCDifTM.js.map +0 -1
- package/dist/web/assets/__federation_shared_@baseplate-dev/utils-DPq3fZwQ.js.map +0 -1
package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts
CHANGED
|
@@ -43,6 +43,12 @@ export declare const authEmailPasswordGenerator: import("@baseplate-dev/sync").G
|
|
|
43
43
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
44
44
|
builder: {};
|
|
45
45
|
}>>;
|
|
46
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
47
|
+
PrismaClient: {};
|
|
48
|
+
Prisma: {};
|
|
49
|
+
'*': {};
|
|
50
|
+
$Enums: {};
|
|
51
|
+
}>>;
|
|
46
52
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
47
53
|
prisma: {};
|
|
48
54
|
}>>;
|
package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-email-password.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/auth-email-password/auth-email-password.generator.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"auth-email-password.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/auth-email-password/auth-email-password.generator.ts"],"names":[],"mappings":"AAkBA;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CrC,CAAC"}
|
|
@@ -45,6 +45,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_GENERATED: {
|
|
|
45
45
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
46
46
|
builder: {};
|
|
47
47
|
}>>;
|
|
48
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
49
|
+
PrismaClient: {};
|
|
50
|
+
Prisma: {};
|
|
51
|
+
'*': {};
|
|
52
|
+
$Enums: {};
|
|
53
|
+
}>>;
|
|
48
54
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
49
55
|
prisma: {};
|
|
50
56
|
}>>;
|
|
@@ -99,6 +105,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_GENERATED: {
|
|
|
99
105
|
createPasswordHash: {};
|
|
100
106
|
verifyPasswordHash: {};
|
|
101
107
|
}>>;
|
|
108
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
109
|
+
PrismaClient: {};
|
|
110
|
+
Prisma: {};
|
|
111
|
+
'*': {};
|
|
112
|
+
$Enums: {};
|
|
113
|
+
}>>;
|
|
102
114
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
103
115
|
prisma: {};
|
|
104
116
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6CAA6C
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzD,CAAC"}
|
package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts
CHANGED
|
@@ -32,6 +32,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_RENDERERS: {
|
|
|
32
32
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
33
33
|
builder: {};
|
|
34
34
|
}>>;
|
|
35
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
36
|
+
PrismaClient: {};
|
|
37
|
+
Prisma: {};
|
|
38
|
+
'*': {};
|
|
39
|
+
$Enums: {};
|
|
40
|
+
}>>;
|
|
35
41
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
36
42
|
prisma: {};
|
|
37
43
|
}>>;
|
package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-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;
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-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;AAkBzD,OAAO,EAAE,6CAA6C,EAAE,MAAM,sBAAsB,CAAC;AAErF,MAAM,WAAW,uCAAuC;IACtD,WAAW,EAAE;QACX,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,6CAA6C,CAAC,WAAW,CACjE,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAoED,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGzD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { typescriptFileProvider } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { errorHandlerServiceImportsProvider, passwordHasherServiceImportsProvider, pothosImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
2
|
+
import { errorHandlerServiceImportsProvider, passwordHasherServiceImportsProvider, pothosImportsProvider, prismaGeneratedImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
4
4
|
import { authModuleImportsProvider } from '#src/local-auth/core/generators/auth-module/generated/ts-import-providers.js';
|
|
5
5
|
import { LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_PATHS } from './template-paths.js';
|
|
@@ -12,6 +12,7 @@ const localAuthCoreAuthEmailPasswordRenderersTask = createGeneratorTask({
|
|
|
12
12
|
passwordHasherServiceImports: passwordHasherServiceImportsProvider,
|
|
13
13
|
paths: LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_PATHS.provider,
|
|
14
14
|
pothosImports: pothosImportsProvider,
|
|
15
|
+
prismaGeneratedImports: prismaGeneratedImportsProvider,
|
|
15
16
|
prismaImports: prismaImportsProvider,
|
|
16
17
|
requestServiceContextImports: requestServiceContextImportsProvider,
|
|
17
18
|
typescriptFile: typescriptFileProvider,
|
|
@@ -21,7 +22,7 @@ const localAuthCoreAuthEmailPasswordRenderersTask = createGeneratorTask({
|
|
|
21
22
|
exports: {
|
|
22
23
|
localAuthCoreAuthEmailPasswordRenderers: localAuthCoreAuthEmailPasswordRenderers.export(),
|
|
23
24
|
},
|
|
24
|
-
run({ authModuleImports, errorHandlerServiceImports, passwordHasherServiceImports, paths, pothosImports, prismaImports, requestServiceContextImports, typescriptFile, userSessionServiceImports, userSessionTypesImports, }) {
|
|
25
|
+
run({ authModuleImports, errorHandlerServiceImports, passwordHasherServiceImports, paths, pothosImports, prismaGeneratedImports, prismaImports, requestServiceContextImports, typescriptFile, userSessionServiceImports, userSessionTypesImports, }) {
|
|
25
26
|
return {
|
|
26
27
|
providers: {
|
|
27
28
|
localAuthCoreAuthEmailPasswordRenderers: {
|
|
@@ -34,6 +35,7 @@ const localAuthCoreAuthEmailPasswordRenderersTask = createGeneratorTask({
|
|
|
34
35
|
errorHandlerServiceImports,
|
|
35
36
|
passwordHasherServiceImports,
|
|
36
37
|
pothosImports,
|
|
38
|
+
prismaGeneratedImports,
|
|
37
39
|
prismaImports,
|
|
38
40
|
requestServiceContextImports,
|
|
39
41
|
userSessionServiceImports,
|
package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-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,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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,6CAA6C,GAAG;IAC3D,QAAQ,EAAE,uCAAuC;IACjD,IAAI,EAAE,2CAA2C;CAClD,CAAC"}
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-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,8BAA8B,EAC9B,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,8EAA8E,CAAC;AAEzH,OAAO,EAAE,yCAAyC,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,6CAA6C,EAAE,MAAM,sBAAsB,CAAC;AAerF,MAAM,uCAAuC,GAC3C,kBAAkB,CAChB,+CAA+C,CAChD,CAAC;AAEJ,MAAM,2CAA2C,GAAG,mBAAmB,CAAC;IACtE,YAAY,EAAE;QACZ,iBAAiB,EAAE,yBAAyB;QAC5C,0BAA0B,EAAE,kCAAkC;QAC9D,4BAA4B,EAAE,oCAAoC;QAClE,KAAK,EAAE,yCAAyC,CAAC,QAAQ;QACzD,aAAa,EAAE,qBAAqB;QACpC,sBAAsB,EAAE,8BAA8B;QACtD,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,uCAAuC,EACrC,uCAAuC,CAAC,MAAM,EAAE;KACnD;IACD,GAAG,CAAC,EACF,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,KAAK,EACL,aAAa,EACb,sBAAsB,EACtB,aAAa,EACb,4BAA4B,EAC5B,cAAc,EACd,yBAAyB,EACzB,uBAAuB,GACxB;QACC,OAAO;YACL,SAAS,EAAE;gBACT,uCAAuC,EAAE;oBACvC,WAAW,EAAE;wBACX,MAAM,EAAE,CAAC,OAAO,EAAE,EAAE,CAClB,cAAc,CAAC,mBAAmB,CAAC;4BACjC,KAAK,EACH,6CAA6C,CAAC,WAAW;4BAC3D,KAAK;4BACL,kBAAkB,EAAE;gCAClB,iBAAiB;gCACjB,0BAA0B;gCAC1B,4BAA4B;gCAC5B,aAAa;gCACb,sBAAsB;gCACtB,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,6CAA6C,GAAG;IAC3D,QAAQ,EAAE,uCAAuC;IACjD,IAAI,EAAE,2CAA2C;CAClD,CAAC"}
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TsImportMapProviderFromSchema } from '@baseplate-dev/core-generators';
|
|
2
|
-
declare const authEmailPasswordImportsSchema: {
|
|
2
|
+
export declare const authEmailPasswordImportsSchema: {
|
|
3
3
|
authenticateUserWithEmailAndPassword: {};
|
|
4
4
|
createUserWithEmailAndPassword: {};
|
|
5
5
|
PASSWORD_MIN_LENGTH: {};
|
|
@@ -24,5 +24,4 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_IMPORTS: {
|
|
|
24
24
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthCoreAuthEmailPasswordPaths>;
|
|
25
25
|
}, undefined>;
|
|
26
26
|
};
|
|
27
|
-
export {};
|
|
28
27
|
//# sourceMappingURL=ts-import-providers.d.ts.map
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAcpF,
|
|
1
|
+
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAcpF,eAAO,MAAM,8BAA8B;;;;;CAKzC,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,6BAA6B,CAC1E,OAAO,8BAA8B,CACtC,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;GAG1C,CAAC;AA2BJ,eAAO,MAAM,2CAA2C;;;;;;;;;;;CAEvD,CAAC"}
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createTsImportMap, createTsImportMapSchema, packageScope, } from '@baseplate-dev/core-generators';
|
|
2
2
|
import { createGeneratorTask, createReadOnlyProviderType, } from '@baseplate-dev/sync';
|
|
3
3
|
import { LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_PATHS } from './template-paths.js';
|
|
4
|
-
const authEmailPasswordImportsSchema = createTsImportMapSchema({
|
|
4
|
+
export const authEmailPasswordImportsSchema = createTsImportMapSchema({
|
|
5
5
|
authenticateUserWithEmailAndPassword: {},
|
|
6
6
|
createUserWithEmailAndPassword: {},
|
|
7
7
|
PASSWORD_MIN_LENGTH: {},
|
package/dist/local-auth/core/generators/auth-email-password/generated/ts-import-providers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,yCAAyC,EAAE,MAAM,qBAAqB,CAAC;AAEhF,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,yCAAyC,EAAE,MAAM,qBAAqB,CAAC;AAEhF,MAAM,CAAC,MAAM,8BAA8B,GAAG,uBAAuB,CAAC;IACpE,oCAAoC,EAAE,EAAE;IACxC,8BAA8B,EAAE,EAAE;IAClC,mBAAmB,EAAE,EAAE;IACvB,gCAAgC,EAAE,EAAE;CACrC,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,gCAAgC,GAC3C,0BAA0B,CACxB,6BAA6B,CAC9B,CAAC;AAEJ,MAAM,yCAAyC,GAAG,mBAAmB,CAAC;IACpE,YAAY,EAAE;QACZ,KAAK,EAAE,yCAAyC,CAAC,QAAQ;KAC1D;IACD,OAAO,EAAE;QACP,wBAAwB,EACtB,gCAAgC,CAAC,MAAM,CAAC,YAAY,CAAC;KACxD;IACD,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,wBAAwB,EAAE,iBAAiB,CACzC,8BAA8B,EAC9B;oBACE,oCAAoC,EAAE,KAAK,CAAC,oBAAoB;oBAChE,8BAA8B,EAAE,KAAK,CAAC,oBAAoB;oBAC1D,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;oBAC5C,gCAAgC,EAAE,KAAK,CAAC,oBAAoB;iBAC7D,CACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2CAA2C,GAAG;IACzD,IAAI,EAAE,yCAAyC;CAChD,CAAC"}
|
|
@@ -28,6 +28,12 @@ export declare const moduleGroup: {
|
|
|
28
28
|
createPasswordHash: {};
|
|
29
29
|
verifyPasswordHash: {};
|
|
30
30
|
}>>;
|
|
31
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
32
|
+
PrismaClient: {};
|
|
33
|
+
Prisma: {};
|
|
34
|
+
'*': {};
|
|
35
|
+
$Enums: {};
|
|
36
|
+
}>>;
|
|
31
37
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
32
38
|
prisma: {};
|
|
33
39
|
}>>;
|
|
@@ -83,6 +89,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_EMAIL_PASSWORD_TEMPLATES: {
|
|
|
83
89
|
createPasswordHash: {};
|
|
84
90
|
verifyPasswordHash: {};
|
|
85
91
|
}>>;
|
|
92
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
93
|
+
PrismaClient: {};
|
|
94
|
+
Prisma: {};
|
|
95
|
+
'*': {};
|
|
96
|
+
$Enums: {};
|
|
97
|
+
}>>;
|
|
86
98
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
87
99
|
prisma: {};
|
|
88
100
|
}>>;
|
package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-email-password/generated/typed-templates.ts"],"names":[],"mappings":"AA4EA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvB,CAAC;AAEF,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createTsTemplateFile } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { errorHandlerServiceImportsProvider, passwordHasherServiceImportsProvider, pothosImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
2
|
+
import { errorHandlerServiceImportsProvider, passwordHasherServiceImportsProvider, pothosImportsProvider, prismaGeneratedImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionServiceImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
import { authModuleImportsProvider } from '#src/local-auth/core/generators/auth-module/generated/ts-import-providers.js';
|
|
5
5
|
const constantsPassword = createTsTemplateFile({
|
|
@@ -33,6 +33,7 @@ const servicesUserPassword = createTsTemplateFile({
|
|
|
33
33
|
importMapProviders: {
|
|
34
34
|
errorHandlerServiceImports: errorHandlerServiceImportsProvider,
|
|
35
35
|
passwordHasherServiceImports: passwordHasherServiceImportsProvider,
|
|
36
|
+
prismaGeneratedImports: prismaGeneratedImportsProvider,
|
|
36
37
|
prismaImports: prismaImportsProvider,
|
|
37
38
|
requestServiceContextImports: requestServiceContextImportsProvider,
|
|
38
39
|
userSessionServiceImports: userSessionServiceImportsProvider,
|
package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/local-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,8EAA8E,CAAC;AAEzH,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,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"","sources":["../../../../../../src/local-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,8BAA8B,EAC9B,qBAAqB,EACrB,oCAAoC,EACpC,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,8EAA8E,CAAC;AAEzH,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,eAAe,EAAE,EAAE,EAAE,oBAAoB,EAAE,EAAE,EAAE;CAC7D,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,sBAAsB,EAAE,8BAA8B;QACtD,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;QAClC,gCAAgC,EAAE,EAAE;KACrC;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,6CAA6C,GAAG,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { User } from '%prismaGeneratedImports';
|
|
1
2
|
import type { RequestServiceContext } from '%requestServiceContextImports';
|
|
2
3
|
import type { UserSessionPayload } from '%userSessionTypesImports';
|
|
3
|
-
import type { User } from '@prisma/client';
|
|
4
4
|
export declare function createUserWithEmailAndPassword({ input, }: {
|
|
5
5
|
input: {
|
|
6
6
|
email: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-password.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"user-password.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AA6BnE,wBAAsB,8BAA8B,CAAC,EACnD,KAAK,GACN,EAAE;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,GAAG,OAAO,CAAC,IAAI,CAAC,CAiChB;AAED,wBAAsB,gCAAgC,CAAC,EACrD,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,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,CAAC,CAKvD;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;AAOD;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,MAAM,EACN,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QACL,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,GAAG,OAAO,CAAC,IAAI,CAAC,CAyChB;AAMD;;;;;;;;GAQG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,MAAM,EACN,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,GAAG,OAAO,CAAC,IAAI,CAAC,CA2ChB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
|
+
import type { User } from '%prismaGeneratedImports';
|
|
3
4
|
import type { RequestServiceContext } from '%requestServiceContextImports';
|
|
4
5
|
import type { UserSessionPayload } from '%userSessionTypesImports';
|
|
5
|
-
import type { User } from '@prisma/client';
|
|
6
6
|
|
|
7
7
|
import { PASSWORD_MIN_LENGTH } from '$constantsPassword';
|
|
8
8
|
import {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TsImportMapProviderFromSchema } from '@baseplate-dev/core-generators';
|
|
2
|
-
declare const localAuthHooksImportsSchema: {
|
|
2
|
+
export declare const localAuthHooksImportsSchema: {
|
|
3
3
|
AuthSessionContext: {};
|
|
4
4
|
};
|
|
5
5
|
export type LocalAuthHooksImportsProvider = TsImportMapProviderFromSchema<typeof localAuthHooksImportsSchema>;
|
|
@@ -27,5 +27,4 @@ export declare const LOCAL_AUTH_CORE_AUTH_HOOKS_IMPORTS: {
|
|
|
27
27
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthCoreAuthHooksPaths>;
|
|
28
28
|
}, undefined>;
|
|
29
29
|
};
|
|
30
|
-
export {};
|
|
31
30
|
//# sourceMappingURL=ts-import-providers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAkBpF,
|
|
1
|
+
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAkBpF,eAAO,MAAM,2BAA2B;;CAEtC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,6BAA6B,CACvE,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,6BAA6B;;GAGvC,CAAC;AA6BJ,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;CAE9C,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { createTsImportMap, createTsImportMapSchema, packageScope, } from '@base
|
|
|
2
2
|
import { authHooksImportsProvider, authHooksImportsSchema, } from '@baseplate-dev/react-generators';
|
|
3
3
|
import { createGeneratorTask, createReadOnlyProviderType, } from '@baseplate-dev/sync';
|
|
4
4
|
import { LOCAL_AUTH_CORE_AUTH_HOOKS_PATHS } from './template-paths.js';
|
|
5
|
-
const localAuthHooksImportsSchema = createTsImportMapSchema({
|
|
5
|
+
export const localAuthHooksImportsSchema = createTsImportMapSchema({
|
|
6
6
|
AuthSessionContext: {},
|
|
7
7
|
});
|
|
8
8
|
export const localAuthHooksImportsProvider = createReadOnlyProviderType('local-auth-hooks-imports');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAEvE,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-hooks/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAEvE,MAAM,CAAC,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;IACjE,kBAAkB,EAAE,EAAE;CACvB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,6BAA6B,GACxC,0BAA0B,CACxB,0BAA0B,CAC3B,CAAC;AAEJ,MAAM,iCAAiC,GAAG,mBAAmB,CAAC;IAC5D,YAAY,EAAE;QACZ,KAAK,EAAE,gCAAgC,CAAC,QAAQ;KACjD;IACD,OAAO,EAAE;QACP,gBAAgB,EAAE,wBAAwB,CAAC,MAAM,CAAC,YAAY,CAAC;QAC/D,qBAAqB,EAAE,6BAA6B,CAAC,MAAM,CAAC,YAAY,CAAC;KAC1E;IACD,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,gBAAgB,EAAE,iBAAiB,CAAC,sBAAsB,EAAE;oBAC1D,QAAQ,EAAE,KAAK,CAAC,UAAU;oBAC1B,WAAW,EAAE,KAAK,CAAC,UAAU;oBAC7B,cAAc,EAAE,KAAK,CAAC,cAAc;oBACpC,SAAS,EAAE,KAAK,CAAC,SAAS;oBAC1B,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;oBAC1C,UAAU,EAAE,KAAK,CAAC,UAAU;iBAC7B,CAAC;gBACF,qBAAqB,EAAE,iBAAiB,CAAC,2BAA2B,EAAE;oBACpE,kBAAkB,EAAE,KAAK,CAAC,UAAU;iBACrC,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,IAAI,EAAE,iCAAiC;CACxC,CAAC"}
|
|
@@ -62,6 +62,12 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
62
62
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
63
63
|
builder: {};
|
|
64
64
|
}>>;
|
|
65
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
66
|
+
PrismaClient: {};
|
|
67
|
+
Prisma: {};
|
|
68
|
+
'*': {};
|
|
69
|
+
$Enums: {};
|
|
70
|
+
}>>;
|
|
65
71
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
66
72
|
prisma: {};
|
|
67
73
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-module.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/auth-module/auth-module.generator.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"auth-module.generator.d.ts","sourceRoot":"","sources":["../../../../../src/local-auth/core/generators/auth-module/auth-module.generator.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsF9B,CAAC"}
|
|
@@ -67,6 +67,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
67
67
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
68
68
|
builder: {};
|
|
69
69
|
}>>;
|
|
70
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
71
|
+
PrismaClient: {};
|
|
72
|
+
Prisma: {};
|
|
73
|
+
'*': {};
|
|
74
|
+
$Enums: {};
|
|
75
|
+
}>>;
|
|
70
76
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
71
77
|
prisma: {};
|
|
72
78
|
}>>;
|
|
@@ -154,6 +160,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
154
160
|
isTypeOnly: true;
|
|
155
161
|
};
|
|
156
162
|
}>>;
|
|
163
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
164
|
+
PrismaClient: {};
|
|
165
|
+
Prisma: {};
|
|
166
|
+
'*': {};
|
|
167
|
+
$Enums: {};
|
|
168
|
+
}>>;
|
|
157
169
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
158
170
|
prisma: {};
|
|
159
171
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qCAAqC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjD,CAAC"}
|
|
@@ -63,6 +63,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_RENDERERS: {
|
|
|
63
63
|
pothosImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
64
64
|
builder: {};
|
|
65
65
|
}>>;
|
|
66
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
67
|
+
PrismaClient: {};
|
|
68
|
+
Prisma: {};
|
|
69
|
+
'*': {};
|
|
70
|
+
$Enums: {};
|
|
71
|
+
}>>;
|
|
66
72
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
67
73
|
prisma: {};
|
|
68
74
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"template-renderers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/template-renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,gCAAgC,EACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAiBzD,OAAO,EAAE,qCAAqC,EAAE,MAAM,sBAAsB,CAAC;AAE7E,MAAM,WAAW,gCAAgC;IAC/C,cAAc,EAAE;QACd,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,qCAAqC,CAAC,cAAc,CAC5D,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,WAAW,EAAE;QACX,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,qCAAqC,CAAC,WAAW,CACzD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;IACF,kBAAkB,EAAE;QAClB,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,+BAA+B,CAC7B,OAAO,qCAAqC,CAAC,kBAAkB,CAChE,EACD,aAAa,GAAG,oBAAoB,GAAG,UAAU,GAAG,gBAAgB,CACrE,KACE,aAAa,CAAC;KACpB,CAAC;IACF,UAAU,EAAE;QACV,MAAM,EAAE,CACN,OAAO,EAAE,IAAI,CACX,gCAAgC,CAC9B,OAAO,qCAAqC,CAAC,UAAU,CACxD,EACD,oBAAoB,GAAG,OAAO,GAAG,OAAO,GAAG,gBAAgB,CAC5D,KACE,aAAa,CAAC;KACpB,CAAC;CACH;AAmGD,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { typescriptFileProvider } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, errorHandlerServiceImportsProvider, pothosImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
2
|
+
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, errorHandlerServiceImportsProvider, pothosImportsProvider, prismaGeneratedImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import { createGeneratorTask, createProviderType } from '@baseplate-dev/sync';
|
|
4
4
|
import { LOCAL_AUTH_CORE_AUTH_MODULE_PATHS } from './template-paths.js';
|
|
5
5
|
import { LOCAL_AUTH_CORE_AUTH_MODULE_TEMPLATES } from './typed-templates.js';
|
|
@@ -12,6 +12,7 @@ const localAuthCoreAuthModuleRenderersTask = createGeneratorTask({
|
|
|
12
12
|
errorHandlerServiceImports: errorHandlerServiceImportsProvider,
|
|
13
13
|
paths: LOCAL_AUTH_CORE_AUTH_MODULE_PATHS.provider,
|
|
14
14
|
pothosImports: pothosImportsProvider,
|
|
15
|
+
prismaGeneratedImports: prismaGeneratedImportsProvider,
|
|
15
16
|
prismaImports: prismaImportsProvider,
|
|
16
17
|
requestServiceContextImports: requestServiceContextImportsProvider,
|
|
17
18
|
typescriptFile: typescriptFileProvider,
|
|
@@ -20,7 +21,7 @@ const localAuthCoreAuthModuleRenderersTask = createGeneratorTask({
|
|
|
20
21
|
exports: {
|
|
21
22
|
localAuthCoreAuthModuleRenderers: localAuthCoreAuthModuleRenderers.export(),
|
|
22
23
|
},
|
|
23
|
-
run({ authContextImports, authRolesImports, configServiceImports, errorHandlerServiceImports, paths, pothosImports, prismaImports, requestServiceContextImports, typescriptFile, userSessionTypesImports, }) {
|
|
24
|
+
run({ authContextImports, authRolesImports, configServiceImports, errorHandlerServiceImports, paths, pothosImports, prismaGeneratedImports, prismaImports, requestServiceContextImports, typescriptFile, userSessionTypesImports, }) {
|
|
24
25
|
return {
|
|
25
26
|
providers: {
|
|
26
27
|
localAuthCoreAuthModuleRenderers: {
|
|
@@ -38,6 +39,7 @@ const localAuthCoreAuthModuleRenderersTask = createGeneratorTask({
|
|
|
38
39
|
importMapProviders: {
|
|
39
40
|
authRolesImports,
|
|
40
41
|
pothosImports,
|
|
42
|
+
prismaGeneratedImports,
|
|
41
43
|
prismaImports,
|
|
42
44
|
},
|
|
43
45
|
generatorPaths: paths,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,kCAAkC,EAClC,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,qCAAqC,EAAE,MAAM,sBAAsB,CAAC;AA6C7E,MAAM,gCAAgC,GACpC,kBAAkB,CAChB,uCAAuC,CACxC,CAAC;AAEJ,MAAM,oCAAoC,GAAG,mBAAmB,CAAC;IAC/D,YAAY,EAAE;QACZ,kBAAkB,EAAE,0BAA0B;QAC9C,gBAAgB,EAAE,wBAAwB;QAC1C,oBAAoB,EAAE,4BAA4B;QAClD,0BAA0B,EAAE,kCAAkC;QAC9D,KAAK,EAAE,iCAAiC,CAAC,QAAQ;QACjD,aAAa,EAAE,qBAAqB;QACpC,aAAa,EAAE,qBAAqB;QACpC,4BAA4B,EAAE,oCAAoC;QAClE,cAAc,EAAE,sBAAsB;QACtC,uBAAuB,EAAE,+BAA+B;KACzD;IACD,OAAO,EAAE;QACP,gCAAgC,EAAE,gCAAgC,CAAC,MAAM,EAAE;KAC5E;IACD,GAAG,CAAC,EACF,kBAAkB,EAClB,gBAAgB,EA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CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,QAAQ,EAAE,gCAAgC;IAC1C,IAAI,EAAE,oCAAoC;CAC3C,CAAC"}
|
|
1
|
+
{"version":3,"file":"template-renderers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/template-renderers.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,kCAAkC,EAClC,qBAAqB,EACrB,8BAA8B,EAC9B,qBAAqB,EACrB,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,qCAAqC,EAAE,MAAM,sBAAsB,CAAC;AA6C7E,MAAM,gCAAgC,GACpC,kBAAkB,CAChB,uCAAuC,CACxC,CAAC;AAEJ,MAAM,oCAAoC,GAAG,mBAAmB,CAAC;IAC/D,YAAY,EAAE;QACZ,kBAAkB,EAAE,0BAA0B;QAC9C,gBAAgB,EAAE,wBAAwB;QAC1C,oBAAoB,EAAE,4BAA4B;QAClD,0BAA0B,EAAE,kCAAkC;QAC9D,KAAK,EAAE,iCAAiC,CAAC,QAAQ;QACjD,aAAa,EAAE,qBAAqB;QACpC,sBAAsB,EAAE,8BAA8B;QACtD,aAAa,EAAE,qBAAqB;QACpC,4BAA4B,EAAE,oCAAoC;QAClE,cAAc,EAAE,sBAAsB;QACtC,uBAAuB,EAAE,+BAA+B;KACzD;IACD,OAAO,EAAE;QACP,gCAAgC,EAAE,gCAAgC,CAAC,MAAM,EAAE;KAC5E;IACD,GAAG,CAAC,EACF,kBAAkB,EAClB,gBAAgB,EAChB,oBAAo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BACL;iBACF;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,QAAQ,EAAE,gCAAgC;IAC1C,IAAI,EAAE,oCAAoC;CAC3C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TsImportMapProviderFromSchema } from '@baseplate-dev/core-generators';
|
|
2
|
-
declare const authModuleImportsSchema: {
|
|
2
|
+
export declare const authModuleImportsSchema: {
|
|
3
3
|
userSessionPayload: {};
|
|
4
4
|
};
|
|
5
5
|
export type AuthModuleImportsProvider = TsImportMapProviderFromSchema<typeof authModuleImportsSchema>;
|
|
@@ -18,5 +18,4 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_IMPORTS: {
|
|
|
18
18
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthCoreAuthModulePaths>;
|
|
19
19
|
}, undefined>;
|
|
20
20
|
};
|
|
21
|
-
export {};
|
|
22
21
|
//# sourceMappingURL=ts-import-providers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAkBpF,
|
|
1
|
+
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAkBpF,eAAO,MAAM,uBAAuB;;CAElC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,6BAA6B,CACnE,OAAO,uBAAuB,CAC/B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;GACwC,CAAC;AA0B/E,eAAO,MAAM,mCAAmC;;;;;;;;;;;CAE/C,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { createTsImportMap, createTsImportMapSchema, packageScope, } from '@base
|
|
|
2
2
|
import { userSessionServiceImportsProvider, userSessionServiceImportsSchema, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import { createGeneratorTask, createReadOnlyProviderType, } from '@baseplate-dev/sync';
|
|
4
4
|
import { LOCAL_AUTH_CORE_AUTH_MODULE_PATHS } from './template-paths.js';
|
|
5
|
-
const authModuleImportsSchema = createTsImportMapSchema({
|
|
5
|
+
export const authModuleImportsSchema = createTsImportMapSchema({
|
|
6
6
|
userSessionPayload: {},
|
|
7
7
|
});
|
|
8
8
|
export const authModuleImportsProvider = createReadOnlyProviderType('auth-module-imports');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;AAExE,MAAM,uBAAuB,GAAG,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,iCAAiC,EAAE,MAAM,qBAAqB,CAAC;AAExE,MAAM,CAAC,MAAM,uBAAuB,GAAG,uBAAuB,CAAC;IAC7D,kBAAkB,EAAE,EAAE;CACvB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,yBAAyB,GACpC,0BAA0B,CAA4B,qBAAqB,CAAC,CAAC;AAE/E,MAAM,kCAAkC,GAAG,mBAAmB,CAAC;IAC7D,YAAY,EAAE;QACZ,KAAK,EAAE,iCAAiC,CAAC,QAAQ;KAClD;IACD,OAAO,EAAE;QACP,iBAAiB,EAAE,yBAAyB,CAAC,MAAM,CAAC,YAAY,CAAC;QACjE,yBAAyB,EACvB,iCAAiC,CAAC,MAAM,CAAC,YAAY,CAAC;KACzD;IACD,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,iBAAiB,EAAE,iBAAiB,CAAC,uBAAuB,EAAE;oBAC5D,kBAAkB,EAAE,KAAK,CAAC,kCAAkC;iBAC7D,CAAC;gBACF,yBAAyB,EAAE,iBAAiB,CAC1C,+BAA+B,EAC/B,EAAE,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,EAAE,CACjD;aACF;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,IAAI,EAAE,kCAAkC;CACzC,CAAC"}
|
|
@@ -64,6 +64,12 @@ export declare const moduleGroup: {
|
|
|
64
64
|
isTypeOnly: true;
|
|
65
65
|
};
|
|
66
66
|
}>>;
|
|
67
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
68
|
+
PrismaClient: {};
|
|
69
|
+
Prisma: {};
|
|
70
|
+
'*': {};
|
|
71
|
+
$Enums: {};
|
|
72
|
+
}>>;
|
|
67
73
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
68
74
|
prisma: {};
|
|
69
75
|
}>>;
|
|
@@ -145,6 +151,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_TEMPLATES: {
|
|
|
145
151
|
isTypeOnly: true;
|
|
146
152
|
};
|
|
147
153
|
}>>;
|
|
154
|
+
prismaGeneratedImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
155
|
+
PrismaClient: {};
|
|
156
|
+
Prisma: {};
|
|
157
|
+
'*': {};
|
|
158
|
+
$Enums: {};
|
|
159
|
+
}>>;
|
|
148
160
|
prismaImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
149
161
|
prisma: {};
|
|
150
162
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/typed-templates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"typed-templates.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/typed-templates.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,cAAc;;CAA2B,CAAC;AAqGvD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOvB,CAAC;AAwEF,eAAO,MAAM,UAAU;;;;;;;;CAAuD,CAAC;AAE/E,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createTsTemplateFile } from '@baseplate-dev/core-generators';
|
|
2
|
-
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, errorHandlerServiceImportsProvider, pothosImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
2
|
+
import { authContextImportsProvider, authRolesImportsProvider, configServiceImportsProvider, errorHandlerServiceImportsProvider, pothosImportsProvider, prismaGeneratedImportsProvider, prismaImportsProvider, requestServiceContextImportsProvider, userSessionTypesImportsProvider, } from '@baseplate-dev/fastify-generators';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
const userSessionConstants = createTsTemplateFile({
|
|
5
5
|
fileOptions: { kind: 'singleton' },
|
|
@@ -77,6 +77,7 @@ const userRolesService = createTsTemplateFile({
|
|
|
77
77
|
group: 'module',
|
|
78
78
|
importMapProviders: {
|
|
79
79
|
authRolesImports: authRolesImportsProvider,
|
|
80
|
+
prismaGeneratedImports: prismaGeneratedImportsProvider,
|
|
80
81
|
prismaImports: prismaImportsProvider,
|
|
81
82
|
},
|
|
82
83
|
name: 'user-roles-service',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,kCAAkC,EAClC,qBAAqB,EACrB,qBAAqB,EACrB,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,MAAM,oBAAoB,GAAG,oBAAoB,CAAC;IAChD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,WAAW;IAClB,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE;QACN,I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AAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,eAAe;IACrB,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,4CAA4C,CAC7C;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,oBAAoB,CAAC;IACzC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE,oBAAoB,EAAE,4BAA4B,EAAE;IAC1E,IAAI,EAAE,gBAAgB;IACtB,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,mBAAmB,GAAG,oBAAoB,CAAC;IAC/C,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;IAClC,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,EAAE;IACtB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE;QACN,IAAI,EAAE,IAAI,CAAC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,oDAAoD,CACrD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC;AAE/E,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,cAAc;IACd,WAAW;IACX,kBAAkB;IAClB,UAAU;CACX,CAAC"}
|
|
1
|
+
{"version":3,"file":"typed-templates.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/auth-module/generated/typed-templates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,g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AC,IAAI,CACb,MAAM,CAAC,IAAI,CAAC,OAAO,EACnB,oDAAoD,CACrD;KACF;IACD,SAAS,EAAE,EAAE;CACd,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC;AAE/E,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,cAAc;IACd,WAAW;IACX,kBAAkB;IAClB,UAAU;CACX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-roles.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"user-roles.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAKpD;;;;;;;;GAQG;AACH,wBAAsB,eAAe,CAAC,EACpC,MAAM,EACN,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuBhB"}
|
package/dist/local-auth/core/generators/auth-module/templates/module/services/user-roles.service.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
|
|
3
3
|
import type { AuthRole } from '%authRolesImports';
|
|
4
|
-
import type { User } from '
|
|
4
|
+
import type { User } from '%prismaGeneratedImports';
|
|
5
5
|
|
|
6
6
|
import { AUTH_ROLE_CONFIG } from '%authRolesImports';
|
|
7
7
|
import { prisma } from '%prismaImports';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TsImportMapProviderFromSchema } from '@baseplate-dev/core-generators';
|
|
2
|
-
declare const reactSessionImportsSchema: {
|
|
2
|
+
export declare const reactSessionImportsSchema: {
|
|
3
3
|
userSessionClient: {};
|
|
4
4
|
UserSessionClient: {};
|
|
5
5
|
};
|
|
@@ -18,5 +18,4 @@ export declare const LOCAL_AUTH_CORE_REACT_SESSION_IMPORTS: {
|
|
|
18
18
|
paths: import("@baseplate-dev/sync").ProviderType<import("./template-paths.js").LocalAuthCoreReactSessionPaths>;
|
|
19
19
|
}, undefined>;
|
|
20
20
|
};
|
|
21
|
-
export {};
|
|
22
21
|
//# sourceMappingURL=ts-import-providers.d.ts.map
|
package/dist/local-auth/core/generators/react-session/generated/ts-import-providers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAcpF,
|
|
1
|
+
{"version":3,"file":"ts-import-providers.d.ts","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/ts-import-providers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAcpF,eAAO,MAAM,yBAAyB;;;CAGpC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,6BAA6B,CACrE,OAAO,yBAAyB,CACjC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;GAGrC,CAAC;AAqBJ,eAAO,MAAM,qCAAqC;;;;;;;;;CAEjD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createTsImportMap, createTsImportMapSchema, packageScope, } from '@baseplate-dev/core-generators';
|
|
2
2
|
import { createGeneratorTask, createReadOnlyProviderType, } from '@baseplate-dev/sync';
|
|
3
3
|
import { LOCAL_AUTH_CORE_REACT_SESSION_PATHS } from './template-paths.js';
|
|
4
|
-
const reactSessionImportsSchema = createTsImportMapSchema({
|
|
4
|
+
export const reactSessionImportsSchema = createTsImportMapSchema({
|
|
5
5
|
userSessionClient: {},
|
|
6
6
|
UserSessionClient: {},
|
|
7
7
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,mCAAmC,EAAE,MAAM,qBAAqB,CAAC;AAE1E,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"ts-import-providers.js","sourceRoot":"","sources":["../../../../../../src/local-auth/core/generators/react-session/generated/ts-import-providers.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,YAAY,GACb,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,mCAAmC,EAAE,MAAM,qBAAqB,CAAC;AAE1E,MAAM,CAAC,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;IAC/D,iBAAiB,EAAE,EAAE;IACrB,iBAAiB,EAAE,EAAE;CACtB,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,2BAA2B,GACtC,0BAA0B,CACxB,uBAAuB,CACxB,CAAC;AAEJ,MAAM,oCAAoC,GAAG,mBAAmB,CAAC;IAC/D,YAAY,EAAE;QACZ,KAAK,EAAE,mCAAmC,CAAC,QAAQ;KACpD;IACD,OAAO,EAAE;QACP,mBAAmB,EAAE,2BAA2B,CAAC,MAAM,CAAC,YAAY,CAAC;KACtE;IACD,GAAG,CAAC,EAAE,KAAK,EAAE;QACX,OAAO;YACL,SAAS,EAAE;gBACT,mBAAmB,EAAE,iBAAiB,CAAC,yBAAyB,EAAE;oBAChE,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;oBAC1C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;iBAC3C,CAAC;aACH;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,IAAI,EAAE,oCAAoC;CAC3C,CAAC"}
|