UNPKG

dependency-cruiser

Version:

Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.

48 lines (41 loc) 1.06 kB
import { IBaseRestrictionType, IFromRestriction, IToRestriction, IReachabilityToRestrictionType, IRequiredToRestrictionType, IDependentsModuleRestrictionType, } from "./restrictions"; export interface IStrictBaseRestrictionType extends IBaseRestrictionType { path?: string; pathNot?: string; } export interface IStrictFromRestriction extends IFromRestriction { path?: string; pathNot?: string; } interface IStrictToRestriction extends IToRestriction { path?: string; pathNot?: string; via?: string; viaNot?: string; viaSomeNot?: string; exoticRequire?: string; exoticRequireNot?: string; license?: string; licenseNot?: string; } export interface IStrictReachabilityToRestrictionType extends IReachabilityToRestrictionType { path?: string; pathNot?: string; } export interface IStrictRequiredToRestrictionType extends IRequiredToRestrictionType { path?: string; } export interface IStrictDependentsModuleRestrictionType extends IDependentsModuleRestrictionType { path?: string; pathNot?: string; }