declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
18 lines (17 loc) • 663 B
TypeScript
import { DomainObject } from 'domain-objects';
import Joi from 'joi';
import type { PickAny } from 'type-fns';
import type { ProjectVariablesImplementation } from '../domain.objects/constants';
import { DeclaredPractices } from './DeclaredPractices';
export interface ActionUsePracticesConfig {
rootDir: string;
declared: DeclaredPractices;
scope: PickAny<{
usecase: string | null;
practices: string[];
}>;
variables: ProjectVariablesImplementation;
}
export declare class ActionUsePracticesConfig extends DomainObject<ActionUsePracticesConfig> implements ActionUsePracticesConfig {
static schema: Joi.ObjectSchema<any>;
}