Updated TS from schema (#561)

This commit is contained in:
darth-coder00 2021-09-22 14:31:48 +05:30 committed by GitHub
parent cde21d877a
commit d961948946
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 18 deletions

View File

@ -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',

View File

@ -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',
}

View File

@ -57,4 +57,5 @@ export enum DatabaseServiceType {
Presto = 'Presto',
Redshift = 'Redshift',
Snowflake = 'Snowflake',
Vertica = 'Vertica',
}

View File

@ -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',

View File

@ -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;
/**

View File

@ -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;
}

View File

@ -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',
}

View File

@ -75,4 +75,5 @@ export enum DatabaseServiceType {
Presto = 'Presto',
Redshift = 'Redshift',
Snowflake = 'Snowflake',
Vertica = 'Vertica',
}