@carlosdiazz/lottodiz-shared 4.2.1 → 4.2.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/enum/method-valid.d.ts +1 -0
- package/dist/enum/method-valid.js +1 -0
- package/dist/models/config_obs/params-config_obs.base.d.ts +1 -1
- package/dist/models/obs/obs.controller.d.ts +1 -1
- package/dist/models/obs/obs.resolver.d.ts +1 -1
- package/dist/models/obs/obs.service.d.ts +1 -1
- package/dist/models/platform_message/update-platform-message.base.d.ts +1 -0
- package/dist/models/template_result/template_result.base.d.ts +1 -0
- package/dist/models/ticket/params-ticket.base.d.ts +4 -4
- package/dist/models/user/index.d.ts +1 -0
- package/dist/models/user/index.js +1 -0
- package/dist/models/user/update-admin-favorite.base.d.ts +3 -0
- package/dist/models/user/update-admin-favorite.base.js +2 -0
- package/dist/models/user/user.datasource.d.ts +1 -0
- package/dist/models/user/user.interface.d.ts +1 -0
- package/dist/models/user/user.resolver.d.ts +2 -0
- package/dist/models/user/user.service.d.ts +1 -0
- package/dist/models/youtube/youtube.controller.d.ts +1 -1
- package/dist/models/youtube/youtube.resolver.d.ts +1 -1
- package/dist/models/youtube/youtube.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@ export declare class MethodValid {
|
|
|
19
19
|
static USER_FIND_ALL: string;
|
|
20
20
|
static USER_UPDATE: string;
|
|
21
21
|
static USER_REMOVE: string;
|
|
22
|
+
static USER_UPDATE_ADMIN_FAVORITE: string;
|
|
22
23
|
static COUNTRY_CREATE: string;
|
|
23
24
|
static COUNTRY_FIND_ONE: string;
|
|
24
25
|
static COUNTRY_FIND_ALL: string;
|
|
@@ -27,6 +27,7 @@ MethodValid.USER_FIND_ONE = "USER_FIND_ONE";
|
|
|
27
27
|
MethodValid.USER_FIND_ALL = "USER_FIND_ALL";
|
|
28
28
|
MethodValid.USER_UPDATE = "USER_UPDATE";
|
|
29
29
|
MethodValid.USER_REMOVE = "USER_REMOVE";
|
|
30
|
+
MethodValid.USER_UPDATE_ADMIN_FAVORITE = "USER_UPDATE_ADMIN_FAVORITE";
|
|
30
31
|
//COUNTRY
|
|
31
32
|
MethodValid.COUNTRY_CREATE = "COUNTRY_CREATE";
|
|
32
33
|
MethodValid.COUNTRY_FIND_ONE = "COUNTRY_FIND_ONE";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
export interface ObsControllerInterface {
|
|
3
3
|
verify_obs(): Promise<ResponseInterface>;
|
|
4
|
-
execute_action(id_config_obs:
|
|
4
|
+
execute_action(id_config_obs: string): Promise<ResponseInterface>;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
import { UserInterface } from "../user";
|
|
3
3
|
export interface ObsResolverInterface {
|
|
4
|
-
execute_action(id_config_obs:
|
|
4
|
+
execute_action(id_config_obs: string, user?: UserInterface): Promise<ResponseInterface>;
|
|
5
5
|
}
|
|
@@ -5,5 +5,5 @@ export interface ObsServiceInterface {
|
|
|
5
5
|
showScene(scene_name: string): Promise<void>;
|
|
6
6
|
changeVolumen(key_volumen: string, value_volumen: number): Promise<void>;
|
|
7
7
|
verify_obs(): Promise<ResponseInterface>;
|
|
8
|
-
execute_action(id_config_obs:
|
|
8
|
+
execute_action(id_config_obs: string): Promise<ResponseInterface>;
|
|
9
9
|
}
|
|
@@ -4,10 +4,10 @@ export interface ParamsTicketInterface {
|
|
|
4
4
|
id_group?: string | null;
|
|
5
5
|
id_pos?: string | null;
|
|
6
6
|
id_pos_user?: string | null;
|
|
7
|
-
id_country?:
|
|
8
|
-
id_lottery?:
|
|
9
|
-
id_template_draw?:
|
|
10
|
-
id_draw?:
|
|
7
|
+
id_country?: string | null;
|
|
8
|
+
id_lottery?: string | null;
|
|
9
|
+
id_template_draw?: string | null;
|
|
10
|
+
id_draw?: string | null;
|
|
11
11
|
status?: TicketStatus | null;
|
|
12
12
|
date_sale_from?: Date | null;
|
|
13
13
|
date_sale_to?: Date | null;
|
|
@@ -23,3 +23,4 @@ __exportStar(require("./user.datasource"), exports);
|
|
|
23
23
|
__exportStar(require("./user.interface"), exports);
|
|
24
24
|
__exportStar(require("./user.resolver"), exports);
|
|
25
25
|
__exportStar(require("./user.service"), exports);
|
|
26
|
+
__exportStar(require("./update-admin-favorite.base"), exports);
|
|
@@ -8,4 +8,5 @@ export interface UserDatasourceInterface {
|
|
|
8
8
|
findOne(id: string): Promise<UserInterface>;
|
|
9
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
10
10
|
remove(id: string): Promise<ResponseInterface>;
|
|
11
|
+
updateAdminFavorite(admin_favorite: string[]): Promise<string[]>;
|
|
11
12
|
}
|
|
@@ -2,10 +2,12 @@ import { ResponseInterface } from "../common";
|
|
|
2
2
|
import { ParamsUserInterface } from "./params-user.base";
|
|
3
3
|
import { ResponseUserInterface } from "./response-user.base";
|
|
4
4
|
import { UpdateUserInterface } from "./update-user.base";
|
|
5
|
+
import { UpdateAdminFavoriteInterface } from "./update-admin-favorite.base";
|
|
5
6
|
import { UserInterface } from "./user.interface";
|
|
6
7
|
export interface UserResolverInterface {
|
|
7
8
|
findAll(pagination: ParamsUserInterface, user?: UserInterface): Promise<ResponseUserInterface>;
|
|
8
9
|
findOne(id: string, user?: UserInterface): Promise<UserInterface>;
|
|
9
10
|
update(dto: UpdateUserInterface, user?: UserInterface): Promise<UserInterface>;
|
|
10
11
|
remove(id: string, user?: UserInterface): Promise<ResponseInterface>;
|
|
12
|
+
updateAdminFavorite(dto: UpdateAdminFavoriteInterface, user?: UserInterface): Promise<string[]>;
|
|
11
13
|
}
|
|
@@ -8,4 +8,5 @@ export interface UserServiceInterface {
|
|
|
8
8
|
findOne(id: string): Promise<UserInterface>;
|
|
9
9
|
update(dto: UpdateUserInterface): Promise<UserInterface>;
|
|
10
10
|
remove(id: string): Promise<ResponseInterface>;
|
|
11
|
+
updateAdminFavorite(id: string, admin_favorite: string[]): Promise<string[]>;
|
|
11
12
|
}
|
|
@@ -3,7 +3,7 @@ import { CreateAllBroadcastDtoInterface, CreateBroadcastDtoInterface, CreateMult
|
|
|
3
3
|
export interface YoutubeControllerInterface {
|
|
4
4
|
create_broadcast(dto: CreateBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
5
5
|
create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
6
|
-
findLiveStreamId(id_channel:
|
|
6
|
+
findLiveStreamId(id_channel: string): Promise<ResponseInterface>;
|
|
7
7
|
renew_token_all_channel(): Promise<ResponseInterface>;
|
|
8
8
|
create_all_broadcast(dto: CreateAllBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
9
9
|
}
|
|
@@ -4,6 +4,6 @@ import { CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from ".
|
|
|
4
4
|
export interface YoutubeResolverInterface {
|
|
5
5
|
create_broadcast(dto: CreateBroadcastDtoInterface, user?: UserInterface): Promise<ResponseInterface>;
|
|
6
6
|
create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface, user?: UserInterface): Promise<ResponseInterface>;
|
|
7
|
-
findLiveStreamId(id_channel:
|
|
7
|
+
findLiveStreamId(id_channel: string, user?: UserInterface): Promise<ResponseInterface>;
|
|
8
8
|
renew_token_all_channel(): Promise<ResponseInterface>;
|
|
9
9
|
}
|
|
@@ -3,7 +3,7 @@ import { CreateAllBroadcastDtoInterface, CreateBroadcastDtoInterface, CreateMult
|
|
|
3
3
|
export interface YoutubeServiceInterface {
|
|
4
4
|
create_broadcast(dto: CreateBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
5
5
|
create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
6
|
-
findLiveStreamId(id_channel:
|
|
6
|
+
findLiveStreamId(id_channel: string): Promise<ResponseInterface>;
|
|
7
7
|
renew_token_all_channel(): Promise<ResponseInterface>;
|
|
8
8
|
create_all_broadcast(dto: CreateAllBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
9
9
|
}
|