UNPKG

contentfully

Version:

A simple but performant REST client for Contentful.

15 lines (10 loc) 291 B
import {Media} from './entities' export type MediaTransform = (media: Media) => Promise<Media> export interface QueryOptions { mediaTransform?: MediaTransform flatten?: boolean allLocales?: boolean } export interface GetEntryQueryOptions extends QueryOptions { locale?: string }