types.ts 611 B

12345678910111213141516171819202122
  1. export type DbType = 'mysql' | 'mariadb' | 'postgres' | 'sqlite' | 'sqljs' | 'mssql' | 'oracle';
  2. export interface FileSources {
  3. indexSource: string;
  4. indexWorkerSource: string;
  5. configSource: string;
  6. envSource: string;
  7. envDtsSource: string;
  8. migrationSource: string;
  9. readmeSource: string;
  10. dockerfileSource: string;
  11. dockerComposeSource: string;
  12. }
  13. export interface UserResponses extends FileSources {
  14. dbType: DbType;
  15. populateProducts: boolean;
  16. superadminIdentifier: string;
  17. superadminPassword: string;
  18. }
  19. export type CliLogLevel = 'silent' | 'info' | 'verbose';