@carlosdiazz/lottodiz-shared 4.0.1 → 4.0.2

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.
@@ -9,5 +9,6 @@ export interface PlatformControllerInterface {
9
9
  findOne(id: number): Promise<PlatformInterface>;
10
10
  update(dto: UpdatePlatformInterface): Promise<PlatformInterface>;
11
11
  remove(id: number): Promise<ResponseInterface>;
12
+ findOneByTopic(topic: string): Promise<PlatformInterface>;
12
13
  verify_status_tools(): Promise<ResponseInterface>;
13
14
  }
@@ -9,5 +9,6 @@ export interface PlatformResolverInterface {
9
9
  findAll(pagination: PaginationInterface, user?: UserInterface): Promise<ResponsePlatformInterface>;
10
10
  findOne(id: number, req: Request, user?: UserInterface): Promise<PlatformInterface>;
11
11
  update(dto: UpdatePlatformInterface, user?: UserInterface): Promise<PlatformInterface>;
12
+ findOneByTopic(topic: string, user?: UserInterface): Promise<PlatformInterface>;
12
13
  remove(id: number, user?: UserInterface): Promise<ResponseInterface>;
13
14
  }
@@ -9,5 +9,6 @@ export interface PlatformServiceInterface {
9
9
  findOne(id: number): Promise<PlatformInterface>;
10
10
  update(dto: UpdatePlatformInterface): Promise<PlatformInterface>;
11
11
  remove(id: number): Promise<ResponseInterface>;
12
+ findOneByTopic(topic: string): Promise<PlatformInterface>;
12
13
  verify_status_tools(): Promise<ResponseInterface>;
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,