scryfall-client
Version:
A module for making requests to scryfall
15 lines (14 loc) • 546 B
TypeScript
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>>;
}