UNPKG

poststore

Version:

PostStore can be used with NEXT.JS to create markdown-based blogs.

18 lines (17 loc) 1.23 kB
import { PageParamOption, PerPageOption } from '../typings'; export declare const MODE_DEV: boolean; export declare const MODE_TEST: boolean; export declare const MODE_PRODUCTION: boolean; export declare const PLATFROM_DARWIN: boolean; export declare const HASH_ALGORITHM = "sha1"; export declare const NODE_TYPE_CATEGORY = "category"; export declare const NODE_TYPE_POST = "post"; export declare const DEFAULT_PARAM_VALUE = "slug"; export declare const DEFAULT_PERPAGE_VALUE = 10; export declare const DEFAULT_BUILDINFO_PATH = "./.poststore.buildInfo"; export declare const DEFAULT_CONFIG_PATH = "./poststore.config.js"; export declare const DEFAULT_ASSET_DIRNAME = "assets"; export declare const DEFAULT_PUBLICDIR_PATH = "./public"; export declare const DEFAULT_PARAM_OPTION: Required<PageParamOption>; export declare const DEFAULT_PERPAGE_OPTION: Required<PerPageOption>; export declare const CONFIG_EXAMPLE = "export default {\n storeOption: StoreOption | StoreOption[]\n}\n\ninterface StoreOption {\n postDir: string;\n storeName?: string;\n perPage?: number | PerPageOption;\n pageParam?: string | PageParamOption;\n shouldUpdate?: boolean;\n watchMode?: boolean;\n incremental?: boolean;\n}";