Show build info

This commit is contained in:
MartinBraquet
2025-12-15 10:22:05 +02:00
parent e231f016d6
commit 8a4dc44fbc
6 changed files with 54 additions and 3 deletions

View File

@@ -45,7 +45,12 @@ export const API = (_apiTypeCheck = {
authed: false,
rateLimited: false,
props: z.object({}),
returns: {} as { message: 'Server is working.'; uid?: string },
returns: {} as {
message: 'Server is working.'
uid?: string
version?: string
git?: { revision?: string; commitDate?: string; author?: string }
},
summary: 'Check whether the API server is running',
tag: 'General',
},