schema.d.ts 575 B

12345678910111213141516171819202122
  1. /**
  2. * Generates a new, generic enum definition in the given project.
  3. */
  4. export interface Schema {
  5. /**
  6. * The name of the enum.
  7. */
  8. name: string;
  9. /**
  10. * The path at which to create the enum definition, relative to the current workspace.
  11. */
  12. path?: string;
  13. /**
  14. * The name of the project in which to create the enum. Default is the configured default
  15. * project for the workspace.
  16. */
  17. project: string;
  18. /**
  19. * Adds a developer-defined type to the filename, in the format "name.type.ts".
  20. */
  21. type?: string;
  22. }