UNPKG

declapract

Version:

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

13 lines (12 loc) 483 B
import { DomainObject } from 'domain-objects'; import Joi from 'joi'; import { ExampleDeclaration } from './ExampleDeclaration'; import { PracticeDeclaration } from './PracticeDeclaration'; export interface UseCaseDeclaration { name: string; practices: PracticeDeclaration[]; example: ExampleDeclaration | null; } export declare class UseCaseDeclaration extends DomainObject<UseCaseDeclaration> implements UseCaseDeclaration { static schema: Joi.ObjectSchema<any>; }