This is an automated email from the ASF dual-hosted git repository.

diegopucci pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 961cb961e9 refactor: Removes the export of QueryFormData (#28786)
961cb961e9 is described below

commit 961cb961e97136d43f8f21638477c0116d6b95ba
Author: Enzo Martellucci <[email protected]>
AuthorDate: Thu Jun 6 17:50:52 2024 +0200

    refactor: Removes the export of QueryFormData (#28786)
---
 superset-frontend/src/explore/actions/saveModalActions.test.ts | 3 +--
 superset-frontend/src/explore/actions/saveModalActions.ts      | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/superset-frontend/src/explore/actions/saveModalActions.test.ts 
b/superset-frontend/src/explore/actions/saveModalActions.test.ts
index 2e7be05874..062379e5d3 100644
--- a/superset-frontend/src/explore/actions/saveModalActions.test.ts
+++ b/superset-frontend/src/explore/actions/saveModalActions.test.ts
@@ -20,7 +20,7 @@ import sinon from 'sinon';
 import fetchMock from 'fetch-mock';
 import { Dispatch } from 'redux';
 import { ADD_TOAST } from 'src/components/MessageToasts/actions';
-import { DatasourceType } from '@superset-ui/core';
+import { DatasourceType, QueryFormData } from '@superset-ui/core';
 import {
   createDashboard,
   createSlice,
@@ -30,7 +30,6 @@ import {
   updateSlice,
   getSlicePayload,
   PayloadSlice,
-  QueryFormData,
 } from './saveModalActions';
 
 // Define test constants and mock data using imported types
diff --git a/superset-frontend/src/explore/actions/saveModalActions.ts 
b/superset-frontend/src/explore/actions/saveModalActions.ts
index 9dee1f789e..a66dba3a7b 100644
--- a/superset-frontend/src/explore/actions/saveModalActions.ts
+++ b/superset-frontend/src/explore/actions/saveModalActions.ts
@@ -318,4 +318,3 @@ export const getSliceDashboards =
       throw error;
     }
   };
-export { QueryFormData };

Reply via email to