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