forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB078b459Burak Boduroğlu2 months ago671 commits

getClassBlueprints.ts11 lines, 433 bytesHistoryRawDownload
1import { client } from "../client";
2import { normalizePage, pageQuery, type Page, type PageParams } from "../client";
3import type { ClassBlueprint } from "../client";
4
5export async function getClassBlueprints(
6 params?: PageParams,
7 signal?: AbortSignal,
8): Promise<Page<ClassBlueprint>> {
9 const data = await client<unknown>(`/classes/blueprints${pageQuery(params)}`, { signal });
10 return normalizePage<ClassBlueprint>(data);
11}