Files
blitzkit/packages/website/src/pages/[...chunk_api]/definitions/gallery.pb.ts
T

11 lines
294 B
TypeScript
Raw Normal View History

2026-09-27 17:19:39 -05:00
import { Gallery } from "@blitzkit/protos";
2026-09-23 10:25:47 -05:00
import { api } from "../../../api/dynamic";
2026-08-05 13:01:51 -05:00
2026-08-06 20:10:29 -05:00
export { getStaticPaths } from "../_index";
2026-08-05 13:01:51 -05:00
export async function GET() {
2026-08-30 14:26:08 -05:00
const definitions = await api.gallery();
2026-08-05 13:01:51 -05:00
const bytes = Gallery.encode(definitions).finish();
return new Response(bytes);
}