UNPKG

fly-machines-sdk

Version:

API that provides ability to manage applications on Fly.io

12 lines (11 loc) 474 B
import { Variables } from 'graphql-request/src/types'; export declare class Requests { private readonly apiKey; private readonly FLY_API_HOST; private readonly FLY_PLAIN_API_HOST; private client; constructor(apiKey: string); query<T>(body: any, variables: Variables): Promise<T>; plainQuery<T>(path: string, body: any, returnAsText: boolean): Promise<any>; plainDeleteQuery<T>(path: string, body: any, returnAsText: boolean): Promise<any>; }