UNPKG

comic-vine-sdk

Version:

A JS/TS client for the Comic Vine API

7 lines (6 loc) 403 B
import { RetrieveOptions, ListOptions } from './index.js'; import { ResourceType } from '../resources/resource-type.js'; export interface UrlBuilder { retrieve<Key>(resourceType: ResourceType, id: number, requestOptions?: RetrieveOptions<Key> | undefined): string; list<Resource, FilterType>(resourceType: ResourceType, requestOptions?: ListOptions<Resource, FilterType> | undefined): string; }