Phase 2: Docker and OIDC auth
This commit is contained in:
Vendored
+32
@@ -0,0 +1,32 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user