hunk.code_window: import { DocumentationLink } from "../QueryEditor/EditorJSONtoForm";
   import GoogleSheetFilePicker from "./GoogleSheetFilePicker";
   import DatasourceInformation from "./../DataSourceEditor/DatasourceSection";
   import styled from "styled-components";
   interface StateProps extends JSONtoFormProps {
     applicationId: string;
     canManageDatasource?: boolean;
     canCreateDatasourceActions?: boolean;
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit: import { getConfigInitialValues } from "components/formControls/utils";
  
hunk.file_path: app/client/src/pages/Editor/SaaSEditor/DatasourceForm.tsx
hunk.type: add
file: import type { AppState } from "@appsmith/reducers";
  import type { User } from "constants/userConstants";
  import type { PropertyPanePositionConfig } from "reducers/uiReducers/usersReducer";
  
  export const getCurrentUser = (state: AppState): User | undefined =>
    state.ui?.users?.currentUser;
  export const getCurrentUserLoading = (state: AppState): boolean =>
    state.ui.users.loadingStates.fetchingUser;
  export const getUserAuthError = (state: AppState): string =>
    state.ui.users.error;
  export const getUsers = (state: AppState): User[] => state.ui.users.users;
  export const getProppanePreference = (
    state: AppState,
  ): PropertyPanePositionConfig | undefined => state.ui.users.propPanePreferences;
  export const getFeatureFlagsFetched = (state: AppState) =>
    state.ui.users.featureFlag.isFetched;
  
  export const selectFeatureFlags = (state: AppState) =>
    state.ui.users.featureFlag.data;
  