schema.d.ts 572 B

12345678910111213141516171819202122
  1. /**
  2. * Generates a new, generic enum definition for the given or default project.
  3. */
  4. export interface Schema {
  5. /**
  6. * When true, applies lint fixes after generating the enum.
  7. */
  8. lintFix?: boolean;
  9. /**
  10. * The name of the enum.
  11. */
  12. name: string;
  13. /**
  14. * The path at which to create the enum definition, relative to the current workspace.
  15. */
  16. path?: string;
  17. /**
  18. * The name of the project in which to create the enum. Default is the configured default
  19. * project for the workspace.
  20. */
  21. project?: string;
  22. }