This commit is contained in:
2026-07-27 18:29:06 +02:00
parent 70d97aa970
commit 90dfedf098

View File

@@ -11,6 +11,10 @@ const updateQRSchema = z.object({
content: z.any().optional(),
tags: z.array(z.string()).optional(),
style: z.any().optional(),
// Pausing frees a dynamic code slot without deleting the code or its scan
// history. Used by the upgrade modal so hitting the limit has an exit that
// costs nothing and destroys nothing.
status: z.enum(['ACTIVE', 'PAUSED']).optional(),
});
// GET /api/qrs/[id] - Get a single QR code