Skip to content

Instantly share code, notes, and snippets.

@daveyholler
Created December 16, 2021 21:21
Show Gist options
  • Save daveyholler/ceea49503a43dac489baf8fe4ccf6faf to your computer and use it in GitHub Desktop.
Save daveyholler/ceea49503a43dac489baf8fe4ccf6faf to your computer and use it in GitHub Desktop.
interface ICharacter {
id: string,
first_name: string,
last_name: string,
alias: string,
occupation: string,
city: string,
country: string,
date_of_birth: string,
created_at: string,
updated_at: string,
}
const characters: ICharacter[] = [
{
"id": 1,
"first_name": "Jack",
"last_name": "Shephard",
"alias": "Doc",
"occupation": "Spinal Surgeon",
"city": "Los Angeles",
"country": "United States",
"date_of_birth": "1969-12-03T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.604Z",
"updated_at": "2019-12-10T02:29:01.604Z"
},
{
"id": 2,
"first_name": "Kate",
"last_name": "Austen",
"alias": "Freckles",
"occupation": "Fugitive",
"city": "Arnes",
"country": "United States",
"date_of_birth": "1977-05-01T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.615Z",
"updated_at": "2019-12-10T02:29:01.615Z"
},
{
"id": 3,
"first_name": "Hugo",
"last_name": "Reyes",
"alias": "Hurley",
"occupation": "Chef",
"city": "Miami",
"country": "United States",
"date_of_birth": "1978-12-29T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.625Z",
"updated_at": "2019-12-10T02:29:01.625Z"
},
{
"id": 4,
"first_name": "James",
"last_name": "Ford",
"alias": "Sawyer",
"occupation": "Confidence Man",
"city": "Jasper",
"country": "United States",
"date_of_birth": "1968-04-15T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.634Z",
"updated_at": "2019-12-10T02:29:01.634Z"
},
{
"id": 5,
"first_name": "John",
"last_name": "Locke",
"alias": "The Man in Black",
"occupation": "Assistant Manager",
"city": "Tustin",
"country": "United States",
"date_of_birth": "1956-05-30T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.647Z",
"updated_at": "2019-12-10T02:29:01.647Z"
},
{
"id": 6,
"first_name": "Sayid",
"last_name": "Jarrah",
"alias": "Najeev",
"occupation": "Intelligence Officer",
"city": "Tikrit",
"country": "Iraq",
"date_of_birth": "1967-11-07T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.673Z",
"updated_at": "2019-12-10T02:29:01.673Z"
},
{
"id": 7,
"first_name": "Jin-Soo",
"last_name": "Kwon",
"alias": "Jin",
"occupation": "Manager",
"city": "Namhae",
"country": "South Korea",
"date_of_birth": "1974-11-27T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.688Z",
"updated_at": "2019-12-10T02:29:01.688Z"
},
{
"id": 8,
"first_name": "Sun-Hwa",
"last_name": "Kwon",
"alias": "Sun",
"occupation": "Managing Director",
"city": "Seoul",
"country": "South Korea",
"date_of_birth": "1980-03-20T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.697Z",
"updated_at": "2019-12-10T02:29:01.697Z"
},
{
"id": 9,
"first_name": "Claire",
"last_name": "Littleton",
"alias": "",
"occupation": "Tattoo Artist",
"city": "Sydney",
"country": "Australia",
"date_of_birth": "1982-10-27T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.706Z",
"updated_at": "2019-12-10T02:29:01.706Z"
},
{
"id": 10,
"first_name": "Charlie",
"last_name": "Pace",
"alias": "",
"occupation": "Bass Guitarist",
"city": "Manchester",
"country": "England",
"date_of_birth": "1976-12-21T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.720Z",
"updated_at": "2019-12-10T02:29:01.720Z"
},
{
"id": 11,
"first_name": "Benjamin",
"last_name": "Linus",
"alias": "Henry Gale",
"occupation": "Doctor",
"city": "Portland",
"country": "United States",
"date_of_birth": "1964-12-19T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.729Z",
"updated_at": "2019-12-10T02:29:01.729Z"
},
{
"id": 13,
"first_name": "Michael",
"last_name": "Dawson",
"alias": "Kevin Johnson",
"occupation": "Artist",
"city": "New York City",
"country": "United States",
"date_of_birth": "1970-01-01T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.775Z",
"updated_at": "2019-12-10T02:29:01.775Z"
},
{
"id": 14,
"first_name": "Desmond",
"last_name": "Hume",
"alias": "The Package",
"occupation": "Set Designer",
"city": "Glasgow",
"country": "Scotland",
"date_of_birth": "1970-12-09T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.784Z",
"updated_at": "2019-12-10T02:29:01.784Z"
},
{
"id": 15,
"first_name": "Daniel",
"last_name": "Faraday",
"alias": "Faraday",
"occupation": "Professor of Physics",
"city": "Oxford",
"country": "England",
"date_of_birth": "1978-12-29T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.803Z",
"updated_at": "2019-12-10T02:29:01.803Z"
},
{
"id": 12,
"first_name": "Juliet",
"last_name": "Burke",
"alias": "Blondie",
"occupation": "Doctor",
"city": "Miami",
"country": "United States",
"date_of_birth": "1964-12-19T00:00:00.000Z",
"created_at": "2019-12-10T02:29:01.740Z",
"updated_at": "2019-12-10T02:37:04.672Z"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment