diff --git a/superset-frontend/src/dashboard/types.ts b/superset-frontend/src/dashboard/types.ts index ddc5d8cf84..3ed1c1841d 100644 --- a/superset-frontend/src/dashboard/types.ts +++ b/superset-frontend/src/dashboard/types.ts @@ -45,8 +45,13 @@ export type DashboardLayout = { [key: string]: LayoutItem }; export type DashboardLayoutState = { present: DashboardLayout }; export type DashboardState = { editMode: boolean; directPathToChild: string[] }; export type DashboardInfo = { + common: { + flash_messages: string[]; + conf: JsonObject; + }; + userId: string; dash_edit_perm: boolean; - metadata: { show_native_filters: boolean }; + metadata: { show_native_filters: boolean; chart_configuration: JsonObject }; }; /** Root state of redux */ @@ -59,7 +64,6 @@ export type RootState = { dashboardState: DashboardState; dashboardInfo: DashboardInfo; dataMask: DataMaskStateWithId; - dashboardInfo: JsonObject; impressionId: string; nativeFilters: NativeFiltersState; };