UNPKG

gatsby-source-netlify-lfs

Version:

Use Netlify's Git LFS Transform Image API with gatsby-image

15 lines (14 loc) 559 B
export interface GatsbySourceNetlifyLfsConfig { paths?: string[]; formats?: ImageFormat[]; placeholder?: Placeholder; blurredOptions?: { width?: number; toFormat?: FormatBase64; }; } export declare type FormatBase64 = 'jpg' | 'png' | ''; export declare type DataFileFormat = 'js' | 'ts' | 'json'; export declare type Placeholder = 'dominantColor' | 'blurred' | 'tracedSVG' | 'none'; export declare type ImageFormat = 'jpg' | 'jpeg' | 'png' | 'svg' | 'gif'; export declare const defaultConfig: GatsbySourceNetlifyLfsConfig;