Phase 10 — Admin Role & Settings (ADMIN-01/02/03) #17

Merged
luckberg merged 25 commits from gsd/phase-10-admin-role-settings into main 2026-06-13 17:10:47 -04:00
Showing only changes of commit ac36e106ef - Show all commits
+2 -2
View File
@@ -268,7 +268,7 @@ const RESYNC_TIMEOUT_MS = 10_000;
*
* T-03-13: decrypted password is never logged.
*/
async function loadClientForUser(userId: number): Promise<FastmailClient> {
export async function loadClientForUser(userId: number): Promise<FastmailClient> {
const rows = await db
.select()
.from(memberCredentials)
@@ -299,7 +299,7 @@ async function loadClientForUser(userId: number): Promise<FastmailClient> {
* widening the window the decrypted app password lives in memory (T-03-13). When a cache
* is supplied, the decrypted client is built at most once per userId per drain cycle.
*/
async function triggerTargetedResync(
export async function triggerTargetedResync(
calendarUrl: string,
userId: number,
clientCache?: Map<number, FastmailClient>,