feat(*): add image grids for album and associated media displays
This commit is contained in:
parent
9b4baad5fb
commit
36fbba761a
53 changed files with 1179 additions and 764 deletions
|
@ -10,9 +10,7 @@ WITH feed_data AS (
|
|||
'content', p.content
|
||||
) AS feed
|
||||
FROM optimized_posts p
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT json_build_object(
|
||||
'title', CONCAT(l.title, ' via ', l.author->>'name'),
|
||||
'url', l.link,
|
||||
|
@ -23,9 +21,7 @@ WITH feed_data AS (
|
|||
'author', l.author
|
||||
) AS feed
|
||||
FROM optimized_links l
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT CASE
|
||||
WHEN LOWER(b.status) = 'finished' THEN
|
||||
json_build_object(
|
||||
|
@ -43,9 +39,7 @@ WITH feed_data AS (
|
|||
ELSE NULL
|
||||
END AS feed
|
||||
FROM optimized_books b
|
||||
|
||||
UNION ALL
|
||||
|
||||
SELECT CASE
|
||||
WHEN m.last_watched IS NOT NULL THEN
|
||||
json_build_object(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue