export type WorkerCallback = (error: any, response?: any) => void export interface QueryEvent { appId?: string datasource: any queryVerb: string fields: { [key: string]: any } parameters: { [key: string]: any } pagination?: any transformer: any queryId: string environmentVariables?: Record ctx?: any schema?: Record } export interface QueryVariable { queryId: string name: string }