gatsby-theme-advanced
Version:
GatsbyJS theme equipped with advanced features.
8 lines (7 loc) • 494 B
TypeScript
import { MdxNode, Post, MdxListingQuery, PostFromJson, BlogPostBySlugQuery } from "./types";
export * from "./types";
export type { SiteConfig, OrganizationData, UserData, WebsiteData, } from "../config";
export declare function mdxNodeIntoPost(mdxNode: MdxNode): Post;
export declare const queryIntoPost: (data: BlogPostBySlugQuery) => Post;
export declare const queryIntoListing: (listing: MdxListingQuery) => Array<Post>;
export declare const jsonPostIntoPost: (meta: PostFromJson) => Post;