UNPKG

gatsby-source-prismic

Version:

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

13 lines (12 loc) 552 B
import type { CustomTypeModelField, SharedSliceModel } from "@prismicio/client"; import type { GatsbyGraphQLType, NodePluginArgs } from "gatsby"; import type { PluginOptions } from "../types"; type FieldModelsRecordToGraphQLTypeArgs = { path: string[]; models: Record<string, CustomTypeModelField>; sharedSliceModels: SharedSliceModel[]; gatsbyNodeArgs: NodePluginArgs; pluginOptions: PluginOptions; }; export declare const fieldModelsRecordToGraphQLType: (args: FieldModelsRecordToGraphQLTypeArgs) => GatsbyGraphQLType; export {};