schema.d.ts 572 B

12345678910111213141516171819202122232425
  1. /**
  2. * Creates a new, generic class definition in the given project.
  3. */
  4. export interface Schema {
  5. /**
  6. * The name of the new class.
  7. */
  8. name: string;
  9. /**
  10. * The path at which to create the class, relative to the workspace root.
  11. */
  12. path?: string;
  13. /**
  14. * The name of the project.
  15. */
  16. project: string;
  17. /**
  18. * Do not create "spec.ts" test files for the new class.
  19. */
  20. skipTests?: boolean;
  21. /**
  22. * Adds a developer-defined type to the filename, in the format "name.type.ts".
  23. */
  24. type?: string;
  25. }