@o3r/schematics
Version:
Schematics module of the Otter framework
26 lines • 976 B
TypeScript
import type { Rule } from '@angular-devkit/schematics';
/** Options for the Display Module rule */
export interface DisplayModuleListOptions {
/**
* List of whitelisted scopes
* @default {@see OTTER_MODULE_SUPPORTED_SCOPES}
*/
scopeWhitelist: string[] | readonly string[];
/**
* Keyword to search for Otter modules
* @default {@see OTTER_MODULE_KEYWORD}
*/
keyword: string;
/** Display only the Otter modules with CMS administration */
onlyCmsModules: boolean;
/** Display only the Otter modules that are not already installed */
onlyNotInstalledModules: boolean;
/** Name of the package where to install add the dependency */
packageName: string;
}
/**
* Display the list of available Otter modules
* @param options Options of the Display Module list
*/
export declare function displayModuleListRule(options?: Partial<DisplayModuleListOptions>): Rule;
//# sourceMappingURL=modules.display.rule.d.ts.map