mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 19:18: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 {
|
||||
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 {
|
||||
Looker = 'Looker',
|
||||
Redash = 'Redash',
|
||||
Superset = 'Superset',
|
||||
Tableau = 'Tableau',
|
||||
}
|
||||
|
||||
@ -57,4 +57,5 @@ export enum DatabaseServiceType {
|
||||
Presto = 'Presto',
|
||||
Redshift = 'Redshift',
|
||||
Snowflake = 'Snowflake',
|
||||
Vertica = 'Vertica',
|
||||
}
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
/**
|
||||
* 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 {
|
||||
chartType?: ChartType;
|
||||
/**
|
||||
* Chart URL, pointing to its own Service URL
|
||||
* Chart URL, pointing to its own Service URL.
|
||||
*/
|
||||
chartUrl?: string;
|
||||
/**
|
||||
@ -14,7 +14,7 @@ export interface Chart {
|
||||
description?: string;
|
||||
/**
|
||||
* Display Name that identifies this Chart. It could be title or label from the source
|
||||
* services
|
||||
* services.
|
||||
*/
|
||||
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 {
|
||||
Area = 'Area',
|
||||
|
||||
@ -9,7 +9,7 @@ export interface Dashboard {
|
||||
*/
|
||||
charts?: EntityReference[];
|
||||
/**
|
||||
* Dashboard URL
|
||||
* Dashboard URL.
|
||||
*/
|
||||
dashboardUrl?: string;
|
||||
/**
|
||||
@ -18,7 +18,7 @@ export interface Dashboard {
|
||||
description?: string;
|
||||
/**
|
||||
* Display Name that identifies this Dashboard. It could be title or label from the source
|
||||
* services
|
||||
* services.
|
||||
*/
|
||||
displayName?: string;
|
||||
/**
|
||||
|
||||
@ -349,11 +349,11 @@ export interface ColumnProfile {
|
||||
*/
|
||||
name?: string;
|
||||
/**
|
||||
* No.of null values in a column
|
||||
* No.of null values in a column.
|
||||
*/
|
||||
nullCount?: number;
|
||||
/**
|
||||
* No.of null value proportion in columns
|
||||
* No.of null value proportion in columns.
|
||||
*/
|
||||
nullProportion?: number;
|
||||
/**
|
||||
@ -361,11 +361,11 @@ export interface ColumnProfile {
|
||||
*/
|
||||
stddev?: number;
|
||||
/**
|
||||
* No. of unique values in the column
|
||||
* No. of unique values in the column.
|
||||
*/
|
||||
uniqueCount?: number;
|
||||
/**
|
||||
* Proportion of number of unique values in a column
|
||||
* Proportion of number of unique values in a column.
|
||||
*/
|
||||
uniqueProportion?: number;
|
||||
}
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
*/
|
||||
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;
|
||||
/**
|
||||
@ -27,15 +27,15 @@ export interface DashboardService {
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* Password to log-into Dashboard Service
|
||||
* Password to log-into Dashboard Service.
|
||||
*/
|
||||
password?: string;
|
||||
/**
|
||||
* Type of dashboard service such as Lookr or Superset...
|
||||
* Type of dashboard service such as Looker or Superset...
|
||||
*/
|
||||
serviceType: DashboardServiceType;
|
||||
/**
|
||||
* Username to log-into Dashboard Service
|
||||
* Username to log-into Dashboard Service.
|
||||
*/
|
||||
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 {
|
||||
Looker = 'Looker',
|
||||
Redash = 'Redash',
|
||||
Superset = 'Superset',
|
||||
Tableau = 'Tableau',
|
||||
}
|
||||
|
||||
@ -75,4 +75,5 @@ export enum DatabaseServiceType {
|
||||
Presto = 'Presto',
|
||||
Redshift = 'Redshift',
|
||||
Snowflake = 'Snowflake',
|
||||
Vertica = 'Vertica',
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user