feat: Kategorie "Eigene Module" fuer selbst angelegte Eintraege
CUSTOM_MODULE_CATEGORIES = MODULE_CATEGORIES + custom-modules; API prueft dagegen, das Formular bietet sie an. Die Seitenleiste zeigt die Gruppe wie jede Kategorie nur mit Eintrag und stellt sie immer ans Ende. Nutzerwunsch 29.09.; ohne Migration (category ist Freitext mit IsIn-Pruefung). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -274,3 +274,16 @@ export const MODULE_CATEGORIES = [
|
||||
] as const;
|
||||
|
||||
export type ModuleCategory = (typeof MODULE_CATEGORIES)[number];
|
||||
|
||||
/**
|
||||
* Zusaetzliche Kategorie nur fuer eigene Module (Nutzerwunsch 29.09.2026):
|
||||
* „Eigene Module“ sammelt selbst angelegte Eintraege in einer eigenen Gruppe
|
||||
* der Seitenleiste. Wie jede Kategorie erscheint sie nur, wenn ein Eintrag
|
||||
* darin liegt, und steht immer zuletzt.
|
||||
*/
|
||||
export const CUSTOM_MODULE_CATEGORY = "custom-modules" as const;
|
||||
|
||||
/** Auswahl im Formular „Eigene Module“ und Pruefung in der API. */
|
||||
export const CUSTOM_MODULE_CATEGORIES = [...MODULE_CATEGORIES, CUSTOM_MODULE_CATEGORY] as const;
|
||||
|
||||
export type CustomModuleCategory = (typeof CUSTOM_MODULE_CATEGORIES)[number];
|
||||
|
||||
Reference in New Issue
Block a user