@hedhog/admin 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -0
- package/dist/index.js +12 -16
- package/package.json +32 -29
- package/src/migrations/migrate-01.ts +107 -0
- package/src/migrations/migrate-02.ts +40 -0
- package/src/migrations/{1726795818403-migrate.ts → migrate-03.ts} +49 -49
- package/src/migrations/{1726795828359-migrate.ts → migrate-04.ts} +1 -1
- package/dist/admin.module.d.ts +0 -3
- package/dist/admin.module.d.ts.map +0 -1
- package/dist/admin.module.js +0 -30
- package/dist/admin.module.js.map +0 -1
- package/dist/auth/src/auth.controller.d.ts +0 -21
- package/dist/auth/src/auth.controller.d.ts.map +0 -1
- package/dist/auth/src/auth.controller.js +0 -77
- package/dist/auth/src/auth.controller.js.map +0 -1
- package/dist/auth/src/auth.module.d.ts +0 -3
- package/dist/auth/src/auth.module.d.ts.map +0 -1
- package/dist/auth/src/auth.module.js +0 -50
- package/dist/auth/src/auth.module.js.map +0 -1
- package/dist/auth/src/auth.service.d.ts +0 -36
- package/dist/auth/src/auth.service.d.ts.map +0 -1
- package/dist/auth/src/auth.service.js +0 -162
- package/dist/auth/src/auth.service.js.map +0 -1
- package/dist/auth/src/auth.service.spec.d.ts +0 -2
- package/dist/auth/src/auth.service.spec.d.ts.map +0 -1
- package/dist/auth/src/auth.service.spec.js +0 -17
- package/dist/auth/src/auth.service.spec.js.map +0 -1
- package/dist/auth/src/decorators/public.decorator.d.ts +0 -3
- package/dist/auth/src/decorators/public.decorator.d.ts.map +0 -1
- package/dist/auth/src/decorators/public.decorator.js +0 -8
- package/dist/auth/src/decorators/public.decorator.js.map +0 -1
- package/dist/auth/src/decorators/user.decorator.d.ts +0 -2
- package/dist/auth/src/decorators/user.decorator.d.ts.map +0 -1
- package/dist/auth/src/decorators/user.decorator.js +0 -12
- package/dist/auth/src/decorators/user.decorator.js.map +0 -1
- package/dist/auth/src/dto/forget.dto.d.ts +0 -4
- package/dist/auth/src/dto/forget.dto.d.ts.map +0 -1
- package/dist/auth/src/dto/forget.dto.js +0 -21
- package/dist/auth/src/dto/forget.dto.js.map +0 -1
- package/dist/auth/src/dto/login.dto.d.ts +0 -5
- package/dist/auth/src/dto/login.dto.d.ts.map +0 -1
- package/dist/auth/src/dto/login.dto.js +0 -31
- package/dist/auth/src/dto/login.dto.js.map +0 -1
- package/dist/auth/src/dto/otp.dto.d.ts +0 -5
- package/dist/auth/src/dto/otp.dto.d.ts.map +0 -1
- package/dist/auth/src/dto/otp.dto.js +0 -27
- package/dist/auth/src/dto/otp.dto.js.map +0 -1
- package/dist/auth/src/enums/multifactor-type.enum.d.ts +0 -5
- package/dist/auth/src/enums/multifactor-type.enum.d.ts.map +0 -1
- package/dist/auth/src/enums/multifactor-type.enum.js +0 -9
- package/dist/auth/src/enums/multifactor-type.enum.js.map +0 -1
- package/dist/auth/src/guards/auth.guard.d.ts +0 -11
- package/dist/auth/src/guards/auth.guard.d.ts.map +0 -1
- package/dist/auth/src/guards/auth.guard.js +0 -56
- package/dist/auth/src/guards/auth.guard.js.map +0 -1
- package/dist/auth/src/migrations/index.d.ts +0 -6
- package/dist/auth/src/migrations/index.d.ts.map +0 -1
- package/dist/auth/src/migrations/index.js +0 -121
- package/dist/auth/src/migrations/index.js.map +0 -1
- package/dist/auth/src/types/user.type.d.ts +0 -9
- package/dist/auth/src/types/user.type.d.ts.map +0 -1
- package/dist/auth/src/types/user.type.js +0 -3
- package/dist/auth/src/types/user.type.js.map +0 -1
- package/dist/file/src/dto/delete.dto.d.ts +0 -4
- package/dist/file/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/file/src/dto/delete.dto.js +0 -23
- package/dist/file/src/dto/delete.dto.js.map +0 -1
- package/dist/file/src/file.module.d.ts +0 -3
- package/dist/file/src/file.module.d.ts.map +0 -1
- package/dist/file/src/file.module.js +0 -29
- package/dist/file/src/file.module.js.map +0 -1
- package/dist/file/src/file.service.d.ts +0 -12
- package/dist/file/src/file.service.d.ts.map +0 -1
- package/dist/file/src/file.service.js +0 -59
- package/dist/file/src/file.service.js.map +0 -1
- package/dist/file/src/migrations/index.d.ts +0 -6
- package/dist/file/src/migrations/index.d.ts.map +0 -1
- package/dist/file/src/migrations/index.js +0 -137
- package/dist/file/src/migrations/index.js.map +0 -1
- package/dist/index.d.ts +0 -18
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/mail/src/enums/mail-configuration-type.enum.d.ts +0 -6
- package/dist/mail/src/enums/mail-configuration-type.enum.d.ts.map +0 -1
- package/dist/mail/src/enums/mail-configuration-type.enum.js +0 -10
- package/dist/mail/src/enums/mail-configuration-type.enum.js.map +0 -1
- package/dist/mail/src/interfaces/index.d.ts +0 -3
- package/dist/mail/src/interfaces/index.d.ts.map +0 -1
- package/dist/mail/src/interfaces/index.js +0 -19
- package/dist/mail/src/interfaces/index.js.map +0 -1
- package/dist/mail/src/interfaces/mail-module-options.interface.d.ts +0 -32
- package/dist/mail/src/interfaces/mail-module-options.interface.d.ts.map +0 -1
- package/dist/mail/src/interfaces/mail-module-options.interface.js +0 -3
- package/dist/mail/src/interfaces/mail-module-options.interface.js.map +0 -1
- package/dist/mail/src/interfaces/mail-type.d.ts +0 -13
- package/dist/mail/src/interfaces/mail-type.d.ts.map +0 -1
- package/dist/mail/src/interfaces/mail-type.js +0 -3
- package/dist/mail/src/interfaces/mail-type.js.map +0 -1
- package/dist/mail/src/mail.consts.d.ts +0 -17
- package/dist/mail/src/mail.consts.d.ts.map +0 -1
- package/dist/mail/src/mail.consts.js +0 -5
- package/dist/mail/src/mail.consts.js.map +0 -1
- package/dist/mail/src/mail.module.d.ts +0 -8
- package/dist/mail/src/mail.module.d.ts.map +0 -1
- package/dist/mail/src/mail.module.js +0 -51
- package/dist/mail/src/mail.module.js.map +0 -1
- package/dist/mail/src/mail.service.d.ts +0 -14
- package/dist/mail/src/mail.service.d.ts.map +0 -1
- package/dist/mail/src/mail.service.js +0 -281
- package/dist/mail/src/mail.service.js.map +0 -1
- package/dist/mail/src/mail.service.spec.d.ts +0 -2
- package/dist/mail/src/mail.service.spec.d.ts.map +0 -1
- package/dist/mail/src/mail.service.spec.js +0 -17
- package/dist/mail/src/mail.service.spec.js.map +0 -1
- package/dist/menu/src/dto/create.dto.d.ts +0 -8
- package/dist/menu/src/dto/create.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/create.dto.js +0 -44
- package/dist/menu/src/dto/create.dto.js.map +0 -1
- package/dist/menu/src/dto/delete.dto.d.ts +0 -4
- package/dist/menu/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/delete.dto.js +0 -24
- package/dist/menu/src/dto/delete.dto.js.map +0 -1
- package/dist/menu/src/dto/order.dto.d.ts +0 -4
- package/dist/menu/src/dto/order.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/order.dto.js +0 -23
- package/dist/menu/src/dto/order.dto.js.map +0 -1
- package/dist/menu/src/dto/update.dto.d.ts +0 -7
- package/dist/menu/src/dto/update.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/update.dto.js +0 -37
- package/dist/menu/src/dto/update.dto.js.map +0 -1
- package/dist/menu/src/menu.controller.d.ts +0 -19
- package/dist/menu/src/menu.controller.d.ts.map +0 -1
- package/dist/menu/src/menu.controller.js +0 -117
- package/dist/menu/src/menu.controller.js.map +0 -1
- package/dist/menu/src/menu.module.d.ts +0 -3
- package/dist/menu/src/menu.module.d.ts.map +0 -1
- package/dist/menu/src/menu.module.js +0 -31
- package/dist/menu/src/menu.module.js.map +0 -1
- package/dist/menu/src/menu.service.d.ts +0 -23
- package/dist/menu/src/menu.service.d.ts.map +0 -1
- package/dist/menu/src/menu.service.js +0 -117
- package/dist/menu/src/menu.service.js.map +0 -1
- package/dist/menu/src/migrations/index.d.ts +0 -7
- package/dist/menu/src/migrations/index.d.ts.map +0 -1
- package/dist/menu/src/migrations/index.js +0 -101
- package/dist/menu/src/migrations/index.js.map +0 -1
- package/dist/migrations/1726795702341-migrate.d.ts +0 -6
- package/dist/migrations/1726795702341-migrate.d.ts.map +0 -1
- package/dist/migrations/1726795702341-migrate.js +0 -121
- package/dist/migrations/1726795702341-migrate.js.map +0 -1
- package/dist/migrations/1726795734665-migrate.d.ts +0 -6
- package/dist/migrations/1726795734665-migrate.d.ts.map +0 -1
- package/dist/migrations/1726795734665-migrate.js +0 -40
- package/dist/migrations/1726795734665-migrate.js.map +0 -1
- package/dist/migrations/1726795818403-migrate.d.ts +0 -7
- package/dist/migrations/1726795818403-migrate.d.ts.map +0 -1
- package/dist/migrations/1726795818403-migrate.js +0 -101
- package/dist/migrations/1726795818403-migrate.js.map +0 -1
- package/dist/migrations/1726795828359-migrate.d.ts +0 -6
- package/dist/migrations/1726795828359-migrate.d.ts.map +0 -1
- package/dist/migrations/1726795828359-migrate.js +0 -525
- package/dist/migrations/1726795828359-migrate.js.map +0 -1
- package/dist/permission/src/decorators/permission.decorator.d.ts +0 -3
- package/dist/permission/src/decorators/permission.decorator.d.ts.map +0 -1
- package/dist/permission/src/decorators/permission.decorator.js +0 -8
- package/dist/permission/src/decorators/permission.decorator.js.map +0 -1
- package/dist/permission/src/dto/create.dto.d.ts +0 -5
- package/dist/permission/src/dto/create.dto.d.ts.map +0 -1
- package/dist/permission/src/dto/create.dto.js +0 -27
- package/dist/permission/src/dto/create.dto.js.map +0 -1
- package/dist/permission/src/dto/delete.dto.d.ts +0 -4
- package/dist/permission/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/permission/src/dto/delete.dto.js +0 -23
- package/dist/permission/src/dto/delete.dto.js.map +0 -1
- package/dist/permission/src/dto/update.dto.d.ts +0 -5
- package/dist/permission/src/dto/update.dto.d.ts.map +0 -1
- package/dist/permission/src/dto/update.dto.js +0 -27
- package/dist/permission/src/dto/update.dto.js.map +0 -1
- package/dist/permission/src/guards/permission.guard.d.ts +0 -11
- package/dist/permission/src/guards/permission.guard.d.ts.map +0 -1
- package/dist/permission/src/guards/permission.guard.js +0 -99
- package/dist/permission/src/guards/permission.guard.js.map +0 -1
- package/dist/permission/src/migrations/index.d.ts +0 -6
- package/dist/permission/src/migrations/index.d.ts.map +0 -1
- package/dist/permission/src/migrations/index.js +0 -520
- package/dist/permission/src/migrations/index.js.map +0 -1
- package/dist/permission/src/permission.controller.d.ts +0 -14
- package/dist/permission/src/permission.controller.d.ts.map +0 -1
- package/dist/permission/src/permission.controller.js +0 -95
- package/dist/permission/src/permission.controller.js.map +0 -1
- package/dist/permission/src/permission.module.d.ts +0 -3
- package/dist/permission/src/permission.module.d.ts.map +0 -1
- package/dist/permission/src/permission.module.js +0 -39
- package/dist/permission/src/permission.module.js.map +0 -1
- package/dist/permission/src/permission.service.d.ts +0 -19
- package/dist/permission/src/permission.service.d.ts.map +0 -1
- package/dist/permission/src/permission.service.js +0 -73
- package/dist/permission/src/permission.service.js.map +0 -1
- package/dist/permission/src/types/permission.types.d.ts +0 -33
- package/dist/permission/src/types/permission.types.d.ts.map +0 -1
- package/dist/permission/src/types/permission.types.js +0 -3
- package/dist/permission/src/types/permission.types.js.map +0 -1
- package/dist/screen/src/dto/create.dto.d.ts +0 -7
- package/dist/screen/src/dto/create.dto.d.ts.map +0 -1
- package/dist/screen/src/dto/create.dto.js +0 -37
- package/dist/screen/src/dto/create.dto.js.map +0 -1
- package/dist/screen/src/dto/delete.dto.d.ts +0 -4
- package/dist/screen/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/screen/src/dto/delete.dto.js +0 -23
- package/dist/screen/src/dto/delete.dto.js.map +0 -1
- package/dist/screen/src/dto/update.dto.d.ts +0 -7
- package/dist/screen/src/dto/update.dto.d.ts.map +0 -1
- package/dist/screen/src/dto/update.dto.js +0 -37
- package/dist/screen/src/dto/update.dto.js.map +0 -1
- package/dist/screen/src/migrations/index.d.ts +0 -6
- package/dist/screen/src/migrations/index.d.ts.map +0 -1
- package/dist/screen/src/migrations/index.js +0 -40
- package/dist/screen/src/migrations/index.js.map +0 -1
- package/dist/screen/src/screen.controller.d.ts +0 -14
- package/dist/screen/src/screen.controller.d.ts.map +0 -1
- package/dist/screen/src/screen.controller.js +0 -94
- package/dist/screen/src/screen.controller.js.map +0 -1
- package/dist/screen/src/screen.module.d.ts +0 -3
- package/dist/screen/src/screen.module.d.ts.map +0 -1
- package/dist/screen/src/screen.module.js +0 -31
- package/dist/screen/src/screen.module.js.map +0 -1
- package/dist/screen/src/screen.service.d.ts +0 -19
- package/dist/screen/src/screen.service.d.ts.map +0 -1
- package/dist/screen/src/screen.service.js +0 -73
- package/dist/screen/src/screen.service.js.map +0 -1
- package/dist/setting/src/dto/create.dto.d.ts +0 -4
- package/dist/setting/src/dto/create.dto.d.ts.map +0 -1
- package/dist/setting/src/dto/create.dto.js +0 -22
- package/dist/setting/src/dto/create.dto.js.map +0 -1
- package/dist/setting/src/dto/delete.dto.d.ts +0 -4
- package/dist/setting/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/setting/src/dto/delete.dto.js +0 -23
- package/dist/setting/src/dto/delete.dto.js.map +0 -1
- package/dist/setting/src/dto/update.dto.d.ts +0 -4
- package/dist/setting/src/dto/update.dto.d.ts.map +0 -1
- package/dist/setting/src/dto/update.dto.js +0 -8
- package/dist/setting/src/dto/update.dto.js.map +0 -1
- package/dist/setting/src/migrations/index.d.ts +0 -6
- package/dist/setting/src/migrations/index.d.ts.map +0 -1
- package/dist/setting/src/migrations/index.js +0 -67
- package/dist/setting/src/migrations/index.js.map +0 -1
- package/dist/setting/src/settings.controller.d.ts +0 -14
- package/dist/setting/src/settings.controller.d.ts.map +0 -1
- package/dist/setting/src/settings.controller.js +0 -94
- package/dist/setting/src/settings.controller.js.map +0 -1
- package/dist/setting/src/settings.module.d.ts +0 -3
- package/dist/setting/src/settings.module.d.ts.map +0 -1
- package/dist/setting/src/settings.module.js +0 -31
- package/dist/setting/src/settings.module.js.map +0 -1
- package/dist/setting/src/settings.service.d.ts +0 -19
- package/dist/setting/src/settings.service.d.ts.map +0 -1
- package/dist/setting/src/settings.service.js +0 -70
- package/dist/setting/src/settings.service.js.map +0 -1
- package/dist/user/src/constants/user.constants.d.ts +0 -2
- package/dist/user/src/constants/user.constants.d.ts.map +0 -1
- package/dist/user/src/constants/user.constants.js +0 -5
- package/dist/user/src/constants/user.constants.js.map +0 -1
- package/dist/user/src/dto/create.dto.d.ts +0 -6
- package/dist/user/src/dto/create.dto.d.ts.map +0 -1
- package/dist/user/src/dto/create.dto.js +0 -37
- package/dist/user/src/dto/create.dto.js.map +0 -1
- package/dist/user/src/dto/delete.dto.d.ts +0 -4
- package/dist/user/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/user/src/dto/delete.dto.js +0 -23
- package/dist/user/src/dto/delete.dto.js.map +0 -1
- package/dist/user/src/dto/update.dto.d.ts +0 -8
- package/dist/user/src/dto/update.dto.d.ts.map +0 -1
- package/dist/user/src/dto/update.dto.js +0 -50
- package/dist/user/src/dto/update.dto.js.map +0 -1
- package/dist/user/src/user.controller.d.ts +0 -14
- package/dist/user/src/user.controller.d.ts.map +0 -1
- package/dist/user/src/user.controller.js +0 -94
- package/dist/user/src/user.controller.js.map +0 -1
- package/dist/user/src/user.module.d.ts +0 -3
- package/dist/user/src/user.module.d.ts.map +0 -1
- package/dist/user/src/user.module.js +0 -31
- package/dist/user/src/user.module.js.map +0 -1
- package/dist/user/src/user.service.d.ts +0 -20
- package/dist/user/src/user.service.d.ts.map +0 -1
- package/dist/user/src/user.service.js +0 -84
- package/dist/user/src/user.service.js.map +0 -1
- package/dist/user/src/user.service.spec.d.ts +0 -2
- package/dist/user/src/user.service.spec.d.ts.map +0 -1
- package/dist/user/src/user.service.spec.js +0 -17
- package/dist/user/src/user.service.spec.js.map +0 -1
- package/src/migrations/1726795702341-migrate.ts +0 -107
- package/src/migrations/1726795734665-migrate.ts +0 -40
package/README.md
CHANGED
package/dist/index.js
CHANGED
@@ -17,24 +17,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// Admin Module
|
18
18
|
__exportStar(require("./admin.module"), exports);
|
19
19
|
// Auth Module
|
20
|
-
__exportStar(require("./auth/
|
21
|
-
__exportStar(require("./auth/
|
22
|
-
__exportStar(require("./auth/
|
23
|
-
__exportStar(require("./auth/
|
24
|
-
__exportStar(require("./auth/src/guards/auth.guard"), exports);
|
20
|
+
__exportStar(require("./auth/auth.service"), exports);
|
21
|
+
__exportStar(require("./auth/decorators/public.decorator"), exports);
|
22
|
+
__exportStar(require("./auth/decorators/user.decorator"), exports);
|
23
|
+
__exportStar(require("./auth/guards/auth.guard"), exports);
|
25
24
|
// Menu Module
|
26
|
-
__exportStar(require("./menu/
|
27
|
-
__exportStar(require("./menu/src/menu.service"), exports);
|
25
|
+
__exportStar(require("./menu/menu.service"), exports);
|
28
26
|
// Permission Module
|
29
|
-
__exportStar(require("./permission/
|
30
|
-
__exportStar(require("./permission/
|
31
|
-
__exportStar(require("./permission/
|
32
|
-
__exportStar(require("./permission/
|
27
|
+
__exportStar(require("./permission/permission.service"), exports);
|
28
|
+
__exportStar(require("./permission/types/permission.types"), exports);
|
29
|
+
__exportStar(require("./permission/decorators/permission.decorator"), exports);
|
30
|
+
__exportStar(require("./permission/guards/permission.guard"), exports);
|
33
31
|
// Screen Module
|
34
|
-
__exportStar(require("./screen/
|
35
|
-
__exportStar(require("./screen/src/screen.service"), exports);
|
32
|
+
__exportStar(require("./screen/screen.service"), exports);
|
36
33
|
// User Module
|
37
|
-
__exportStar(require("./user/
|
38
|
-
__exportStar(require("./user/
|
39
|
-
__exportStar(require("./user/src/user.service"), exports);
|
34
|
+
__exportStar(require("./user/constants/user.constants"), exports);
|
35
|
+
__exportStar(require("./user/user.service"), exports);
|
40
36
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
@@ -1,29 +1,32 @@
|
|
1
|
-
{
|
2
|
-
"name": "@hedhog/admin",
|
3
|
-
"version": "0.0.
|
4
|
-
"private": false,
|
5
|
-
"main": "dist/index.js",
|
6
|
-
"scripts": {
|
7
|
-
"
|
8
|
-
"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
"src/**/*.
|
14
|
-
|
15
|
-
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"@hedhog/
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
1
|
+
{
|
2
|
+
"name": "@hedhog/admin",
|
3
|
+
"version": "0.0.4",
|
4
|
+
"private": false,
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"scripts": {
|
7
|
+
"clean": "rimraf ./dist",
|
8
|
+
"prebuild": "npm run clean",
|
9
|
+
"build": "tsc --project tsconfig.production.json && npm version patch",
|
10
|
+
"prod": "npm run build && npm publish --access public"
|
11
|
+
},
|
12
|
+
"files": [
|
13
|
+
"src/migrations/**/*.ts",
|
14
|
+
"src/**/*.ejs"
|
15
|
+
],
|
16
|
+
"keywords": [],
|
17
|
+
"author": "",
|
18
|
+
"license": "MIT",
|
19
|
+
"description": "",
|
20
|
+
"devDependencies": {
|
21
|
+
"ts-node": "^10.9.1",
|
22
|
+
"typescript": "^5.1.3",
|
23
|
+
"@hedhog/pagination": "latest",
|
24
|
+
"@hedhog/prisma": "latest",
|
25
|
+
"@hedhog/mail": "latest"
|
26
|
+
},
|
27
|
+
"peerDependencies": {
|
28
|
+
"@hedhog/pagination": "latest",
|
29
|
+
"@hedhog/prisma": "latest",
|
30
|
+
"@hedhog/mail": "latest"
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,107 @@
|
|
1
|
+
import {
|
2
|
+
MigrationInterface,
|
3
|
+
QueryRunner,
|
4
|
+
Table,
|
5
|
+
TableForeignKey,
|
6
|
+
} from 'typeorm';
|
7
|
+
import { idColumn, timestampColumn } from '@hedhog/utils';
|
8
|
+
import * as bcrypt from 'bcrypt';
|
9
|
+
|
10
|
+
export class Migrate implements MigrationInterface {
|
11
|
+
async up(queryRunner: QueryRunner) {
|
12
|
+
await queryRunner.createTable(
|
13
|
+
new Table({
|
14
|
+
name: 'multifactors',
|
15
|
+
columns: [
|
16
|
+
idColumn(),
|
17
|
+
{
|
18
|
+
name: 'name',
|
19
|
+
type: 'varchar',
|
20
|
+
},
|
21
|
+
timestampColumn(),
|
22
|
+
timestampColumn('updated_at'),
|
23
|
+
],
|
24
|
+
}),
|
25
|
+
);
|
26
|
+
|
27
|
+
await queryRunner.manager
|
28
|
+
.createQueryBuilder()
|
29
|
+
.insert()
|
30
|
+
.into('multifactors', ['name'])
|
31
|
+
.values([
|
32
|
+
{
|
33
|
+
name: 'Email',
|
34
|
+
},
|
35
|
+
{
|
36
|
+
name: 'Applicativo',
|
37
|
+
},
|
38
|
+
])
|
39
|
+
.execute();
|
40
|
+
|
41
|
+
await queryRunner.createTable(
|
42
|
+
new Table({
|
43
|
+
name: 'users',
|
44
|
+
columns: [
|
45
|
+
idColumn(),
|
46
|
+
{
|
47
|
+
name: 'name',
|
48
|
+
type: 'varchar',
|
49
|
+
},
|
50
|
+
{
|
51
|
+
name: 'email',
|
52
|
+
type: 'varchar',
|
53
|
+
},
|
54
|
+
{
|
55
|
+
name: 'password',
|
56
|
+
type: 'varchar',
|
57
|
+
},
|
58
|
+
{
|
59
|
+
name: 'multifactor_id',
|
60
|
+
type: 'int',
|
61
|
+
isNullable: true,
|
62
|
+
unsigned: true,
|
63
|
+
},
|
64
|
+
{
|
65
|
+
name: 'code',
|
66
|
+
type: 'varchar',
|
67
|
+
isNullable: true,
|
68
|
+
},
|
69
|
+
timestampColumn(),
|
70
|
+
timestampColumn('updated_at'),
|
71
|
+
],
|
72
|
+
}),
|
73
|
+
);
|
74
|
+
|
75
|
+
await queryRunner.createForeignKeys('users', [
|
76
|
+
new TableForeignKey({
|
77
|
+
columnNames: ['multifactor_id'],
|
78
|
+
referencedColumnNames: ['id'],
|
79
|
+
referencedTableName: 'multifactors',
|
80
|
+
name: 'fk_users_to_multifactors_on_multifactor_id',
|
81
|
+
onDelete: 'Cascade',
|
82
|
+
}),
|
83
|
+
]);
|
84
|
+
|
85
|
+
await queryRunner.manager
|
86
|
+
.createQueryBuilder()
|
87
|
+
.insert()
|
88
|
+
.into('users', ['name', 'email', 'password'])
|
89
|
+
.values([
|
90
|
+
{
|
91
|
+
name: 'Superuser',
|
92
|
+
email: 'root@hedhog.com',
|
93
|
+
password: await bcrypt.hash(`hedhog`, 12),
|
94
|
+
},
|
95
|
+
{
|
96
|
+
name: 'User',
|
97
|
+
email: 'user@hedhog.com',
|
98
|
+
password: await bcrypt.hash(`hedhog`, 12),
|
99
|
+
},
|
100
|
+
])
|
101
|
+
.execute();
|
102
|
+
}
|
103
|
+
async down(queryRunner: QueryRunner) {
|
104
|
+
await queryRunner.dropTable('multifactors');
|
105
|
+
await queryRunner.dropTable('users');
|
106
|
+
}
|
107
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { idColumn, timestampColumn } from '@hedhog/utils';
|
2
|
+
|
3
|
+
import { MigrationInterface, QueryRunner, Table } from 'typeorm';
|
4
|
+
|
5
|
+
export class Migrate implements MigrationInterface {
|
6
|
+
async up(queryRunner: QueryRunner) {
|
7
|
+
await queryRunner.createTable(
|
8
|
+
new Table({
|
9
|
+
name: 'screens',
|
10
|
+
columns: [
|
11
|
+
idColumn(),
|
12
|
+
{
|
13
|
+
name: 'name',
|
14
|
+
type: 'varchar',
|
15
|
+
},
|
16
|
+
{
|
17
|
+
name: 'slug',
|
18
|
+
type: 'varchar',
|
19
|
+
isUnique: true,
|
20
|
+
},
|
21
|
+
{
|
22
|
+
name: 'description',
|
23
|
+
type: 'varchar',
|
24
|
+
},
|
25
|
+
{
|
26
|
+
name: 'icon',
|
27
|
+
type: 'varchar',
|
28
|
+
isNullable: true,
|
29
|
+
},
|
30
|
+
timestampColumn(),
|
31
|
+
timestampColumn('updated_at'),
|
32
|
+
],
|
33
|
+
}),
|
34
|
+
);
|
35
|
+
}
|
36
|
+
|
37
|
+
async down(queryRunner: QueryRunner) {
|
38
|
+
await queryRunner.dropTable('screens');
|
39
|
+
}
|
40
|
+
}
|
@@ -3,61 +3,61 @@ import {
|
|
3
3
|
QueryRunner,
|
4
4
|
Table,
|
5
5
|
TableForeignKey,
|
6
|
-
} from
|
7
|
-
import { idColumn, timestampColumn } from
|
6
|
+
} from 'typeorm';
|
7
|
+
import { idColumn, timestampColumn } from '@hedhog/utils';
|
8
8
|
|
9
|
-
export class
|
9
|
+
export class Migrate implements MigrationInterface {
|
10
10
|
public async up(queryRunner: QueryRunner): Promise<void> {
|
11
11
|
await queryRunner.createTable(
|
12
12
|
new Table({
|
13
|
-
name:
|
13
|
+
name: 'menus',
|
14
14
|
columns: [
|
15
15
|
idColumn(),
|
16
16
|
{
|
17
|
-
name:
|
18
|
-
type:
|
17
|
+
name: 'name',
|
18
|
+
type: 'varchar',
|
19
19
|
},
|
20
20
|
{
|
21
|
-
name:
|
22
|
-
type:
|
21
|
+
name: 'url',
|
22
|
+
type: 'varchar',
|
23
23
|
isNullable: true,
|
24
24
|
},
|
25
25
|
{
|
26
|
-
name:
|
27
|
-
type:
|
26
|
+
name: 'order',
|
27
|
+
type: 'int',
|
28
28
|
default: 0,
|
29
29
|
unsigned: true,
|
30
30
|
},
|
31
31
|
{
|
32
|
-
name:
|
33
|
-
type:
|
32
|
+
name: 'menu_id',
|
33
|
+
type: 'int',
|
34
34
|
isNullable: true,
|
35
35
|
unsigned: true,
|
36
36
|
},
|
37
37
|
{
|
38
|
-
name:
|
39
|
-
type:
|
38
|
+
name: 'icon',
|
39
|
+
type: 'varchar',
|
40
40
|
isNullable: true,
|
41
41
|
},
|
42
42
|
timestampColumn(),
|
43
|
-
timestampColumn(
|
43
|
+
timestampColumn('updated_at'),
|
44
44
|
],
|
45
45
|
}),
|
46
46
|
);
|
47
47
|
|
48
48
|
await queryRunner.createTable(
|
49
49
|
new Table({
|
50
|
-
name:
|
50
|
+
name: 'menu_screens',
|
51
51
|
columns: [
|
52
52
|
{
|
53
|
-
name:
|
54
|
-
type:
|
53
|
+
name: 'menu_id',
|
54
|
+
type: 'int',
|
55
55
|
isPrimary: true,
|
56
56
|
unsigned: true,
|
57
57
|
},
|
58
58
|
{
|
59
|
-
name:
|
60
|
-
type:
|
59
|
+
name: 'screen_id',
|
60
|
+
type: 'int',
|
61
61
|
isPrimary: true,
|
62
62
|
unsigned: true,
|
63
63
|
},
|
@@ -66,66 +66,66 @@ export class Migrate1726795818403 implements MigrationInterface {
|
|
66
66
|
);
|
67
67
|
|
68
68
|
await queryRunner.createForeignKey(
|
69
|
-
|
69
|
+
'menu_screens',
|
70
70
|
new TableForeignKey({
|
71
|
-
columnNames: [
|
72
|
-
referencedColumnNames: [
|
73
|
-
referencedTableName:
|
74
|
-
onDelete:
|
71
|
+
columnNames: ['menu_id'],
|
72
|
+
referencedColumnNames: ['id'],
|
73
|
+
referencedTableName: 'menus',
|
74
|
+
onDelete: 'CASCADE',
|
75
75
|
}),
|
76
76
|
);
|
77
77
|
|
78
78
|
await queryRunner.createForeignKey(
|
79
|
-
|
79
|
+
'menu_screens',
|
80
80
|
new TableForeignKey({
|
81
|
-
columnNames: [
|
82
|
-
referencedColumnNames: [
|
83
|
-
referencedTableName:
|
84
|
-
onDelete:
|
81
|
+
columnNames: ['screen_id'],
|
82
|
+
referencedColumnNames: ['id'],
|
83
|
+
referencedTableName: 'screens',
|
84
|
+
onDelete: 'CASCADE',
|
85
85
|
}),
|
86
86
|
);
|
87
87
|
|
88
88
|
//System Populating
|
89
|
-
await this.insertMenu(queryRunner,
|
89
|
+
await this.insertMenu(queryRunner, 'Dashboard', '/', 0, null, 'dashboard');
|
90
90
|
const managementId = await this.insertMenu(
|
91
91
|
queryRunner,
|
92
|
-
|
92
|
+
'Management',
|
93
93
|
null,
|
94
94
|
1,
|
95
95
|
null,
|
96
|
-
|
96
|
+
'settings',
|
97
97
|
);
|
98
98
|
await this.insertMenu(
|
99
99
|
queryRunner,
|
100
|
-
|
101
|
-
|
100
|
+
'Users',
|
101
|
+
'/management/users',
|
102
102
|
0,
|
103
103
|
managementId,
|
104
|
-
|
104
|
+
'users',
|
105
105
|
);
|
106
106
|
await this.insertMenu(
|
107
107
|
queryRunner,
|
108
|
-
|
109
|
-
|
108
|
+
'Roles',
|
109
|
+
'/management/roles',
|
110
110
|
1,
|
111
111
|
managementId,
|
112
|
-
|
112
|
+
'circles',
|
113
113
|
);
|
114
114
|
await this.insertMenu(
|
115
115
|
queryRunner,
|
116
|
-
|
117
|
-
|
116
|
+
'Screens',
|
117
|
+
'/management/screens',
|
118
118
|
2,
|
119
119
|
managementId,
|
120
|
-
|
120
|
+
'screem',
|
121
121
|
);
|
122
122
|
await this.insertMenu(
|
123
123
|
queryRunner,
|
124
|
-
|
125
|
-
|
124
|
+
'Menus',
|
125
|
+
'/management/menus',
|
126
126
|
3,
|
127
127
|
managementId,
|
128
|
-
|
128
|
+
'menu',
|
129
129
|
);
|
130
130
|
}
|
131
131
|
|
@@ -140,7 +140,7 @@ export class Migrate1726795818403 implements MigrationInterface {
|
|
140
140
|
const result = await queryRunner.manager
|
141
141
|
.createQueryBuilder()
|
142
142
|
.insert()
|
143
|
-
.into(
|
143
|
+
.into('menus')
|
144
144
|
.values({
|
145
145
|
name,
|
146
146
|
url,
|
@@ -148,14 +148,14 @@ export class Migrate1726795818403 implements MigrationInterface {
|
|
148
148
|
menu_id: menuId,
|
149
149
|
icon,
|
150
150
|
})
|
151
|
-
.returning(
|
151
|
+
.returning('id')
|
152
152
|
.execute();
|
153
153
|
|
154
154
|
return result.raw[0].id;
|
155
155
|
}
|
156
156
|
|
157
157
|
public async down(queryRunner: QueryRunner): Promise<void> {
|
158
|
-
await queryRunner.dropTable(
|
159
|
-
await queryRunner.dropTable(
|
158
|
+
await queryRunner.dropTable('menu_screens');
|
159
|
+
await queryRunner.dropTable('menus');
|
160
160
|
}
|
161
161
|
}
|
package/dist/admin.module.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"admin.module.d.ts","sourceRoot":"","sources":["../src/admin.module.ts"],"names":[],"mappings":"AAWA,qBAWa,WAAW;CAAG"}
|
package/dist/admin.module.js
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
-
};
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
9
|
-
exports.AdminModule = void 0;
|
10
|
-
const prisma_1 = require("@hedhog/prisma");
|
11
|
-
const pagination_1 = require("@hedhog/pagination");
|
12
|
-
const _1 = require("./");
|
13
|
-
const common_1 = require("@nestjs/common");
|
14
|
-
let AdminModule = class AdminModule {
|
15
|
-
};
|
16
|
-
exports.AdminModule = AdminModule;
|
17
|
-
exports.AdminModule = AdminModule = __decorate([
|
18
|
-
(0, common_1.Module)({
|
19
|
-
imports: [
|
20
|
-
(0, common_1.forwardRef)(() => _1.AuthModule),
|
21
|
-
(0, common_1.forwardRef)(() => _1.MenuModule),
|
22
|
-
(0, common_1.forwardRef)(() => pagination_1.PaginationModule),
|
23
|
-
(0, common_1.forwardRef)(() => _1.PermissionModule),
|
24
|
-
(0, common_1.forwardRef)(() => prisma_1.PrismaModule),
|
25
|
-
(0, common_1.forwardRef)(() => _1.ScreenModule),
|
26
|
-
(0, common_1.forwardRef)(() => _1.UserModule),
|
27
|
-
],
|
28
|
-
})
|
29
|
-
], AdminModule);
|
30
|
-
//# sourceMappingURL=admin.module.js.map
|
package/dist/admin.module.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"admin.module.js","sourceRoot":"","sources":["../src/admin.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA8C;AAC9C,mDAAsD;AACtD,yBAMY;AACZ,2CAAoD;AAa7C,IAAM,WAAW,GAAjB,MAAM,WAAW;CAAG,CAAA;AAAd,kCAAW;sBAAX,WAAW;IAXvB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,aAAU,CAAC;YAC5B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,aAAU,CAAC;YAC5B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6BAAgB,CAAC;YAClC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,mBAAgB,CAAC;YAClC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,eAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,aAAU,CAAC;SAC7B;KACF,CAAC;GACW,WAAW,CAAG"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { AuthService } from './auth.service';
|
2
|
-
import { ForgetDTO } from './dto/forget.dto';
|
3
|
-
import { LoginDTO } from './dto/login.dto';
|
4
|
-
import { OtpDTO } from './dto/otp.dto';
|
5
|
-
import { User as UserType } from './types/user.type';
|
6
|
-
export declare class AuthController {
|
7
|
-
private readonly service;
|
8
|
-
constructor(service: AuthService);
|
9
|
-
verify({ id }: UserType): Promise<any>;
|
10
|
-
login({ email, password }: LoginDTO): Promise<{
|
11
|
-
token: string;
|
12
|
-
} | {
|
13
|
-
token: string;
|
14
|
-
mfa: boolean;
|
15
|
-
}>;
|
16
|
-
otp({ token, code }: OtpDTO): Promise<{
|
17
|
-
token: string;
|
18
|
-
}>;
|
19
|
-
forget({ email }: ForgetDTO): Promise<boolean>;
|
20
|
-
}
|
21
|
-
//# sourceMappingURL=auth.controller.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.controller.d.ts","sourceRoot":"","sources":["../../../src/auth/src/auth.controller.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAErD,qBACa,cAAc;IAGvB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,WAAW;IAIjC,MAAM,CAAS,EAAE,EAAE,EAAE,EAAE,QAAQ;IAM/B,KAAK,CAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,QAAQ;;;;;;IAM3C,GAAG,CAAS,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,MAAM;;;IAMnC,MAAM,CAAS,EAAE,KAAK,EAAE,EAAE,SAAS;CAG1C"}
|
@@ -1,77 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
-
};
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
-
};
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
13
|
-
};
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
-
exports.AuthController = void 0;
|
16
|
-
const common_1 = require("@nestjs/common");
|
17
|
-
const auth_service_1 = require("./auth.service");
|
18
|
-
const public_decorator_1 = require("./decorators/public.decorator");
|
19
|
-
const user_decorator_1 = require("./decorators/user.decorator");
|
20
|
-
const forget_dto_1 = require("./dto/forget.dto");
|
21
|
-
const login_dto_1 = require("./dto/login.dto");
|
22
|
-
const otp_dto_1 = require("./dto/otp.dto");
|
23
|
-
let AuthController = class AuthController {
|
24
|
-
constructor(service) {
|
25
|
-
this.service = service;
|
26
|
-
}
|
27
|
-
async verify({ id }) {
|
28
|
-
return this.service.verify(id);
|
29
|
-
}
|
30
|
-
async login({ email, password }) {
|
31
|
-
return this.service.login({ email, password });
|
32
|
-
}
|
33
|
-
async otp({ token, code }) {
|
34
|
-
return this.service.otp({ token, code });
|
35
|
-
}
|
36
|
-
async forget({ email }) {
|
37
|
-
return this.service.forget({ email });
|
38
|
-
}
|
39
|
-
};
|
40
|
-
exports.AuthController = AuthController;
|
41
|
-
__decorate([
|
42
|
-
(0, common_1.Get)('verify'),
|
43
|
-
__param(0, (0, user_decorator_1.User)()),
|
44
|
-
__metadata("design:type", Function),
|
45
|
-
__metadata("design:paramtypes", [Object]),
|
46
|
-
__metadata("design:returntype", Promise)
|
47
|
-
], AuthController.prototype, "verify", null);
|
48
|
-
__decorate([
|
49
|
-
(0, public_decorator_1.Public)(),
|
50
|
-
(0, common_1.Post)('login'),
|
51
|
-
__param(0, (0, common_1.Body)()),
|
52
|
-
__metadata("design:type", Function),
|
53
|
-
__metadata("design:paramtypes", [login_dto_1.LoginDTO]),
|
54
|
-
__metadata("design:returntype", Promise)
|
55
|
-
], AuthController.prototype, "login", null);
|
56
|
-
__decorate([
|
57
|
-
(0, public_decorator_1.Public)(),
|
58
|
-
(0, common_1.Post)('otp'),
|
59
|
-
__param(0, (0, common_1.Body)()),
|
60
|
-
__metadata("design:type", Function),
|
61
|
-
__metadata("design:paramtypes", [otp_dto_1.OtpDTO]),
|
62
|
-
__metadata("design:returntype", Promise)
|
63
|
-
], AuthController.prototype, "otp", null);
|
64
|
-
__decorate([
|
65
|
-
(0, public_decorator_1.Public)(),
|
66
|
-
(0, common_1.Post)('forget'),
|
67
|
-
__param(0, (0, common_1.Body)()),
|
68
|
-
__metadata("design:type", Function),
|
69
|
-
__metadata("design:paramtypes", [forget_dto_1.ForgetDTO]),
|
70
|
-
__metadata("design:returntype", Promise)
|
71
|
-
], AuthController.prototype, "forget", null);
|
72
|
-
exports.AuthController = AuthController = __decorate([
|
73
|
-
(0, common_1.Controller)('auth'),
|
74
|
-
__param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => auth_service_1.AuthService))),
|
75
|
-
__metadata("design:paramtypes", [auth_service_1.AuthService])
|
76
|
-
], AuthController);
|
77
|
-
//# sourceMappingURL=auth.controller.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.controller.js","sourceRoot":"","sources":["../../../src/auth/src/auth.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAOwB;AACxB,iDAA6C;AAC7C,oEAAuD;AACvD,gEAAmD;AACnD,iDAA6C;AAC7C,+CAA2C;AAC3C,2CAAuC;AAIhC,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YAEmB,OAAoB;QAApB,YAAO,GAAP,OAAO,CAAa;IACpC,CAAC;IAGE,AAAN,KAAK,CAAC,MAAM,CAAS,EAAE,EAAE,EAAY;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACjC,CAAC;IAIK,AAAN,KAAK,CAAC,KAAK,CAAS,EAAE,KAAK,EAAE,QAAQ,EAAY;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IACjD,CAAC;IAIK,AAAN,KAAK,CAAC,GAAG,CAAS,EAAE,KAAK,EAAE,IAAI,EAAU;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IAC3C,CAAC;IAIK,AAAN,KAAK,CAAC,MAAM,CAAS,EAAE,KAAK,EAAa;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IACxC,CAAC;CACF,CAAA;AA5BY,wCAAc;AAOnB;IADL,IAAA,YAAG,EAAC,QAAQ,CAAC;IACA,WAAA,IAAA,qBAAI,GAAE,CAAA;;;;4CAEnB;AAIK;IAFL,IAAA,yBAAM,GAAE;IACR,IAAA,aAAI,EAAC,OAAO,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAsB,oBAAQ;;2CAEhD;AAIK;IAFL,IAAA,yBAAM,GAAE;IACR,IAAA,aAAI,EAAC,KAAK,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAkB,gBAAM;;yCAExC;AAIK;IAFL,IAAA,yBAAM,GAAE;IACR,IAAA,aAAI,EAAC,QAAQ,CAAC;IACD,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAY,sBAAS;;4CAExC;yBA3BU,cAAc;IAD1B,IAAA,mBAAU,EAAC,MAAM,CAAC;IAGd,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC,CAAC,CAAA;qCACZ,0BAAW;GAH5B,cAAc,CA4B1B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.module.d.ts","sourceRoot":"","sources":["../../../src/auth/src/auth.module.ts"],"names":[],"mappings":"AASA,qBA6Ba,UAAU;CAAG"}
|