@schematics/angular
Version:
Schematics specific to Angular
70 lines (69 loc) • 1.49 kB
TypeScript
/**
* Generates an app shell for running a server-side version of an app.
*/
export interface Schema {
/**
* The name of the application directory.
*/
appDir?: string;
/**
* The app ID to use in withServerTransition().
*/
appId?: string;
/**
* The name of the related client app.
*/
clientProject: string;
/**
* The name of the index file
*/
index?: string;
/**
* The name of the main entry-point file.
*/
main?: string;
/**
* The HTML selector of the Universal app
*/
name?: string;
/**
* The output directory for build results.
*/
outDir?: string;
/**
* The root directory of the app.
*/
root?: string;
/**
* The name of the root module class.
*/
rootModuleClassName?: string;
/**
* The name of the root module file
*/
rootModuleFileName?: string;
/**
* Route path used to produce the app shell.
*/
route?: string;
/**
* The path of the source directory.
*/
sourceDir?: string;
/**
* The name of the test entry-point file.
*/
test?: string;
/**
* The name of the TypeScript configuration file for tests.
*/
testTsconfigFileName?: string;
/**
* The name of the TypeScript configuration file.
*/
tsconfigFileName?: string;
/**
* The name of related Universal app.
*/
universalProject: string;
}