UNPKG

@archer-edu/dxp-directus-cli

Version:
12 lines (11 loc) 606 B
import { FrontMatter, Page, RemotePage, RemotePageKey } from "./support/types"; import commander from "commander"; declare const register: (program: commander.Command) => void; export default register; export declare const pageVersionQuery: (id: string, tag: string) => string; export declare function getParentPath(page: RemotePageKey, pages: RemotePage[]): string; export declare function mapPage(item: RemotePage, items: RemotePage[], downloadImages?: string, cont?: boolean): Promise<Page & { metadata: FrontMatter; file_path: string; }>; export declare function writePage(page: Page): string;