declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
15 lines (14 loc) • 573 B
TypeScript
import { DomainObject } from 'domain-objects';
import Joi from 'joi';
import { ExampleDeclaration } from './ExampleDeclaration';
import { PracticeDeclaration } from './PracticeDeclaration';
import { UseCaseDeclaration } from './UseCaseDeclaration';
export interface DeclaredPractices {
rootDir: string;
examples: ExampleDeclaration[];
useCases: UseCaseDeclaration[];
practices: PracticeDeclaration[];
}
export declare class DeclaredPractices extends DomainObject<DeclaredPractices> implements DeclaredPractices {
static schema: Joi.ObjectSchema<any>;
}