@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
17 lines • 698 B
TypeScript
import type { TokenManager } from '../../../../core/google/client.ts';
export type GwsService = 'drive' | 'docs' | 'sheets' | 'slides' | 'gmail' | 'calendar' | 'forms';
export interface GwsMethod {
service: GwsService;
resource: string;
method: string;
http: 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE';
path: string;
needsBody?: boolean;
rawBytes?: boolean;
placement?: 'parents' | 'relocate';
idField?: string;
}
export declare const GWS_METHODS: readonly GwsMethod[];
export declare function gwsMethodDescription(m: GwsMethod): string;
export declare const SERVICE_BASES: Record<GwsService, (tm: TokenManager) => string>;
//# sourceMappingURL=methods.d.ts.map