@enonic/mock-xp
Version:
Mock Enonic XP API JavaScript Library
11 lines (10 loc) • 567 B
TypeScript
import type { UserWithProfile as UserWithProfileInterface } from '@enonic-types/lib-auth';
import type { UserConstructorParams } from './User';
import { User } from './User';
export declare interface UserWithProfileConstructorParams extends UserConstructorParams {
profile?: Record<string, unknown>;
}
export declare class UserWithProfile extends User implements UserWithProfileInterface {
profile?: Record<string, unknown>;
constructor({ displayName, key, modifiedTime, email, idProvider, login, disabled, profile }: UserWithProfileConstructorParams);
}