mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
1aae29a0b8
* refactor: store latest immich version available on the server * don't store admins acknowledgement * merge main * fix: api * feat: custom interval * pr feedback * remove unused code * update environment-variables * pr feedback * ci: fix server tests * fix: dart number * pr feedback * remove proxy * pr feedback * feat: make stringToVersion more flexible * feat(web): disable check * feat: working version * remove env * fix: check if interval exists when updating the interval * feat: show last check * fix: tests * fix: remove availableVersion when updated * fix merge * fix: web * fix e2e tests * merge main * merge main * pr feedback * pr feedback * fix: tests * pr feedback * pr feedback * pr feedback * pr feedback * pr feedback * fix: migration * regenerate api * fix: typo * fix: compare versions * pr feedback * fix * pr feedback * fix: checkIntervalTime on startup * refactor: websockets and interval logic * chore: open api * chore: remove unused code * fix: use interval instead of cron * mobile: handle WS event data as json object --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com> Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
8 lines
193 B
TypeScript
8 lines
193 B
TypeScript
import { IServerInfoRepository } from '@app/domain';
|
|
|
|
export const newServerInfoRepositoryMock = (): jest.Mocked<IServerInfoRepository> => {
|
|
return {
|
|
getGitHubRelease: jest.fn(),
|
|
};
|
|
};
|