schema.d.ts 564 B

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