@inweb/client
Version:
JavaScript REST API client for the Open Cloud Server
10 lines (9 loc) • 341 B
TypeScript
import { IHttpClient } from "./IHttpClient";
import { File } from "./File";
export declare class SharedFile extends File {
constructor(data: any, password: string, httpClient: IHttpClient);
checkout(): Promise<this>;
update(data: any): Promise<this>;
getVersions(): Promise<File[]>;
useVersion(version?: number): this;
}