@indicafix/types
Version:
useful package for type sharing in different services.
26 lines (25 loc) • 541 B
TypeScript
import { Language } from "./types";
export interface commonUser {
id: string;
acceptNotifications: boolean;
email: string;
name: string;
image: string;
phone: string;
jobRole: string;
area: string;
birthDate: string;
topics: string[];
challenges: string[];
twoFactorAuthentication: boolean;
role: Role;
language: Language;
}
export declare enum UserStatus {
active = "active",
inactive = "inactive"
}
export declare enum Role {
Customer = "Customer",
Admin = "Admin"
}