mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
chore(deps): update dependency eslint-plugin-unicorn to v70 - abandoned (#29684)
* chore(deps): update dependency eslint-plugin-unicorn to v70 * fix: linting --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
parent
8061a2e5ff
commit
df970da59e
266 changed files with 1260 additions and 1212 deletions
|
|
@ -36,18 +36,20 @@ export const getKyselyConfig = (connection: DatabaseConnectionParams): KyselyCon
|
|||
}),
|
||||
}),
|
||||
log(event) {
|
||||
if (event.level === 'error') {
|
||||
if (isAssetChecksumConstraint(event.error)) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.error('Query failed :', {
|
||||
durationMs: event.queryDurationMillis,
|
||||
error: event.error,
|
||||
sql: event.query.sql,
|
||||
params: event.query.parameters,
|
||||
});
|
||||
if (event.level !== 'error') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isAssetChecksumConstraint(event.error)) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.error('Query failed :', {
|
||||
durationMs: event.queryDurationMillis,
|
||||
error: event.error,
|
||||
sql: event.query.sql,
|
||||
params: event.query.parameters,
|
||||
});
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
@ -523,6 +525,6 @@ export function vectorIndexQuery({ vectorExtension, table, indexName, lists }: V
|
|||
export const updateLockedColumns = <T extends Record<string, unknown> & { lockedProperties?: LockableProperty[] }>(
|
||||
exif: T,
|
||||
) => {
|
||||
exif.lockedProperties = lockableProperties.filter((property) => property in exif);
|
||||
exif.lockedProperties = lockableProperties.filter((property) => Object.hasOwn(exif, property));
|
||||
return exif;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue