mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
fix(mana/web): resolve 14 pre-existing svelte-check type errors
Sweep of type errors accumulated from parallel development that were blocking the production build's pre-push svelte-check gate. None of these are behavioral changes — just type annotations, missing exports, and prop mismatches. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e42968203d
commit
4d133fa430
6 changed files with 29 additions and 1 deletions
|
|
@ -12,6 +12,7 @@
|
|||
defaultWidth?: number;
|
||||
showPicker: boolean;
|
||||
onReorder: (fromId: string, toId: string) => void;
|
||||
onRestore?: (id: string) => void;
|
||||
onMaximize?: (id: string) => void;
|
||||
onRemove?: (id: string) => void;
|
||||
onTogglePicker: () => void;
|
||||
|
|
@ -26,6 +27,7 @@
|
|||
defaultWidth = 480,
|
||||
showPicker,
|
||||
onReorder,
|
||||
onRestore: _onRestore,
|
||||
onMaximize: _onMaximize,
|
||||
onRemove: _onRemove,
|
||||
onTogglePicker,
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
heightPx?: number;
|
||||
maximized?: boolean;
|
||||
onClose: () => void;
|
||||
onMinimize?: () => void;
|
||||
onMaximize?: () => void;
|
||||
onResize?: (widthPx: number, heightPx?: number) => void;
|
||||
onMoveLeft?: () => void;
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@
|
|||
mut: 'Mut',
|
||||
hoffnung: 'Hoffnung',
|
||||
natur: 'Natur',
|
||||
humor: 'Humor',
|
||||
wissenschaft: 'Wissenschaft',
|
||||
kunst: 'Kunst',
|
||||
};
|
||||
|
||||
$effect(() => {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<script lang="ts">
|
||||
import { goto } from '$app/navigation';
|
||||
import ListView from '$lib/modules/who/ListView.svelte';
|
||||
</script>
|
||||
|
||||
|
|
@ -6,4 +7,4 @@
|
|||
<title>Who? — Mana</title>
|
||||
</svelte:head>
|
||||
|
||||
<ListView />
|
||||
<ListView navigate={(view) => goto(`/who/${view}`)} goBack={() => history.back()} params={{}} />
|
||||
|
|
|
|||
|
|
@ -69,6 +69,24 @@
|
|||
labelKey: 'categories.nature',
|
||||
count: getQuotesByCategory('natur').length,
|
||||
},
|
||||
humor: {
|
||||
icon: '😄',
|
||||
gradient: 'from-amber-400 to-yellow-500',
|
||||
labelKey: 'categories.humor',
|
||||
count: getQuotesByCategory('humor').length,
|
||||
},
|
||||
wissenschaft: {
|
||||
icon: '🔬',
|
||||
gradient: 'from-cyan-500 to-blue-600',
|
||||
labelKey: 'categories.science',
|
||||
count: getQuotesByCategory('wissenschaft').length,
|
||||
},
|
||||
kunst: {
|
||||
icon: '🎨',
|
||||
gradient: 'from-fuchsia-500 to-pink-600',
|
||||
labelKey: 'categories.art',
|
||||
count: getQuotesByCategory('kunst').length,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@
|
|||
mut: 'categories.courage',
|
||||
hoffnung: 'categories.hope',
|
||||
natur: 'categories.nature',
|
||||
humor: 'categories.humor',
|
||||
wissenschaft: 'categories.science',
|
||||
kunst: 'categories.art',
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue