import type { FetchError } from '../errors/FetchError' import type { QueryVariables } from './Query' export type FetchType = | 'create' | 'read' | 'update' | 'json-patch' | 'replace' | 'delete' export interface QueryExecuteOptions { variables?: QueryVariables signal?: AbortSignal onComplete?: (data: any) => void onError?: (error: FetchError) => void }