11 lines
528 B
TypeScript
11 lines
528 B
TypeScript
import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
|
|
interface ModuleCache {
|
|
registerModule(chunkName: string, module: LicenseIdentifiedModule): void;
|
|
markSeenForChunk(chunkName: string, packageName: string): void;
|
|
alreadySeenForChunk(chunkName: string, packageName: string): boolean;
|
|
getModule(packageName: string): LicenseIdentifiedModule | null;
|
|
getAllModulesForChunk(chunkName: string): LicenseIdentifiedModule[];
|
|
getAllModules(): LicenseIdentifiedModule[];
|
|
}
|
|
export { ModuleCache };
|