From 035fb9b622b63d9e3b4d62c0219945247c2399ae Mon Sep 17 00:00:00 2001 From: "yuanzhi.jyz" Date: Wed, 28 Apr 2021 20:06:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=9F=E8=AE=A1=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=20sunburst=20=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/schemas/TapChart.ts | 4 +++- src/teambition.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/schemas/TapChart.ts b/src/schemas/TapChart.ts index d2bccaf36..75eca26a9 100644 --- a/src/schemas/TapChart.ts +++ b/src/schemas/TapChart.ts @@ -32,6 +32,7 @@ export type TapChartType = | 'bubble' | 'multiDetails' | 'polar' + | 'sunburst' // tapGraph definition export type TapGraphColType = 'type/Date' | 'type/DateTime' | 'type/Integer' | 'type/String' | 'type/Task' @@ -200,7 +201,8 @@ export type TapGraphVisualizationSettingsSet = TapGraphVisualizationSettings<'area', TapGraphAreaDisplay> | TapGraphVisualizationSettings<'bubble', TapGraphBubbleDisplay> | TapGraphVisualizationSettings<'multiDetails', TapGraphOverviewDisplay> | - TapGraphVisualizationSettings<'polar', TapGraphPolarDisplay> + TapGraphVisualizationSettings<'polar', TapGraphPolarDisplay> | + TapGraphVisualizationSettings<'sunburst', TapGraphPieDisplay> export interface TapBaseChart { _id: TapChartId diff --git a/src/teambition.ts b/src/teambition.ts index bca3cd057..ff10b8b41 100644 --- a/src/teambition.ts +++ b/src/teambition.ts @@ -490,7 +490,7 @@ declare module 'teambition-types' { export type TapChartType = 'pie' | 'bar' | 'line' | 'area' | 'scatter' - export type TapDimensionBaseDataType = 'string' | 'datetime' | 'dropDown' | 'text' | 'boolean' | 'int' + export type TapDimensionBaseDataType = 'string' | 'datetime' | 'dropDown' | 'text' | 'boolean' | 'int' | 'commongroup' export type TapChartOperator = '~' | '=' | '<' | '>=' | 'in' @@ -590,6 +590,7 @@ declare module 'teambition-types' { isDuedateExist?: boolean weekSeries?: TapSupportedWeekSeries[] date?: string + commongroup?: string } export type TapFilterItem = @@ -643,6 +644,7 @@ declare module 'teambition-types' { | TapFilterTarget<'isDuedateExist', 'boolean', boolean> | TapFilterTarget<'weekSeries', 'type/String', TapSupportedWeekSeries[]> | TapFilterTarget<'date', 'type/Date', string> + | TapFilterTarget<'commongroup', 'commongroup', CommonGroupId> export type TapGenericFilterResponse = TapFilterItem[]