7 lines
354 B
TypeScript
Executable file
7 lines
354 B
TypeScript
Executable file
interface LicensePolicy {
|
|
isLicenseWrittenFor(licenseType: string | null): boolean;
|
|
isLicenseUnacceptableFor(licenseType: string | null): boolean;
|
|
handleUnacceptableLicense(packageName: string, licenseType: string | null): void;
|
|
handleMissingLicenseText(packageName: string, licenseType: string | null): void;
|
|
}
|
|
export { LicensePolicy };
|