feat: plugins

chore: better types

feat: plugins
This commit is contained in:
Jason Rasmussen
2026-03-05 18:14:29 -05:00
parent b0c9743d9a
commit d7c5406b8b
144 changed files with 6099 additions and 7419 deletions
@@ -76,7 +76,7 @@ export const envData: EnvData = {
root: '/build/www',
indexHtml: '/build/www/index.html',
},
corePlugin: '/build/corePlugin',
corePlugin: '/build/plugins/immich-plugin-core',
},
setup: {
@@ -53,7 +53,8 @@ export const newStorageRepositoryMock = (): Mocked<RepositoryInterface<StorageRe
createGzip: vitest.fn(),
createGunzip: vitest.fn(),
readFile: vitest.fn(),
readTextFile: vitest.fn(),
readJsonFile: vitest.fn() as Mocked<StorageRepository>['readJsonFile'],
readdirWithTypes: vitest.fn(),
createFile: vitest.fn(),
createWriteStream: vitest.fn(),
createOrOverwriteFile: vitest.fn(),