UNPKG

scryfall-client

Version:
15 lines (14 loc) 546 B
import ArrayLike from "./array-like"; import type { ListApiResponse } from "../types/api-response"; import type SingularEntity from "./singular-entity"; import type { CardCollectionIdentifier } from "../types/card-collection-identifier"; export default class List<T> extends ArrayLike<SingularEntity> { object: "list"; has_more: boolean; next_page?: string; total_cards?: number; warnings: string[]; not_found: CardCollectionIdentifier[]; constructor(scrfallResponse: ListApiResponse); next(): Promise<List<T>>; }