import type { IPagination, IUser } from '@think/domains'; import { HttpClient } from './http-client'; export const register = (data: Partial): Promise => { return HttpClient.post('/user/register', data); }; export const getUsers = (): Promise => { return HttpClient.get('/user'); };