Interface ContentfulCollection<T>

A wrapper object containing additional information for an offset paginated collection of Contentful resources

interface ContentfulCollection<T> {
    items: T[];
    limit: number;
    skip: number;
    sys?: {
        type: "Array";
    };
    total: number;
}

Type Parameters

  • T = unknown

Hierarchy (view full)

Properties

items: T[]
limit: number
skip: number
sys?: {
    type: "Array";
}
total: number