@foxpage/foxpage-types
Version:
foxpage sdk types
26 lines (25 loc) • 561 B
TypeScript
export interface AppResourceDetail {
host: string;
downloadHost: string;
weight?: number;
downloadProxy?: AppResourceDownloadProxy;
}
export interface AppResourceDownloadProxy {
host?: string;
port?: number;
auth?: {
username: string;
password: string;
};
protocol?: string;
}
export interface ApplicationResource extends Partial<AppResourceDetail> {
name: string;
id?: string;
type?: number;
/**
* @deprecated
*/
detail?: AppResourceDetail;
details?: AppResourceDetail[];
}