mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
12 lines
331 B
TypeScript
12 lines
331 B
TypeScript
import { SkillDefinitions } from "@blitzkit/core";
|
|
import { api } from "../../../../core/blitzkit/api";
|
|
|
|
export { getStaticPaths } from "../../_index";
|
|
|
|
export async function GET() {
|
|
const definitions = await api.skillDefinitions();
|
|
const bytes = SkillDefinitions.encode(definitions).finish();
|
|
|
|
return new Response(bytes);
|
|
}
|