1 parent
4b6ecfbf5d
commit
5cfc8986d7
23 files changed
+147
-46
No files matched your search
@@ -7,11 +7,7 @@ export const PROJECT_REPOSITORY = Symbol('PROJECT_REPOSITORY');
|
||||
export interface IProjectRepository {
|
||||
/** Проект виден владельцу и участникам проекта (ProjectMember) */
|
||||
findById(id: string, userId: string): Promise<Project | null>;
|
||||
findAll(params: {
|
||||
limit: number;
|
||||
page: number;
|
||||
userId: string;
|
||||
}): Promise<{ list: Project[]; meta: PaginationMeta }>;
|
||||
findAll(params: { limit: number; page: number; userId: string }): Promise<{ list: Project[]; meta: PaginationMeta }>;
|
||||
create(project: Project): Promise<Project>;
|
||||
update(project: Project): Promise<void>;
|
||||
delete(id: string): Promise<void>;
|
||||
|
||||
Reference in new issue
Block a user