Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add flyout pages to associated objects table #1496

Merged
merged 11 commits into from
Mar 9, 2024
24 changes: 23 additions & 1 deletion common/types/data_connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

import { EuiComboBoxOptionOption } from '@elastic/eui';

export type AccelerationStatus = 'ACTIVE' | 'INACTIVE';

export interface PermissionsConfigurationProps {
roles: Role[];
selectedRoles: Role[];
Expand All @@ -13,13 +15,33 @@
hasSecurityAccess: boolean;
}

export interface TableColumn {
name: string;
dataType: string;
}

export interface Acceleration {
name: string;
status: AccelerationStatus;
type: string;
database: string;
table: string;
destination: string;
dateCreated: number;
dateUpdated: number;
index: string;
sql: string;
}

export interface AssociatedObject {
datasource: string;
id: string;
name: string;
database: string;
type: string;
createdByIntegration: string;
accelerations: string[];
accelerations: Acceleration[];
columns: TableColumn[];
}

export type Role = EuiComboBoxOptionOption;
Expand All @@ -29,7 +51,7 @@
interface AsyncApiDataResponse {
status: string;
schema?: Array<{ name: string; type: string }>;
datarows?: any;

Check warning on line 54 in common/types/data_connections.ts

View workflow job for this annotation

GitHub Actions / Lint

Unexpected any. Specify a different type
total?: number;
size?: number;
error?: string;
Expand Down
Loading
Loading