This commit is contained in:
Moritz Utcke
2025-04-09 11:46:27 -04:00
parent 7665141a5a
commit 8daee69576
35 changed files with 307 additions and 194 deletions

View File

@@ -1,4 +1,4 @@
import { GEGNachweisWohnenClient, OptionalNullable, UUidWithPrefix, ZodOverlap } from "#components/Ausweis/types.js";
import { UUidWithPrefix } from "#components/Ausweis/types.js";
import { VALID_UUID_PREFIXES } from "#lib/constants.js";
import { generatePrefixedId } from "#lib/db.js";
import { exclude } from "#lib/exclude.js";
@@ -19,7 +19,8 @@ export const PATCH = defineApiRoute({
rechnung_id: true,
storniert: true,
updated_at: true,
zurueckgestellt: true
zurueckgestellt: true,
ausweisart: true
}),
output: z.void(),
headers: {

View File

@@ -25,7 +25,8 @@ export const PUT = defineApiRoute({
rechnung_id: true,
storniert: true,
updated_at: true,
zurueckgestellt: true
zurueckgestellt: true,
ausweisart: true
}),
aufnahme_id: UUidWithPrefix
}),