mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-11 00:11:05 +00:00
Updated TS from schema (#561)
This commit is contained in:
parent
cde21d877a
commit
d961948946
@ -39,7 +39,7 @@ export interface CreateChart {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This schema defines the type used for describing different types of charts
|
* This schema defines the type used for describing different types of charts.
|
||||||
*/
|
*/
|
||||||
export enum ChartType {
|
export enum ChartType {
|
||||||
Area = 'Area',
|
Area = 'Area',
|
||||||
|
|||||||
@ -47,9 +47,11 @@ export interface Schedule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type of Dashboard service - Superset or Lookr
|
* Type of Dashboard service - Superset, Looker, Redash or Tableau.
|
||||||
*/
|
*/
|
||||||
export enum DashboardServiceType {
|
export enum DashboardServiceType {
|
||||||
Looker = 'Looker',
|
Looker = 'Looker',
|
||||||
|
Redash = 'Redash',
|
||||||
Superset = 'Superset',
|
Superset = 'Superset',
|
||||||
|
Tableau = 'Tableau',
|
||||||
}
|
}
|
||||||
|
|||||||
@ -57,4 +57,5 @@ export enum DatabaseServiceType {
|
|||||||
Presto = 'Presto',
|
Presto = 'Presto',
|
||||||
Redshift = 'Redshift',
|
Redshift = 'Redshift',
|
||||||
Snowflake = 'Snowflake',
|
Snowflake = 'Snowflake',
|
||||||
|
Vertica = 'Vertica',
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
/**
|
/**
|
||||||
* This schema defines the Chart entity. Charts are built using tables or sql queries by
|
* This schema defines the Chart entity. Charts are built using tables or sql queries by
|
||||||
* analyzing the data. Charts can be part of Dashboard
|
* analyzing the data. Charts can be part of Dashboard.
|
||||||
*/
|
*/
|
||||||
export interface Chart {
|
export interface Chart {
|
||||||
chartType?: ChartType;
|
chartType?: ChartType;
|
||||||
/**
|
/**
|
||||||
* Chart URL, pointing to its own Service URL
|
* Chart URL, pointing to its own Service URL.
|
||||||
*/
|
*/
|
||||||
chartUrl?: string;
|
chartUrl?: string;
|
||||||
/**
|
/**
|
||||||
@ -14,7 +14,7 @@ export interface Chart {
|
|||||||
description?: string;
|
description?: string;
|
||||||
/**
|
/**
|
||||||
* Display Name that identifies this Chart. It could be title or label from the source
|
* Display Name that identifies this Chart. It could be title or label from the source
|
||||||
* services
|
* services.
|
||||||
*/
|
*/
|
||||||
displayName?: string;
|
displayName?: string;
|
||||||
/**
|
/**
|
||||||
@ -60,7 +60,7 @@ export interface Chart {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This schema defines the type used for describing different types of charts
|
* This schema defines the type used for describing different types of charts.
|
||||||
*/
|
*/
|
||||||
export enum ChartType {
|
export enum ChartType {
|
||||||
Area = 'Area',
|
Area = 'Area',
|
||||||
|
|||||||
@ -9,7 +9,7 @@ export interface Dashboard {
|
|||||||
*/
|
*/
|
||||||
charts?: EntityReference[];
|
charts?: EntityReference[];
|
||||||
/**
|
/**
|
||||||
* Dashboard URL
|
* Dashboard URL.
|
||||||
*/
|
*/
|
||||||
dashboardUrl?: string;
|
dashboardUrl?: string;
|
||||||
/**
|
/**
|
||||||
@ -18,7 +18,7 @@ export interface Dashboard {
|
|||||||
description?: string;
|
description?: string;
|
||||||
/**
|
/**
|
||||||
* Display Name that identifies this Dashboard. It could be title or label from the source
|
* Display Name that identifies this Dashboard. It could be title or label from the source
|
||||||
* services
|
* services.
|
||||||
*/
|
*/
|
||||||
displayName?: string;
|
displayName?: string;
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -349,11 +349,11 @@ export interface ColumnProfile {
|
|||||||
*/
|
*/
|
||||||
name?: string;
|
name?: string;
|
||||||
/**
|
/**
|
||||||
* No.of null values in a column
|
* No.of null values in a column.
|
||||||
*/
|
*/
|
||||||
nullCount?: number;
|
nullCount?: number;
|
||||||
/**
|
/**
|
||||||
* No.of null value proportion in columns
|
* No.of null value proportion in columns.
|
||||||
*/
|
*/
|
||||||
nullProportion?: number;
|
nullProportion?: number;
|
||||||
/**
|
/**
|
||||||
@ -361,11 +361,11 @@ export interface ColumnProfile {
|
|||||||
*/
|
*/
|
||||||
stddev?: number;
|
stddev?: number;
|
||||||
/**
|
/**
|
||||||
* No. of unique values in the column
|
* No. of unique values in the column.
|
||||||
*/
|
*/
|
||||||
uniqueCount?: number;
|
uniqueCount?: number;
|
||||||
/**
|
/**
|
||||||
* Proportion of number of unique values in a column
|
* Proportion of number of unique values in a column.
|
||||||
*/
|
*/
|
||||||
uniqueProportion?: number;
|
uniqueProportion?: number;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
export interface DashboardService {
|
export interface DashboardService {
|
||||||
/**
|
/**
|
||||||
* Dashboard Service URL. This will be used to make REST API calls to Dashboard Service
|
* Dashboard Service URL. This will be used to make REST API calls to Dashboard Service.
|
||||||
*/
|
*/
|
||||||
dashboardUrl: string;
|
dashboardUrl: string;
|
||||||
/**
|
/**
|
||||||
@ -27,15 +27,15 @@ export interface DashboardService {
|
|||||||
*/
|
*/
|
||||||
name: string;
|
name: string;
|
||||||
/**
|
/**
|
||||||
* Password to log-into Dashboard Service
|
* Password to log-into Dashboard Service.
|
||||||
*/
|
*/
|
||||||
password?: string;
|
password?: string;
|
||||||
/**
|
/**
|
||||||
* Type of dashboard service such as Lookr or Superset...
|
* Type of dashboard service such as Looker or Superset...
|
||||||
*/
|
*/
|
||||||
serviceType: DashboardServiceType;
|
serviceType: DashboardServiceType;
|
||||||
/**
|
/**
|
||||||
* Username to log-into Dashboard Service
|
* Username to log-into Dashboard Service.
|
||||||
*/
|
*/
|
||||||
username?: string;
|
username?: string;
|
||||||
}
|
}
|
||||||
@ -58,11 +58,13 @@ export interface Schedule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type of dashboard service such as Lookr or Superset...
|
* Type of dashboard service such as Looker or Superset...
|
||||||
*
|
*
|
||||||
* Type of Dashboard service - Superset or Lookr
|
* Type of Dashboard service - Superset, Looker, Redash or Tableau.
|
||||||
*/
|
*/
|
||||||
export enum DashboardServiceType {
|
export enum DashboardServiceType {
|
||||||
Looker = 'Looker',
|
Looker = 'Looker',
|
||||||
|
Redash = 'Redash',
|
||||||
Superset = 'Superset',
|
Superset = 'Superset',
|
||||||
|
Tableau = 'Tableau',
|
||||||
}
|
}
|
||||||
|
|||||||
@ -75,4 +75,5 @@ export enum DatabaseServiceType {
|
|||||||
Presto = 'Presto',
|
Presto = 'Presto',
|
||||||
Redshift = 'Redshift',
|
Redshift = 'Redshift',
|
||||||
Snowflake = 'Snowflake',
|
Snowflake = 'Snowflake',
|
||||||
|
Vertica = 'Vertica',
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user