Interface Collection

This interface represents a collection, including its name, an optional description, an optional URL, and an optional total count.

interface Collection {
    name: string;
    description?: string;
    url?: string;
    totalCount?: number;
    allAttributes?: {
        [_: string]: (string | number)[];
    };
}

Properties

name: string

The name of the collection

description?: string

An optional description of the collection

url?: string

An optional URL for the collection

totalCount?: number

An optional total count of items in the collection

allAttributes?: {
    [_: string]: (string | number)[];
}

An optional list of all attrbutes for items in the collection