UNPKG

declapract

Version:

A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.

13 lines (12 loc) 436 B
import { DomainObject } from 'domain-objects'; import Joi from 'joi'; /** * defines an example that can be used to check use-case declarations against and to clone new projects from */ export interface ExampleDeclaration { name: string; exampleRootDirectory: string; } export declare class ExampleDeclaration extends DomainObject<ExampleDeclaration> implements ExampleDeclaration { static schema: Joi.ObjectSchema<any>; }