Application Load

IAppLoadCommonVisualSettings

The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.

IAppLoadCommonVisualSettings

Catalog layout and storefront display preferences.

interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonVisualSettings.ts
TypeScript
export interface IAppLoadCommonVisualSettings {
	// Shows menu_image beside shortcut category names in CatalogHeader. Missing
	// images leave the label visible.
	menu_image: boolean;
	// Shows category thumbnails inside the catalog panel. Independent of shortcut
	// images controlled by menu_image.
	catalog_menu_image: boolean;
	// Shows the previous and next buttons for a `ProductGroup` row that does not
	// fit on a narrow screen. Swiping stays available when it is off, and grids on
	// wide screens and banners are not affected.
	mobile_show_arrows: boolean;
	// Shows the backend count beside category, seller, manufacturer and variant
	// options in SearchFilters. Hiding counts preserves the options and selection.
	show_filter_counters: boolean;
	// Hides ProductCardSeller and the seller filter in SearchFilters. Manufacturer
	// options remain available.
	single_seller_mode: boolean;
	// `BlogPostGroup` uses `EBlogViewType.PORTRAIT` for a grid of cards,
	// `EBlogViewType.LIST` for rows with the picture beside the text and
	// `EBlogViewType.CUSTOM` for a lead card followed by groups of one large and
	// up to two smaller cards. A missing or unknown value is treated as
	// `EBlogViewType.PORTRAIT`. Each layout asks for as many articles as fill its
	// rows completely.
	blog_view_type?: number;
	// Maximum number of tiles in the Popular categories block after sorting. A
	// positive value is rounded down; zero, a missing value or a negative value
	// includes every candidate.
	front_categories_count?: number;
	// Selection and sort field for the Popular categories block: order selects
	// public root categories and sorts by ordering; views also selects their
	// public descendants and sorts by c_views; do_not_show hides the block.
	front_categories_ordering?: string;
	// Sort direction for the Popular categories block: asc puts the lowest
	// ordering or c_views value first; desc puts the highest value first.
	front_categories_ordering_direction?: string;
}