Describes a paged list result from AppSync, which can either live at the top query or property (e.g., related model) level.

interface PagedList<T, TYPENAME> {
    __typename: TYPENAME;
    items: T[];
    nextToken?: null | string;
}

Type Parameters

  • T

  • TYPENAME

Properties

__typename: TYPENAME
items: T[]
nextToken?: null | string