gatsby-source-prismic
Version:
Gatsby source plugin for building websites using Prismic as a data source
12 lines (11 loc) • 496 B
TypeScript
import type { SharedSliceModel } from "@prismicio/client";
import type { GatsbyGraphQLUnionType, NodePluginArgs } from "gatsby";
import type { PluginOptions } from "../types";
type SharedSliceModelToGraphQLTypeArgs = {
model: SharedSliceModel;
sharedSliceModels: SharedSliceModel[];
gatsbyNodeArgs: NodePluginArgs;
pluginOptions: PluginOptions;
};
export declare const sharedSliceModelToGraphQLType: (args: SharedSliceModelToGraphQLTypeArgs) => GatsbyGraphQLUnionType;
export {};