Improve Angular project structure and code organization (#1328)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import {Book} from '../book.model';
|
||||
|
||||
export interface BookState {
|
||||
books: Book[] | null;
|
||||
loaded: boolean;
|
||||
error: string | null;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import {Library} from '../library.model';
|
||||
|
||||
export interface LibraryState {
|
||||
libraries: Library[] | null;
|
||||
loaded: boolean;
|
||||
error: string | null;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import {Shelf} from '../shelf.model';
|
||||
|
||||
export interface ShelfState {
|
||||
shelves: Shelf[] | null;
|
||||
loaded: boolean;
|
||||
error: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user