gas-client
Version:
A client-side utility class that can call server-side Google Apps Script functions
13 lines (12 loc) • 664 B
TypeScript
import { ServerConfig } from './types/config';
import { ServerFunctions, FunctionMap, HostFunctions } from './types/functions';
declare class GASClient<FM extends FunctionMap = {}> {
private _config?;
private _functionProvider;
private _scriptHostProvider;
constructor(_config?: ServerConfig | undefined);
get serverFunctions(): ServerFunctions<FM>;
get scriptHostFunctions(): HostFunctions;
}
export { GASClient, ServerFunctions, HostFunctions };
export { DevServerRequestEvent, GASDevServerIFrame, MessageType, ResponseStatus, GASStore, DevServerRequest, DevServerResponse, DevServerContentWindow, AppWindow, } from './types/dev-server';