Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update typescript-projects #14892

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
318 changes: 151 additions & 167 deletions cli/package-lock.json

Large diffs are not rendered by default.

7,083 changes: 4,506 additions & 2,577 deletions docs/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "~3.5.2",
"@docusaurus/preset-classic": "~3.5.2",
"@docusaurus/core": "~3.7.0",
"@docusaurus/preset-classic": "~3.7.0",
"@mdi/js": "^7.3.67",
"@mdi/react": "^1.6.1",
"@mdx-js/react": "^3.0.0",
Expand All @@ -35,7 +35,7 @@
"url": "^0.11.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "~3.5.2",
"@docusaurus/module-type-aliases": "~3.7.0",
"prettier": "^3.2.4",
"typescript": "^5.1.6"
},
Expand Down
285 changes: 127 additions & 158 deletions e2e/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions open-api/typescript-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,363 changes: 717 additions & 646 deletions server/package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"@nestjs/swagger": "^8.0.0",
"@nestjs/typeorm": "^10.0.0",
"@nestjs/websockets": "^10.2.2",
"@opentelemetry/auto-instrumentations-node": "^0.54.0",
"@opentelemetry/auto-instrumentations-node": "^0.55.0",
"@opentelemetry/context-async-hooks": "^1.24.0",
"@opentelemetry/exporter-prometheus": "^0.56.0",
"@opentelemetry/sdk-node": "^0.56.0",
"@react-email/components": "^0.0.31",
"@opentelemetry/exporter-prometheus": "^0.57.0",
"@opentelemetry/sdk-node": "^0.57.0",
"@react-email/components": "^0.0.32",
"@socket.io/redis-adapter": "^8.3.0",
"archiver": "^7.0.0",
"async-lock": "^1.4.0",
Expand Down Expand Up @@ -128,7 +128,7 @@
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unicorn": "^56.0.1",
"globals": "^15.9.0",
"kysely-codegen": "^0.16.3",
"kysely-codegen": "^0.17.0",
"mock-fs": "^5.2.0",
"node-addon-api": "^8.3.0",
"pngjs": "^7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions server/src/queries/access.repository.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -136,7 +136,7 @@ where
"assets"."livePhotoVideoId",
"albumAssets"."id",
"albumAssets"."livePhotoVideoId"
] && array[$2]::uuid []
] && array[$2]::uuid[]

-- AccessRepository.authDevice.checkOwnerAccess
select
Expand Down
14 changes: 7 additions & 7 deletions server/src/queries/asset.repository.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -72,7 +72,7 @@ select
from
"assets"
where
"assets"."id" = any ($1::uuid [])
"assets"."id" = any ($1::uuid[])

-- AssetRepository.getByIdsWithAllRelations
select
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -182,16 +182,16 @@ update "assets"
set
"deviceId" = $1
where
"id" = any ($2::uuid [])
"id" = any ($2::uuid[])

-- AssetRepository.updateDuplicates
update "assets"
set
"duplicateId" = $1
where
(
"duplicateId" = any ($2::uuid [])
or "id" = any ($3::uuid [])
"duplicateId" = any ($2::uuid[])
or "id" = any ($3::uuid[])
)

-- AssetRepository.getByChecksum
Expand Down Expand Up @@ -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
Expand Down
34 changes: 17 additions & 17 deletions server/src/queries/search.repository.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
)
Expand All @@ -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
)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
3 changes: 1 addition & 2 deletions server/src/queries/system.metadata.repository.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading
Loading