@carlosdiazz/lottodiz-shared 3.0.1 → 3.0.3
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/pos/index.d.ts +1 -0
- package/dist/models/pos/index.js +1 -0
- package/dist/models/pos/pos.service.d.ts +1 -5
- package/dist/models/user/index.d.ts +1 -0
- package/dist/models/user/index.js +1 -0
- package/dist/models/user/params-user.base.d.ts +7 -0
- package/dist/models/user/params-user.base.js +2 -0
- package/dist/models/user/user.controller.d.ts +3 -2
- package/dist/models/user/user.datasource.d.ts +3 -2
- package/dist/models/user/user.resolver.d.ts +3 -2
- package/dist/models/user/user.service.d.ts +3 -2
- package/package.json +1 -1
package/dist/models/pos/index.js
CHANGED
|
@@ -22,3 +22,4 @@ __exportStar(require("./create-pos.base"), exports);
|
|
|
22
22
|
__exportStar(require("./params-pos.base"), exports);
|
|
23
23
|
__exportStar(require("./response-pos.base"), exports);
|
|
24
24
|
__exportStar(require("./update-pos.base"), exports);
|
|
25
|
+
__exportStar(require("./pos.service"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
import { PosInterface } from "./pos.base";
|
|
3
|
-
import {
|
|
3
|
+
import { CreatePosInterface } from "./create-pos.base";
|
|
4
4
|
import { ParamsPosInterface } from "./params-pos.base";
|
|
5
5
|
import { ResponsePosInterface } from "./response-pos.base";
|
|
6
6
|
import { UpdatePosInterface } from "./update-pos.base";
|
|
@@ -12,8 +12,4 @@ export interface PosServiceInterface {
|
|
|
12
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
13
|
findByPosCode(uuid: string): Promise<PosInterface>;
|
|
14
14
|
findByPosMonitor(uuid: string): Promise<PosInterface>;
|
|
15
|
-
createPosCodeByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
16
|
-
createPosMonitorByCode(dto: CreatePosByCodeInterface): Promise<ResponseInterface>;
|
|
17
|
-
deletePosCodeByCode(id: number): Promise<ResponseInterface>;
|
|
18
|
-
deletePosMonitorByCode(id: number): Promise<ResponseInterface>;
|
|
19
15
|
}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./create-user.base"), exports);
|
|
18
|
+
__exportStar(require("./params-user.base"), exports);
|
|
18
19
|
__exportStar(require("./response-user.base"), exports);
|
|
19
20
|
__exportStar(require("./update-user.base"), exports);
|
|
20
21
|
__exportStar(require("./user.controller"), exports);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponseInterface } from "../common";
|
|
2
|
+
import { ParamsUserInterface } from "./params-user.base";
|
|
2
3
|
import { ResponseUserInterface } from "./response-user.base";
|
|
3
4
|
import { UpdateUserInterface } from "./update-user.base";
|
|
4
5
|
import { UserInterface } from "./user.interface";
|
|
5
6
|
export interface UserControllerInterface {
|
|
6
|
-
findAll(pagination:
|
|
7
|
+
findAll(pagination: ParamsUserInterface): Promise<ResponseUserInterface>;
|
|
7
8
|
findOne(id: number): Promise<UserInterface>;
|
|
8
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
9
10
|
remove(id: number): Promise<ResponseInterface>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponseInterface } from "../common";
|
|
2
|
+
import { ParamsUserInterface } from "./params-user.base";
|
|
2
3
|
import { ResponseUserInterface } from "./response-user.base";
|
|
3
4
|
import { UpdateUserInterface } from "./update-user.base";
|
|
4
5
|
import { UserInterface } from "./user.interface";
|
|
5
6
|
export interface UserDatasourceInterface {
|
|
6
|
-
findAll(pagination:
|
|
7
|
+
findAll(pagination: ParamsUserInterface): Promise<ResponseUserInterface>;
|
|
7
8
|
findOne(id: number): Promise<UserInterface>;
|
|
8
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
9
10
|
remove(id: number): Promise<ResponseInterface>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponseInterface } from "../common";
|
|
2
|
+
import { ParamsUserInterface } from "./params-user.base";
|
|
2
3
|
import { ResponseUserInterface } from "./response-user.base";
|
|
3
4
|
import { UpdateUserInterface } from "./update-user.base";
|
|
4
5
|
import { UserInterface } from "./user.interface";
|
|
5
6
|
export interface UserResolverInterface {
|
|
6
|
-
findAll(pagination:
|
|
7
|
+
findAll(pagination: ParamsUserInterface, user?: UserInterface): Promise<ResponseUserInterface>;
|
|
7
8
|
findOne(id: number, user?: UserInterface): Promise<UserInterface>;
|
|
8
9
|
update(dto: UpdateUserInterface, user?: UserInterface): Promise<UserInterface>;
|
|
9
10
|
remove(id: number, user?: UserInterface): Promise<ResponseInterface>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ResponseInterface } from "../common";
|
|
2
|
+
import { ParamsUserInterface } from "./params-user.base";
|
|
2
3
|
import { ResponseUserInterface } from "./response-user.base";
|
|
3
4
|
import { UpdateUserInterface } from "./update-user.base";
|
|
4
5
|
import { UserInterface } from "./user.interface";
|
|
5
6
|
export interface UserServiceInterface {
|
|
6
|
-
findAll(pagination:
|
|
7
|
+
findAll(pagination: ParamsUserInterface): Promise<ResponseUserInterface>;
|
|
7
8
|
findOne(id: number): Promise<UserInterface>;
|
|
8
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
9
10
|
remove(id: number): Promise<ResponseInterface>;
|