WIP 1.51.14: GET /me carries the session fields the app needs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdg2GYqbnKZmPaX1ot
This commit is contained in:
2026-10-30 08:07:06 +02:00
co-authored by Claude Opus 5.5
parent e95d52ccdd
commit 8747431bd5
8 changed files with 111 additions and 14 deletions
+8 -1
View File
@@ -1233,7 +1233,9 @@ export interface paths {
};
/**
* The signed-in person
* @description **Who:** Any signed-in person.
* @description With what the app asks after sign-in (`newsPromptPending`, `noticePromptPending`), whether two-step sign-in is required for their role, and the campuses they're limited to (`campusScope`, null = every campus). Viewing as someone else never prompts.
*
* **Who:** Any signed-in person.
*/
get: operations["getMe"];
put?: never;
@@ -11122,6 +11124,11 @@ export interface operations {
homeCampusId: string | null;
/** Format: date-time */
createdAt: string;
/** @description Their role must use two-step sign-in */
twoFactorRequired: boolean;
newsPromptPending: boolean;
noticePromptPending: false | ("first" | "updated");
campusScope: string[] | null;
};
};
};