schema.d.ts 904 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * Creates a new, generic pipe definition in the given project.
  3. */
  4. export interface Schema {
  5. /**
  6. * The declaring NgModule exports this pipe.
  7. */
  8. export?: boolean;
  9. /**
  10. * When true (the default) creates files at the top level of the project.
  11. */
  12. flat?: boolean;
  13. /**
  14. * The declaring NgModule.
  15. */
  16. module?: string;
  17. /**
  18. * The name of the pipe.
  19. */
  20. name: string;
  21. /**
  22. * The path at which to create the pipe, relative to the workspace root.
  23. */
  24. path?: string;
  25. /**
  26. * The name of the project.
  27. */
  28. project: string;
  29. /**
  30. * Do not import this pipe into the owning NgModule.
  31. */
  32. skipImport?: boolean;
  33. /**
  34. * Do not create "spec.ts" test files for the new pipe.
  35. */
  36. skipTests?: boolean;
  37. /**
  38. * Whether the generated pipe is standalone.
  39. */
  40. standalone?: boolean;
  41. }