Interface MarketplaceSearchOptions

Search options for marketplace items

interface MarketplaceSearchOptions {
    query?: string;
    types?: MarketplaceItemType[];
    categories?: string[];
    tags?: string[];
    publisherId?: string;
    pricingModel?: ("free" | "one_time" | "subscription" | "usage_based" | "freemium")[];
    minRating?: number;
    licenses?: string[];
    sortBy?: "name" | "relevance" | "downloads" | "rating" | "newest" | "updated";
    sortDirection?: "asc" | "desc";
    offset?: number;
    limit?: number;
    includeDeprecated?: boolean;
}

Properties

query?: string

Search query text

Filter by item types

categories?: string[]

Filter by categories

tags?: string[]

Filter by tags

publisherId?: string

Filter by publisher

pricingModel?: ("free" | "one_time" | "subscription" | "usage_based" | "freemium")[]

Filter by pricing model

minRating?: number

Minimum rating

licenses?: string[]

Filter by license

sortBy?: "name" | "relevance" | "downloads" | "rating" | "newest" | "updated"

Sort by

sortDirection?: "asc" | "desc"

Sort direction

offset?: number

Pagination offset

limit?: number

Results per page

includeDeprecated?: boolean

Include deprecated items