UNPKG

gatsby-source-prismic

Version:

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

13 lines (12 loc) 508 B
import type { CustomTypeModel, PrismicDocument, SharedSliceModel } from "@prismicio/client"; import { NodePluginArgs } from "gatsby"; import type { PluginOptions } from "../types"; type CreateDocumentNodesArgs = { documents: PrismicDocument[]; customTypeModels: CustomTypeModel[]; sharedSliceModels: SharedSliceModel[]; gatsbyNodeArgs: NodePluginArgs; pluginOptions: PluginOptions; }; export declare const createDocumentNodes: (args: CreateDocumentNodesArgs) => Promise<void>; export {};