1 | interface LicensePolicy {
|
2 | isLicenseWrittenFor(licenseType: string | null): boolean;
|
3 | isLicenseUnacceptableFor(licenseType: string | null): boolean;
|
4 | handleUnacceptableLicense(packageName: string, licenseType: string | null): void;
|
5 | handleMissingLicenseText(packageName: string, licenseType: string | null): void;
|
6 | }
|
7 | export { LicensePolicy };
|