@platform/cell.client
Version:
A strongly typed HTTP client for operating with a CellOS service end-point.
23 lines (22 loc) • 778 B
TypeScript
import { t } from '../common';
declare type IHttpClientCellArgs = {
uri: string;
urls: t.IUrls;
http: t.IHttp;
};
export declare class HttpClientCell implements t.IHttpClientCell {
static create(args: IHttpClientCellArgs): t.IHttpClientCell;
private constructor();
private readonly args;
private _file;
private _files;
readonly uri: t.IUriParts<t.ICellUri>;
readonly url: t.IUrlsCell;
get file(): t.IHttpClientCellFile;
get files(): t.IHttpClientCellFiles;
toString(): string;
exists(): Promise<boolean>;
info(options?: t.IUrlQueryCellInfo): Promise<t.IHttpClientResponse<t.IUriResponse<t.ICellData<t.ICellProps>, t.IResGetCellUrls>>>;
links(): Promise<t.IHttpClientResponse<t.IHttpClientCellLinks>>;
}
export {};