mirror of
https://github.com/djdevin/recflare.git
synced 2026-10-28 00:18:58 -07:00
[econ] stub for consumables that do not exist here
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user