Files
angular-challenges/apps/router-testing/src/app/book.model.ts
2023-03-09 16:47:07 +01:00

18 lines
688 B
TypeScript

export interface Book {
name: string;
author: string;
}
export const availableBooks = [
{ name: 'To Kill a Mockingbird', author: 'Harper Lee' },
{ name: '1984', author: 'George Orwell' },
{ name: 'The Catcher in the Rye', author: 'J.D. Salinger' },
{ name: 'The Great Gats', author: 'F. Scott Fitzgerald' },
{ name: 'Pride and Prejudice', author: 'Jane Austen' },
{ name: 'The Hobbit', author: 'J.R.R. Tolkien' },
{ name: 'The Lord of the Rings', author: 'J.R.R. Tolkien' },
{ name: "Harry Potter and the Philosopher's Stone", author: 'J.K. Rowling' },
{ name: 'The Hunger Games', author: 'Suzanne Collins' },
{ name: 'Animal Farm', author: 'George Orwell' },
];