UNPKG

declapract

Version:

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

16 lines (15 loc) 554 B
import { DomainObject } from 'domain-objects'; import Joi from 'joi'; import { RequiredAction } from '../domain.objects/constants'; import { FilePracticeEvaluation } from './FilePracticeEvaluation'; /** * the plan for this file, based on the declared state the file should match */ export interface FileActionPlan { path: string; action: RequiredAction; evaluations: FilePracticeEvaluation[]; } export declare class FileActionPlan extends DomainObject<FileActionPlan> implements FileActionPlan { static schema: Joi.ObjectSchema<any>; }