Reactive-Resume/schema/src/basics.ts

43 lines
701 B
TypeScript
Raw Normal View History

2022-03-02 16:44:11 +00:00
export type Location = {
2022-03-06 21:48:29 +00:00
address: string;
city: string;
region: string;
country: string;
postalCode: string;
2022-03-02 16:44:11 +00:00
};
export type Profile = {
id?: string;
2022-03-06 21:48:29 +00:00
network: string;
username: string;
2022-03-02 16:44:11 +00:00
url?: string;
};
export type PhotoShape = 'square' | 'rounded-square' | 'circle';
export type PhotoFilters = {
size: number;
shape: PhotoShape;
border: boolean;
grayscale: boolean;
};
export type Photo = {
url?: string;
visible: boolean;
filters: PhotoFilters;
};
export type Basics = {
2022-03-06 21:48:29 +00:00
name: string;
photo: Photo;
email: string;
phone: string;
website: string;
headline: string;
2022-04-30 10:58:17 +00:00
birthdate: string;
2022-03-06 21:48:29 +00:00
summary: string;
location: Location;
profiles: Profile[];
2022-03-02 16:44:11 +00:00
};