Files
manage/frontend/src/users.d.ts
T
2026-05-04 13:50:53 +02:00

33 lines
616 B
TypeScript

import type { UserDirectoryItem } from "./types";
export interface UserDetailField {
label: string;
value: string;
}
export interface UserContactAction {
label: string;
enabled: boolean;
hint: string;
}
export interface UserContactState {
label: string;
description: string;
}
export interface UserDrawerModel {
title: string;
subtitle: string;
contactState: UserContactState;
contactActions: UserContactAction[];
identity: UserDetailField[];
permissions: string[];
syncStatus: string;
source: string;
}
export declare function buildUserDrawerModel(
user: UserDirectoryItem,
): UserDrawerModel;