export type FetchInit = { endpoint: string method: string headers?: HeadersInit body?: any }