@carlosdiazz/lottodiz-shared 2.1.6 → 2.1.8
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/enum/method-valid.d.ts +1 -0
- package/dist/enum/method-valid.js +1 -0
- package/dist/models/platform_devices/platform-device.controller.d.ts +1 -3
- package/dist/models/platform_devices/platform-device.datasource.d.ts +2 -0
- package/dist/models/platform_devices/platform-device.resolver.d.ts +0 -4
- package/dist/models/platform_devices/platform-device.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -97,6 +97,7 @@ export declare class MethodValid {
|
|
|
97
97
|
static PLATFORM_ADS_UPDATE: string;
|
|
98
98
|
static PLATFORM_ADS_REMOVE: string;
|
|
99
99
|
static PLATFORM_DEVICE_CREATE: string;
|
|
100
|
+
static PLATFORM_DEVICE_AUTO_CREATE: string;
|
|
100
101
|
static PLATFORM_DEVICE_FIND_ONE: string;
|
|
101
102
|
static PLATFORM_DEVICE_FIND_ALL: string;
|
|
102
103
|
static PLATFORM_DEVICE_UPDATE: string;
|
|
@@ -125,6 +125,7 @@ MethodValid.PLATFORM_ADS_UPDATE = "PLATFORM_ADS_UPDATE";
|
|
|
125
125
|
MethodValid.PLATFORM_ADS_REMOVE = "PLATFORM_ADS_REMOVE";
|
|
126
126
|
//PLATFORM DEVICE
|
|
127
127
|
MethodValid.PLATFORM_DEVICE_CREATE = "PLATFORM_DEVICE_CREATE";
|
|
128
|
+
MethodValid.PLATFORM_DEVICE_AUTO_CREATE = "PLATFORM_DEVICE_AUTO_CREATE";
|
|
128
129
|
MethodValid.PLATFORM_DEVICE_FIND_ONE = "PLATFORM_DEVICE_FIND_ONE";
|
|
129
130
|
MethodValid.PLATFORM_DEVICE_FIND_ALL = "PLATFORM_DEVICE_FIND_ALL";
|
|
130
131
|
MethodValid.PLATFORM_DEVICE_UPDATE = "PLATFORM_DEVICE_UPDATE";
|
|
@@ -2,12 +2,10 @@ import { CreatePlatformDeviceInterface } from "./create-platform-device.base";
|
|
|
2
2
|
import { ParamsPlatformDevicesInterface } from "./params-platform-device.base";
|
|
3
3
|
import { PlatformDeviceInterface } from "./platform-device.base";
|
|
4
4
|
import { ResponsePlatformDeviceInterface } from "./response-platform-device.base";
|
|
5
|
-
import { UpdatePlatformDeviceInterface } from "./update-platform-device.base";
|
|
6
5
|
import { ResponseInterface } from "../common";
|
|
7
6
|
export interface PlatformDeviceControllerInterface {
|
|
8
|
-
create(dto: CreatePlatformDeviceInterface): Promise<PlatformDeviceInterface>;
|
|
9
7
|
findAll(pagination: ParamsPlatformDevicesInterface): Promise<ResponsePlatformDeviceInterface>;
|
|
10
8
|
findOne(id: number): Promise<PlatformDeviceInterface>;
|
|
11
|
-
update(dto: UpdatePlatformDeviceInterface): Promise<PlatformDeviceInterface>;
|
|
12
9
|
remove(id: number): Promise<ResponseInterface>;
|
|
10
|
+
autoCreate(dto: CreatePlatformDeviceInterface): void;
|
|
13
11
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ParamsPlatformDevicesInterface } from "./params-platform-device.base";
|
|
2
2
|
import { PlatformDeviceInterface } from "./platform-device.base";
|
|
3
3
|
import { ResponsePlatformDeviceInterface } from "./response-platform-device.base";
|
|
4
|
+
import { ResponseInterface } from "../common";
|
|
4
5
|
export interface PlatformDeviceDatasourceInterface {
|
|
5
6
|
findAll(pagination: ParamsPlatformDevicesInterface): Promise<ResponsePlatformDeviceInterface>;
|
|
6
7
|
findOne(id: number): Promise<PlatformDeviceInterface>;
|
|
8
|
+
remove(id: number): Promise<ResponseInterface>;
|
|
7
9
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { CreatePlatformDeviceInterface } from "./create-platform-device.base";
|
|
2
1
|
import { ParamsPlatformDevicesInterface } from "./params-platform-device.base";
|
|
3
2
|
import { PlatformDeviceInterface } from "./platform-device.base";
|
|
4
3
|
import { ResponsePlatformDeviceInterface } from "./response-platform-device.base";
|
|
5
|
-
import { UpdatePlatformDeviceInterface } from "./update-platform-device.base";
|
|
6
4
|
import { ResponseInterface } from "../common";
|
|
7
5
|
import { UserInterface } from "../user";
|
|
8
6
|
export interface PlatformDeviceResolverInterface {
|
|
9
|
-
create(dto: CreatePlatformDeviceInterface, user?: UserInterface): Promise<PlatformDeviceInterface>;
|
|
10
7
|
findAll(pagination: ParamsPlatformDevicesInterface, user?: UserInterface): Promise<ResponsePlatformDeviceInterface>;
|
|
11
8
|
findOne(id: number, user?: UserInterface): Promise<PlatformDeviceInterface>;
|
|
12
|
-
update(dto: UpdatePlatformDeviceInterface, user?: UserInterface): Promise<PlatformDeviceInterface>;
|
|
13
9
|
remove(id: number, user?: UserInterface): Promise<ResponseInterface>;
|
|
14
10
|
}
|
|
@@ -5,9 +5,10 @@ import { ResponsePlatformDeviceInterface } from "./response-platform-device.base
|
|
|
5
5
|
import { UpdatePlatformDeviceInterface } from "./update-platform-device.base";
|
|
6
6
|
import { ResponseInterface } from "../common";
|
|
7
7
|
export interface PlatformDeviceServiceInterface {
|
|
8
|
-
create(dto: CreatePlatformDeviceInterface): Promise<
|
|
8
|
+
create(dto: CreatePlatformDeviceInterface): Promise<void>;
|
|
9
|
+
update(dto: UpdatePlatformDeviceInterface): Promise<void>;
|
|
9
10
|
findAll(pagination: ParamsPlatformDevicesInterface): Promise<ResponsePlatformDeviceInterface>;
|
|
10
11
|
findOne(id: number): Promise<PlatformDeviceInterface>;
|
|
11
|
-
update(dto: UpdatePlatformDeviceInterface): Promise<PlatformDeviceInterface>;
|
|
12
12
|
remove(id: number): Promise<ResponseInterface>;
|
|
13
|
+
autoCreate(dto: CreatePlatformDeviceInterface): void;
|
|
13
14
|
}
|