fix: resolve typescript and build errors across admin and guest apps
This commit is contained in:
@@ -71,7 +71,7 @@ describe('LimitWarnings', () => {
|
||||
used: 100,
|
||||
remaining: 0,
|
||||
percentage: 100,
|
||||
state: 'limit_reached',
|
||||
state: 'limit_reached' as const,
|
||||
threshold_reached: null,
|
||||
next_threshold: null,
|
||||
thresholds: [],
|
||||
|
||||
@@ -39,9 +39,9 @@ describe('buildInitialTextFields', () => {
|
||||
});
|
||||
|
||||
describe('resolveLayoutForFormat', () => {
|
||||
const layouts: EventQrInviteLayout[] = [
|
||||
{ id: 'portrait-a4', paper: 'a4', orientation: 'portrait', panel_mode: 'single', format_hint: 'poster-a4' } as EventQrInviteLayout,
|
||||
{ id: 'foldable', paper: 'a4', orientation: 'landscape', panel_mode: 'double-mirror', format_hint: 'foldable-a5' } as EventQrInviteLayout,
|
||||
const layouts = [
|
||||
{ id: 'portrait-a4', paper: 'a4', orientation: 'portrait', panel_mode: 'single', format_hint: 'poster-a4' } as any as EventQrInviteLayout,
|
||||
{ id: 'foldable', paper: 'a4', orientation: 'landscape', panel_mode: 'double-mirror', format_hint: 'foldable-a5' } as any as EventQrInviteLayout,
|
||||
];
|
||||
|
||||
it('returns portrait layout for A4 poster', () => {
|
||||
|
||||
Reference in New Issue
Block a user