@tolinax/ayoune-interfaces 2024.70.1 → 2024.72.0
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/interfaces/IStream.d.ts +11 -0
- package/package.json +1 -1
package/interfaces/IStream.d.ts
CHANGED
|
@@ -32,6 +32,15 @@ interface IStreamMetaMarker {
|
|
|
32
32
|
resize?: boolean;
|
|
33
33
|
area?: boolean;
|
|
34
34
|
}
|
|
35
|
+
interface IStreamOptions {
|
|
36
|
+
showTitle?: boolean;
|
|
37
|
+
showCover?: boolean;
|
|
38
|
+
showDescriptions?: boolean;
|
|
39
|
+
showShareLinks?: boolean;
|
|
40
|
+
showBuyLinks?: boolean;
|
|
41
|
+
showMarkers?: boolean;
|
|
42
|
+
showChapters?: boolean;
|
|
43
|
+
}
|
|
35
44
|
export interface IStream extends IDefaultFields {
|
|
36
45
|
_customerID: ObjectId;
|
|
37
46
|
_clientID?: ObjectId[];
|
|
@@ -41,8 +50,10 @@ export interface IStream extends IDefaultFields {
|
|
|
41
50
|
productName?: string;
|
|
42
51
|
name?: string;
|
|
43
52
|
slug?: string;
|
|
53
|
+
fileUrl?: string;
|
|
44
54
|
totalPlays?: number;
|
|
45
55
|
totalPlayTime?: number;
|
|
56
|
+
options: IStreamOptions;
|
|
46
57
|
parts: IStreamPart[];
|
|
47
58
|
meta: IStreamMeta;
|
|
48
59
|
}
|