mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 15:52:55 +01:00
some equipment groundwork
This commit is contained in:
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());
|
||||
}
|
||||
Reference in new issue
Block a user