@carlosdiazz/lottodiz-shared 2.7.1 → 2.7.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 +3 -3
- package/dist/enum/method-valid.js +3 -3
- package/dist/enum/permission-valid.d.ts +3 -3
- package/dist/enum/permission-valid.js +3 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/youtube/index.d.ts +4 -2
- package/dist/models/youtube/index.js +2 -0
- package/dist/models/youtube/youtube.controller.d.ts +3 -3
- package/dist/models/youtube/youtube.dto.d.ts +2 -2
- package/dist/models/youtube/youtube.resolver.d.ts +4 -4
- package/dist/models/youtube/youtube.service.d.ts +3 -3
- package/package.json +1 -1
|
@@ -155,7 +155,7 @@ export declare class MethodValid {
|
|
|
155
155
|
static CONFIG_OBS_FIND_ALL: string;
|
|
156
156
|
static CONFIG_OBS_UPDATE: string;
|
|
157
157
|
static CONFIG_OBS_REMOVE: string;
|
|
158
|
-
static
|
|
159
|
-
static
|
|
160
|
-
static
|
|
158
|
+
static YOUTUBE_CREATE_BROADCAST: string;
|
|
159
|
+
static YOUTUBE_CREATE_MULTI_BROADCAST: string;
|
|
160
|
+
static YOUTUBE_FIND_LIVE_BROADCAST_ID: string;
|
|
161
161
|
}
|
|
@@ -188,6 +188,6 @@ MethodValid.CONFIG_OBS_FIND_ALL = "CONFIG_OBS_FIND_ALL";
|
|
|
188
188
|
MethodValid.CONFIG_OBS_UPDATE = "CONFIG_OBS_UPDATE";
|
|
189
189
|
MethodValid.CONFIG_OBS_REMOVE = "CONFIG_OBS_REMOVE";
|
|
190
190
|
//YOUTUBE
|
|
191
|
-
MethodValid.
|
|
192
|
-
MethodValid.
|
|
193
|
-
MethodValid.
|
|
191
|
+
MethodValid.YOUTUBE_CREATE_BROADCAST = "YOUTUBE_CREATE_BROADCAST";
|
|
192
|
+
MethodValid.YOUTUBE_CREATE_MULTI_BROADCAST = "YOUTUBE_CREATE_MULTI_BROADCAST";
|
|
193
|
+
MethodValid.YOUTUBE_FIND_LIVE_BROADCAST_ID = "YOUTUBE_FIND_LIVE_BROADCAST_ID";
|
|
@@ -103,7 +103,7 @@ export declare class PermissionValid {
|
|
|
103
103
|
static CONFIG_OBS_VIEW: string;
|
|
104
104
|
static CONFIG_OBS_UPDATE: string;
|
|
105
105
|
static CONFIG_OBS_DELETE: string;
|
|
106
|
-
static
|
|
107
|
-
static
|
|
108
|
-
static
|
|
106
|
+
static YOUTUBE_CREATE_BROADCAST: string;
|
|
107
|
+
static YOUTUBE_CREATE_MULTI_BROADCAST: string;
|
|
108
|
+
static YOUTUBE_FIND_LIVE_BROADCAST_ID: string;
|
|
109
109
|
}
|
|
@@ -134,6 +134,6 @@ PermissionValid.CONFIG_OBS_VIEW = "CONFIG_OBS_VIEW";
|
|
|
134
134
|
PermissionValid.CONFIG_OBS_UPDATE = "CONFIG_OBS_UPDATE";
|
|
135
135
|
PermissionValid.CONFIG_OBS_DELETE = "CONFIG_OBS_DELETE";
|
|
136
136
|
//YOUTUBE
|
|
137
|
-
PermissionValid.
|
|
138
|
-
PermissionValid.
|
|
139
|
-
PermissionValid.
|
|
137
|
+
PermissionValid.YOUTUBE_CREATE_BROADCAST = "YOUTUBE_CREATE_BROADCAST";
|
|
138
|
+
PermissionValid.YOUTUBE_CREATE_MULTI_BROADCAST = "YOUTUBE_CREATE_MULTI_BROADCAST";
|
|
139
|
+
PermissionValid.YOUTUBE_FIND_LIVE_BROADCAST_ID = "YOUTUBE_FIND_LIVE_BROADCAST_ID";
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
|
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./youtube.controller"), exports);
|
|
17
18
|
__exportStar(require("./youtube.dto"), exports);
|
|
19
|
+
__exportStar(require("./youtube.resolver"), exports);
|
|
18
20
|
__exportStar(require("./youtube.service"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
|
-
import {
|
|
2
|
+
import { CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from "./youtube.dto";
|
|
3
3
|
export interface YoutubeControllerInterface {
|
|
4
|
-
create_broadcast(dto:
|
|
5
|
-
create_multi_broadcast(dto:
|
|
4
|
+
create_broadcast(dto: CreateBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
5
|
+
create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
6
6
|
findLiveStreamId(id_channel: number): Promise<ResponseInterface>;
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface CreateBroadcastDtoInterface {
|
|
2
2
|
id_canal: number;
|
|
3
3
|
id_template_video: number;
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
5
|
+
export interface CreateMultiBroadcastDtoInterface {
|
|
6
6
|
id_canal: number;
|
|
7
7
|
id_day: number;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
2
|
import { UserInterface } from "../user";
|
|
3
|
-
import {
|
|
4
|
-
export interface
|
|
5
|
-
create_broadcast(dto:
|
|
6
|
-
create_multi_broadcast(dto:
|
|
3
|
+
import { CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from "./youtube.dto";
|
|
4
|
+
export interface YoutubeResolverInterface {
|
|
5
|
+
create_broadcast(dto: CreateBroadcastDtoInterface, user?: UserInterface): Promise<ResponseInterface>;
|
|
6
|
+
create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface, user?: UserInterface): Promise<ResponseInterface>;
|
|
7
7
|
findLiveStreamId(id_channel: number, user?: UserInterface): Promise<ResponseInterface>;
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ResponseInterface } from "../common";
|
|
2
|
-
import {
|
|
2
|
+
import { CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from "./youtube.dto";
|
|
3
3
|
export interface YoutubeServiceInterface {
|
|
4
|
-
create_broadcast(dto:
|
|
5
|
-
create_multi_broadcast(dto:
|
|
4
|
+
create_broadcast(dto: CreateBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
5
|
+
create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface): Promise<ResponseInterface>;
|
|
6
6
|
findLiveStreamId(id_channel: number): Promise<ResponseInterface>;
|
|
7
7
|
}
|