Albums

interface AlbumInfo {
    coverPages?: number;
    id: string;
    isSpreads?: boolean;
    name: string;
    organisation?: Organisation;
    published: {
        [key: string]: RevisionType;
    };
    revision: number;
    sort?:
        | "name"
        | "created"
        | "-name"
        | "-created";
    type: "grid" | "switch" | "swipe";
}

Properties

coverPages?: number

The number of single cover pages in case of spreads

id: string

The album ID

isSpreads?: boolean

Album pages are shown as book spreads

name: string

The album name

organisation?: Organisation

Album organisation

published: {
    [key: string]: RevisionType;
}

Available page data (markers, etc)

revision: number

Published revision number

sort?:
    | "name"
    | "created"
    | "-name"
    | "-created"

The album image sorting

type: "grid" | "switch" | "swipe"

The album UX type