@progress/kendo-angular-schematics
Version:
Kendo UI Schematics for Angular
58 lines (57 loc) • 1.53 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
export interface Schema {
/**
* The path to create the component.
*/
path?: string;
/**
* The name of the project.
*/
project?: string;
/**
* Package name to register.
*/
package: string;
/**
* The main NgModule for the package.
*/
mainNgModule: string;
/**
* Allows specification of the declaring module.
*/
module?: string;
/**
* Specifies if declaring module exports the component.
*/
export?: boolean;
/**
* Skip installing Kendo dependency packages.
*/
skipInstall?: boolean;
/**
* Register Kendo theme.
*/
theme?: ('default' | 'bootstrap' | 'material');
/**
* Additional dependencies to import, e.g. @angular/localize.
*/
dependencies?: Dependency[];
/**
* Additional peer dependencies to install.
*
* List peer dependencies of peers here.
* Direct peer dependencies are installed automatically.
*/
peerDependencies: {
[name: string]: string;
};
}
export interface Dependency {
import?: string;
export?: boolean;
from: string;
condition?: boolean;
}