32 lines
420 B
Plaintext
32 lines
420 B
Plaintext
enum Gender {
|
|
None = 0,
|
|
Male = 1,
|
|
Female = 2,
|
|
Other = 3
|
|
}
|
|
|
|
type Profile {
|
|
id: string;
|
|
name: string;
|
|
username: string;
|
|
birthday?: int;
|
|
gender: Gender;
|
|
}
|
|
|
|
type Mail {
|
|
mail: string;
|
|
verified: boolean;
|
|
primary: boolean;
|
|
}
|
|
|
|
type Phone {
|
|
phone: string;
|
|
verified: boolean;
|
|
primary: boolean;
|
|
}
|
|
|
|
type ContactInfo {
|
|
mail: Mail[];
|
|
phone: Phone[];
|
|
}
|