mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-24 06:34:18 +01:00
12 lines
325 B
TypeScript
12 lines
325 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);
|
|
}
|