UNPKG

gatsby-source-prismic

Version:

Gatsby source plugin for building websites using Prismic as a data source

42 lines (41 loc) 1.38 kB
import type { ImgixURLParams } from "imgix-url-builder"; /** * The namespace used for all Imgix GraphQL types. */ export declare const IMGIX_GRAPHQL_TYPE_NAMESPACE = "Imgix"; /** * Default Imgix parameters applied to all images. */ export declare const DEFAULT_IMGIX_PARAMS: ImgixURLParams; /** * Default Imgix parameters applied to all placeholder images. */ export declare const DEFAULT_PLACEHOLDER_IMGIX_PARAMS: ImgixURLParams; /** * Root node field used to compare static data with preview data. If values are * equal, the preview node can be treated as an updated version of the static * node. * * This is an internal-use-only field used by `gatsby-plugin-prismic-previews`. */ export declare const PREVIEWABLE_FIELD_NAME = "_previewable"; /** * Gatsby Image placeholder kinds. * * @see Gatsby Image plugin documentation: https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-plugin-image/#placeholder */ export declare enum GatsbyImageDataPlaceholderKind { Blurred = "blurred", DominantColor = "dominantColor", None = "none" } /** * Gatsby Image layout kinds. * * @see Gatsby Image plugin documentation: https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-plugin-image/#layout */ export declare enum GatsbyImageDataLayoutKind { Constrained = "constrained", Fixed = "fixed", FullWidth = "fullWidth" }