https://project.mdnd-it.cc/work_packages/94
This commit is contained in:
2025-08-23 04:25:28 +02:00
parent 725516ad6c
commit 19cfa031d0
25823 changed files with 1095587 additions and 2801760 deletions
@@ -0,0 +1,29 @@
import { OrganizationAggregate } from '../../Domain/Organization/OrganizationAggregate';
import { IOrganizationRepository } from '../../Domain/IRepository/IOrganizationRepository';
export declare class OrganizationRepository implements IOrganizationRepository {
private repo;
constructor();
create(org: Partial<OrganizationAggregate>): Promise<Partial<OrganizationAggregate> & OrganizationAggregate>;
findByPage(from: number, to: number): Promise<{
organizations: OrganizationAggregate[];
totalCount: number;
}>;
findByPageIncludingDeleted(from: number, to: number): Promise<{
organizations: OrganizationAggregate[];
totalCount: number;
}>;
findById(id: string): Promise<OrganizationAggregate | null>;
findByIdIncludingDeleted(id: string): Promise<OrganizationAggregate | null>;
update(id: string, update: Partial<OrganizationAggregate>): Promise<OrganizationAggregate | null>;
delete(id: string): Promise<import("typeorm").DeleteResult>;
softDelete(id: string): Promise<OrganizationAggregate | null>;
search(query: string, limit?: number, offset?: number): Promise<{
organizations: OrganizationAggregate[];
totalCount: number;
}>;
searchIncludingDeleted(query: string, limit?: number, offset?: number): Promise<{
organizations: OrganizationAggregate[];
totalCount: number;
}>;
}
//# sourceMappingURL=OrganizationRepository.d.ts.map