Application Load

IAppLoadCommonVariables

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

IAppLoadCommonVariables

Cart and wishlist counters and storefront feature defaults.

src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonVariables.ts
TypeScript
export interface IAppLoadCommonVariables {
	// Initial review status. For a submitted review, use `page_data.state`
	// returned by `products_feedbacks_add`.
	default_feedback_status?: number;
	// Minimum review and reply text length; `0` means no minimum.
	// ProductReviewForm names it under the text and keeps submit disabled below
	// it.
	feedback_text_min_length?: number;
	// Initial number of cart positions. Used by the reference storefront’s cart
	// indicator.
	c_cart_positions?: number;
	// Number of saved products the wishlist page lists, `0` for a guest. Used by
	// the reference storefront’s favorites indicator.
	c_wishlist?: number;
	// Configured initial blog-comment status. Retained as data; the supplied Nuxt
	// components do not consume it.
	default_blog_comment_status?: number;
	// Shared preorder permission read by ProductCardActions. Seller permission,
	// product status and stock must also allow a preorder.
	allow_preorder?: boolean;
}