@carlosdiazz/lottodiz-shared 2.1.8 → 2.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.
@@ -103,6 +103,7 @@ export declare class MethodValid {
103
103
  static PLATFORM_DEVICE_UPDATE: string;
104
104
  static PLATFORM_DEVICE_REMOVE: string;
105
105
  static PLATFORM_MESSAGE_CREATE: string;
106
+ static PLATFORM_MESSAGE_AUTO_CREATE: string;
106
107
  static PLATFORM_MESSAGE_FIND_ONE: string;
107
108
  static PLATFORM_MESSAGE_FIND_ALL: string;
108
109
  static PLATFORM_MESSAGE_UPDATE: string;
@@ -132,6 +132,7 @@ MethodValid.PLATFORM_DEVICE_UPDATE = "PLATFORM_DEVICE_UPDATE";
132
132
  MethodValid.PLATFORM_DEVICE_REMOVE = "PLATFORM_DEVICE_REMOVE";
133
133
  //PLATFORM MESSAGE
134
134
  MethodValid.PLATFORM_MESSAGE_CREATE = "PLATFORM_MESSAGE_CREATE";
135
+ MethodValid.PLATFORM_MESSAGE_AUTO_CREATE = "PLATFORM_MESSAGE_AUTO_CREATE";
135
136
  MethodValid.PLATFORM_MESSAGE_FIND_ONE = "PLATFORM_MESSAGE_FIND_ONE";
136
137
  MethodValid.PLATFORM_MESSAGE_FIND_ALL = "PLATFORM_MESSAGE_FIND_ALL";
137
138
  MethodValid.PLATFORM_MESSAGE_UPDATE = "PLATFORM_MESSAGE_UPDATE";
@@ -5,6 +5,7 @@ import { ResponsePlatformMessageInterface } from "./response-platform-message.ba
5
5
  import { UpdatePlatformMessageInterface } from "./update-platform-message.base";
6
6
  import { ResponseInterface } from "../common";
7
7
  export interface PlatformMessageControllerInterface {
8
+ autoCreate(dto: CreatePlatformMessageInterface): void;
8
9
  create(dto: CreatePlatformMessageInterface): Promise<PlatformMessageInterface>;
9
10
  findAll(pagination: ParamsPlatformMessageInterface): Promise<ResponsePlatformMessageInterface>;
10
11
  findOne(id: number): Promise<PlatformMessageInterface>;
@@ -5,6 +5,7 @@ import { ResponsePlatformMessageInterface } from "./response-platform-message.ba
5
5
  import { UpdatePlatformMessageInterface } from "./update-platform-message.base";
6
6
  import { ResponseInterface } from "../common";
7
7
  export interface PlatformMessageServiceInterface {
8
+ autoCreate(dto: CreatePlatformMessageInterface): void;
8
9
  create(dto: CreatePlatformMessageInterface): Promise<PlatformMessageInterface>;
9
10
  findAll(pagination: ParamsPlatformMessageInterface): Promise<ResponsePlatformMessageInterface>;
10
11
  findOne(id: number): Promise<PlatformMessageInterface>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,