gatsby-adapter-netlify
Version:
Gatsby adapter for Netlify
17 lines (16 loc) • 988 B
TypeScript
import type { RoutesManifest, HeaderRoutes } from "gatsby";
export declare const ADAPTER_MARKER_START = "# gatsby-adapter-netlify start";
export declare const ADAPTER_MARKER_END = "# gatsby-adapter-netlify end";
export declare const NETLIFY_PLUGIN_MARKER_START = "# @netlify/plugin-gatsby redirects start";
export declare const NETLIFY_PLUGIN_MARKER_END = "# @netlify/plugin-gatsby redirects end";
export declare const GATSBY_PLUGIN_MARKER_START = "## Created with gatsby-plugin-netlify";
export declare function injectEntries(fileName: string, content: string): Promise<void>;
export declare function processRoutesManifest(routesManifest: RoutesManifest, headerRoutes: HeaderRoutes): {
redirects: string;
headers: string;
lambdasThatUseCaching: Map<string, string>;
fileMovingPromise: Promise<void>;
};
export declare function handleRoutesManifest(routesManifest: RoutesManifest, headerRoutes: HeaderRoutes): Promise<{
lambdasThatUseCaching: Map<string, string>;
}>;