import {apiClient} from "../../../../../api/apiClient.ts"; import type {PageResponse} from "../../../../../type/pageResponse.ts"; import type {AuthorListItem, AuthorSearchParams} from "../type/author.types.ts"; export async function fetchAuthorList(params: AuthorSearchParams) { return apiClient.get>(`/sec/ram/list.do`, params); } export async function fetchAuthorDetail(authorCode: string) { return apiClient.get(`/sec/ram/detail.do?authorCode=${authorCode}`); }