mirror of https://github.com/apache/superset.git
fix(native-filters): fix lint (#14387)
* fix:fix get permission function * lint: fix types
This commit is contained in:
parent
2486fd4f6d
commit
fc0c1155c2
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue