import type { AdminUser } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type SignInInput = { email: string password: string } const signIn = (http: HttpClient) => ({ query: ( input: SignInInput, ): Promise> => { return http.post(`v3/admin/auth/sign_in`, input) }, }) export default signIn