@carlosdiazz/lottodiz-shared 2.8.3 → 2.8.5

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.
@@ -160,4 +160,5 @@ export declare class MethodValid {
160
160
  static YOUTUBE_FIND_LIVE_BROADCAST_ID: string;
161
161
  static YOUTUBE_RENEW_TOKEN_ALL_CHANNEL: string;
162
162
  static YOUTUBE_CREATE_ALL_BROADCAST: string;
163
+ static OBS_EXECUTE_ACTION: string;
163
164
  }
@@ -193,3 +193,5 @@ MethodValid.YOUTUBE_CREATE_MULTI_BROADCAST = "YOUTUBE_CREATE_MULTI_BROADCAST";
193
193
  MethodValid.YOUTUBE_FIND_LIVE_BROADCAST_ID = "YOUTUBE_FIND_LIVE_BROADCAST_ID";
194
194
  MethodValid.YOUTUBE_RENEW_TOKEN_ALL_CHANNEL = "YOUTUBE_RENEW_TOKEN_ALL_CHANNEL";
195
195
  MethodValid.YOUTUBE_CREATE_ALL_BROADCAST = "YOUTUBE_CREATE_ALL_BROADCAST";
196
+ //OBS
197
+ MethodValid.OBS_EXECUTE_ACTION = "OBS_EXECUTE_ACTION";
@@ -106,4 +106,5 @@ export declare class PermissionValid {
106
106
  static YOUTUBE_CREATE_BROADCAST: string;
107
107
  static YOUTUBE_CREATE_MULTI_BROADCAST: string;
108
108
  static YOUTUBE_FIND_LIVE_BROADCAST_ID: string;
109
+ static OBS_EXECUTE_ACTION: string;
109
110
  }
@@ -137,3 +137,5 @@ PermissionValid.CONFIG_OBS_DELETE = "CONFIG_OBS_DELETE";
137
137
  PermissionValid.YOUTUBE_CREATE_BROADCAST = "YOUTUBE_CREATE_BROADCAST";
138
138
  PermissionValid.YOUTUBE_CREATE_MULTI_BROADCAST = "YOUTUBE_CREATE_MULTI_BROADCAST";
139
139
  PermissionValid.YOUTUBE_FIND_LIVE_BROADCAST_ID = "YOUTUBE_FIND_LIVE_BROADCAST_ID";
140
+ //OBS
141
+ PermissionValid.OBS_EXECUTE_ACTION = "OBS_EXECUTE_ACTION";
@@ -1,6 +1,5 @@
1
1
  import { ResponseInterface } from "../common";
2
- import { ConfigObsInterface } from "../config_obs";
3
2
  export interface ObsControllerInterface {
4
3
  verify_obs(): Promise<ResponseInterface>;
5
- execute_action(config_obs: ConfigObsInterface): Promise<ResponseInterface>;
4
+ execute_action(id_config_obs: number): Promise<ResponseInterface>;
6
5
  }
@@ -1,5 +1,5 @@
1
1
  import { ResponseInterface } from "../common";
2
- import { ConfigObsInterface } from "../config_obs";
2
+ import { UserInterface } from "../user";
3
3
  export interface ObsResolverInterface {
4
- execute_action(config_obs: ConfigObsInterface): Promise<ResponseInterface>;
4
+ execute_action(id_config_obs: number, user?: UserInterface): Promise<ResponseInterface>;
5
5
  }
@@ -1,10 +1,9 @@
1
1
  import { ResponseInterface } from "../common";
2
- import { ConfigObsInterface } from "../config_obs";
3
2
  export interface ObsServiceInterface {
4
3
  startStream(key: string): Promise<ResponseInterface>;
5
4
  stopStream(): Promise<ResponseInterface>;
6
5
  showScene(scene_name: string): Promise<ResponseInterface>;
7
6
  changeVolumen(key_volumen: string, value_volumen: number): Promise<ResponseInterface>;
8
7
  verify_obs(): Promise<ResponseInterface>;
9
- execute_action(config_obs: ConfigObsInterface): Promise<ResponseInterface>;
8
+ execute_action(id_config_obs: number): Promise<ResponseInterface>;
10
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,