first commit
This commit is contained in:
commit
8863184a41
42 files changed
+3660
No files matched your search
@@ -0,0 +1,86 @@
|
||||
interface RootObject {
|
||||
results: Result[];
|
||||
info: Info;
|
||||
}
|
||||
|
||||
interface Info {
|
||||
seed: string;
|
||||
results: number;
|
||||
page: number;
|
||||
version: string;
|
||||
}
|
||||
|
||||
interface Result {
|
||||
content: React.ReactNode;
|
||||
gender: string;
|
||||
name: Name;
|
||||
location: Location;
|
||||
email: string;
|
||||
login: Login;
|
||||
dob: Dob;
|
||||
registered: Dob;
|
||||
phone: string;
|
||||
cell: string;
|
||||
id: Id;
|
||||
picture: Picture;
|
||||
nat: string;
|
||||
}
|
||||
|
||||
interface Picture {
|
||||
large: string;
|
||||
medium: string;
|
||||
thumbnail: string;
|
||||
}
|
||||
|
||||
interface Id {
|
||||
name: string;
|
||||
value: null | string;
|
||||
}
|
||||
|
||||
interface Dob {
|
||||
date: string;
|
||||
age: number;
|
||||
}
|
||||
|
||||
interface Login {
|
||||
uuid: string;
|
||||
username: string;
|
||||
password: string;
|
||||
salt: string;
|
||||
md5: string;
|
||||
sha1: string;
|
||||
sha256: string;
|
||||
}
|
||||
|
||||
interface Location {
|
||||
street: Street;
|
||||
city: string;
|
||||
state: string;
|
||||
country: string;
|
||||
postcode: number | string;
|
||||
coordinates: Coordinates;
|
||||
timezone: Timezone;
|
||||
}
|
||||
|
||||
interface Timezone {
|
||||
offset: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
interface Coordinates {
|
||||
latitude: string;
|
||||
longitude: string;
|
||||
}
|
||||
|
||||
interface Street {
|
||||
number: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface Name {
|
||||
title: string;
|
||||
first: string;
|
||||
last: string;
|
||||
}
|
||||
|
||||
export type { Result, Name, Picture, Location, Login };
|
||||
Reference in new issue
Block a user