-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrev02types.ts
41 lines (32 loc) · 1000 Bytes
/
rev02types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//not all trypes here were created on 02rev ..
//only simple types are declared here in order to avoide dependencies
//02rev
export type AppSettings = {
General?: {EnableAutoFill:boolean};
AutoFillSettings:{PreferedVideoQuality:IPreferedQualty,EnableThumbnail:boolean,PreferedNameSource:IPreferedNameSource,OutputLocation:IOutputLocation}
Legacy?: {UseLegacyMode:boolean};
Advanced?: {DownloadStreamsFirst:boolean}
}
export type IOutputLocation ="Downloads"|"YVDLFolder"
export type IPreferedQualty ="720p"|"420p"|"Highest" |"Lowest"
export type IPreferedNameSource ="og-title"|"description"|"title"
export interface IPostInfo {
ThumbnailUrl: string
Title:string
VideoSize: number
VideoUrl:string
}
export type ITitles={
ogTitle:string
nameTitle:string
descriptionTitle:string
}
export type IImages={
ogImage:string
thumbnailUrl:string
thumbnailImage:string
}
export interface IConversionProg{
time:number,
size:number,
}