UNPKG

@log4brains/core

Version:

Log4brains architecture knowledge base core API

14 lines 518 B
import { ValueObject } from "@src/domain"; import type { AdrSlug } from "./AdrSlug"; import { FilesystemPath } from "./FilesystemPath"; declare type Props = { path: FilesystemPath; }; export declare class AdrFile extends ValueObject<Props> { constructor(path: FilesystemPath); get path(): FilesystemPath; static isPathValid(path: FilesystemPath): boolean; static createFromSlugInFolder(folder: FilesystemPath, slug: AdrSlug): AdrFile; } export {}; //# sourceMappingURL=AdrFile.d.ts.map