first commit

This commit is contained in:
2025-10-19 13:31:11 +00:00
commit 8bfc183b66
1248 changed files with 195992 additions and 0 deletions

34
src/api/setting.ts Executable file
View File

@@ -0,0 +1,34 @@
import { PaginationResults } from "./explorer.ts";
export interface ListDavAccountsService {
page_size: number;
next_page_token?: string;
}
export interface DavAccount {
id: string;
created_at: string;
name: string;
uri: string;
password: string;
options?: string;
}
export interface ListDavAccountsResponse {
accounts: DavAccount[];
pagination?: PaginationResults;
}
export const DavAccountOption = {
readonly: 0,
proxy: 1,
disable_sys_files: 2,
};
export interface CreateDavAccountService {
name: string;
uri: string;
readonly?: boolean;
proxy?: boolean;
disable_sys_files?: boolean;
}