mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(deps): update typescript-projects (#14892)
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
66849d0d45
commit
d1d26c60d6
16 changed files with 5360 additions and 3409 deletions
|
|
@ -83,7 +83,7 @@ from
|
|||
left join "users" on "users"."id" = "albumUsers"."usersId"
|
||||
and "users"."deletedAt" is null
|
||||
where
|
||||
array["assets"."id", "assets"."livePhotoVideoId"] && array[$1]::uuid []
|
||||
array["assets"."id", "assets"."livePhotoVideoId"] && array[$1]::uuid[]
|
||||
and (
|
||||
"albums"."ownerId" = $2
|
||||
or "users"."id" = $3
|
||||
|
|
@ -136,7 +136,7 @@ where
|
|||
"assets"."livePhotoVideoId",
|
||||
"albumAssets"."id",
|
||||
"albumAssets"."livePhotoVideoId"
|
||||
] && array[$2]::uuid []
|
||||
] && array[$2]::uuid[]
|
||||
|
||||
-- AccessRepository.authDevice.checkOwnerAccess
|
||||
select
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ with
|
|||
where
|
||||
"asset_job_status"."previewAt" is not null
|
||||
and (assets."localDateTime" at time zone 'UTC')::date = today.date
|
||||
and "assets"."ownerId" = any ($3::uuid [])
|
||||
and "assets"."ownerId" = any ($3::uuid[])
|
||||
and "assets"."isVisible" = $4
|
||||
and "assets"."isArchived" = $5
|
||||
and exists (
|
||||
|
|
@ -72,7 +72,7 @@ select
|
|||
from
|
||||
"assets"
|
||||
where
|
||||
"assets"."id" = any ($1::uuid [])
|
||||
"assets"."id" = any ($1::uuid[])
|
||||
|
||||
-- AssetRepository.getByIdsWithAllRelations
|
||||
select
|
||||
|
|
@ -130,7 +130,7 @@ from
|
|||
"asset_stack"."id"
|
||||
) as "stacked_assets" on "asset_stack"."id" is not null
|
||||
where
|
||||
"assets"."id" = any ($2::uuid [])
|
||||
"assets"."id" = any ($2::uuid[])
|
||||
|
||||
-- AssetRepository.deleteAll
|
||||
delete from "assets"
|
||||
|
|
@ -182,7 +182,7 @@ update "assets"
|
|||
set
|
||||
"deviceId" = $1
|
||||
where
|
||||
"id" = any ($2::uuid [])
|
||||
"id" = any ($2::uuid[])
|
||||
|
||||
-- AssetRepository.updateDuplicates
|
||||
update "assets"
|
||||
|
|
@ -190,8 +190,8 @@ set
|
|||
"duplicateId" = $1
|
||||
where
|
||||
(
|
||||
"duplicateId" = any ($2::uuid [])
|
||||
or "id" = any ($3::uuid [])
|
||||
"duplicateId" = any ($2::uuid[])
|
||||
or "id" = any ($3::uuid[])
|
||||
)
|
||||
|
||||
-- AssetRepository.getByChecksum
|
||||
|
|
@ -429,7 +429,7 @@ from
|
|||
"asset_stack"."id"
|
||||
) as "stacked_assets" on "asset_stack"."id" is not null
|
||||
where
|
||||
"assets"."ownerId" = any ($1::uuid [])
|
||||
"assets"."ownerId" = any ($1::uuid[])
|
||||
and "isVisible" = $2
|
||||
and "updatedAt" > $3
|
||||
limit
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ from
|
|||
where
|
||||
"assets"."fileCreatedAt" >= $1
|
||||
and "exif"."lensModel" = $2
|
||||
and "assets"."ownerId" = any ($3::uuid [])
|
||||
and "assets"."ownerId" = any ($3::uuid[])
|
||||
and "assets"."isFavorite" = $4
|
||||
and "assets"."isArchived" = $5
|
||||
and "assets"."deletedAt" is null
|
||||
|
|
@ -30,7 +30,7 @@ offset
|
|||
where
|
||||
"assets"."fileCreatedAt" >= $1
|
||||
and "exif"."lensModel" = $2
|
||||
and "assets"."ownerId" = any ($3::uuid [])
|
||||
and "assets"."ownerId" = any ($3::uuid[])
|
||||
and "assets"."isFavorite" = $4
|
||||
and "assets"."isArchived" = $5
|
||||
and "assets"."deletedAt" is null
|
||||
|
|
@ -50,7 +50,7 @@ union all
|
|||
where
|
||||
"assets"."fileCreatedAt" >= $8
|
||||
and "exif"."lensModel" = $9
|
||||
and "assets"."ownerId" = any ($10::uuid [])
|
||||
and "assets"."ownerId" = any ($10::uuid[])
|
||||
and "assets"."isFavorite" = $11
|
||||
and "assets"."isArchived" = $12
|
||||
and "assets"."deletedAt" is null
|
||||
|
|
@ -71,12 +71,12 @@ from
|
|||
where
|
||||
"assets"."fileCreatedAt" >= $1
|
||||
and "exif"."lensModel" = $2
|
||||
and "assets"."ownerId" = any ($3::uuid [])
|
||||
and "assets"."ownerId" = any ($3::uuid[])
|
||||
and "assets"."isFavorite" = $4
|
||||
and "assets"."isArchived" = $5
|
||||
and "assets"."deletedAt" is null
|
||||
order by
|
||||
smart_search.embedding <= > $6
|
||||
smart_search.embedding <=> $6
|
||||
limit
|
||||
$7
|
||||
offset
|
||||
|
|
@ -88,18 +88,18 @@ with
|
|||
select
|
||||
"assets"."id" as "assetId",
|
||||
"assets"."duplicateId",
|
||||
smart_search.embedding <= > $1 as "distance"
|
||||
smart_search.embedding <=> $1 as "distance"
|
||||
from
|
||||
"assets"
|
||||
inner join "smart_search" on "assets"."id" = "smart_search"."assetId"
|
||||
where
|
||||
"assets"."ownerId" = any ($2::uuid [])
|
||||
"assets"."ownerId" = any ($2::uuid[])
|
||||
and "assets"."deletedAt" is null
|
||||
and "assets"."isVisible" = $3
|
||||
and "assets"."type" = $4
|
||||
and "assets"."id" != $5::uuid
|
||||
order by
|
||||
smart_search.embedding <= > $6
|
||||
smart_search.embedding <=> $6
|
||||
limit
|
||||
$7
|
||||
)
|
||||
|
|
@ -116,16 +116,16 @@ with
|
|||
select
|
||||
"asset_faces"."id",
|
||||
"asset_faces"."personId",
|
||||
face_search.embedding <= > $1 as "distance"
|
||||
face_search.embedding <=> $1 as "distance"
|
||||
from
|
||||
"asset_faces"
|
||||
inner join "assets" on "assets"."id" = "asset_faces"."assetId"
|
||||
inner join "face_search" on "face_search"."faceId" = "asset_faces"."id"
|
||||
where
|
||||
"assets"."ownerId" = any ($2::uuid [])
|
||||
"assets"."ownerId" = any ($2::uuid[])
|
||||
and "assets"."deletedAt" is null
|
||||
order by
|
||||
face_search.embedding <= > $3
|
||||
face_search.embedding <=> $3
|
||||
limit
|
||||
$4
|
||||
)
|
||||
|
|
@ -171,7 +171,7 @@ with recursive
|
|||
"exif"
|
||||
inner join "assets" on "assets"."id" = "exif"."assetId"
|
||||
where
|
||||
"assets"."ownerId" = any ($1::uuid [])
|
||||
"assets"."ownerId" = any ($1::uuid[])
|
||||
and "assets"."isVisible" = $2
|
||||
and "assets"."isArchived" = $3
|
||||
and "assets"."type" = $4
|
||||
|
|
@ -196,7 +196,7 @@ with recursive
|
|||
"exif"
|
||||
inner join "assets" on "assets"."id" = "exif"."assetId"
|
||||
where
|
||||
"assets"."ownerId" = any ($6::uuid [])
|
||||
"assets"."ownerId" = any ($6::uuid[])
|
||||
and "assets"."isVisible" = $7
|
||||
and "assets"."isArchived" = $8
|
||||
and "assets"."type" = $9
|
||||
|
|
@ -226,7 +226,7 @@ from
|
|||
"exif"
|
||||
inner join "assets" on "assets"."id" = "exif"."assetId"
|
||||
where
|
||||
"ownerId" = any ($1::uuid [])
|
||||
"ownerId" = any ($1::uuid[])
|
||||
and "isVisible" = $2
|
||||
and "deletedAt" is null
|
||||
and "state" is not null
|
||||
|
|
@ -238,7 +238,7 @@ from
|
|||
"exif"
|
||||
inner join "assets" on "assets"."id" = "exif"."assetId"
|
||||
where
|
||||
"ownerId" = any ($1::uuid [])
|
||||
"ownerId" = any ($1::uuid[])
|
||||
and "isVisible" = $2
|
||||
and "deletedAt" is null
|
||||
and "city" is not null
|
||||
|
|
@ -250,7 +250,7 @@ from
|
|||
"exif"
|
||||
inner join "assets" on "assets"."id" = "exif"."assetId"
|
||||
where
|
||||
"ownerId" = any ($1::uuid [])
|
||||
"ownerId" = any ($1::uuid[])
|
||||
and "isVisible" = $2
|
||||
and "deletedAt" is null
|
||||
and "make" is not null
|
||||
|
|
@ -262,7 +262,7 @@ from
|
|||
"exif"
|
||||
inner join "assets" on "assets"."id" = "exif"."assetId"
|
||||
where
|
||||
"ownerId" = any ($1::uuid [])
|
||||
"ownerId" = any ($1::uuid[])
|
||||
and "isVisible" = $2
|
||||
and "deletedAt" is null
|
||||
and "model" is not null
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ insert into
|
|||
"system_metadata" ("key", "value")
|
||||
values
|
||||
($1, $2)
|
||||
on conflict ("key") do
|
||||
update
|
||||
on conflict ("key") do update
|
||||
set
|
||||
"value" = $3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue