/
WorldOfYuri
/
react-1
Обзор
Документация
Войти
/
WorldOfYuri
/
react-1
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/types/types.ts
36 строк
682 B
Юрий Кузмичев
add ts
19 июл 2023, 16:05
19 июл 2023, 16:05
9c39569
Код
Авторство
О чём код?
export type PostType = { id: number; message: string; likesCount: number; }; export type ContactsType = { github: string; vk: string; facebook: string; instagramm: string; website: string; yourube: string; mainLink: string; }; export type PhotosType = { small: string | null; large: string | null; }; export type ProfileType = { userId: number; lookingForAJob: boolean; lookingForAJobDescription: string; fullName: string; contacts: ContactsType; photos: PhotosType; aboutMe: string; }; export type UserType = { id: number; name: string; status: string; photos: PhotosType; followed: boolean; };