Titel (vorangestellt): fachlich vorgegebene Liste
All checks were successful
CI / Lint, Typen, Tests, Build (push) Successful in 12m32s
CI / Migrationen auf leerer Datenbank (push) Successful in 11m11s
CI / Ausrollen (push) Successful in 7s

Neu: DI, Dipl.-Ing. (FH), DI (FH); Reihenfolge wie vorgegeben. Jeder
gespeicherte Titel steht auch in der neuen Liste. Migration
20261103100000 ersetzt chk_title_prefix_valid; lib/titles.ts fuehrt
dieselbe Liste fuer Formulare und Austauschdatei, tests/unit/titel.test.ts
gleicht beide ab.

Geprueft: lint, tsc, types:check, 1034 Tests, Waechter; alle Migrationen
auf leerer Datenbank (zweiter Lauf nichts anzuwenden), Rauchtest.
This commit is contained in:
2026-11-03 10:20:11 +01:00
parent 912ea38413
commit ebbb158bd3
3 changed files with 84 additions and 1 deletions

View File

@@ -3,6 +3,24 @@
// and nachgestellte akademische Grade (suffix, mostly Bologna-system
// Bachelor's/Master's degrees, follow the name after a comma). A person can
// hold several of either.
export const TITLE_PREFIXES: string[] = ["Dr.", "DDr.", "Dipl.-Ing.", "Ing.", "Mag.", "Mag. (FH)", "MMag.", "Dkfm.", "Priv.-Doz.", "Prof."];
//
// Die vorangestellten Titel sind fachlich vorgegeben, in dieser Reihenfolge.
// Dieselbe Liste prüft die Datenbank (chk_title_prefix_valid, Migration
// 20261103100000); tests/unit/titel.test.ts gleicht beide ab.
export const TITLE_PREFIXES: string[] = [
"Dr.",
"DDr.",
"Mag.",
"MMag.",
"Dipl.-Ing.",
"DI",
"Ing.",
"Mag. (FH)",
"Dipl.-Ing. (FH)",
"DI (FH)",
"Dkfm.",
"Prof.",
"Priv.-Doz.",
];
export const TITLE_SUFFIXES: string[] = ["BA", "BSc", "BEd", "BBA", "LLB", "MA", "MSc", "MBA", "MEd", "LLM", "PhD", "MBL"];