export type Param = { [key in string]: any };

export const gHeaders: Param = {
  ["Content-Type"]: "application/json",
};
export const gPaths: Param = {};
export const gParams: Param = {};

export const errorHook: ((code: number, msg: string) => void)[] = [];
export const lifeHook: { start: () => void; end: () => void }[] = [];
export const basePath = "/api";
