@hedhog/admin 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/admin.module.d.ts.map +1 -1
- package/dist/admin.module.js +10 -6
- package/dist/admin.module.js.map +1 -1
- package/dist/auth/auth.controller.d.ts.map +1 -0
- package/dist/auth/auth.controller.js.map +1 -0
- package/dist/auth/auth.module.d.ts.map +1 -0
- package/dist/auth/auth.module.js.map +1 -0
- package/dist/auth/auth.service.d.ts.map +1 -0
- package/dist/auth/auth.service.js.map +1 -0
- package/dist/auth/auth.service.spec.d.ts.map +1 -0
- package/dist/auth/auth.service.spec.js.map +1 -0
- package/dist/auth/decorators/public.decorator.d.ts.map +1 -0
- package/dist/auth/decorators/public.decorator.js.map +1 -0
- package/dist/auth/decorators/user.decorator.d.ts.map +1 -0
- package/dist/auth/decorators/user.decorator.js.map +1 -0
- package/dist/auth/dto/forget.dto.d.ts.map +1 -0
- package/dist/auth/dto/forget.dto.js.map +1 -0
- package/dist/auth/dto/login.dto.d.ts.map +1 -0
- package/dist/auth/dto/login.dto.js.map +1 -0
- package/dist/auth/dto/otp.dto.d.ts.map +1 -0
- package/dist/auth/dto/otp.dto.js.map +1 -0
- package/dist/auth/enums/multifactor-type.enum.d.ts.map +1 -0
- package/dist/auth/enums/multifactor-type.enum.js.map +1 -0
- package/dist/auth/guards/auth.guard.d.ts.map +1 -0
- package/dist/auth/guards/auth.guard.js.map +1 -0
- package/dist/auth/migrations/index.d.ts.map +1 -0
- package/dist/auth/migrations/index.js.map +1 -0
- package/dist/auth/types/user.type.d.ts.map +1 -0
- package/dist/auth/types/user.type.js.map +1 -0
- package/dist/index.d.ts +12 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -16
- package/dist/index.js.map +1 -1
- package/dist/menu/dto/create.dto.d.ts.map +1 -0
- package/dist/menu/dto/create.dto.js.map +1 -0
- package/dist/menu/dto/delete.dto.d.ts.map +1 -0
- package/dist/menu/dto/delete.dto.js.map +1 -0
- package/dist/menu/dto/order.dto.d.ts.map +1 -0
- package/dist/menu/dto/order.dto.js.map +1 -0
- package/dist/menu/dto/update.dto.d.ts.map +1 -0
- package/dist/menu/dto/update.dto.js.map +1 -0
- package/dist/menu/menu.controller.d.ts.map +1 -0
- package/dist/menu/{src/menu.controller.js → menu.controller.js} +12 -10
- package/dist/menu/menu.controller.js.map +1 -0
- package/dist/menu/menu.module.d.ts.map +1 -0
- package/dist/menu/{src/menu.module.js → menu.module.js} +4 -2
- package/dist/menu/menu.module.js.map +1 -0
- package/dist/menu/menu.service.d.ts.map +1 -0
- package/dist/menu/menu.service.js.map +1 -0
- package/dist/menu/migrations/index.d.ts.map +1 -0
- package/dist/menu/migrations/index.js.map +1 -0
- package/dist/permission/decorators/permission.decorator.d.ts.map +1 -0
- package/dist/permission/decorators/permission.decorator.js.map +1 -0
- package/dist/permission/dto/create.dto.d.ts.map +1 -0
- package/dist/permission/dto/create.dto.js.map +1 -0
- package/dist/permission/dto/delete.dto.d.ts.map +1 -0
- package/dist/permission/dto/delete.dto.js.map +1 -0
- package/dist/permission/dto/update.dto.d.ts.map +1 -0
- package/dist/permission/dto/update.dto.js.map +1 -0
- package/dist/permission/guards/permission.guard.d.ts.map +1 -0
- package/dist/permission/guards/permission.guard.js.map +1 -0
- package/dist/permission/migrations/index.d.ts.map +1 -0
- package/dist/permission/migrations/index.js.map +1 -0
- package/dist/permission/permission.controller.d.ts.map +1 -0
- package/dist/permission/{src/permission.controller.js → permission.controller.js} +6 -6
- package/dist/permission/permission.controller.js.map +1 -0
- package/dist/permission/permission.module.d.ts.map +1 -0
- package/dist/permission/{src/permission.module.js → permission.module.js} +2 -2
- package/dist/permission/permission.module.js.map +1 -0
- package/dist/permission/permission.service.d.ts.map +1 -0
- package/dist/permission/permission.service.js.map +1 -0
- package/dist/permission/types/permission.types.d.ts.map +1 -0
- package/dist/permission/types/permission.types.js.map +1 -0
- package/dist/screen/dto/create.dto.d.ts.map +1 -0
- package/dist/screen/dto/create.dto.js.map +1 -0
- package/dist/screen/dto/delete.dto.d.ts.map +1 -0
- package/dist/screen/dto/delete.dto.js.map +1 -0
- package/dist/screen/dto/update.dto.d.ts.map +1 -0
- package/dist/screen/dto/update.dto.js.map +1 -0
- package/dist/screen/migrations/index.d.ts.map +1 -0
- package/dist/{migrations/migrate-02.js.map → screen/migrations/index.js.map} +1 -1
- package/dist/screen/screen.controller.d.ts.map +1 -0
- package/dist/screen/{src/screen.controller.js → screen.controller.js} +8 -7
- package/dist/screen/screen.controller.js.map +1 -0
- package/dist/screen/screen.module.d.ts.map +1 -0
- package/dist/screen/{src/screen.module.js → screen.module.js} +2 -2
- package/dist/screen/screen.module.js.map +1 -0
- package/dist/screen/screen.service.d.ts.map +1 -0
- package/dist/screen/screen.service.js.map +1 -0
- package/dist/user/constants/user.constants.d.ts.map +1 -0
- package/dist/user/constants/user.constants.js.map +1 -0
- package/dist/user/dto/create.dto.d.ts.map +1 -0
- package/dist/user/dto/create.dto.js.map +1 -0
- package/dist/user/dto/delete.dto.d.ts.map +1 -0
- package/dist/user/dto/delete.dto.js.map +1 -0
- package/dist/user/dto/update.dto.d.ts.map +1 -0
- package/dist/user/dto/update.dto.js.map +1 -0
- package/dist/user/user.controller.d.ts.map +1 -0
- package/dist/user/{src/user.controller.js → user.controller.js} +8 -7
- package/dist/user/user.controller.js.map +1 -0
- package/dist/user/user.module.d.ts.map +1 -0
- package/dist/user/{src/user.module.js → user.module.js} +2 -2
- package/dist/user/user.module.js.map +1 -0
- package/dist/user/user.service.d.ts.map +1 -0
- package/dist/user/user.service.js.map +1 -0
- package/dist/user/user.service.spec.d.ts.map +1 -0
- package/dist/user/user.service.spec.js.map +1 -0
- package/package.json +3 -1
- package/dist/auth/src/auth.controller.d.ts.map +0 -1
- package/dist/auth/src/auth.controller.js.map +0 -1
- package/dist/auth/src/auth.module.d.ts.map +0 -1
- package/dist/auth/src/auth.module.js.map +0 -1
- package/dist/auth/src/auth.service.d.ts.map +0 -1
- package/dist/auth/src/auth.service.js.map +0 -1
- package/dist/auth/src/auth.service.spec.d.ts.map +0 -1
- package/dist/auth/src/auth.service.spec.js.map +0 -1
- package/dist/auth/src/decorators/public.decorator.d.ts.map +0 -1
- package/dist/auth/src/decorators/public.decorator.js.map +0 -1
- package/dist/auth/src/decorators/user.decorator.d.ts.map +0 -1
- package/dist/auth/src/decorators/user.decorator.js.map +0 -1
- package/dist/auth/src/dto/forget.dto.d.ts.map +0 -1
- package/dist/auth/src/dto/forget.dto.js.map +0 -1
- package/dist/auth/src/dto/login.dto.d.ts.map +0 -1
- package/dist/auth/src/dto/login.dto.js.map +0 -1
- package/dist/auth/src/dto/otp.dto.d.ts.map +0 -1
- package/dist/auth/src/dto/otp.dto.js.map +0 -1
- package/dist/auth/src/enums/multifactor-type.enum.d.ts.map +0 -1
- package/dist/auth/src/enums/multifactor-type.enum.js.map +0 -1
- package/dist/auth/src/guards/auth.guard.d.ts.map +0 -1
- package/dist/auth/src/guards/auth.guard.js.map +0 -1
- package/dist/auth/src/migrations/index.d.ts.map +0 -1
- package/dist/auth/src/migrations/index.js.map +0 -1
- package/dist/auth/src/types/user.type.d.ts.map +0 -1
- package/dist/auth/src/types/user.type.js.map +0 -1
- package/dist/menu/src/dto/create.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/create.dto.js.map +0 -1
- package/dist/menu/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/delete.dto.js.map +0 -1
- package/dist/menu/src/dto/order.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/order.dto.js.map +0 -1
- package/dist/menu/src/dto/update.dto.d.ts.map +0 -1
- package/dist/menu/src/dto/update.dto.js.map +0 -1
- package/dist/menu/src/menu.controller.d.ts.map +0 -1
- package/dist/menu/src/menu.controller.js.map +0 -1
- package/dist/menu/src/menu.module.d.ts.map +0 -1
- package/dist/menu/src/menu.module.js.map +0 -1
- package/dist/menu/src/menu.service.d.ts.map +0 -1
- package/dist/menu/src/menu.service.js.map +0 -1
- package/dist/menu/src/migrations/index.d.ts.map +0 -1
- package/dist/menu/src/migrations/index.js.map +0 -1
- package/dist/migrations/migrate-01.d.ts +0 -6
- package/dist/migrations/migrate-01.d.ts.map +0 -1
- package/dist/migrations/migrate-01.js +0 -121
- package/dist/migrations/migrate-01.js.map +0 -1
- package/dist/migrations/migrate-02.d.ts +0 -6
- package/dist/migrations/migrate-02.d.ts.map +0 -1
- package/dist/migrations/migrate-02.js +0 -40
- package/dist/migrations/migrate-03.d.ts +0 -7
- package/dist/migrations/migrate-03.d.ts.map +0 -1
- package/dist/migrations/migrate-03.js +0 -101
- package/dist/migrations/migrate-03.js.map +0 -1
- package/dist/migrations/migrate-04.d.ts +0 -6
- package/dist/migrations/migrate-04.d.ts.map +0 -1
- package/dist/migrations/migrate-04.js +0 -525
- package/dist/migrations/migrate-04.js.map +0 -1
- package/dist/permission/src/decorators/permission.decorator.d.ts.map +0 -1
- package/dist/permission/src/decorators/permission.decorator.js.map +0 -1
- package/dist/permission/src/dto/create.dto.d.ts.map +0 -1
- package/dist/permission/src/dto/create.dto.js.map +0 -1
- package/dist/permission/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/permission/src/dto/delete.dto.js.map +0 -1
- package/dist/permission/src/dto/update.dto.d.ts.map +0 -1
- package/dist/permission/src/dto/update.dto.js.map +0 -1
- package/dist/permission/src/guards/permission.guard.d.ts.map +0 -1
- package/dist/permission/src/guards/permission.guard.js.map +0 -1
- package/dist/permission/src/migrations/index.d.ts.map +0 -1
- package/dist/permission/src/migrations/index.js.map +0 -1
- package/dist/permission/src/permission.controller.d.ts.map +0 -1
- package/dist/permission/src/permission.controller.js.map +0 -1
- package/dist/permission/src/permission.module.d.ts.map +0 -1
- package/dist/permission/src/permission.module.js.map +0 -1
- package/dist/permission/src/permission.service.d.ts.map +0 -1
- package/dist/permission/src/permission.service.js.map +0 -1
- package/dist/permission/src/types/permission.types.d.ts.map +0 -1
- package/dist/permission/src/types/permission.types.js.map +0 -1
- package/dist/screen/src/dto/create.dto.d.ts.map +0 -1
- package/dist/screen/src/dto/create.dto.js.map +0 -1
- package/dist/screen/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/screen/src/dto/delete.dto.js.map +0 -1
- package/dist/screen/src/dto/update.dto.d.ts.map +0 -1
- package/dist/screen/src/dto/update.dto.js.map +0 -1
- package/dist/screen/src/migrations/index.d.ts.map +0 -1
- package/dist/screen/src/migrations/index.js.map +0 -1
- package/dist/screen/src/screen.controller.d.ts.map +0 -1
- package/dist/screen/src/screen.controller.js.map +0 -1
- package/dist/screen/src/screen.module.d.ts.map +0 -1
- package/dist/screen/src/screen.module.js.map +0 -1
- package/dist/screen/src/screen.service.d.ts.map +0 -1
- package/dist/screen/src/screen.service.js.map +0 -1
- package/dist/user/src/constants/user.constants.d.ts.map +0 -1
- package/dist/user/src/constants/user.constants.js.map +0 -1
- package/dist/user/src/dto/create.dto.d.ts.map +0 -1
- package/dist/user/src/dto/create.dto.js.map +0 -1
- package/dist/user/src/dto/delete.dto.d.ts.map +0 -1
- package/dist/user/src/dto/delete.dto.js.map +0 -1
- package/dist/user/src/dto/update.dto.d.ts.map +0 -1
- package/dist/user/src/dto/update.dto.js.map +0 -1
- package/dist/user/src/user.controller.d.ts.map +0 -1
- package/dist/user/src/user.controller.js.map +0 -1
- package/dist/user/src/user.module.d.ts.map +0 -1
- package/dist/user/src/user.module.js.map +0 -1
- package/dist/user/src/user.service.d.ts.map +0 -1
- package/dist/user/src/user.service.js.map +0 -1
- package/dist/user/src/user.service.spec.d.ts.map +0 -1
- package/dist/user/src/user.service.spec.js.map +0 -1
- /package/dist/auth/{src/auth.controller.d.ts → auth.controller.d.ts} +0 -0
- /package/dist/auth/{src/auth.controller.js → auth.controller.js} +0 -0
- /package/dist/auth/{src/auth.module.d.ts → auth.module.d.ts} +0 -0
- /package/dist/auth/{src/auth.module.js → auth.module.js} +0 -0
- /package/dist/auth/{src/auth.service.d.ts → auth.service.d.ts} +0 -0
- /package/dist/auth/{src/auth.service.js → auth.service.js} +0 -0
- /package/dist/auth/{src/auth.service.spec.d.ts → auth.service.spec.d.ts} +0 -0
- /package/dist/auth/{src/auth.service.spec.js → auth.service.spec.js} +0 -0
- /package/dist/auth/{src/decorators → decorators}/public.decorator.d.ts +0 -0
- /package/dist/auth/{src/decorators → decorators}/public.decorator.js +0 -0
- /package/dist/auth/{src/decorators → decorators}/user.decorator.d.ts +0 -0
- /package/dist/auth/{src/decorators → decorators}/user.decorator.js +0 -0
- /package/dist/auth/{src/dto → dto}/forget.dto.d.ts +0 -0
- /package/dist/auth/{src/dto → dto}/forget.dto.js +0 -0
- /package/dist/auth/{src/dto → dto}/login.dto.d.ts +0 -0
- /package/dist/auth/{src/dto → dto}/login.dto.js +0 -0
- /package/dist/auth/{src/dto → dto}/otp.dto.d.ts +0 -0
- /package/dist/auth/{src/dto → dto}/otp.dto.js +0 -0
- /package/dist/auth/{src/enums → enums}/multifactor-type.enum.d.ts +0 -0
- /package/dist/auth/{src/enums → enums}/multifactor-type.enum.js +0 -0
- /package/dist/auth/{src/guards → guards}/auth.guard.d.ts +0 -0
- /package/dist/auth/{src/guards → guards}/auth.guard.js +0 -0
- /package/dist/auth/{src/migrations → migrations}/index.d.ts +0 -0
- /package/dist/auth/{src/migrations → migrations}/index.js +0 -0
- /package/dist/auth/{src/types → types}/user.type.d.ts +0 -0
- /package/dist/auth/{src/types → types}/user.type.js +0 -0
- /package/dist/menu/{src/dto → dto}/create.dto.d.ts +0 -0
- /package/dist/menu/{src/dto → dto}/create.dto.js +0 -0
- /package/dist/menu/{src/dto → dto}/delete.dto.d.ts +0 -0
- /package/dist/menu/{src/dto → dto}/delete.dto.js +0 -0
- /package/dist/menu/{src/dto → dto}/order.dto.d.ts +0 -0
- /package/dist/menu/{src/dto → dto}/order.dto.js +0 -0
- /package/dist/menu/{src/dto → dto}/update.dto.d.ts +0 -0
- /package/dist/menu/{src/dto → dto}/update.dto.js +0 -0
- /package/dist/menu/{src/menu.controller.d.ts → menu.controller.d.ts} +0 -0
- /package/dist/menu/{src/menu.module.d.ts → menu.module.d.ts} +0 -0
- /package/dist/menu/{src/menu.service.d.ts → menu.service.d.ts} +0 -0
- /package/dist/menu/{src/menu.service.js → menu.service.js} +0 -0
- /package/dist/menu/{src/migrations → migrations}/index.d.ts +0 -0
- /package/dist/menu/{src/migrations → migrations}/index.js +0 -0
- /package/dist/permission/{src/decorators → decorators}/permission.decorator.d.ts +0 -0
- /package/dist/permission/{src/decorators → decorators}/permission.decorator.js +0 -0
- /package/dist/permission/{src/dto → dto}/create.dto.d.ts +0 -0
- /package/dist/permission/{src/dto → dto}/create.dto.js +0 -0
- /package/dist/permission/{src/dto → dto}/delete.dto.d.ts +0 -0
- /package/dist/permission/{src/dto → dto}/delete.dto.js +0 -0
- /package/dist/permission/{src/dto → dto}/update.dto.d.ts +0 -0
- /package/dist/permission/{src/dto → dto}/update.dto.js +0 -0
- /package/dist/permission/{src/guards → guards}/permission.guard.d.ts +0 -0
- /package/dist/permission/{src/guards → guards}/permission.guard.js +0 -0
- /package/dist/permission/{src/migrations → migrations}/index.d.ts +0 -0
- /package/dist/permission/{src/migrations → migrations}/index.js +0 -0
- /package/dist/permission/{src/permission.controller.d.ts → permission.controller.d.ts} +0 -0
- /package/dist/permission/{src/permission.module.d.ts → permission.module.d.ts} +0 -0
- /package/dist/permission/{src/permission.service.d.ts → permission.service.d.ts} +0 -0
- /package/dist/permission/{src/permission.service.js → permission.service.js} +0 -0
- /package/dist/permission/{src/types → types}/permission.types.d.ts +0 -0
- /package/dist/permission/{src/types → types}/permission.types.js +0 -0
- /package/dist/screen/{src/dto → dto}/create.dto.d.ts +0 -0
- /package/dist/screen/{src/dto → dto}/create.dto.js +0 -0
- /package/dist/screen/{src/dto → dto}/delete.dto.d.ts +0 -0
- /package/dist/screen/{src/dto → dto}/delete.dto.js +0 -0
- /package/dist/screen/{src/dto → dto}/update.dto.d.ts +0 -0
- /package/dist/screen/{src/dto → dto}/update.dto.js +0 -0
- /package/dist/screen/{src/migrations → migrations}/index.d.ts +0 -0
- /package/dist/screen/{src/migrations → migrations}/index.js +0 -0
- /package/dist/screen/{src/screen.controller.d.ts → screen.controller.d.ts} +0 -0
- /package/dist/screen/{src/screen.module.d.ts → screen.module.d.ts} +0 -0
- /package/dist/screen/{src/screen.service.d.ts → screen.service.d.ts} +0 -0
- /package/dist/screen/{src/screen.service.js → screen.service.js} +0 -0
- /package/dist/user/{src/constants → constants}/user.constants.d.ts +0 -0
- /package/dist/user/{src/constants → constants}/user.constants.js +0 -0
- /package/dist/user/{src/dto → dto}/create.dto.d.ts +0 -0
- /package/dist/user/{src/dto → dto}/create.dto.js +0 -0
- /package/dist/user/{src/dto → dto}/delete.dto.d.ts +0 -0
- /package/dist/user/{src/dto → dto}/delete.dto.js +0 -0
- /package/dist/user/{src/dto → dto}/update.dto.d.ts +0 -0
- /package/dist/user/{src/dto → dto}/update.dto.js +0 -0
- /package/dist/user/{src/user.controller.d.ts → user.controller.d.ts} +0 -0
- /package/dist/user/{src/user.module.d.ts → user.module.d.ts} +0 -0
- /package/dist/user/{src/user.service.d.ts → user.service.d.ts} +0 -0
- /package/dist/user/{src/user.service.js → user.service.js} +0 -0
- /package/dist/user/{src/user.service.spec.d.ts → user.service.spec.d.ts} +0 -0
- /package/dist/user/{src/user.service.spec.js → user.service.spec.js} +0 -0
@@ -13,7 +13,6 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
exports.PermissionController = void 0;
|
16
|
-
const __1 = require("../../");
|
17
16
|
const pagination_1 = require("@hedhog/pagination");
|
18
17
|
const common_1 = require("@nestjs/common");
|
19
18
|
const create_dto_1 = require("./dto/create.dto");
|
@@ -21,6 +20,7 @@ const delete_dto_1 = require("./dto/delete.dto");
|
|
21
20
|
const update_dto_1 = require("./dto/update.dto");
|
22
21
|
const permission_service_1 = require("./permission.service");
|
23
22
|
const permission_decorator_1 = require("./decorators/permission.decorator");
|
23
|
+
const auth_guard_1 = require("../auth/guards/auth.guard");
|
24
24
|
let PermissionController = class PermissionController {
|
25
25
|
constructor(permissionService) {
|
26
26
|
this.permissionService = permissionService;
|
@@ -46,7 +46,7 @@ let PermissionController = class PermissionController {
|
|
46
46
|
};
|
47
47
|
exports.PermissionController = PermissionController;
|
48
48
|
__decorate([
|
49
|
-
(0, common_1.UseGuards)(
|
49
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
50
50
|
(0, common_1.Get)(),
|
51
51
|
__param(0, (0, pagination_1.Pagination)()),
|
52
52
|
__metadata("design:type", Function),
|
@@ -54,7 +54,7 @@ __decorate([
|
|
54
54
|
__metadata("design:returntype", Promise)
|
55
55
|
], PermissionController.prototype, "getPermissions", null);
|
56
56
|
__decorate([
|
57
|
-
(0, common_1.UseGuards)(
|
57
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
58
58
|
(0, common_1.Get)(':permissionId'),
|
59
59
|
__param(0, (0, common_1.Param)('PermissionId', common_1.ParseIntPipe)),
|
60
60
|
__metadata("design:type", Function),
|
@@ -62,7 +62,7 @@ __decorate([
|
|
62
62
|
__metadata("design:returntype", Promise)
|
63
63
|
], PermissionController.prototype, "show", null);
|
64
64
|
__decorate([
|
65
|
-
(0, common_1.UseGuards)(
|
65
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
66
66
|
(0, common_1.Post)(),
|
67
67
|
__param(0, (0, common_1.Body)()),
|
68
68
|
__metadata("design:type", Function),
|
@@ -70,7 +70,7 @@ __decorate([
|
|
70
70
|
__metadata("design:returntype", void 0)
|
71
71
|
], PermissionController.prototype, "create", null);
|
72
72
|
__decorate([
|
73
|
-
(0, common_1.UseGuards)(
|
73
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
74
74
|
(0, common_1.Patch)(':permissionId'),
|
75
75
|
__param(0, (0, common_1.Param)('PermissionId', common_1.ParseIntPipe)),
|
76
76
|
__param(1, (0, common_1.Body)()),
|
@@ -79,7 +79,7 @@ __decorate([
|
|
79
79
|
__metadata("design:returntype", Promise)
|
80
80
|
], PermissionController.prototype, "update", null);
|
81
81
|
__decorate([
|
82
|
-
(0, common_1.UseGuards)(
|
82
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
83
83
|
(0, common_1.Delete)(),
|
84
84
|
__param(0, (0, common_1.Body)()),
|
85
85
|
__metadata("design:type", Function),
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.controller.js","sourceRoot":"","sources":["../../src/permission/permission.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAChD,2CAYwB;AACxB,iDAA6C;AAC7C,iDAA6C;AAC7C,iDAA6C;AAC7C,6DAAyD;AACzD,4EAA+D;AAC/D,0DAAsD;AAI/C,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC/B,YAEmB,iBAAoC;QAApC,sBAAiB,GAAjB,iBAAiB,CAAmB;IACpD,CAAC;IAIE,AAAN,KAAK,CAAC,cAAc,CAAe,gBAAgB;QACjD,OAAO,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,gBAAgB,CAAC,CAAC;IACjE,CAAC;IAIK,AAAN,KAAK,CAAC,IAAI,CAAsC,YAAoB;QAClE,OAAO,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAClD,CAAC;IAID,MAAM,CAAS,IAAe;QAC5B,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAIK,AAAN,KAAK,CAAC,MAAM,CAC2B,YAAoB,EACjD,IAAe;QAEvB,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC;YACnC,EAAE,EAAE,YAAY;YAChB,IAAI;SACL,CAAC,CAAC;IACL,CAAC;IAIK,AAAN,KAAK,CAAC,MAAM,CAAS,IAAe;QAClC,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;CACF,CAAA;AAzCY,oDAAoB;AAQzB;IAFL,IAAA,kBAAS,EAAC,sBAAS,CAAC;IACpB,IAAA,YAAG,GAAE;IACgB,WAAA,IAAA,uBAAU,GAAE,CAAA;;;;0DAEjC;AAIK;IAFL,IAAA,kBAAS,EAAC,sBAAS,CAAC;IACpB,IAAA,YAAG,EAAC,eAAe,CAAC;IACT,WAAA,IAAA,cAAK,EAAC,cAAc,EAAE,qBAAY,CAAC,CAAA;;;;gDAE9C;AAID;IAFC,IAAA,kBAAS,EAAC,sBAAS,CAAC;IACpB,IAAA,aAAI,GAAE;IACC,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;kDAE7B;AAIK;IAFL,IAAA,kBAAS,EAAC,sBAAS,CAAC;IACpB,IAAA,cAAK,EAAC,eAAe,CAAC;IAEpB,WAAA,IAAA,cAAK,EAAC,cAAc,EAAE,qBAAY,CAAC,CAAA;IACnC,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,sBAAS;;kDAMxB;AAIK;IAFL,IAAA,kBAAS,EAAC,sBAAS,CAAC;IACpB,IAAA,eAAM,GAAE;IACK,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;kDAEnC;+BAxCU,oBAAoB;IAFhC,IAAA,iCAAU,GAAE;IACZ,IAAA,mBAAU,EAAC,aAAa,CAAC;IAGrB,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,sCAAiB,CAAC,CAAC,CAAA;qCACR,sCAAiB;GAH5C,oBAAoB,CAyChC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.module.d.ts","sourceRoot":"","sources":["../../src/permission/permission.module.ts"],"names":[],"mappings":"AASA,qBAgBa,gBAAgB;CAAG"}
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
7
7
|
};
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
9
9
|
exports.PermissionModule = void 0;
|
10
|
-
const
|
10
|
+
const auth_module_1 = require("../auth/auth.module");
|
11
11
|
const pagination_1 = require("@hedhog/pagination");
|
12
12
|
const prisma_1 = require("@hedhog/prisma");
|
13
13
|
const common_1 = require("@nestjs/common");
|
@@ -21,7 +21,7 @@ exports.PermissionModule = PermissionModule;
|
|
21
21
|
exports.PermissionModule = PermissionModule = __decorate([
|
22
22
|
(0, common_1.Module)({
|
23
23
|
imports: [
|
24
|
-
(0, common_1.forwardRef)(() =>
|
24
|
+
(0, common_1.forwardRef)(() => auth_module_1.AuthModule),
|
25
25
|
(0, common_1.forwardRef)(() => prisma_1.PrismaModule),
|
26
26
|
(0, common_1.forwardRef)(() => pagination_1.PaginationModule),
|
27
27
|
],
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.module.js","sourceRoot":"","sources":["../../src/permission/permission.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,qDAAiD;AACjD,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,6DAAyD;AACzD,mEAA+D;AAC/D,gEAA4D;AAC5D,uCAAyC;AAkBlC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,4CAAgB;2BAAhB,gBAAgB;IAhB5B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;YAC5B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6BAAgB,CAAC;SACnC;QACD,WAAW,EAAE,CAAC,4CAAoB,CAAC;QACnC,SAAS,EAAE;YACT,sCAAiB;YACjB;gBACE,OAAO,EAAE,gBAAS;gBAClB,QAAQ,EAAE,kCAAe;aAC1B;SACF;QACD,OAAO,EAAE,CAAC,sCAAiB,CAAC;KAC7B,CAAC;GACW,gBAAgB,CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.service.d.ts","sourceRoot":"","sources":["../../src/permission/permission.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAO/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBACa,iBAAiB;IAG1B,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,aAAa,EAAE,aAAa,EAE5B,iBAAiB,EAAE,iBAAiB;IAGjD,cAAc,CAAC,gBAAgB,EAAE,aAAa;IAmB9C,GAAG,CAAC,YAAY,EAAE,MAAM;IAMxB,MAAM,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,SAAS;IASvC,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE;IAOpD,MAAM,CAAC,EAAE,GAAG,EAAE,EAAE,SAAS;CAehC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.service.js","sourceRoot":"","sources":["../../src/permission/permission.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAsE;AACtE,2CAA+C;AAC/C,2CAKwB;AAMjB,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC5B,YAEmB,aAA4B,EAE5B,iBAAoC;QAFpC,kBAAa,GAAb,aAAa,CAAe;QAE5B,sBAAiB,GAAjB,iBAAiB,CAAmB;IACpD,CAAC;IAEJ,KAAK,CAAC,cAAc,CAAC,gBAA+B;QAClD,MAA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EY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,sBAAa,CAAC,CAAC,CAAA;IAEvC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAiB,CAAC,CAAC,CAAA;qCADZ,sBAAa;QAET,8BAAiB;GAL5C,iBAAiB,CAgE7B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.types.d.ts","sourceRoot":"","sources":["../../../src/permission/types/permission.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permission.types.js","sourceRoot":"","sources":["../../../src/permission/types/permission.types.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../src/screen/dto/create.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAGpB,IAAI,EAAE,MAAM,CAAC;IAIb,IAAI,EAAE,MAAM,CAAC;IAIb,WAAW,EAAE,MAAM,CAAC;IAIpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../src/screen/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,SAAS;CAgBrB;AAhBD,8BAgBC;AAbC;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACnD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;;uCACpC;AAIb;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACnD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;;uCACpC;AAIb;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;IACxD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;;8CAClC;AAIpB;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACpD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;;uCACxC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/screen/dto/delete.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAIpB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../../src/screen/dto/delete.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,SAAS;CAKrB;AALD,8BAKC;AADC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sCACR"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update.dto.d.ts","sourceRoot":"","sources":["../../../src/screen/dto/update.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAGpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update.dto.js","sourceRoot":"","sources":["../../../src/screen/dto/update.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,SAAS;CAgBrB;AAhBD,8BAgBC;AAbC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;;uCACtC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;;uCACtC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,iCAAiC,EAAE,CAAC;;8CACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;uCACvC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/screen/migrations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAS,MAAM,SAAS,CAAC;AAEjE,qBAAa,OAAQ,YAAW,kBAAkB;IAC1C,EAAE,CAAC,WAAW,EAAE,WAAW;IA+B3B,IAAI,CAAC,WAAW,EAAE,WAAW;CAGpC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/screen/migrations/index.ts"],"names":[],"mappings":";;;AAAA,yCAA0D;AAE1D,qCAAiE;AAEjE,MAAa,OAAO;IAClB,KAAK,CAAC,EAAE,CAAC,WAAwB;QAC/B,MAAM,WAAW,CAAC,WAAW,CAC3B,IAAI,eAAK,CAAC;YACR,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,IAAA,gBAAQ,GAAE;gBACV;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;oBACf,QAAQ,EAAE,IAAI;iBACf;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,SAAS;iBAChB;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,IAAI;iBACjB;gBACD,IAAA,uBAAe,GAAE;gBACjB,IAAA,uBAAe,EAAC,YAAY,CAAC;aAC9B;SACF,CAAC,CACH,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,WAAwB;QACjC,MAAM,WAAW,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;CACF;AAnCD,0BAmCC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"screen.controller.d.ts","sourceRoot":"","sources":["../../src/screen/screen.controller.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjD,qBAEa,gBAAgB;IAGzB,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAKzC,UAAU,CAAe,gBAAgB,KAAA;IAMzC,IAAI,CAAkC,QAAQ,EAAE,MAAM;IAM5D,MAAM,CAAS,IAAI,EAAE,SAAS;IAMxB,MAAM,CACuB,QAAQ,EAAE,MAAM,EACzC,IAAI,EAAE,SAAS;IAUnB,MAAM,CAAS,IAAI,EAAE,SAAS;CAGrC"}
|
@@ -13,13 +13,14 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
exports.ScreenController = void 0;
|
16
|
-
const __1 = require("../../");
|
17
16
|
const pagination_1 = require("@hedhog/pagination");
|
18
17
|
const common_1 = require("@nestjs/common");
|
19
18
|
const create_dto_1 = require("./dto/create.dto");
|
20
19
|
const delete_dto_1 = require("./dto/delete.dto");
|
21
20
|
const update_dto_1 = require("./dto/update.dto");
|
22
21
|
const screen_service_1 = require("./screen.service");
|
22
|
+
const permission_decorator_1 = require("../permission/decorators/permission.decorator");
|
23
|
+
const auth_guard_1 = require("../auth/guards/auth.guard");
|
23
24
|
let ScreenController = class ScreenController {
|
24
25
|
constructor(screenService) {
|
25
26
|
this.screenService = screenService;
|
@@ -45,7 +46,7 @@ let ScreenController = class ScreenController {
|
|
45
46
|
};
|
46
47
|
exports.ScreenController = ScreenController;
|
47
48
|
__decorate([
|
48
|
-
(0, common_1.UseGuards)(
|
49
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
49
50
|
(0, common_1.Get)(),
|
50
51
|
__param(0, (0, pagination_1.Pagination)()),
|
51
52
|
__metadata("design:type", Function),
|
@@ -53,7 +54,7 @@ __decorate([
|
|
53
54
|
__metadata("design:returntype", Promise)
|
54
55
|
], ScreenController.prototype, "getScreens", null);
|
55
56
|
__decorate([
|
56
|
-
(0, common_1.UseGuards)(
|
57
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
57
58
|
(0, common_1.Get)(':screenId'),
|
58
59
|
__param(0, (0, common_1.Param)('screenId', common_1.ParseIntPipe)),
|
59
60
|
__metadata("design:type", Function),
|
@@ -61,7 +62,7 @@ __decorate([
|
|
61
62
|
__metadata("design:returntype", Promise)
|
62
63
|
], ScreenController.prototype, "show", null);
|
63
64
|
__decorate([
|
64
|
-
(0, common_1.UseGuards)(
|
65
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
65
66
|
(0, common_1.Post)(),
|
66
67
|
__param(0, (0, common_1.Body)()),
|
67
68
|
__metadata("design:type", Function),
|
@@ -69,7 +70,7 @@ __decorate([
|
|
69
70
|
__metadata("design:returntype", void 0)
|
70
71
|
], ScreenController.prototype, "create", null);
|
71
72
|
__decorate([
|
72
|
-
(0, common_1.UseGuards)(
|
73
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
73
74
|
(0, common_1.Patch)(':screenId'),
|
74
75
|
__param(0, (0, common_1.Param)('screenId', common_1.ParseIntPipe)),
|
75
76
|
__param(1, (0, common_1.Body)()),
|
@@ -78,7 +79,7 @@ __decorate([
|
|
78
79
|
__metadata("design:returntype", Promise)
|
79
80
|
], ScreenController.prototype, "update", null);
|
80
81
|
__decorate([
|
81
|
-
(0, common_1.UseGuards)(
|
82
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
82
83
|
(0, common_1.Delete)(),
|
83
84
|
__param(0, (0, common_1.Body)()),
|
84
85
|
__metadata("design:type", Function),
|
@@ -86,7 +87,7 @@ __decorate([
|
|
86
87
|
__metadata("design:returntype", Promise)
|
87
88
|
], ScreenController.prototype, "delete", null);
|
88
89
|
exports.ScreenController = ScreenController = __decorate([
|
89
|
-
(0,
|
90
|
+
(0, permission_decorator_1.Permission)(),
|
90
91
|
(0, common_1.Controller)('screens'),
|
91
92
|
__param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => screen_service_1.ScreenService))),
|
92
93
|
__metadata("design:paramtypes", [screen_service_1.ScreenService])
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"screen.controller.js","sourceRoot":"","sources":["../../src/screen/screen.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAChD,2CAYwB;AACxB,iDAA6C;AAC7C,iDAA6C;AAC7C,iDAA6C;AAC7C,qDAAiD;AACjD,wFAA2E;AAC3E,0DAAsD;AAI/C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC3B,YAEmB,aAA4B;QAA5B,kBAAa,GAAb,aAAa,CAAe;IAC5C,CAAC;IAIE,AAAN,KAAK,CAAC,UAAU,CAAe,gBAAgB;QAC7C,OAAO,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IACzD,CAAC;IAIK,AAAN,KAAK,CAAC,IAAI,CAAkC,QAAgB;QAC1D,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAC1C,CAAC;IAID,MAAM,CAAS,IAAe;QAC5B,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IAIK,AAAN,KAAK,CAAC,MAAM,CACuB,QAAgB,EACzC,IAAe;QAEvB,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC;YAC/B,EAAE,EAAE,QAAQ;YACZ,IAAI;SACL,CAAC,CAAC;IACL,CAAC;IAIK,A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,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
7
7
|
};
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
9
9
|
exports.ScreenModule = void 0;
|
10
|
-
const __1 = require("../../");
|
11
10
|
const pagination_1 = require("@hedhog/pagination");
|
12
11
|
const prisma_1 = require("@hedhog/prisma");
|
13
12
|
const common_1 = require("@nestjs/common");
|
14
13
|
const screen_controller_1 = require("./screen.controller");
|
15
14
|
const screen_service_1 = require("./screen.service");
|
15
|
+
const auth_module_1 = require("../auth/auth.module");
|
16
16
|
let ScreenModule = class ScreenModule {
|
17
17
|
};
|
18
18
|
exports.ScreenModule = ScreenModule;
|
@@ -22,7 +22,7 @@ exports.ScreenModule = ScreenModule = __decorate([
|
|
22
22
|
exports: [screen_service_1.ScreenService],
|
23
23
|
controllers: [screen_controller_1.ScreenController],
|
24
24
|
imports: [
|
25
|
-
(0, common_1.forwardRef)(() =>
|
25
|
+
(0, common_1.forwardRef)(() => auth_module_1.AuthModule),
|
26
26
|
(0, common_1.forwardRef)(() => prisma_1.PrismaModule),
|
27
27
|
(0, common_1.forwardRef)(() => pagination_1.PaginationModule),
|
28
28
|
],
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"screen.module.js","sourceRoot":"","sources":["../../src/screen/screen.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,2DAAuD;AACvD,qDAAiD;AACjD,qDAAiD;AAY1C,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,oCAAY;uBAAZ,YAAY;IAVxB,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,8BAAa,CAAC;QAC1B,OAAO,EAAE,CAAC,8BAAa,CAAC;QACxB,WAAW,EAAE,CAAC,oCAAgB,CAAC;QAC/B,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;YAC5B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6BAAgB,CAAC;SACnC;KACF,CAAC;GACW,YAAY,CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"screen.service.d.ts","sourceRoot":"","sources":["../../src/screen/screen.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAO/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBACa,aAAa;IAGtB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,aAAa,EAAE,aAAa,EAE5B,iBAAiB,EAAE,iBAAiB;IAGjD,UAAU,CAAC,gBAAgB,EAAE,aAAa;IAkB1C,GAAG,CAAC,QAAQ,EAAE,MAAM;IAIpB,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,SAAS;IAWnD,MAAM,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,SAAS,CAAA;KAAE;IAOpD,MAAM,CAAC,EAAE,GAAG,EAAE,EAAE,SAAS;CAehC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"screen.service.js","sourceRoot":"","sources":["../../src/screen/screen.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAsE;AACtE,2CAA+C;AAC/C,2CAKwB;AAMjB,IAAM,aAAa,GAAnB,MAAM,aAAa;IACxB,YAEmB,aAA4B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I,4BAAmB,CAC3B,gDAAgD,CACjD,CAAC;QACJ,CAAC;QAED,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC;YAC3C,KAAK,EAAE;gBACL,EAAE,EAAE;oBACF,EAAE,EAAE,GAAG;iBACR;aACF;SACF,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA/DY,sCAAa;wBAAb,aAAa;IADzB,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,sBAAa,CAAC,CAAC,CAAA;IAEvC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAiB,CAAC,CAAC,CAAA;qCADZ,sBAAa;QAET,8BAAiB;GAL5C,aAAa,CA+DzB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.constants.d.ts","sourceRoot":"","sources":["../../../src/user/constants/user.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,KAAK,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.constants.js","sourceRoot":"","sources":["../../../src/user/constants/user.constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../src/user/dto/create.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAEpB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAed,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../src/user/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsE;AAEtE,MAAa,SAAS;CAqBrB;AArBD,8BAqBC;AAnBC;IADC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;;uCACvC;AAGb;IADC,IAAA,yBAAO,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,CAAC;;wCAChD;AAed;IAbC,IAAA,kCAAgB,EACf;QACE,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;QACf,UAAU,EAAE,CAAC;QACb,UAAU,EAAE,CAAC;KACd,EACD;QACE,OAAO,EACL,mFAAmF;KACtF,CACF;;2CACgB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/user/dto/delete.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAIpB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../../src/user/dto/delete.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,SAAS;CAKrB;AALD,8BAKC;AADC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sCACR"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update.dto.d.ts","sourceRoot":"","sources":["../../../src/user/dto/update.dto.ts"],"names":[],"mappings":"AAQA,qBAAa,SAAS;IAGpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,KAAK,CAAC,EAAE,MAAM,CAAC;IAgBf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update.dto.js","sourceRoot":"","sources":["../../../src/user/dto/update.dto.ts"],"names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AAE,SAAS;IAMxB,MAAM,CACqB,MAAM,EAAE,MAAM,EACrC,IAAI,EAAE,SAAS;IAUnB,MAAM,CAAS,IAAI,EAAE,SAAS;CAGrC"}
|
@@ -13,13 +13,14 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
exports.UserController = void 0;
|
16
|
-
const __1 = require("../../");
|
17
16
|
const pagination_1 = require("@hedhog/pagination");
|
18
17
|
const common_1 = require("@nestjs/common");
|
19
18
|
const create_dto_1 = require("./dto/create.dto");
|
20
19
|
const delete_dto_1 = require("./dto/delete.dto");
|
21
20
|
const update_dto_1 = require("./dto/update.dto");
|
22
21
|
const user_service_1 = require("./user.service");
|
22
|
+
const permission_decorator_1 = require("../permission/decorators/permission.decorator");
|
23
|
+
const auth_guard_1 = require("../auth/guards/auth.guard");
|
23
24
|
let UserController = class UserController {
|
24
25
|
constructor(userService) {
|
25
26
|
this.userService = userService;
|
@@ -45,7 +46,7 @@ let UserController = class UserController {
|
|
45
46
|
};
|
46
47
|
exports.UserController = UserController;
|
47
48
|
__decorate([
|
48
|
-
(0, common_1.UseGuards)(
|
49
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
49
50
|
(0, common_1.Get)(),
|
50
51
|
__param(0, (0, pagination_1.Pagination)()),
|
51
52
|
__metadata("design:type", Function),
|
@@ -53,7 +54,7 @@ __decorate([
|
|
53
54
|
__metadata("design:returntype", Promise)
|
54
55
|
], UserController.prototype, "getUsers", null);
|
55
56
|
__decorate([
|
56
|
-
(0, common_1.UseGuards)(
|
57
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
57
58
|
(0, common_1.Get)(':userId'),
|
58
59
|
__param(0, (0, common_1.Param)('userId', common_1.ParseIntPipe)),
|
59
60
|
__metadata("design:type", Function),
|
@@ -61,7 +62,7 @@ __decorate([
|
|
61
62
|
__metadata("design:returntype", Promise)
|
62
63
|
], UserController.prototype, "show", null);
|
63
64
|
__decorate([
|
64
|
-
(0, common_1.UseGuards)(
|
65
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
65
66
|
(0, common_1.Post)(),
|
66
67
|
__param(0, (0, common_1.Body)()),
|
67
68
|
__metadata("design:type", Function),
|
@@ -69,7 +70,7 @@ __decorate([
|
|
69
70
|
__metadata("design:returntype", void 0)
|
70
71
|
], UserController.prototype, "create", null);
|
71
72
|
__decorate([
|
72
|
-
(0, common_1.UseGuards)(
|
73
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
73
74
|
(0, common_1.Patch)(':userId'),
|
74
75
|
__param(0, (0, common_1.Param)('userId', common_1.ParseIntPipe)),
|
75
76
|
__param(1, (0, common_1.Body)()),
|
@@ -78,7 +79,7 @@ __decorate([
|
|
78
79
|
__metadata("design:returntype", Promise)
|
79
80
|
], UserController.prototype, "update", null);
|
80
81
|
__decorate([
|
81
|
-
(0, common_1.UseGuards)(
|
82
|
+
(0, common_1.UseGuards)(auth_guard_1.AuthGuard),
|
82
83
|
(0, common_1.Delete)(),
|
83
84
|
__param(0, (0, common_1.Body)()),
|
84
85
|
__metadata("design:type", Function),
|
@@ -86,7 +87,7 @@ __decorate([
|
|
86
87
|
__metadata("design:returntype", Promise)
|
87
88
|
], UserController.prototype, "delete", null);
|
88
89
|
exports.UserController = UserController = __decorate([
|
89
|
-
(0,
|
90
|
+
(0, permission_decorator_1.Permission)(),
|
90
91
|
(0, common_1.Controller)('users'),
|
91
92
|
__param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => user_service_1.UserService))),
|
92
93
|
__metadata("design:paramtypes", [user_service_1.UserService])
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.controller.js","sourceRoot":"","sources":["../../src/user/user.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAChD,2CAYwB;AACxB,iDAA6C;AAC7C,iDAA6C;AAC7C,iDAA6C;AAC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S,EAAC,sBAAS,CAAC;IACpB,IAAA,cAAK,EAAC,SAAS,CAAC;IAEd,WAAA,IAAA,cAAK,EAAC,QAAQ,EAAE,qBAAY,CAAC,CAAA;IAC7B,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,sBAAS;;4CAMxB;AAIK;IAFL,IAAA,kBAAS,EAAC,sBAAS,CAAC;IACpB,IAAA,eAAM,GAAE;IACK,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;4CAEnC;yBAxCU,cAAc;IAF1B,IAAA,iCAAU,GAAE;IACZ,IAAA,mBAAU,EAAC,OAAO,CAAC;IAGf,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC,CAAC,CAAA;qCACR,0BAAW;GAHhC,cAAc,CAyC1B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.module.d.ts","sourceRoot":"","sources":["../../src/user/user.module.ts"],"names":[],"mappings":"AAOA,qBAUa,UAAU;CAAG"}
|
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
7
7
|
};
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
9
9
|
exports.UserModule = void 0;
|
10
|
-
const __1 = require("../../");
|
11
10
|
const pagination_1 = require("@hedhog/pagination");
|
12
11
|
const prisma_1 = require("@hedhog/prisma");
|
13
12
|
const common_1 = require("@nestjs/common");
|
14
13
|
const user_controller_1 = require("./user.controller");
|
15
14
|
const user_service_1 = require("./user.service");
|
15
|
+
const auth_module_1 = require("../auth/auth.module");
|
16
16
|
let UserModule = class UserModule {
|
17
17
|
};
|
18
18
|
exports.UserModule = UserModule;
|
@@ -22,7 +22,7 @@ exports.UserModule = UserModule = __decorate([
|
|
22
22
|
exports: [user_service_1.UserService],
|
23
23
|
controllers: [user_controller_1.UserController],
|
24
24
|
imports: [
|
25
|
-
(0, common_1.forwardRef)(() =>
|
25
|
+
(0, common_1.forwardRef)(() => auth_module_1.AuthModule),
|
26
26
|
(0, common_1.forwardRef)(() => prisma_1.PrismaModule),
|
27
27
|
(0, common_1.forwardRef)(() => pagination_1.PaginationModule),
|
28
28
|
],
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.module.js","sourceRoot":"","sources":["../../src/user/user.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,uDAAmD;AACnD,iDAA6C;AAC7C,qDAAiD;AAY1C,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IAVtB,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,0BAAW,CAAC;QACxB,OAAO,EAAE,CAAC,0BAAW,CAAC;QACtB,WAAW,EAAE,CAAC,gCAAc,CAAC;QAC7B,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC;YAC5B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,6BAAgB,CAAC;SACnC;KACF,CAAC;GACW,UAAU,CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.service.d.ts","sourceRoot":"","sources":["../../src/user/user.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAS/C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBACa,WAAW;IAGpB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAA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;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,sBAAa,CAAC,CAAC,CAAA;IAEvC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,8BAAiB,CAAC,CAAC,CAAA;qCADZ,sBAAa;QAET,8BAAiB;GAL5C,WAAW,CA0EvB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.service.spec.d.ts","sourceRoot":"","sources":["../../src/user/user.service.spec.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.service.spec.js","sourceRoot":"","sources":["../../src/user/user.service.spec.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AACtD,iDAA6C;AAE7C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,MAAM,GAAkB,MAAM,cAAI,CAAC,mBAAmB,CAAC;YAC3D,SAAS,EAAE,CAAC,0BAAW,CAAC;SACzB,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,OAAO,GAAG,MAAM,CAAC,GAAG,CAAc,0BAAW,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hedhog/admin",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.5",
|
4
4
|
"private": false,
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"scripts": {
|
7
|
+
"clean": "rimraf ./dist",
|
8
|
+
"prebuild": "npm run clean",
|
7
9
|
"build": "tsc --project tsconfig.production.json && npm version patch",
|
8
10
|
"prod": "npm run build && npm publish --access public"
|
9
11
|
},
|
@@ -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 +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,CAA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d.ts","sourceRoot":"","sources":["../../../src/auth/src/auth.module.ts"],"names":[],"mappings":"AASA,qBA6Ba,UAAU;CAAG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.module.js","sourceRoot":"","sources":["../../../src/auth/src/auth.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAoD;AACpD,iDAA6C;AAC7C,uDAAmD;AACnD,2CAA8C;AAC9C,qCAAwC;AACxC,uCAAyC;AACzC,oDAAgD;AAChD,uCAA0C;AA+BnC,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IA7BtB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CACd,eAAS,CAAC,aAAa,CAAC;gBACtB,MAAM,EAAE,IAAI;gBACZ,UAAU,EAAE,GAAG,EAAE;oBACf,OAAO;wBACL,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;wBACtC,MAAM,EAAE,IAAI;wBACZ,WAAW,EAAE;4BACX,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,KAAK;yBAC/C;qBACF,CAAC;gBACJ,CAAC;aACF,CAAC,CACH;YACD,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,iBAAU,CAAC;SAC7B;QACD,WAAW,EAAE,CAAC,gCAAc,CAAC;QAC7B,SAAS,EAAE;YACT,0BAAW;YACX;gBACE,OAAO,EAAE,gBAAS;gBAClB,QAAQ,EAAE,sBAAS;aACpB;SACF;QACD,OAAO,EAAE,CAAC,0BAAW,CAAC;KACvB,CAAC;GACW,UAAU,CAAG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../src/auth/src/auth.service.ts"],"names":[],"mappings":"AAAA,OA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IAAI,0BAAiB,CAAC,cAAc,CAAC,CAAC;QAC9C,CAAC;QAED,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;YAC7B,KAAK,EAAE;gBACL,EAAE,EAAE,IAAI,CAAC,EAAE;aACZ;YACD,IAAI,EAAE;gBACJ,IAAI,EAAE,IAAI;aACX;SACF,CAAC,CAAC;QAEH,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAY;QACjC,OAAO,IAAI,CAAC,yBAAyB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACzD,CAAC;IAED,MAAM,CAAC,EAAU;QACf,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzD,CAAC;CACF,CAAA;AA9JY,kCAAW;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,sBAAa,CAAC,CAAC,CAAA;IAEvC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,gBAAU,CAAC,CAAC,CAAA;IAEpC,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,kBAAW,CAAC,CAAC,CAAA;qCAHb,sBAAa;QAEhB,gBAAU;QAET,kBAAW;GAPzB,WAAW,CA8JvB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.service.spec.d.ts","sourceRoot":"","sources":["../../../src/auth/src/auth.service.spec.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.service.spec.js","sourceRoot":"","sources":["../../../src/auth/src/auth.service.spec.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AACtD,iDAA6C;AAE7C,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,MAAM,GAAkB,MAAM,cAAI,CAAC,mBAAmB,CAAC;YAC3D,SAAS,EAAE,CAAC,0BAAW,CAAC;SACzB,CAAC,CAAC,OAAO,EAAE,CAAC;QAEb,OAAO,GAAG,MAAM,CAAC,GAAG,CAAc,0BAAW,CAAC,CAAC;IACjD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,GAAG,EAAE;QAC3B,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"public.decorator.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/decorators/public.decorator.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,aAAa,CAAC;AACxC,eAAO,MAAM,MAAM,wDAAyC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"public.decorator.js","sourceRoot":"","sources":["../../../../src/auth/src/decorators/public.decorator.ts"],"names":[],"mappings":";;;AAAA,2CAA6C;AAEhC,QAAA,aAAa,GAAG,UAAU,CAAC;AACjC,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,IAAA,oBAAW,EAAC,qBAAa,EAAE,IAAI,CAAC,CAAC;AAAhD,QAAA,MAAM,UAA0C"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user.decorator.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/decorators/user.decorator.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,yLAUhB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user.decorator.js","sourceRoot":"","sources":["../../../../src/auth/src/decorators/user.decorator.ts"],"names":[],"mappings":";;;AAAA,2CAA+F;AAElF,QAAA,IAAI,GAAG,IAAA,6BAAoB,EACtC,CAAC,QAAuB,IAAI,EAAE,GAAqB,EAAE,EAAE;IACrD,MAAM,OAAO,GAAG,GAAG,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,CAAC;IAEhD,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACxC,MAAM,IAAI,8BAAqB,CAAC,2BAA2B,CAAC,CAAC;IAC/D,CAAC;IAED,OAAO,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;AAC9D,CAAC,CACF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"forget.dto.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/dto/forget.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAGpB,KAAK,EAAE,MAAM,CAAC;CAEf"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"forget.dto.js","sourceRoot":"","sources":["../../../../src/auth/src/dto/forget.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0C;AAE1C,MAAa,SAAS;CAKrB;AALD,8BAKC;AAFC;IADC,IAAA,yBAAO,GAAE;;wCACI"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"login.dto.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/dto/login.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IAEnB,KAAK,EAAE,MAAM,CAAC;IASd,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"login.dto.js","sourceRoot":"","sources":["../../../../src/auth/src/dto/login.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4D;AAE5D,MAAa,QAAQ;CAYpB;AAZD,4BAYC;AAVC;IADC,IAAA,yBAAO,GAAE;;uCACI;AASd;IAPC,IAAA,kCAAgB,EAAC;QAChB,SAAS,EAAE,CAAC;QACZ,YAAY,EAAE,CAAC;QACf,YAAY,EAAE,CAAC;QACf,UAAU,EAAE,CAAC;QACb,UAAU,EAAE,CAAC;KACd,CAAC;;0CACe"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"otp.dto.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/dto/otp.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,MAAM;IAKjB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;CAEf"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"otp.dto.js","sourceRoot":"","sources":["../../../../src/auth/src/dto/otp.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyD;AAEzD,MAAa,MAAM;CAUlB;AAVD,wBAUC;AALC;IAHC,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,qBAAG,EAAC,MAAM,CAAC;IACX,IAAA,uBAAK,GAAE;;oCACK;AAGb;IADC,IAAA,uBAAK,GAAE;;qCACM"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"multifactor-type.enum.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/enums/multifactor-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,KAAK,IAAI;IACT,GAAG,IAAI;CACR"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"multifactor-type.enum.js","sourceRoot":"","sources":["../../../../src/auth/src/enums/multifactor-type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,uDAAS,CAAA;IACT,mDAAO,CAAA;AACT,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.guard.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/guards/auth.guard.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAGjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,qBACa,SAAU,YAAW,WAAW;IAEzC,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,SAAS;gBADT,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,SAAS;IAGxB,WAAW,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC;IAyB9D,OAAO,CAAC,sBAAsB;CAI/B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.guard.js","sourceRoot":"","sources":["../../../../src/auth/src/guards/auth.guard.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAKwB;AACxB,uCAAyC;AAEzC,kDAA8C;AAC9C,qEAA+D;AAGxD,IAAM,SAAS,GAAf,MAAM,SAAS;IACpB,YACU,IAAiB,EACjB,SAAoB;QADpB,SAAI,GAAJ,IAAI,CAAa;QACjB,cAAS,GAAT,SAAS,CAAW;IAC3B,CAAC;IAEJ,KAAK,CAAC,WAAW,CAAC,OAAyB;QACzC,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAU,gCAAa,EAAE;YACxE,OAAO,CAAC,UAAU,EAAE;YACpB,OAAO,CAAC,QAAQ,EAAE;SACnB,CAAC,CAAC;QACH,IAAI,QAAQ,EAAE,CAAC;YACb,OAAO,IAAI,CAAC;QACd,CAAC;QAED,MAAM,OAAO,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,CAAC;QACpD,MAAM,KAAK,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;QAEnD,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,MAAM,IAAI,8BAAqB,EAAE,CAAC;QACpC,CAAC;QACD,IAAI,CAAC;YACH,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAEnD,OAAO,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;QAC5B,CAAC;QAAC,WAAM,CAAC;YACP,MAAM,IAAI,8BAAqB,EAAE,CAAC;QACpC,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,sBAAsB,CAAC,OAAgB;;QAC7C,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,MAAA,MAAA,OAAO,CAAC,OAAO,CAAC,aAAa,0CAAE,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC;QACtE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAC/C,CAAC;CACF,CAAA;AAnCY,8BAAS;oBAAT,SAAS;IADrB,IAAA,mBAAU,GAAE;qCAGK,0BAAW;QACN,gBAAS;GAHnB,SAAS,CAmCrB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/migrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,WAAW,EAGZ,MAAM,SAAS,CAAC;AAIjB,qBAAa,OAAQ,YAAW,kBAAkB;IAC1C,EAAE,CAAC,WAAW,EAAE,WAAW;IA4F3B,IAAI,CAAC,WAAW,EAAE,WAAW;CAIpC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/auth/src/migrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qCAKiB;AACjB,yCAA0D;AAC1D,+CAAiC;AAEjC,MAAa,OAAO;IAClB,KAAK,CAAC,EAAE,CAA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AC,gBAAgB,CAAC;gBAC/B,qBAAqB,EAAE,CAAC,IAAI,CAAC;gBAC7B,mBAAmB,EAAE,cAAc;gBACnC,IAAI,EAAE,4CAA4C;gBAClD,QAAQ,EAAE,SAAS;aACpB,CAAC;SACH,CAAC,CAAC;QAEH,MAAM,WAAW,CAAC,OAAO;aACtB,kBAAkB,EAAE;aACpB,MAAM,EAAE;aACR,IAAI,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;aAC5C,MAAM,CAAC;YACN;gBACE,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,iBAAiB;gBACxB,QAAQ,EAAE,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC;aAC1C;YACD;gBACE,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,iBAAiB;gBACxB,QAAQ,EAAE,MAAM,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC;aAC1C;SACF,CAAC;aACD,OAAO,EAAE,CAAC;IACf,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,WAAwB;QACjC,MAAM,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QAC5C,MAAM,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACvC,CAAC;CACF;AAjGD,0BAiGC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user.type.d.ts","sourceRoot":"","sources":["../../../../src/auth/src/types/user.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"user.type.js","sourceRoot":"","sources":["../../../../src/auth/src/types/user.type.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create.dto.d.ts","sourceRoot":"","sources":["../../../../src/menu/src/dto/create.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,SAAS;IAGpB,IAAI,EAAE,MAAM,CAAC;IAIb,GAAG,EAAE,MAAM,CAAC;IAKZ,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"create.dto.js","sourceRoot":"","sources":["../../../../src/menu/src/dto/create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qDAA+E;AAE/E,MAAa,SAAS;CAsBrB;AAtBD,8BAsBC;AAnBC;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;IACnD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;;uCACpC;AAIb;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,2BAA2B,EAAE,CAAC;IAClD,IAAA,4BAAU,EAAC,EAAE,OAAO,EAAE,sBAAsB,EAAE,CAAC;;sCACpC;AAKZ;IAHC,IAAA,uBAAK,EAAC,EAAE,OAAO,EAAE,2BAA2B,EAAE,CAAC;IAC/C,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,4BAAU,GAAE;;wCACE;AAIf;IAFC,IAAA,0BAAQ,EAAC,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACpD,IAAA,4BAAU,GAAE;;uCACC;AAKd;IAHC,IAAA,uBAAK,EAAC,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;IAChD,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,4BAAU,GAAE;;yCACG"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../../src/menu/src/dto/delete.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAKpB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../../../src/menu/src/dto/delete.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,SAAS;CAMrB;AAND,8BAMC;AADC;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,+BAAa,GAAE;IACf,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sCACR"}
|