This commit is contained in:
429Enjoyer committed 2026-06-22 14:08:53 +07:00
1 parent e05a9379fc
commit c42808431c
31 files changed
+3187 -2798

No files matched your search

+2
View File
@@ -31,6 +31,8 @@ export function DownloadMedia(arg1:main.DownloadMediaRequest):Promise<main.Downl
export function DownloadMediaWithMetadata(arg1:main.DownloadMediaWithMetadataRequest):Promise<main.DownloadMediaResponse>;
export function DownloadProfileImage(arg1:main.DownloadProfileImageRequest):Promise<string>;
export function ExportAccountJSON(arg1:number,arg2:string):Promise<string>;
export function ExportAccountsTXT(arg1:Array<number>,arg2:string):Promise<string>;
+4
View File
@@ -58,6 +58,10 @@ export function DownloadMediaWithMetadata(arg1) {
return window['go']['main']['App']['DownloadMediaWithMetadata'](arg1);
}
export function DownloadProfileImage(arg1) {
return window['go']['main']['App']['DownloadProfileImage'](arg1);
}
export function ExportAccountJSON(arg1, arg2) {
return window['go']['main']['App']['ExportAccountJSON'](arg1, arg2);
}
+36
View File
@@ -212,6 +212,8 @@ export namespace main {
delete_incomplete_files: boolean;
retry_attempts?: number;
proxy?: string;
filename_template?: string;
folder_template?: string;
static createFrom(source: any = {}) {
return new DownloadMediaWithMetadataRequest(source);
@@ -227,6 +229,8 @@ export namespace main {
this.delete_incomplete_files = source["delete_incomplete_files"];
this.retry_attempts = source["retry_attempts"];
this.proxy = source["proxy"];
this.filename_template = source["filename_template"];
this.folder_template = source["folder_template"];
}
convertValues(a: any, classs: any, asMap: boolean = false): any {
@@ -247,6 +251,26 @@ export namespace main {
return a;
}
}
export class DownloadProfileImageRequest {
url: string;
output_dir: string;
username: string;
kind: string;
proxy?: string;
static createFrom(source: any = {}) {
return new DownloadProfileImageRequest(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.url = source["url"];
this.output_dir = source["output_dir"];
this.username = source["username"];
this.kind = source["kind"];
this.proxy = source["proxy"];
}
}
export class ImportAccountResponse {
success: boolean;
username: string;
@@ -273,6 +297,12 @@ export namespace main {
media_type: string;
retweets: boolean;
cursor?: string;
include_photos: boolean;
include_videos: boolean;
include_gifs: boolean;
include_text: boolean;
video_quality?: string;
image_size?: string;
static createFrom(source: any = {}) {
return new TimelineRequest(source);
@@ -288,6 +318,12 @@ export namespace main {
this.media_type = source["media_type"];
this.retweets = source["retweets"];
this.cursor = source["cursor"];
this.include_photos = source["include_photos"];
this.include_videos = source["include_videos"];
this.include_gifs = source["include_gifs"];
this.include_text = source["include_text"];
this.video_quality = source["video_quality"];
this.image_size = source["image_size"];
}
}