feat: shorts

This commit is contained in:
DIYgod
2023-08-25 19:02:57 +01:00
parent 9776bbf7e1
commit 215bd8fbc0
12 changed files with 522 additions and 37 deletions
+7
View File
@@ -143,6 +143,13 @@ const getLocalPages = (input: {
},
]
: []),
...(page.values.images?.length
? page.values.images?.map((image: any) => ({
name: "image",
address: image?.address,
mime_type: image?.mime_type,
}))
: []),
],
},
},