Fix TypeScript typecheck errors
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-30 15:56:06 +01:00
parent 916b204688
commit b1f9f7cee0
42 changed files with 324 additions and 72 deletions

View File

@@ -13,18 +13,36 @@ const fixtures = vi.hoisted(() => ({
invites: [
{
id: 1,
token: 'invite-token',
url: 'https://example.test/guest/demo-event',
qr_code_data_url: '',
label: null,
qr_code_data_url: null,
usage_limit: null,
usage_count: 0,
expires_at: null,
revoked_at: null,
is_active: true,
created_at: '2026-01-15T12:00:00Z',
metadata: {},
layouts: [
{
id: 'layout-1',
name: 'Poster Layout',
description: 'Layout description',
subtitle: 'Layout subtitle',
paper: 'a4',
orientation: 'portrait',
panel_mode: 'single',
preview: {
background: null,
background_gradient: null,
accent: null,
text: null,
},
formats: [],
},
],
layouts_url: null,
},
],
}));