|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
502 bytes
|
| Rev | Line | |
|---|
| [a762898] | 1 | export interface BookModel {
|
|---|
| 2 | id: string
|
|---|
| 3 | title: string
|
|---|
| 4 | author?: string
|
|---|
| 5 | }
|
|---|
| 6 |
|
|---|
| 7 | export const AClockworkOrange: BookModel = Object.freeze({
|
|---|
| 8 | id: 'aco',
|
|---|
| 9 | title: 'A Clockwork Orange',
|
|---|
| 10 | })
|
|---|
| 11 |
|
|---|
| 12 | export const AnimalFarm: BookModel = Object.freeze({
|
|---|
| 13 | id: 'af',
|
|---|
| 14 | title: 'Animal Farm',
|
|---|
| 15 | })
|
|---|
| 16 |
|
|---|
| 17 | export const TheGreatGatsby: BookModel = Object.freeze({
|
|---|
| 18 | id: 'tgg',
|
|---|
| 19 | title: 'The Great Gatsby',
|
|---|
| 20 | })
|
|---|
| 21 |
|
|---|
| 22 | export const TheHobbit: BookModel = Object.freeze({
|
|---|
| 23 | id: 'th',
|
|---|
| 24 | title: 'The Hobbit',
|
|---|
| 25 | author: 'J. R. R. Tolkien',
|
|---|
| 26 | })
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.