mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-30 00:22:49 +00:00
33 lines
574 B
TypeScript
33 lines
574 B
TypeScript
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,
|
|
};
|
|
|
|
export interface CreateDavAccountService {
|
|
name: string;
|
|
uri: string;
|
|
readonly?: boolean;
|
|
proxy?: boolean;
|
|
}
|