UNPKG

gatsby-theme-advanced

Version:
9 lines (8 loc) 688 B
import { Actions } from "gatsby"; import { SiteConfig } from "../../src/config"; import { FeedPageMeta, PostList } from "../../src/types"; export declare const saveFeedPageMeta: (feedType: string, feedPageIndex: number, pageMeta: FeedPageMeta, feedId?: string) => Promise<void>; export declare const getFeedRoute: (config: SiteConfig, feedType: string, feedId?: string) => string; export declare const initFeedMeta: () => void; export declare const createPageMeta: (pageIndex: number, pageCount: number, feedPosts: PostList) => FeedPageMeta; export declare const createFeed: (config: SiteConfig, actions: Actions, feedPosts: PostList, feedType: string, feedId?: string) => Promise<void>;