eas-cli
Version:
EAS command line tool
23 lines (22 loc) • 778 B
TypeScript
import { JSONValue } from '@expo/json-file';
interface RequestOptions {
body: JSONValue;
}
export declare class ApiV2Client {
private readonly authInfo;
constructor(authInfo: {
accessToken: string | null;
sessionSecret: string | null;
});
putAsync(path: string, options: RequestOptions): Promise<any>;
postAsync(path: string, options: RequestOptions): Promise<any>;
deleteAsync(path: string): Promise<any>;
getAsync(path: string): Promise<any>;
private getAuthHeaders;
private requestAsync;
private static handleApiErrorAsync;
}
export declare function getExpoApiBaseUrl(): string;
export declare function getExpoWebsiteBaseUrl(): string;
export declare function getEASUpdateURL(projectId: string): string;
export {};