feat(pages): add contact page
This commit is contained in:
@@ -3,6 +3,8 @@ import type { ApiError } from '~/types/api/error';
|
||||
import type { HttpMethod } from '~/types/http-method';
|
||||
import { QueryResult } from '~/types/query-result';
|
||||
|
||||
export type UseApiResponse<T, B = unknown> = QueryResult<T, B>;
|
||||
|
||||
export interface UseApi {
|
||||
get: <T>(path: string, opts?: FetchOptions, immediate?: boolean) => UseApiResponse<T>;
|
||||
del: <T>(path: string, opts?: FetchOptions, immediate?: boolean) => UseApiResponse<T>;
|
||||
|
||||
Reference in New Issue
Block a user