PublisherThemeImageReferenceV2
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
A theme image that an image source names in place of a url.
export type PublisherThemeImageReferenceV2 = {
type: "logo";
} | {
type: "coverImage";
} | {
type: "asset";
list: "logos" | "images";
id: string;
};
Remarks
{theme.logo} is the logo asset with the id logo, else the first logo asset, then the theme’s images.logo, then the organization’s white-labeling logo. {theme.coverImage} is the theme’s images.coverImage. {theme.assets.logos.<id>} and {theme.assets.images.<id>} are the asset with that id in that list.