UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

31 lines (30 loc) 1.28 kB
import { Config } from './Config.js'; import { EntryPhase, EntryRow } from './EntryRow.js'; import { EntryUrlMeta, Type } from './Type.js'; export declare function workspaceMediaDir(config: Config, workspace: string): string; export declare function entryInfo(fileName: string): [name: string, status: EntryPhase]; export declare function entryChildrenDir(config: Config, entry: { workspace: string; root: string; locale: string | null; path: string; phase: EntryPhase; }, parentPaths: Array<string>): string; export declare function entryFilepath(config: Config, entry: { workspace: string; root: string; locale: string | null; path: string; phase: EntryPhase; }, parentPaths: Array<string>): string; export declare function entryFileName(config: Config, entry: { workspace: string; root: string; locale: string | null; path: string; phase: EntryPhase; }, parentPaths: Array<string>): string; export declare function entryFile(config: Config, entry: EntryRow): string; export declare function entryUrl(type: Type, meta: EntryUrlMeta): string; export declare function pathSuffix(path: string, conflictingPaths: Array<string>): number | undefined; export declare function applySuffix(path: string, suffix: number): string;