This commit is contained in:
26
node_modules/@reduxjs/toolkit/src/entities/tests/fixtures/book.ts
generated
vendored
Normal file
26
node_modules/@reduxjs/toolkit/src/entities/tests/fixtures/book.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
export interface BookModel {
|
||||
id: string
|
||||
title: string
|
||||
author?: string
|
||||
}
|
||||
|
||||
export const AClockworkOrange: BookModel = Object.freeze({
|
||||
id: 'aco',
|
||||
title: 'A Clockwork Orange',
|
||||
})
|
||||
|
||||
export const AnimalFarm: BookModel = Object.freeze({
|
||||
id: 'af',
|
||||
title: 'Animal Farm',
|
||||
})
|
||||
|
||||
export const TheGreatGatsby: BookModel = Object.freeze({
|
||||
id: 'tgg',
|
||||
title: 'The Great Gatsby',
|
||||
})
|
||||
|
||||
export const TheHobbit: BookModel = Object.freeze({
|
||||
id: 'th',
|
||||
title: 'The Hobbit',
|
||||
author: 'J. R. R. Tolkien',
|
||||
})
|
||||
Reference in New Issue
Block a user