Application Load
ISellerDirectoryEntry
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
ISellerDirectoryEntryPublic seller profile in the directory.
app/interfaces/orionplace/sellers/ISellerDirectory.tsexport interface ISellerDirectoryEntry {
// Seller account ID.
id: number;
// Seller’s public name.
seller_name: string;
// Seller rating: the average stars of the approved reviews of the seller’s
// products left in this storefront’s store group, unpublished products
// included. Older reviews saved without stars (0) are left out of the
// average; 0 without rated reviews.
seller_raiting: number;
// Number of approved reviews of the seller’s visible products left in this
// storefront’s store group; may be null.
seller_feedbacks: number | null;
// Account avatar URL, or null.
logo: string | null;
// First approved seller image by display order and ID, or null.
seller_logo: string | null;
// Approved images ordered by display order and ID. Each has `id`, `image` URL
// and `display_order`.
images: ISellerDirectoryImage[];
// Stored count of approved seller images.
c_images: number;
// Translations with `seller_pitch`, `meta_description` and `meta_keywords`.
locale: Record<
string,
{
// Optional value of seller_pitch; it may be omitted.
seller_pitch?: string;
// Optional value of meta_description; it may be omitted.
meta_description?: string;
// Optional value of meta_keywords; it may be omitted.
meta_keywords?: string;
}
>;
// Formatted date/time when the seller account began.
seller_since: IApiDateTime;
// Whether this seller accepts preorders. This flag alone does not establish a
// product’s eligibility.
is_accepting_preorders: boolean;
// Number of the seller’s products. Every variant counts separately, so the
// value can exceed the number of product cards in the seller’s product
// search.
count: number;
// IDs of public categories associated with the seller’s products.
cats: number[];
}