feat: compulsory save guid + db dir cleanup
This commit is contained in:
@@ -48,7 +48,7 @@ const PostLogRequestParamsSchema = z.object({
|
||||
description: "Version of the game that generated this log",
|
||||
example: "1.7.0",
|
||||
}),
|
||||
saveGuid: z.string().uuid().optional().openapi({
|
||||
saveGuid: z.string().uuid().openapi({
|
||||
title: "Save GUID",
|
||||
description:
|
||||
"A unique identifier for a whole game, which can be part of a multi-session game",
|
||||
@@ -185,7 +185,7 @@ export const contract = c.router(
|
||||
{
|
||||
postLog: {
|
||||
method: "POST",
|
||||
path: "/logs/:gameName/:version/:saveGuid?/:sessionGuid",
|
||||
path: "/logs/:gameName/:version/:saveGuid/:sessionGuid",
|
||||
body: PostLogRequestBodySchema,
|
||||
pathParams: PostLogRequestParamsSchema,
|
||||
responses: {
|
||||
|
||||
Reference in New Issue
Block a user