@o3r/schematics
Version:
Schematics module of the Otter framework
23 lines • 854 B
TypeScript
import { type Rule } from '@angular-devkit/schematics';
/** Options for the devtools register rule factory */
export interface DevtoolRegisterOptions {
/** Name of the devtool module */
moduleName: string;
/** Package name from which the devtools is exposed */
packageName: string;
/** Name of the workspace project name */
projectName?: string;
/** Name of the devtools service (if available) */
serviceName?: string;
}
/**
* Rule to inject a service after `bootstrapModule` or `bootstrapApplication`
* @param options
*/
export declare const injectServiceInMain: (options: DevtoolRegisterOptions) => Rule;
/**
* Register Devtools to the application
* @param options
*/
export declare const registerDevtoolsToApplication: (options: DevtoolRegisterOptions) => Rule;
//# sourceMappingURL=devtools-registration.d.ts.map