Files
donutbrowser/donut-sync/src/auth/user-context.interface.ts
T
2026-03-02 15:49:26 +04:00

8 lines
307 B
TypeScript

export interface UserContext {
mode: "self-hosted" | "cloud";
prefix: string; // '' for self-hosted, 'users/{id}/' for cloud
teamPrefix: string | null; // 'teams/{id}/' or null
profileLimit: number; // 0 for unlimited (self-hosted)
teamProfileLimit: number; // 0 for unlimited or non-team users
}