Initial
All checks were successful
Deploy / build (push) Successful in 49s

This commit is contained in:
alsaze
2025-11-19 20:49:25 +03:00
commit 3d975d6884
36 changed files with 27229 additions and 0 deletions

7
shared/types/posts.ts Normal file
View File

@@ -0,0 +1,7 @@
export interface Post {
userId: number
id: number
title: string
body: string
}
export type Posts = Post[]

31
shared/types/users.ts Normal file
View File

@@ -0,0 +1,31 @@
export interface UserCompany {
name: string
catchPhrase: string
bs: string
}
export interface UserAddressGeo {
lat: string
lng: string
}
export interface UserAddress {
street: string
suite: string
city: string
zipcode: string
geo: UserAddressGeo
}
export interface User {
id: number
name: string
username: string
email: string
address: UserAddress
phone: string
website: string
company: UserCompany
}
export type Users = User[]