mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-05-07 19:06:47 +02:00
8 lines
307 B
TypeScript
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
|
|
}
|