some equipment groundwork

This commit is contained in:
tresabhi committed 2026-05-20 13:09:19 -05:00
1 parent d3ab4bac51
commit a2574efb9c
10 files changed
+105 -1

No files matched your search

@@ -0,0 +1,9 @@
import { Consumables } from "@protos/consumables";
import { api } from "../../api/dynamic";
export { getStaticPaths } from "./_index";
export async function GET() {
const consumables = await api.consumables();
return new Response(Consumables.encode(consumables).finish());
}
@@ -0,0 +1,9 @@
import { TierPrices } from "@protos/tier_prices";
import { api } from "../../api/dynamic";
export { getStaticPaths } from "./_index";
export async function GET() {
const tierPrices = await api.tierPrices();
return new Response(TierPrices.encode(tierPrices).finish());
}