schema.d.ts 723 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Generates a new, generic resolver definition in the given project.
  3. */
  4. export interface Schema {
  5. /**
  6. * When true (the default), creates the new files at the top level of the current project.
  7. */
  8. flat?: boolean;
  9. /**
  10. * Creates the resolver as a `ResolveFn`.
  11. */
  12. functional?: boolean;
  13. /**
  14. * The name of the new resolver.
  15. */
  16. name: string;
  17. /**
  18. * The path at which to create the interface that defines the resolver, relative to the
  19. * current workspace.
  20. */
  21. path?: string;
  22. /**
  23. * The name of the project.
  24. */
  25. project: string;
  26. /**
  27. * Do not create "spec.ts" test files for the new resolver.
  28. */
  29. skipTests?: boolean;
  30. }