brain/scripts
beo3000 51613ffe12 refactor(o365): extract authenticated graph client helper, add getEventById validation
Extract buildAuthenticatedClient() helper to eliminate duplicate MSAL token
acquisition logic in getCalendarEvents and getEventById. Add eventId validation
and error wrapping with cause chain in getEventById.

New tests verify eventId type and empty-string checks.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-06 21:03:30 +02:00
..
lib refactor(o365): extract authenticated graph client helper, add getEventById validation 2026-05-06 21:03:30 +02:00
test refactor(o365): extract authenticated graph client helper, add getEventById validation 2026-05-06 21:03:30 +02:00
.env.example initial commit 2026-04-12 21:32:15 +02:00
.gitignore initial commit 2026-04-12 21:32:15 +02:00
import_inventar.py upnote und kanote import 2026-04-20 20:56:18 +02:00
import_journal.py upnote und kanote import 2026-04-20 20:56:18 +02:00
import_kanote_inventar.py upnote und kanote import 2026-04-20 20:56:18 +02:00
import_meetings.py upnote und kanote import 2026-04-20 20:56:18 +02:00
import_notes.py upnote und kanote import 2026-04-20 20:56:18 +02:00
import_persons_lps.py upnote und kanote import 2026-04-20 20:56:18 +02:00
package-lock.json initial commit 2026-04-12 21:32:15 +02:00
package.json initial commit 2026-04-12 21:32:15 +02:00