@trash-streamers/contracts 1.1.94 → 1.1.96
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.
|
@@ -14,6 +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("./otp-requested.interface"), exports);
|
|
18
17
|
__exportStar(require("./create-system-chats.interface"), exports);
|
|
18
|
+
__exportStar(require("./create-users.interface"), exports);
|
|
19
19
|
__exportStar(require("./login-detected.interface"), exports);
|
|
20
|
+
__exportStar(require("./otp-requested.interface"), exports);
|
|
@@ -8,8 +8,10 @@ export declare enum EncodingId {
|
|
|
8
8
|
"preview_480p" = "preview_480p",
|
|
9
9
|
"preview_720p" = "preview_720p",
|
|
10
10
|
"preview_1080p" = "preview_1080p",
|
|
11
|
-
"thumbnails" = "thumbnails"
|
|
11
|
+
"thumbnails" = "thumbnails",
|
|
12
|
+
"poster" = "poster"
|
|
12
13
|
}
|
|
13
14
|
export declare function isFullVideoFormat(encodingId: EncodingId): boolean;
|
|
14
15
|
export declare function isPreviewFormat(encodingId: EncodingId): boolean;
|
|
15
16
|
export declare function isThumbnailsFormat(encodingId: EncodingId): boolean;
|
|
17
|
+
export declare function isPosterFormat(encodingId: EncodingId): boolean;
|
|
@@ -5,6 +5,7 @@ exports.EncodingId = void 0;
|
|
|
5
5
|
exports.isFullVideoFormat = isFullVideoFormat;
|
|
6
6
|
exports.isPreviewFormat = isPreviewFormat;
|
|
7
7
|
exports.isThumbnailsFormat = isThumbnailsFormat;
|
|
8
|
+
exports.isPosterFormat = isPosterFormat;
|
|
8
9
|
var EncodingId;
|
|
9
10
|
(function (EncodingId) {
|
|
10
11
|
EncodingId["360p"] = "360p";
|
|
@@ -17,6 +18,7 @@ var EncodingId;
|
|
|
17
18
|
EncodingId["preview_720p"] = "preview_720p";
|
|
18
19
|
EncodingId["preview_1080p"] = "preview_1080p";
|
|
19
20
|
EncodingId["thumbnails"] = "thumbnails";
|
|
21
|
+
EncodingId["poster"] = "poster";
|
|
20
22
|
})(EncodingId || (exports.EncodingId = EncodingId = {}));
|
|
21
23
|
function isFullVideoFormat(encodingId) {
|
|
22
24
|
return [
|
|
@@ -38,3 +40,6 @@ function isPreviewFormat(encodingId) {
|
|
|
38
40
|
function isThumbnailsFormat(encodingId) {
|
|
39
41
|
return encodingId === EncodingId.thumbnails;
|
|
40
42
|
}
|
|
43
|
+
function isPosterFormat(encodingId) {
|
|
44
|
+
return encodingId === EncodingId.poster;
|
|
45
|
+
}
|