55 lines
2.3 KiB
TypeScript
55 lines
2.3 KiB
TypeScript
export default defineAppConfig({
|
|
packer: {
|
|
/**
|
|
* Icons of the activities. The activities themselves are the options of the table's `activity` field; one without
|
|
* an icon here gets a tag.
|
|
*/
|
|
activityIcons: {
|
|
'Fahrradfahren': 'i-lucide-bike',
|
|
'Schwimmen': 'i-lucide-waves',
|
|
'Camping': 'i-lucide-tent',
|
|
'Kochen': 'i-lucide-cooking-pot',
|
|
'Erholung': 'i-lucide-sofa',
|
|
'Periode': 'i-lucide-droplet',
|
|
'Wäsche waschen': 'i-lucide-washing-machine',
|
|
'Duschen': 'i-lucide-shower-head',
|
|
'Übernachtung': 'i-lucide-bed',
|
|
'Musik': 'i-lucide-headphones',
|
|
'Auto fahren': 'i-lucide-car',
|
|
'Fotografieren': 'i-lucide-camera',
|
|
'Wandern': 'i-lucide-footprints',
|
|
'Bergsteigen': 'i-lucide-mountain-snow',
|
|
'Klettern': 'i-lucide-mountain',
|
|
'Ausland': 'i-lucide-globe',
|
|
'Arbeiten': 'i-lucide-laptop',
|
|
'Ausgehen': 'i-lucide-party-popper'
|
|
} as Record<string, string>,
|
|
/** Icons of the options of the table's `weather` field, in the order of the switch; and the one picked on a fresh list */
|
|
weatherIcons: {
|
|
Sonnig: 'i-lucide-sun',
|
|
Bewölkt: 'i-lucide-cloud',
|
|
Windig: 'i-lucide-wind',
|
|
Regnerisch: 'i-lucide-cloud-rain'
|
|
} as Record<string, string>,
|
|
defaultWeather: 'Sonnig',
|
|
/** Weathers that come on top of the picked one (toggled on their own instead of being part of the switch) */
|
|
weatherExtras: ['Windig'],
|
|
/**
|
|
* Where to sleep: activities of which exactly one is picked on trips longer than a day (the first by default) and
|
|
* none on a day trip. They are offered as a switch instead of with the other activities.
|
|
*/
|
|
stays: ['Übernachtung', 'Camping'],
|
|
/** With this activity picked, items of the laundry categories are packed for at most `days` days */
|
|
laundry: { activity: 'Wäsche waschen', days: 4, categories: ['Kleidung'] },
|
|
/**
|
|
* Activities that turn on by themselves once the trip has at least `minDays` days and/or sleeps in `stay`, and off
|
|
* again when it no longer does. In between they can be switched by hand.
|
|
*/
|
|
autoActivities: [
|
|
{ activity: 'Wäsche waschen', minDays: 5 },
|
|
{ activity: 'Duschen', minDays: 2 },
|
|
{ activity: 'Kochen', stay: 'Camping' }
|
|
] as { activity: string, minDays?: number, stay?: string }[]
|
|
}
|
|
})
|