export type PostCall = [path: string, options?: unknown];

export const postCalls: PostCall[] = [];

export const apiClient = {
  POST: (path: string, options?: unknown) => {
    postCalls.push([path, options]);
    return Promise.resolve({ data: null } as const);
  },
  GET: () => Promise.resolve({ data: null } as const),
  PUT: () => Promise.resolve({ data: null } as const),
  PATCH: () => Promise.resolve({ data: null } as const),
  DELETE: () => Promise.resolve({ data: null } as const),
};

export const configureApiClientAuth = () => undefined;
