mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
🚀 release v3.0.0
This commit is contained in:
41
schema/src/basics.ts
Normal file
41
schema/src/basics.ts
Normal file
@ -0,0 +1,41 @@
|
||||
export type Location = {
|
||||
address: string;
|
||||
city: string;
|
||||
region: string;
|
||||
country: string;
|
||||
postalCode: string;
|
||||
};
|
||||
|
||||
export type Profile = {
|
||||
id?: string;
|
||||
network: string;
|
||||
username: string;
|
||||
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 = {
|
||||
name: string;
|
||||
photo: Photo;
|
||||
email: string;
|
||||
phone: string;
|
||||
website: string;
|
||||
headline: string;
|
||||
summary: string;
|
||||
location: Location;
|
||||
profiles: Profile[];
|
||||
};
|
||||
Reference in New Issue
Block a user