chore: add mobile app

This commit is contained in:
2026-02-07 22:33:02 +01:00
parent db34640acc
commit e89384ad4e
29327 changed files with 3886944 additions and 12 deletions
@@ -0,0 +1,86 @@
export type URL = string;
export type InfoOptions = any;
export type ReadingOptions = any;
export type WritingOptions = any;
export type DeletingOptions = any;
export type RelocatingOptions = any;
export type MakeDirectoryOptions = any;
export type DownloadOptionsLegacy = any;
export type UploadOptions = any;
export type Int64 = number;
export async function getInfoAsync(url: URL, options: InfoOptions): Promise<any> {}
export async function readAsStringAsync(url: URL, options: ReadingOptions): Promise<string> {
return '';
}
export async function writeAsStringAsync(
url: URL,
string: string,
options: WritingOptions
): Promise<any> {}
export async function deleteAsync(url: URL, options: DeletingOptions): Promise<any> {}
export async function moveAsync(options: RelocatingOptions): Promise<any> {}
export async function copyAsync(options: RelocatingOptions): Promise<any> {}
export async function makeDirectoryAsync(url: URL, options: MakeDirectoryOptions): Promise<any> {}
export async function readDirectoryAsync(url: URL): Promise<string[]> {
return [];
}
export async function downloadAsync(
sourceUrl: URL,
localUrl: URL,
options: DownloadOptionsLegacy
): Promise<any> {}
export async function uploadAsync(
targetUrl: URL,
localUrl: URL,
options: UploadOptions
): Promise<any> {}
export async function uploadTaskStartAsync(
targetUrl: URL,
localUrl: URL,
uuid: string,
options: UploadOptions
): Promise<any> {}
export async function downloadResumableStartAsync(
sourceUrl: URL,
localUrl: URL,
uuid: string,
options: DownloadOptionsLegacy,
resumeDataString: string | undefined
): Promise<any> {}
export async function downloadResumablePauseAsync(id: string): Promise<{
[key: string]: string | undefined;
}> {
return {};
}
export async function networkTaskCancelAsync(id: string): Promise<any> {}
export async function getFreeDiskStorageAsync(): Promise<Int64> {
return 0;
}
export async function getTotalDiskCapacityAsync(): Promise<number> {
return 0;
}
+52
View File
@@ -0,0 +1,52 @@
export type URL = string;
export type FileSystemPath = any;
export type DownloadOptions = any;
export type InfoOptions = any;
export type TypedArray = any;
export type CreateOptions = any;
export function info(url: URL): any {}
export async function downloadFileAsync(
url: URL,
to: FileSystemPath,
options: DownloadOptions | undefined
): Promise<any> {}
export class FileSystemFile {
validatePath(): any {}
textSync(): any {}
base64Sync(): any {}
bytesSync(): any {}
open(): any {}
info(options: InfoOptions | undefined): any {}
write(content: string | TypedArray): any {}
delete(): any {}
create(options: CreateOptions | undefined): any {}
copy(to: FileSystemPath): any {}
move(to: FileSystemPath): any {}
async text(): Promise<any> {}
async base64(): Promise<any> {}
async bytes(): Promise<any> {}
}
export class FileSystemFileHandle {
readBytes(bytes: number): any {}
writeBytes(bytes: TypedArray): any {}
close(): any {}
}
export class FileSystemDirectory {
info(): any {}
validatePath(): any {}
delete(): any {}
create(options: CreateOptions | undefined): any {}
copy(to: FileSystemPath): any {}
move(to: FileSystemPath): any {}
listAsRecords(): any {}
}