UNPKG

gatsby-source-prismic

Version:

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

12 lines (11 loc) 506 B
import { CustomTypeModel, SharedSliceModel } from "@prismicio/client"; import type { GatsbyGraphQLObjectType, NodePluginArgs } from "gatsby"; import type { PluginOptions } from "../types"; type CustomTypeModelToGraphQLTypeArgs = { model: CustomTypeModel; sharedSliceModels: SharedSliceModel[]; gatsbyNodeArgs: NodePluginArgs; pluginOptions: PluginOptions; }; export declare const customTypeModelToGraphQLType: (args: CustomTypeModelToGraphQLTypeArgs) => GatsbyGraphQLObjectType; export {};