gatsby-plugin-utils
Version:
Gatsby utils that help creating plugins
5 lines (4 loc) • 378 B
TypeScript
import type { Actions, Store } from "gatsby";
import type { IRemoteFileNode, IGraphQLFieldConfigDefinition } from "../types";
export declare function publicUrlResolver(source: IRemoteFileNode, actions: Actions, store?: Store): string;
export declare function generatePublicUrlFieldConfig(actions: Actions, store?: Store): IGraphQLFieldConfigDefinition<IRemoteFileNode, string>;