[openapi] define missing routes

This commit is contained in:
Devin Zuczek
2026-08-25 12:41:31 -04:00
parent 3b5e47c39d
commit 6a9a1a95b5
9 changed files with 650 additions and 111 deletions
+11
View File
@@ -728,6 +728,17 @@ export const PlayerEventResultDto = z.object({
}),
})
/**
* The envelope a delete answers with. Same three keys as {@link PlayerEventResultDto},
* but both payload fields are null — the event is gone, so there is nothing to redraw
* and the client reads only `Result`.
*/
export const PlayerEventDeletedDto = z.object({
PlayerEvent: z.null(),
Result: z.int().describe('0 = success'),
TagModifyResult: z.null(),
})
/**
* The JSON body of an event create / update. Every field is optional: create defaults
* what's missing, update leaves anything absent at its stored value. The fields may be