@nx/gatsby
Version:
Gatsby Plugin for Nx
13 lines (12 loc) • 468 B
TypeScript
import { Tree } from '@nx/devkit';
import { SupportedStyles } from '@nx/react';
interface Schema {
name: string;
project: string;
style: SupportedStyles;
directory?: string;
flat?: boolean;
}
export declare function pageGenerator(host: Tree, options: Schema): Promise<import("@nx/devkit").GeneratorCallback>;
export default pageGenerator;
export declare const pageSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;