import { Resource, ResourceKind } from '~/models/resource';
-export type userPrefs = {
+export type UserPrefs = {
profile?: {
organization?: string,
organization_email?: string,
lastName: string;
uuid: string;
ownerUuid: string;
- identityUrl: string;
- prefs: userPrefs;
+ username: string;
+ prefs: UserPrefs;
+ isAdmin: boolean;
+ isActive: boolean;
}
export const getUserFullname = (user?: User) => {
username: string;
firstName: string;
lastName: string;
- identityUrl: string;
isAdmin: boolean;
- prefs: string;
+ prefs: UserPrefs;
defaultOwnerUuid: string;
isActive: boolean;
writableBy: string[];
-}
\ No newline at end of file
+}