@carlosdiazz/lottodiz-shared 3.1.8 → 3.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/models/permission/permission.interface.d.ts +1 -1
- package/dist/models/permission/permission.service.d.ts +1 -1
- package/dist/models/role/create-role.d.ts +1 -1
- package/dist/models/role/role.controller.d.ts +2 -2
- package/dist/models/role/role.datasource.d.ts +2 -2
- package/dist/models/role/role.interface.d.ts +3 -3
- package/dist/models/role/role.resolver.d.ts +2 -2
- package/dist/models/role/role.service.d.ts +2 -2
- package/dist/models/role/update-role.d.ts +2 -2
- package/dist/models/user/create-user.base.d.ts +1 -1
- package/dist/models/user/params-user.base.d.ts +1 -1
- package/dist/models/user/update-user.base.d.ts +2 -2
- package/dist/models/user/user.controller.d.ts +2 -2
- package/dist/models/user/user.datasource.d.ts +2 -2
- package/dist/models/user/user.interface.d.ts +1 -1
- package/dist/models/user/user.resolver.d.ts +2 -2
- package/dist/models/user/user.service.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ import { PermissionInterface } from "./permission.interface";
|
|
|
3
3
|
export interface PermissionServiceInterface {
|
|
4
4
|
findAll(): Promise<PermissionInterface[]>;
|
|
5
5
|
create(dto: CreatePermissionInterface): Promise<boolean>;
|
|
6
|
-
findAllByIds(ids:
|
|
6
|
+
findAllByIds(ids: string[]): Promise<PermissionInterface[]>;
|
|
7
7
|
}
|
|
@@ -6,8 +6,8 @@ import { UpdateRoleInterface } from "./update-role";
|
|
|
6
6
|
export interface RoleControllerInterface {
|
|
7
7
|
create(dto: CreateRoleInterface): Promise<RoleInterface>;
|
|
8
8
|
findAll(pagination: PaginationInterface): Promise<ResponseRoleInterface>;
|
|
9
|
-
findOne(id:
|
|
9
|
+
findOne(id: string): Promise<RoleInterface>;
|
|
10
10
|
update(dto: UpdateRoleInterface): Promise<RoleInterface>;
|
|
11
|
-
remove(id:
|
|
11
|
+
remove(id: string): Promise<ResponseInterface>;
|
|
12
12
|
verify_status_auth(): Promise<ResponseInterface>;
|
|
13
13
|
}
|
|
@@ -6,7 +6,7 @@ import { UpdateRoleInterface } from "./update-role";
|
|
|
6
6
|
export interface RoleDatasourceInterface {
|
|
7
7
|
create(dto: CreateRoleInterface): Promise<RoleInterface>;
|
|
8
8
|
findAll(pagination: PaginationInterface): Promise<ResponseRoleInterface>;
|
|
9
|
-
findOne(id:
|
|
9
|
+
findOne(id: string): Promise<RoleInterface>;
|
|
10
10
|
update(dto: UpdateRoleInterface): Promise<RoleInterface>;
|
|
11
|
-
remove(id:
|
|
11
|
+
remove(id: string): Promise<ResponseInterface>;
|
|
12
12
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PermissionInterface } from "../permission";
|
|
2
2
|
import { UserInterface } from "../user";
|
|
3
3
|
export interface RoleInterface {
|
|
4
|
-
id:
|
|
4
|
+
id: string;
|
|
5
5
|
name: string;
|
|
6
6
|
active: boolean;
|
|
7
7
|
permission?: PermissionInterface[];
|
|
@@ -10,8 +10,8 @@ export interface RoleInterface {
|
|
|
10
10
|
update_at: Date;
|
|
11
11
|
}
|
|
12
12
|
export interface RoleFormInterface {
|
|
13
|
-
id:
|
|
13
|
+
id: string;
|
|
14
14
|
name: string;
|
|
15
15
|
active: boolean;
|
|
16
|
-
permiso_accion:
|
|
16
|
+
permiso_accion: string[];
|
|
17
17
|
}
|
|
@@ -7,7 +7,7 @@ import { UpdateRoleInterface } from "./update-role";
|
|
|
7
7
|
export interface RoleResolverInterface {
|
|
8
8
|
create(dto: CreateRoleInterface, user?: UserInterface): Promise<RoleInterface>;
|
|
9
9
|
findAll(pagination: PaginationInterface, user?: UserInterface): Promise<ResponseRoleInterface>;
|
|
10
|
-
findOne(id:
|
|
10
|
+
findOne(id: string, user?: UserInterface): Promise<RoleInterface>;
|
|
11
11
|
update(dto: UpdateRoleInterface, user?: UserInterface): Promise<RoleInterface>;
|
|
12
|
-
remove(id:
|
|
12
|
+
remove(id: string, user?: UserInterface): Promise<ResponseInterface>;
|
|
13
13
|
}
|
|
@@ -6,8 +6,8 @@ import { UpdateRoleInterface } from "./update-role";
|
|
|
6
6
|
export interface RoleServiceInterface {
|
|
7
7
|
create(dto: CreateRoleInterface): Promise<RoleInterface>;
|
|
8
8
|
findAll(pagination: PaginationInterface): Promise<ResponseRoleInterface>;
|
|
9
|
-
findOne(id:
|
|
9
|
+
findOne(id: string): Promise<RoleInterface>;
|
|
10
10
|
update(dto: UpdateRoleInterface): Promise<RoleInterface>;
|
|
11
|
-
remove(id:
|
|
11
|
+
remove(id: string): Promise<ResponseInterface>;
|
|
12
12
|
verify_status_auth(): Promise<ResponseInterface>;
|
|
13
13
|
}
|
|
@@ -5,7 +5,7 @@ import { UpdateUserInterface } from "./update-user.base";
|
|
|
5
5
|
import { UserInterface } from "./user.interface";
|
|
6
6
|
export interface UserControllerInterface {
|
|
7
7
|
findAll(pagination: ParamsUserInterface): Promise<ResponseUserInterface>;
|
|
8
|
-
findOne(id:
|
|
8
|
+
findOne(id: string): Promise<UserInterface>;
|
|
9
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
10
|
-
remove(id:
|
|
10
|
+
remove(id: string): Promise<ResponseInterface>;
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ import { UpdateUserInterface } from "./update-user.base";
|
|
|
5
5
|
import { UserInterface } from "./user.interface";
|
|
6
6
|
export interface UserDatasourceInterface {
|
|
7
7
|
findAll(pagination: ParamsUserInterface): Promise<ResponseUserInterface>;
|
|
8
|
-
findOne(id:
|
|
8
|
+
findOne(id: string): Promise<UserInterface>;
|
|
9
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
10
|
-
remove(id:
|
|
10
|
+
remove(id: string): Promise<ResponseInterface>;
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ import { UpdateUserInterface } from "./update-user.base";
|
|
|
5
5
|
import { UserInterface } from "./user.interface";
|
|
6
6
|
export interface UserResolverInterface {
|
|
7
7
|
findAll(pagination: ParamsUserInterface, user?: UserInterface): Promise<ResponseUserInterface>;
|
|
8
|
-
findOne(id:
|
|
8
|
+
findOne(id: string, user?: UserInterface): Promise<UserInterface>;
|
|
9
9
|
update(dto: UpdateUserInterface, user?: UserInterface): Promise<UserInterface>;
|
|
10
|
-
remove(id:
|
|
10
|
+
remove(id: string, user?: UserInterface): Promise<ResponseInterface>;
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ import { UpdateUserInterface } from "./update-user.base";
|
|
|
5
5
|
import { UserInterface } from "./user.interface";
|
|
6
6
|
export interface UserServiceInterface {
|
|
7
7
|
findAll(pagination: ParamsUserInterface): Promise<ResponseUserInterface>;
|
|
8
|
-
findOne(id:
|
|
8
|
+
findOne(id: string): Promise<UserInterface>;
|
|
9
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
10
|
-
remove(id:
|
|
10
|
+
remove(id: string): Promise<ResponseInterface>;
|
|
11
11
|
}
|