@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
44 lines (43 loc) • 2.71 kB
TypeScript
export * from './type';
export { PathComponentsImpl, PathPositionsImpl, LowHighImpl, PathComponentsFactory, PathComponentsUtils } from './vo/pathcomponents';
export { PathProcessorImpl, BasicPathNormalizer, PathParsingNormalizer, DefaultFileExtensionChecker, ConfigurablePathNormalizer, PathParserUtils } from './vo/pathparser';
export { Path, PathUtils } from './entity/path';
export { PathFactoryImpl, DefaultPathFactory, SimplePathPool, PathBuilder, PathFactoryUtils } from './factory/pathfactory';
export type { Path as IPath, PathProcessor, PathFactory, PathNormalizer, FileExtensionChecker, PathValidator, PathFilter, PathTransformer, PathVisitor, StringIdentity } from './type';
export { PathType } from './type';
export { PATH_CONSTANTS } from './type';
export { PathError, PathParseError, PathValidationError } from './type';
import { PathFactoryUtils } from './factory/pathfactory';
import { PathParserUtils } from './vo/pathparser';
import { PathUtils } from './entity/path';
import { PathProcessorImpl } from './vo/pathparser';
import { DefaultPathFactory } from './factory/pathfactory';
import { SimplePathPool } from './factory/pathfactory';
import { BasicPathNormalizer } from './vo/pathparser';
export declare const PathDomain: {
readonly createContentPath: typeof PathFactoryUtils.createContentPath;
readonly createStaticPath: typeof PathFactoryUtils.createStaticPath;
readonly createLayoutPath: typeof PathFactoryUtils.createLayoutPath;
readonly createArchetypePath: typeof PathFactoryUtils.createArchetypePath;
readonly createDataPath: typeof PathFactoryUtils.createDataPath;
readonly createThemePath: typeof PathFactoryUtils.createThemePath;
readonly builder: typeof PathFactoryUtils.builder;
readonly parseBasic: typeof PathParserUtils.parseBasic;
readonly join: typeof PathParserUtils.join;
readonly normalizeBasic: typeof PathParserUtils.normalizeBasic;
readonly isBundle: typeof PathParserUtils.isBundle;
readonly extractSection: typeof PathParserUtils.extractSection;
readonly removeExtension: typeof PathParserUtils.removeExtension;
readonly checkExtension: typeof PathParserUtils.hasExtension;
readonly hasSpecificExtension: typeof PathUtils.hasExtension;
readonly isUnder: typeof PathUtils.isUnder;
readonly relativeTo: typeof PathUtils.relativeTo;
readonly compare: typeof PathUtils.compare;
readonly createProcessor: () => PathProcessorImpl;
readonly createFactory: () => DefaultPathFactory;
readonly createPool: (maxSize?: number) => SimplePathPool;
readonly createNormalizer: (config?: {
toLowerCase?: boolean;
replaceSpaces?: boolean;
}) => BasicPathNormalizer;
};