Create base for Albums
This commit is contained in:
@@ -33,6 +33,7 @@ export async function getAllAlbums(settings: GlobalSettings): Promise<PhotoAlbum
|
||||
const album: PhotoAlbum = {
|
||||
exists: true,
|
||||
type: "PhotoAlbum",
|
||||
id: albumRecord["id"],
|
||||
title: albumRecord["title"],
|
||||
description: albumRecord["description"],
|
||||
url: albumRecord["url"],
|
||||
@@ -116,6 +117,7 @@ export async function getAlbum(settings: GlobalSettings, route: string): Promise
|
||||
const album: PhotoAlbum = {
|
||||
exists: true,
|
||||
type: "PhotoAlbum",
|
||||
id: albumRecord["id"],
|
||||
title: albumRecord["title"],
|
||||
description: albumRecord["description"],
|
||||
url: albumRecord["url"],
|
||||
@@ -196,6 +198,7 @@ export async function getLastAlbums(amount: number) {
|
||||
const album: PhotoAlbum = {
|
||||
exists: true,
|
||||
type: "PhotoAlbum",
|
||||
id: albumRecord["id"],
|
||||
title: albumRecord["title"],
|
||||
description: albumRecord["description"],
|
||||
url: albumRecord["url"],
|
||||
@@ -281,6 +284,7 @@ export async function getCategoryAlbums(settings: GlobalSettings, route: string)
|
||||
const album: PhotoAlbum = {
|
||||
exists: true,
|
||||
type: "PhotoAlbum",
|
||||
id: albumRecord["id"],
|
||||
title: albumRecord["title"],
|
||||
description: albumRecord["description"],
|
||||
url: albumRecord["url"],
|
||||
|
||||
Reference in New Issue
Block a user