Logo
Explore Help
Register Sign In
immich-app/immich
1
0
Fork 0
You've already forked immich
mirror of https://github.com/immich-app/immich.git synced 2025-12-21 09:15:44 +03:00
Code Issues Packages Projects Releases 18 Wiki Activity
Files
44ed1f091957f061c837767cc1d5dafc36d592e5
immich/server/test/repositories/audit.repository.mock.ts

9 lines
219 B
TypeScript
Raw Normal View History

chore(server): move domain interfaces (#8124) move domain interfaces
2024-03-20 21:42:58 +01:00
import { IAuditRepository } from 'src/interfaces/audit.repository';
feat(server): asset entity audit (#3824) * feat(server): audit log * feedback * Insert to database * migration * test * controller/repository/service * test * module * feat(server): implement audit endpoint * directly return changed assets * add daily cleanup of audit table * fix tests * review feedback * ci * refactor(server): audit implementation * chore: open api --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com> Co-authored-by: Fynn Petersen-Frey <zoodyy@users.noreply.github.com> Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2023-08-24 21:28:50 +02:00
export const newAuditRepositoryMock = (): jest.Mocked<IAuditRepository> => {
return {
getAfter: jest.fn(),
removeBefore: jest.fn(),
};
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 103ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API