builders-schema.d.ts 624 B

123456789101112131415161718192021222324252627282930313233
  1. export type Schema = {
  2. /**
  3. * Link to schema.
  4. */
  5. $schema?: string;
  6. builders: {
  7. [key: string]: BuilderValue;
  8. };
  9. [property: string]: any;
  10. };
  11. export type BuilderValue = Builder | string;
  12. /**
  13. * Target options for Builders.
  14. */
  15. export type Builder = {
  16. /**
  17. * The builder class module.
  18. */
  19. class?: string;
  20. /**
  21. * Builder description.
  22. */
  23. description: string;
  24. /**
  25. * The next generation builder module.
  26. */
  27. implementation?: string;
  28. /**
  29. * Schema for builder option validation.
  30. */
  31. schema: string;
  32. [property: string]: any;
  33. };