mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
chore: add todos & warning
This commit is contained in:
parent
44a77892f4
commit
f1ffdfe223
2 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,8 @@ const TimeBucketQueryBaseSchema = z
|
|||
'Filter by asset visibility status (ARCHIVE, TIMELINE, HIDDEN, LOCKED)',
|
||||
),
|
||||
withCoordinates: stringToBool.optional().describe('Include location data in the response'),
|
||||
withSharedAlbums: z.boolean().optional().describe('Include assets from shared albums'),
|
||||
// TODO: Remove this after #12614 is resolved
|
||||
withSharedAlbums: z.boolean().optional().describe('Include assets from shared albums (do not use!)'),
|
||||
key: z.string().optional(),
|
||||
slug: z.string().optional(),
|
||||
bbox: z
|
||||
|
|
|
|||
|
|
@ -678,6 +678,7 @@ export class AssetRepository {
|
|||
qb.where((eb) =>
|
||||
eb.or([
|
||||
eb('asset.ownerId', '=', anyUuid(options.userIds!)),
|
||||
// TODO: Rework, this is inefficient, temporary solution until #12614 is resolved
|
||||
...(options.withSharedAlbums
|
||||
? [
|
||||
eb.exists(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue