Files
SerpentRace/SerpentRace_Backend/dist/Infrastructure/Repository/ChatArchiveRepository.d.ts
T

14 lines
817 B
TypeScript

import { ChatArchiveAggregate } from '../../Domain/Chat/ChatArchiveAggregate';
import { IChatArchiveRepository } from '../../Domain/IRepository/IChatArchiveRepository';
export declare class ChatArchiveRepository implements IChatArchiveRepository {
private repo;
constructor();
create(archive: Partial<ChatArchiveAggregate>): Promise<Partial<ChatArchiveAggregate> & ChatArchiveAggregate>;
findAll(): Promise<ChatArchiveAggregate[]>;
findById(id: string): Promise<ChatArchiveAggregate | null>;
findByChatId(chatId: string): Promise<ChatArchiveAggregate[]>;
findByGameId(gameId: string): Promise<ChatArchiveAggregate[]>;
delete(id: string): Promise<import("typeorm").DeleteResult>;
cleanup(olderThanDays: number): Promise<number>;
}
//# sourceMappingURL=ChatArchiveRepository.d.ts.map