source: trip-planner-front/node_modules/license-webpack-plugin/dist/ConstructedOptions.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[6a3a178]1import { LicenseTest } from './LicenseTest';
2import { LicenseIdentifiedModule } from './LicenseIdentifiedModule';
3import { IncludeExcludeTest } from './IncludeExcludeTest';
4import { Module } from './Module';
5import { ConstructedStats } from './ConstructedStats';
6interface ConstructedOptions {
7 buildRoot: string;
8 licenseInclusionTest: LicenseTest;
9 unacceptableLicenseTest: LicenseTest;
10 handleUnacceptableLicense: (packageName: string, licenseType: string) => void;
11 handleMissingLicenseText: (packageName: string, licenseType: string | null) => string | null;
12 perChunkOutput: boolean;
13 licenseTemplateDir?: string;
14 licenseFileOverrides: {
15 [key: string]: string;
16 };
17 licenseTextOverrides: {
18 [key: string]: string;
19 };
20 licenseTypeOverrides: {
21 [key: string]: string;
22 };
23 renderLicenses: (modules: LicenseIdentifiedModule[]) => string;
24 renderBanner: (filename: string, modules: LicenseIdentifiedModule[]) => string;
25 outputFilename: string;
26 addBanner: boolean;
27 chunkIncludeExcludeTest: IncludeExcludeTest;
28 modulesDirectories: string[] | null;
29 additionalChunkModules: {
30 [chunkName: string]: Module[];
31 };
32 additionalModules: Module[];
33 preferredLicenseTypes: string[];
34 handleLicenseAmbiguity: (packageName: string, licenses: {
35 type: string;
36 url: string;
37 }[]) => string;
38 handleMissingLicenseType: (packageName: string) => string | null;
39 excludedPackageTest: (packageName: string) => boolean;
40 stats: ConstructedStats;
41 skipChildCompilers: boolean;
42}
43export { ConstructedOptions };
Note: See TracBrowser for help on using the repository browser.