UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

16 lines (15 loc) 736 B
import { IResponse, IContext } from '../../types'; import { AppDeploymentLogType } from '..'; export interface IGetActiveDeploymentLogsApiResponse { historic_urls: string[]; live_url: string; } export interface IGetActiveDeploymentLogsApiRequest { app_id: string; component_name: string; follow?: boolean; pod_connection_timeout?: string; type?: AppDeploymentLogType | string; } export type GetActiveDeploymentLogsResponse = IResponse<IGetActiveDeploymentLogsApiResponse>; export declare const getActiveDeploymentLogs: ({ httpClient }: IContext) => ({ app_id, component_name, follow, pod_connection_timeout, type, }: IGetActiveDeploymentLogsApiRequest) => Promise<Readonly<GetActiveDeploymentLogsResponse>>;