Created
January 19, 2022 11:57
-
-
Save royib/bee339a7e6992ea7ef7ad2b7f6c4cb3b to your computer and use it in GitHub Desktop.
data services abstraction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Author, Book, Genre } from '../entities'; | |
import { IGenericRepository } from './generic-repository.abstract'; | |
export abstract class IDataServices { | |
abstract authors: IGenericRepository<Author>; | |
abstract books: IGenericRepository<Book>; | |
abstract genres: IGenericRepository<Genre>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment