UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

20 lines (19 loc) 696 B
export type SpdxLicense = CompoundExpression | InvalidText; export type CompoundExpression = SimpleExpression | WithExpression | CombinationExpression; export interface SimpleExpression { readonly licenseId: string; readonly plus: boolean; } export interface WithExpression extends SimpleExpression { readonly exceptionId: string; } export interface CombinationExpression { readonly left: SpdxLicense; readonly operator: CombinationOperator; readonly right: SpdxLicense; } export type CombinationOperator = "AND" | "OR"; export declare const combinationOperatorPrecedence: readonly CombinationOperator[]; export interface InvalidText { readonly invalidText: string; }