forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB4e0a329Burak Boduroğlu2 months ago537 commits

postClassBlueprintApply.ts10 lines, 436 bytesHistoryRawDownload
1import { client } from "../client";
2import type { BlueprintApplyResult } from "../client";
3
4// Applies this class's grade blueprint to this one class. A 404 means either
5// the class is gone or no blueprint covers its grade.
6export function postClassBlueprintApply(classId: string): Promise<BlueprintApplyResult> {
7 return client<BlueprintApplyResult>(`/classes/${encodeURIComponent(classId)}/blueprint`, {
8 method: "POST",
9 });
10}