UNPKG

gatsby-source-tilda

Version:

Gatsby source plugin for building websites using the tilda.cc CMS as a data source

19 lines (18 loc) 835 B
import type { Actions, NodeInput, NodePluginArgs } from 'gatsby'; import type { PluginSettings } from './plugin-options'; import type { TildaPageExportInfo } from './api/tilda'; import type { TildaAsset } from './types'; export declare const createTildaPages: (gatsbyFunctions: { actions: { createNode: Actions['createNode']; }; createNodeId: NodePluginArgs['createNodeId']; createContentDigest: NodePluginArgs['createContentDigest']; }, pluginConfig: PluginSettings, pages: TildaPageExportInfo[]) => Promise<void>[]; export declare const createTildaPageAssets: (gatsbyFunctions: { actions: { createNode: Actions['createNode']; }; createNodeId: NodePluginArgs['createNodeId']; createContentDigest: NodePluginArgs['createContentDigest']; }, assets: TildaAsset[]) => Promise<NodeInput>[];