[econ] stub for consumables that do not exist here

This commit is contained in:
Devin Zuczek
2026-10-14 00:00:24 -04:00
parent ee725056d2
commit 94b106c12f
3 changed files with 54 additions and 0 deletions
+11
View File
@@ -1299,6 +1299,17 @@ export const ConsumeConsumableRequest = z.object({
DeltaCount: z.int().optional().describe('How many to spend; defaults to 1'),
})
/**
* `POST /api/consumables/v1/query/bulk` form body — `descriptors` repeated once per
* consumable to look up.
*/
export const QueryConsumablesRequest = z.object({
descriptors: z
.union([z.string(), z.array(z.string())])
.optional()
.describe('A ConsumableItemDesc; the key repeats for each one asked about'),
})
/**
* `POST /api/consumables/v1/updateActive` JSON body — the client marking one of its
* consumables active or not. Accepted and NOT acted on yet; see the route.