datasources.ts 548 B

12345678910111213141516171819202122232425
  1. import { LayoutMode } from '../core/components/LayoutSelector/LayoutSelector';
  2. export interface DataSource {
  3. id: number;
  4. orgId: number;
  5. name: string;
  6. typeLogoUrl: string;
  7. type: string;
  8. access: string;
  9. url: string;
  10. password: string;
  11. user: string;
  12. database: string;
  13. basicAuth: false;
  14. isDefault: false;
  15. jsonData: { authType: string; defaultRegion: string };
  16. readOnly: false;
  17. }
  18. export interface DataSourcesState {
  19. dataSources: DataSource[];
  20. searchQuery: string;
  21. layoutMode: LayoutMode;
  22. dataSourcesCount: number;
  23. }