libs/tasks/domain/src/lib/tasks-repository.interface.ts
Methods |
findAll |
findAll()
|
Returns :
Promise<Task[]>
|
import { Task } from './entities/task.entity';
export interface TasksRepository {
findAll(): Promise<Task[]>;
}
export const TASKS_REPOSITORY = Symbol('TASKS_REPOSITORY');