@hedhog/admin 0.0.21 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +505 -93
- package/dist/admin.module.d.ts.map +1 -1
- package/dist/admin.module.js +13 -1
- package/dist/admin.module.js.map +1 -1
- package/dist/dto/delete.dto.d.ts.map +1 -0
- package/dist/dto/delete.dto.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/menu/menu.controller.d.ts +3 -3
- package/dist/menu/menu.controller.d.ts.map +1 -1
- package/dist/menu/menu.controller.js +9 -7
- package/dist/menu/menu.controller.js.map +1 -1
- package/dist/menu/menu.service.d.ts +3 -3
- package/dist/menu/menu.service.d.ts.map +1 -1
- package/dist/menu/menu.service.js +18 -10
- package/dist/menu/menu.service.js.map +1 -1
- package/dist/role/role.controller.d.ts +1 -1
- package/dist/role/role.controller.d.ts.map +1 -1
- package/dist/role/role.controller.js +5 -5
- package/dist/role/role.controller.js.map +1 -1
- package/dist/role/role.service.d.ts +5 -5
- package/dist/role/role.service.d.ts.map +1 -1
- package/dist/role/role.service.js +40 -12
- package/dist/role/role.service.js.map +1 -1
- package/dist/route/dto/create.dto.d.ts +6 -0
- package/dist/route/dto/create.dto.d.ts.map +1 -0
- package/dist/{menu/dto/delete.dto.js → route/dto/create.dto.js} +14 -10
- package/dist/route/dto/create.dto.js.map +1 -0
- package/dist/route/dto/update.dto.d.ts +6 -0
- package/dist/route/dto/update.dto.d.ts.map +1 -0
- package/dist/{user/dto/delete.dto.js → route/dto/update.dto.js} +16 -9
- package/dist/route/dto/update.dto.js.map +1 -0
- package/dist/route/route.controller.d.ts +20 -0
- package/dist/route/route.controller.d.ts.map +1 -0
- package/dist/route/route.controller.js +133 -0
- package/dist/route/route.controller.js.map +1 -0
- package/dist/route/route.module.d.ts +3 -0
- package/dist/route/route.module.d.ts.map +1 -0
- package/dist/route/route.module.js +31 -0
- package/dist/route/route.module.js.map +1 -0
- package/dist/route/route.service.d.ts +24 -0
- package/dist/route/route.service.d.ts.map +1 -0
- package/dist/route/route.service.js +121 -0
- package/dist/route/route.service.js.map +1 -0
- package/dist/screen/screen.controller.d.ts +1 -1
- package/dist/screen/screen.controller.d.ts.map +1 -1
- package/dist/screen/screen.controller.js +1 -1
- package/dist/screen/screen.controller.js.map +1 -1
- package/dist/screen/screen.service.d.ts +1 -1
- package/dist/screen/screen.service.d.ts.map +1 -1
- package/dist/screen/screen.service.js +12 -4
- package/dist/screen/screen.service.js.map +1 -1
- package/dist/setting/dto/create.dto.d.ts +4 -0
- package/dist/setting/dto/create.dto.d.ts.map +1 -0
- package/dist/{screen/dto/delete.dto.js → setting/dto/create.dto.js} +8 -9
- package/dist/setting/dto/create.dto.js.map +1 -0
- package/dist/setting/dto/update.dto.d.ts +4 -0
- package/dist/setting/dto/update.dto.d.ts.map +1 -0
- package/dist/setting/dto/update.dto.js +8 -0
- package/dist/setting/dto/update.dto.js.map +1 -0
- package/dist/setting/settings.controller.d.ts +14 -0
- package/dist/setting/settings.controller.d.ts.map +1 -0
- package/dist/setting/settings.controller.js +95 -0
- package/dist/setting/settings.controller.js.map +1 -0
- package/dist/setting/settings.module.d.ts +3 -0
- package/dist/setting/settings.module.d.ts.map +1 -0
- package/dist/setting/settings.module.js +31 -0
- package/dist/setting/settings.module.js.map +1 -0
- package/dist/setting/settings.service.d.ts +19 -0
- package/dist/setting/settings.service.d.ts.map +1 -0
- package/dist/setting/settings.service.js +70 -0
- package/dist/setting/settings.service.js.map +1 -0
- package/dist/types/http-method.d.ts +2 -0
- package/dist/types/http-method.d.ts.map +1 -0
- package/dist/types/http-method.js +3 -0
- package/dist/types/http-method.js.map +1 -0
- package/dist/user/user.controller.d.ts +1 -1
- package/dist/user/user.controller.d.ts.map +1 -1
- package/dist/user/user.controller.js +1 -1
- package/dist/user/user.controller.js.map +1 -1
- package/dist/user/user.service.d.ts +1 -1
- package/dist/user/user.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/migrations/migrate-02.ts +12 -0
- package/src/migrations/migrate-03.ts +18 -2
- package/src/migrations/migrate-04.ts +52 -0
- package/src/migrations/migrate-12.ts +16 -0
- package/src/migrations/migrate-17.ts +78 -0
- package/dist/auth/auth.service.spec.d.ts +0 -2
- package/dist/auth/auth.service.spec.d.ts.map +0 -1
- package/dist/auth/auth.service.spec.js +0 -17
- package/dist/auth/auth.service.spec.js.map +0 -1
- package/dist/menu/dto/delete.dto.d.ts.map +0 -1
- package/dist/menu/dto/delete.dto.js.map +0 -1
- package/dist/role/dto/delete.dto.d.ts +0 -4
- package/dist/role/dto/delete.dto.d.ts.map +0 -1
- package/dist/role/dto/delete.dto.js.map +0 -1
- package/dist/screen/dto/delete.dto.d.ts +0 -4
- package/dist/screen/dto/delete.dto.d.ts.map +0 -1
- package/dist/screen/dto/delete.dto.js.map +0 -1
- package/dist/user/dto/delete.dto.d.ts +0 -4
- package/dist/user/dto/delete.dto.d.ts.map +0 -1
- package/dist/user/dto/delete.dto.js.map +0 -1
- /package/dist/{menu/dto → dto}/delete.dto.d.ts +0 -0
- /package/dist/{role/dto → dto}/delete.dto.js +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.controller.js","sourceRoot":"","sources":["../../src/setting/settings.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAChD,2CAYwB;AACxB,0DAAsD;AACtD,sEAAyD;AACzD,iDAA6C;AAC7C,kDAA8C;AAC9C,iDAA6C;AAC7C,yDAAqD;AAI9C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,YAEmB,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAChD,CAAC;IAIE,AAAN,KAAK,CAAC,WAAW,CAAe,gBAAgB;QAC9C,OAAO,IAAI,CAAC,eAAe,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAC5D,CAAC;IAIK,AAAN,KAAK,CAAC,IAAI,CAAmC,SAAiB;QAC5D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U,kBAAkB;IAF9B,IAAA,qBAAI,GAAE;IACN,IAAA,mBAAU,EAAC,UAAU,CAAC;IAGlB,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,kCAAe,CAAC,CAAC,CAAA;qCACR,kCAAe;GAHxC,kBAAkB,CAyC9B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.module.d.ts","sourceRoot":"","sources":["../../src/setting/settings.module.ts"],"names":[],"mappings":"AAOA,qBAUa,aAAa;CAAG"}
|
@@ -0,0 +1,31 @@
|
|
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.SettingModule = void 0;
|
10
|
+
const pagination_1 = require("@hedhog/pagination");
|
11
|
+
const prisma_1 = require("@hedhog/prisma");
|
12
|
+
const common_1 = require("@nestjs/common");
|
13
|
+
const settings_controller_1 = require("./settings.controller");
|
14
|
+
const settings_service_1 = require("./settings.service");
|
15
|
+
const auth_module_1 = require("../auth/auth.module");
|
16
|
+
let SettingModule = class SettingModule {
|
17
|
+
};
|
18
|
+
exports.SettingModule = SettingModule;
|
19
|
+
exports.SettingModule = SettingModule = __decorate([
|
20
|
+
(0, common_1.Module)({
|
21
|
+
providers: [settings_service_1.SettingsService],
|
22
|
+
exports: [settings_service_1.SettingsService],
|
23
|
+
controllers: [settings_controller_1.SettingsController],
|
24
|
+
imports: [
|
25
|
+
(0, common_1.forwardRef)(() => auth_module_1.AuthModule),
|
26
|
+
(0, common_1.forwardRef)(() => prisma_1.PrismaModule),
|
27
|
+
(0, common_1.forwardRef)(() => pagination_1.PaginationModule),
|
28
|
+
],
|
29
|
+
})
|
30
|
+
], SettingModule);
|
31
|
+
//# sourceMappingURL=settings.module.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.module.js","sourceRoot":"","sources":["../../src/setting/settings.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,mDAAsD;AACtD,2CAA8C;AAC9C,2CAAoD;AACpD,+DAA2D;AAC3D,yDAAqD;AACrD,qDAAiD;AAY1C,IAAM,aAAa,GAAnB,MAAM,aAAa;CAAG,CAAA;AAAhB,sCAAa;wBAAb,aAAa;IAVzB,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,kCAAe,CAAC;QAC5B,OAAO,EAAE,CAAC,kCAAe,CAAC;QAC1B,WAAW,EAAE,CAAC,wCAAkB,CAAC;QACjC,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,aAAa,CAAG"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { PaginationDTO, PaginationService } from '@hedhog/pagination';
|
2
|
+
import { PrismaService } from '@hedhog/prisma';
|
3
|
+
import { CreateDTO } from './dto/create.dto';
|
4
|
+
import { DeleteDTO } from '../dto/delete.dto';
|
5
|
+
import { UpdateDTO } from './dto/update.dto';
|
6
|
+
export declare class SettingsService {
|
7
|
+
private readonly prismaService;
|
8
|
+
private readonly paginationService;
|
9
|
+
constructor(prismaService: PrismaService, paginationService: PaginationService);
|
10
|
+
getSettings(paginationParams: PaginationDTO): Promise<import("@hedhog/pagination").PaginatedResult<unknown>>;
|
11
|
+
get(settingId: number): Promise<any>;
|
12
|
+
create({ name }: CreateDTO): Promise<any>;
|
13
|
+
update({ id, data }: {
|
14
|
+
id: number;
|
15
|
+
data: UpdateDTO;
|
16
|
+
}): Promise<any>;
|
17
|
+
delete({ ids }: DeleteDTO): Promise<any>;
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=settings.service.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.service.d.ts","sourceRoot":"","sources":["../../src/setting/settings.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,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,qBACa,eAAe;IAGxB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,aAAa,EAAE,aAAa,EAE5B,iBAAiB,EAAE,iBAAiB;IAGjD,WAAW,CAAC,gBAAgB,EAAE,aAAa;IAmB3C,GAAG,CAAC,SAAS,EAAE,MAAM;IAMrB,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,SAAS;IAM1B,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,70 @@
|
|
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.SettingsService = void 0;
|
16
|
+
const pagination_1 = require("@hedhog/pagination");
|
17
|
+
const prisma_1 = require("@hedhog/prisma");
|
18
|
+
const common_1 = require("@nestjs/common");
|
19
|
+
let SettingsService = class SettingsService {
|
20
|
+
constructor(prismaService, paginationService) {
|
21
|
+
this.prismaService = prismaService;
|
22
|
+
this.paginationService = paginationService;
|
23
|
+
}
|
24
|
+
async getSettings(paginationParams) {
|
25
|
+
const fields = ['name'];
|
26
|
+
const OR = this.prismaService.createInsensitiveSearch(fields, paginationParams);
|
27
|
+
return this.paginationService.paginate(this.prismaService.settings, paginationParams, {
|
28
|
+
where: {
|
29
|
+
OR,
|
30
|
+
},
|
31
|
+
});
|
32
|
+
}
|
33
|
+
async get(settingId) {
|
34
|
+
return this.prismaService.settings.findUnique({
|
35
|
+
where: { id: settingId },
|
36
|
+
});
|
37
|
+
}
|
38
|
+
async create({ name }) {
|
39
|
+
return this.prismaService.settings.create({
|
40
|
+
data: { name },
|
41
|
+
});
|
42
|
+
}
|
43
|
+
async update({ id, data }) {
|
44
|
+
return this.prismaService.settings.update({
|
45
|
+
where: { id },
|
46
|
+
data,
|
47
|
+
});
|
48
|
+
}
|
49
|
+
async delete({ ids }) {
|
50
|
+
if (ids == undefined || ids == null) {
|
51
|
+
throw new common_1.BadRequestException(`You must select at least one setting to delete.`);
|
52
|
+
}
|
53
|
+
return this.prismaService.settings.deleteMany({
|
54
|
+
where: {
|
55
|
+
id: {
|
56
|
+
in: ids,
|
57
|
+
},
|
58
|
+
},
|
59
|
+
});
|
60
|
+
}
|
61
|
+
};
|
62
|
+
exports.SettingsService = SettingsService;
|
63
|
+
exports.SettingsService = SettingsService = __decorate([
|
64
|
+
(0, common_1.Injectable)(),
|
65
|
+
__param(0, (0, common_1.Inject)((0, common_1.forwardRef)(() => prisma_1.PrismaService))),
|
66
|
+
__param(1, (0, common_1.Inject)((0, common_1.forwardRef)(() => pagination_1.PaginationService))),
|
67
|
+
__metadata("design:paramtypes", [prisma_1.PrismaService,
|
68
|
+
pagination_1.PaginationService])
|
69
|
+
], SettingsService);
|
70
|
+
//# sourceMappingURL=settings.service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"settings.service.js","sourceRoot":"","sources":["../../src/setting/settings.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAsE;AACtE,2CAA+C;AAC/C,2CAKwB;AAMjB,IAAM,eAAe,GAArB,MAAM,eAAe;IAC1B,YAEmB,aAA4B,EAE5B,iBAAoC;QAFpC,kBAAa,GAAb,aAAa,CAAe;QAE5B,sBAAiB,GAAjB,iBAAiB,CAAmB;IACpD,CAAC;IAEJ,KAAK,CAAC,WAAW,CAAC,gBAA+B;QAC/C,MAAM,MAAM,GAAG,CAAC,MAAM,CAAC,CAAC;QAExB,MAAM,EAAE,GAAU,IAAI,CAAC,aAAa,CAAC,uBAAuB,CAC1D,MAAM,EACN,gBAAgB,CACjB,CAAC;QAEF,OAAO,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CACpC,IAAI,CAAC,aAAa,CAAC,QAAQ,EAC3B,gBAAgB,EAChB;YACE,KAAK,EAAE;gBACL,EAAE;aAC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+1 @@
|
|
1
|
+
{"version":3,"file":"http-method.d.ts","sourceRoot":"","sources":["../../src/types/http-method.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAClB,KAAK,GACL,MAAM,GACN,KAAK,GACL,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http-method.js","sourceRoot":"","sources":["../../src/types/http-method.ts"],"names":[],"mappings":""}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CreateDTO } from './dto/create.dto';
|
2
|
-
import { DeleteDTO } from '
|
2
|
+
import { DeleteDTO } from '../dto/delete.dto';
|
3
3
|
import { UpdateDTO } from './dto/update.dto';
|
4
4
|
import { UserService } from './user.service';
|
5
5
|
import { UpdateIdsDTO } from '../dto/update-ids.dto';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.controller.d.ts","sourceRoot":"","sources":["../../src/user/user.controller.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"user.controller.d.ts","sourceRoot":"","sources":["../../src/user/user.controller.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,qBAGa,cAAc;IAGvB,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,WAAW;IAIrC,QAAQ,CAAe,gBAAgB,KAAA;IAKvC,SAAS,CACkB,MAAM,EAAE,MAAM,EAC/B,gBAAgB,KAAA;IAM1B,WAAW,CACgB,MAAM,EAAE,MAAM,EACrC,IAAI,EAAE,YAAY;IAMtB,IAAI,CAAgC,MAAM,EAAE,MAAM;IAKxD,MAAM,CAAS,IAAI,EAAE,SAAS;IAKxB,MAAM,CACqB,MAAM,EAAE,MAAM,EACrC,IAAI,EAAE,SAAS;IASnB,MAAM,CAAS,IAAI,EAAE,SAAS;CAGrC"}
|
@@ -16,7 +16,7 @@ exports.UserController = void 0;
|
|
16
16
|
const pagination_1 = require("@hedhog/pagination");
|
17
17
|
const common_1 = require("@nestjs/common");
|
18
18
|
const create_dto_1 = require("./dto/create.dto");
|
19
|
-
const delete_dto_1 = require("
|
19
|
+
const delete_dto_1 = require("../dto/delete.dto");
|
20
20
|
const update_dto_1 = require("./dto/update.dto");
|
21
21
|
const user_service_1 = require("./user.service");
|
22
22
|
const auth_guard_1 = require("../auth/guards/auth.guard");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.controller.js","sourceRoot":"","sources":["../../src/user/user.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAChD,2CAYwB;AACxB,iDAA6C;AAC7C,
|
1
|
+
{"version":3,"file":"user.controller.js","sourceRoot":"","sources":["../../src/user/user.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAChD,2CAYwB;AACxB,iDAA6C;AAC7C,kDAA8C;AAC9C,iDAA6C;AAC7C,iDAA6C;AAC7C,0DAAsD;AACtD,sEAAyD;AACzD,0DAAqD;AAK9C,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YAEmB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAGE,AAAN,KAAK,CAAC,QAAQ,CAAe,gBAAgB;QAC3C,OAAO,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACrD,CAAC;IAGK,AAAN,KAAK,CAAC,SAAS,CACkB,MAAc,EAC/B,gBAAgB;QAE9B,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,EAAC,QAAQ,EAAE,qBAAY,CAAC,CAAA;;;;0CAExC;AAGD;IADC,IAAA,aAAI,GAAE;IACC,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;4CAE7B;AAGK;IADL,IAAA,cAAK,EAAC,SAAS,CAAC;IAEd,WAAA,IAAA,cAAK,EAAC,QAAQ,EAAE,qBAAY,CAAC,CAAA;IAC7B,WAAA,IAAA,aAAI,GAAE,CAAA;;6CAAO,sBAAS;;4CAMxB;AAGK;IADL,IAAA,eAAM,GAAE;IACK,WAAA,IAAA,aAAI,GAAE,CAAA;;qCAAO,sBAAS;;4CAEnC;yBAnDU,cAAc;IAH1B,IAAA,qBAAI,GAAE;IACN,IAAA,kBAAS,EAAC,sBAAS,CAAC;IACpB,IAAA,mBAAU,EAAC,OAAO,CAAC;IAGf,WAAA,IAAA,eAAM,EAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC,CAAC,CAAA;qCACR,0BAAW;GAHhC,cAAc,CAoD1B"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PaginationDTO, PaginationService } from '@hedhog/pagination';
|
2
2
|
import { PrismaService } from '@hedhog/prisma';
|
3
3
|
import { CreateDTO } from './dto/create.dto';
|
4
|
-
import { DeleteDTO } from '
|
4
|
+
import { DeleteDTO } from '../dto/delete.dto';
|
5
5
|
import { UpdateDTO } from './dto/update.dto';
|
6
6
|
import { UpdateIdsDTO } from '../dto/update-ids.dto';
|
7
7
|
export declare class UserService {
|
@@ -1 +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,
|
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,mBAAmB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,qBACa,WAAW;IAGpB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAE9B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,aAAa,EAAE,aAAa,EAE5B,iBAAiB,EAAE,iBAAiB;IAGjD,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa;IAoBzD,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,YAAY;IAkBjD,QAAQ,CAAC,gBAAgB,EAAE,aAAa;IAkBxC,GAAG,CAAC,MAAM,EAAE,MAAM;IAIlB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAK/C,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,SAAS;IAY3C,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;CAoBhC"}
|
package/package.json
CHANGED
@@ -62,6 +62,18 @@ export class Migrate implements MigrationInterface {
|
|
62
62
|
description: 'Check all menus registered in the system.',
|
63
63
|
icon: 'menu',
|
64
64
|
},
|
65
|
+
{
|
66
|
+
name: 'Routes',
|
67
|
+
slug: '/management/routes',
|
68
|
+
description: 'Check all routes registered in the system.',
|
69
|
+
icon: 'route',
|
70
|
+
},
|
71
|
+
{
|
72
|
+
name: 'Settings',
|
73
|
+
slug: '/management/settings',
|
74
|
+
description: 'Check all settings registered in the system.',
|
75
|
+
icon: 'settings',
|
76
|
+
},
|
65
77
|
])
|
66
78
|
.execute();
|
67
79
|
}
|
@@ -90,7 +90,7 @@ export class Migrate implements MigrationInterface {
|
|
90
90
|
const managementId = await this.insertMenu(
|
91
91
|
queryRunner,
|
92
92
|
'Management',
|
93
|
-
|
93
|
+
'/management',
|
94
94
|
1,
|
95
95
|
null,
|
96
96
|
'settings',
|
@@ -117,7 +117,7 @@ export class Migrate implements MigrationInterface {
|
|
117
117
|
'/management/screens',
|
118
118
|
2,
|
119
119
|
managementId,
|
120
|
-
'
|
120
|
+
'device-tv',
|
121
121
|
);
|
122
122
|
await this.insertMenu(
|
123
123
|
queryRunner,
|
@@ -127,6 +127,22 @@ export class Migrate implements MigrationInterface {
|
|
127
127
|
managementId,
|
128
128
|
'menu',
|
129
129
|
);
|
130
|
+
await this.insertMenu(
|
131
|
+
queryRunner,
|
132
|
+
'Routes',
|
133
|
+
'/management/routes',
|
134
|
+
4,
|
135
|
+
managementId,
|
136
|
+
'route',
|
137
|
+
);
|
138
|
+
await this.insertMenu(
|
139
|
+
queryRunner,
|
140
|
+
'Settings',
|
141
|
+
'/management/settings',
|
142
|
+
5,
|
143
|
+
managementId,
|
144
|
+
'settings',
|
145
|
+
);
|
130
146
|
}
|
131
147
|
|
132
148
|
private async insertMenu(
|
@@ -61,6 +61,22 @@ export class Migrate implements MigrationInterface {
|
|
61
61
|
url: '/menus/:menuId',
|
62
62
|
method: 'PATCH',
|
63
63
|
},
|
64
|
+
{
|
65
|
+
url: '/menus/:menuId/roles',
|
66
|
+
method: 'GET',
|
67
|
+
},
|
68
|
+
{
|
69
|
+
url: '/menus/:menuId/roles',
|
70
|
+
method: 'PATCH',
|
71
|
+
},
|
72
|
+
{
|
73
|
+
url: '/menus/:menuId/screens',
|
74
|
+
method: 'GET',
|
75
|
+
},
|
76
|
+
{
|
77
|
+
url: '/menus/:menuId/screens',
|
78
|
+
method: 'PATCH',
|
79
|
+
},
|
64
80
|
{
|
65
81
|
url: '/menus',
|
66
82
|
method: 'DELETE',
|
@@ -205,6 +221,42 @@ export class Migrate implements MigrationInterface {
|
|
205
221
|
url: '/users',
|
206
222
|
method: 'DELETE',
|
207
223
|
},
|
224
|
+
{
|
225
|
+
url: '/routes',
|
226
|
+
method: 'GET',
|
227
|
+
},
|
228
|
+
{
|
229
|
+
url: '/routes',
|
230
|
+
method: 'POST',
|
231
|
+
},
|
232
|
+
{
|
233
|
+
url: '/routes',
|
234
|
+
method: 'DELETE',
|
235
|
+
},
|
236
|
+
{
|
237
|
+
url: '/routes/:routeId',
|
238
|
+
method: 'GET',
|
239
|
+
},
|
240
|
+
{
|
241
|
+
url: '/routes/:routeId',
|
242
|
+
method: 'PATCH',
|
243
|
+
},
|
244
|
+
{
|
245
|
+
url: '/routes/:routeId/roles',
|
246
|
+
method: 'GET',
|
247
|
+
},
|
248
|
+
{
|
249
|
+
url: '/routes/:routeId/roles',
|
250
|
+
method: 'PATCH',
|
251
|
+
},
|
252
|
+
{
|
253
|
+
url: '/routes/:routeId/screens',
|
254
|
+
method: 'GET',
|
255
|
+
},
|
256
|
+
{
|
257
|
+
url: '/routes/:routeId/screens',
|
258
|
+
method: 'PATCH',
|
259
|
+
},
|
208
260
|
])
|
209
261
|
.execute();
|
210
262
|
}
|
@@ -30,11 +30,27 @@ export class Migrate implements MigrationInterface {
|
|
30
30
|
.where('slug = :slug', { slug: '/management/menus' })
|
31
31
|
.execute();
|
32
32
|
|
33
|
+
const screenIdRoute = await queryRunner.manager
|
34
|
+
.createQueryBuilder()
|
35
|
+
.select()
|
36
|
+
.from('screens', 's')
|
37
|
+
.where('slug = :slug', { slug: '/management/routes' })
|
38
|
+
.execute();
|
39
|
+
|
40
|
+
const screenIdSetting = await queryRunner.manager
|
41
|
+
.createQueryBuilder()
|
42
|
+
.select()
|
43
|
+
.from('screens', 's')
|
44
|
+
.where('slug = :slug', { slug: '/management/settings' })
|
45
|
+
.execute();
|
46
|
+
|
33
47
|
for (const { url, screendId } of [
|
34
48
|
{ url: '/screens%', screendId: screenIdScreen[0].id },
|
35
49
|
{ url: '/roles%', screendId: screenIdRole[0].id },
|
36
50
|
{ url: '/users%', screendId: screenIdUser[0].id },
|
37
51
|
{ url: '/menus%', screendId: screenIdMenu[0].id },
|
52
|
+
{ url: '/routes%', screendId: screenIdRoute[0].id },
|
53
|
+
{ url: '/settings%', screendId: screenIdSetting[0].id },
|
38
54
|
]) {
|
39
55
|
const routesScreens = await queryRunner.manager
|
40
56
|
.createQueryBuilder()
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import {
|
2
|
+
MigrationInterface,
|
3
|
+
QueryRunner,
|
4
|
+
Table,
|
5
|
+
TableForeignKey,
|
6
|
+
} from 'typeorm';
|
7
|
+
import { idColumn, timestampColumn } from '@hedhog/utils';
|
8
|
+
|
9
|
+
export class Migrate implements MigrationInterface {
|
10
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
11
|
+
await queryRunner.createTable(
|
12
|
+
new Table({
|
13
|
+
name: 'settings',
|
14
|
+
columns: [
|
15
|
+
idColumn(),
|
16
|
+
{
|
17
|
+
name: 'name',
|
18
|
+
type: 'varchar',
|
19
|
+
},
|
20
|
+
timestampColumn(),
|
21
|
+
timestampColumn('updated_at'),
|
22
|
+
],
|
23
|
+
}),
|
24
|
+
);
|
25
|
+
|
26
|
+
await queryRunner.createTable(
|
27
|
+
new Table({
|
28
|
+
name: 'setting_values',
|
29
|
+
columns: [
|
30
|
+
idColumn(),
|
31
|
+
{
|
32
|
+
name: 'value',
|
33
|
+
type: 'varchar',
|
34
|
+
length: '1023',
|
35
|
+
},
|
36
|
+
{
|
37
|
+
name: 'name',
|
38
|
+
type: 'varchar',
|
39
|
+
isUnique: true,
|
40
|
+
},
|
41
|
+
{
|
42
|
+
name: 'description',
|
43
|
+
type: 'varchar',
|
44
|
+
isNullable: true,
|
45
|
+
},
|
46
|
+
{
|
47
|
+
name: 'label',
|
48
|
+
type: 'varchar',
|
49
|
+
isNullable: true,
|
50
|
+
},
|
51
|
+
{
|
52
|
+
name: 'setting_id',
|
53
|
+
type: 'int',
|
54
|
+
unsigned: true,
|
55
|
+
},
|
56
|
+
timestampColumn(),
|
57
|
+
timestampColumn('updated_at'),
|
58
|
+
],
|
59
|
+
}),
|
60
|
+
);
|
61
|
+
|
62
|
+
// Criação das foreign keys
|
63
|
+
await queryRunner.createForeignKey(
|
64
|
+
'setting_values',
|
65
|
+
new TableForeignKey({
|
66
|
+
columnNames: ['setting_id'],
|
67
|
+
referencedColumnNames: ['id'],
|
68
|
+
referencedTableName: 'settings',
|
69
|
+
onDelete: 'CASCADE',
|
70
|
+
}),
|
71
|
+
);
|
72
|
+
}
|
73
|
+
|
74
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
75
|
+
await queryRunner.dropTable('setting_values');
|
76
|
+
await queryRunner.dropTable('settings');
|
77
|
+
}
|
78
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.service.spec.d.ts","sourceRoot":"","sources":["../../src/auth/auth.service.spec.ts"],"names":[],"mappings":""}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const testing_1 = require("@nestjs/testing");
|
4
|
-
const auth_service_1 = require("./auth.service");
|
5
|
-
describe('AuthService', () => {
|
6
|
-
let service;
|
7
|
-
beforeEach(async () => {
|
8
|
-
const module = await testing_1.Test.createTestingModule({
|
9
|
-
providers: [auth_service_1.AuthService],
|
10
|
-
}).compile();
|
11
|
-
service = module.get(auth_service_1.AuthService);
|
12
|
-
});
|
13
|
-
it('should be defined', () => {
|
14
|
-
expect(service).toBeDefined();
|
15
|
-
});
|
16
|
-
});
|
17
|
-
//# sourceMappingURL=auth.service.spec.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"auth.service.spec.js","sourceRoot":"","sources":["../../src/auth/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":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/menu/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/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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"delete.dto.d.ts","sourceRoot":"","sources":["../../../src/role/dto/delete.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,SAAS;IAIpB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"delete.dto.js","sourceRoot":"","sources":["../../../src/role/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"}
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1 +0,0 @@
|
|
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"}
|
File without changes
|
File without changes
|