Merge branch 'refs/heads/release' into chore/ok-to-test-push
This commit is contained in:
commit
f1190d2f79
2
.github/config.json
vendored
2
.github/config.json
vendored
File diff suppressed because one or more lines are too long
14
.github/workflows/client-build.yml
vendored
14
.github/workflows/client-build.yml
vendored
|
|
@ -72,13 +72,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
files: "app/client/**"
|
files: "app/client/**"
|
||||||
|
|
||||||
- name: Run step if any file(s) in the client folder change
|
#- name: Run step if any file(s) in the client folder change
|
||||||
if: steps.changed-files-specific.outputs.any_changed == 'true'
|
# if: steps.changed-files-specific.outputs.any_changed == 'true'
|
||||||
env:
|
# env:
|
||||||
ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
|
# ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }}
|
||||||
run: |
|
# run: |
|
||||||
echo "One or more files in the server folder has changed."
|
# echo "One or more files in the server folder has changed."
|
||||||
echo "List all the files that have changed: $ALL_CHANGED_FILES"
|
# echo "List all the files that have changed: $ALL_CHANGED_FILES"
|
||||||
|
|
||||||
- name: Check compliance
|
- name: Check compliance
|
||||||
if: inputs.pr != 0 && steps.changed-files-specific.outputs.any_changed == 'true'
|
if: inputs.pr != 0 && steps.changed-files-specific.outputs.any_changed == 'true'
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ const eslintConfig = {
|
||||||
...(baseNoRestrictedImports.patterns ?? []),
|
...(baseNoRestrictedImports.patterns ?? []),
|
||||||
{
|
{
|
||||||
group: ["**/ce/*"],
|
group: ["**/ce/*"],
|
||||||
message: "Reason: Please use @appsmith import instead.",
|
message: "Reason: Please use ee/ import instead.",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import React, { forwardRef } from "react";
|
import React, { forwardRef, useMemo } from "react";
|
||||||
import { Button, Menu } from "@design-system/widgets";
|
import { Button, Menu } from "@design-system/widgets";
|
||||||
import { FocusScope } from "@react-aria/focus";
|
import { FocusScope } from "@react-aria/focus";
|
||||||
import { useDOMRef } from "@react-spectrum/utils";
|
import { useDOMRef } from "@react-spectrum/utils";
|
||||||
|
|
@ -37,11 +37,14 @@ const _ToolbarButtonsInner = <T extends ToolbarButtonsItem>(
|
||||||
domRef,
|
domRef,
|
||||||
);
|
);
|
||||||
|
|
||||||
let children = [...state.collection];
|
const menuChildren = useMemo(
|
||||||
const menuChildren = (props.items as ToolbarButtonsItem[]).slice(
|
() => (props.items as ToolbarButtonsItem[]).slice(visibleItems),
|
||||||
visibleItems,
|
[props.items, visibleItems],
|
||||||
|
);
|
||||||
|
const children = useMemo(
|
||||||
|
() => [...state.collection].slice(0, visibleItems),
|
||||||
|
[state.collection, visibleItems],
|
||||||
);
|
);
|
||||||
children = children.slice(0, visibleItems);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<FocusScope>
|
<FocusScope>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import styled from "styled-components";
|
||||||
import AppCrashImage from "assets/images/404-image.png";
|
import AppCrashImage from "assets/images/404-image.png";
|
||||||
import * as Sentry from "@sentry/react";
|
import * as Sentry from "@sentry/react";
|
||||||
import log from "loglevel";
|
import log from "loglevel";
|
||||||
import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil";
|
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
|
||||||
import { Button } from "design-system";
|
import { Button } from "design-system";
|
||||||
|
|
||||||
const Wrapper = styled.div`
|
const Wrapper = styled.div`
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import SidebarButton from "./SidebarButton";
|
import SidebarButton from "./SidebarButton";
|
||||||
import type { EditorState } from "@appsmith/entities/IDE/constants";
|
import type { EditorState } from "ee/entities/IDE/constants";
|
||||||
import type { SidebarButtonProps } from "./SidebarButton/SidebarButton";
|
import type { SidebarButtonProps } from "./SidebarButton/SidebarButton";
|
||||||
import { Flex } from "design-system";
|
import { Flex } from "design-system";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { renderHook, act } from "@testing-library/react-hooks/dom";
|
import { renderHook, act } from "@testing-library/react-hooks/dom";
|
||||||
import { Provider } from "react-redux";
|
import { Provider } from "react-redux";
|
||||||
import { EditorViewMode } from "@appsmith/entities/IDE/constants";
|
import { EditorViewMode } from "ee/entities/IDE/constants";
|
||||||
import { useIsInSideBySideEditor } from "./useIsInSideBySideEditor";
|
import { useIsInSideBySideEditor } from "./useIsInSideBySideEditor";
|
||||||
import { getIDETestState } from "test/factories/AppIDEFactoryUtils";
|
import { getIDETestState } from "test/factories/AppIDEFactoryUtils";
|
||||||
import type { AppState } from "@appsmith/reducers";
|
import type { AppState } from "ee/reducers";
|
||||||
|
|
||||||
import { createMemoryHistory, type MemoryHistory } from "history";
|
import { createMemoryHistory, type MemoryHistory } from "history";
|
||||||
import { Router } from "react-router";
|
import { Router } from "react-router";
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import type { AppState } from "@appsmith/reducers";
|
import type { AppState } from "ee/reducers";
|
||||||
import { getCurrentUser, getUserAuthError } from "selectors/usersSelectors";
|
import { getCurrentUser, getUserAuthError } from "selectors/usersSelectors";
|
||||||
import { connect } from "react-redux";
|
import { connect } from "react-redux";
|
||||||
import type { User } from "constants/userConstants";
|
import type { User } from "constants/userConstants";
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import {
|
||||||
SEMRESATTRS_SERVICE_VERSION,
|
SEMRESATTRS_SERVICE_VERSION,
|
||||||
SEMRESATTRS_SERVICE_INSTANCE_ID,
|
SEMRESATTRS_SERVICE_INSTANCE_ID,
|
||||||
} from "@opentelemetry/semantic-conventions";
|
} from "@opentelemetry/semantic-conventions";
|
||||||
import { getAppsmithConfigs } from "@appsmith/configs";
|
import { getAppsmithConfigs } from "ee/configs";
|
||||||
import { W3CTraceContextPropagator } from "@opentelemetry/core";
|
import { W3CTraceContextPropagator } from "@opentelemetry/core";
|
||||||
import {
|
import {
|
||||||
MeterProvider,
|
MeterProvider,
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import type { DerivedPropertiesMap } from "WidgetProvider/factory";
|
||||||
import type { WidgetFeatures } from "utils/WidgetFeatures";
|
import type { WidgetFeatures } from "utils/WidgetFeatures";
|
||||||
import type { WidgetProps } from "../widgets/BaseWidget";
|
import type { WidgetProps } from "../widgets/BaseWidget";
|
||||||
import type { ExtraDef } from "utils/autocomplete/defCreatorUtils";
|
import type { ExtraDef } from "utils/autocomplete/defCreatorUtils";
|
||||||
import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types";
|
import type { WidgetEntityConfig } from "ee/entities/DataTree/types";
|
||||||
import type {
|
import type {
|
||||||
WidgetQueryConfig,
|
WidgetQueryConfig,
|
||||||
WidgetQueryGenerationConfig,
|
WidgetQueryGenerationConfig,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type { JSLibrary } from "workers/common/JSLibrary";
|
import type { JSLibrary } from "workers/common/JSLibrary";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const evaluateActionSelectorField = (payload: {
|
export const evaluateActionSelectorField = (payload: {
|
||||||
id: string;
|
id: string;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const setActiveEditorField = (field: string) => ({
|
export const setActiveEditorField = (field: string) => ({
|
||||||
type: ReduxActionTypes.SET_ACTIVE_EDITOR_FIELD,
|
type: ReduxActionTypes.SET_ACTIVE_EDITOR_FIELD,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const segmentInitSuccess = () => ({
|
export const segmentInitSuccess = () => ({
|
||||||
type: ReduxActionTypes.SEGMENT_INITIALIZED,
|
type: ReduxActionTypes.SEGMENT_INITIALIZED,
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes";
|
import type { EventLocation } from "ee/utils/analyticsUtilTypes";
|
||||||
import type { SlashCommandPayload } from "entities/Action";
|
import type { SlashCommandPayload } from "entities/Action";
|
||||||
import type { ApiPaneDebuggerState } from "@appsmith/reducers/uiReducers/apiPaneReducer";
|
import type { ApiPaneDebuggerState } from "ee/reducers/uiReducers/apiPaneReducer";
|
||||||
|
|
||||||
export const changeApi = (
|
export const changeApi = (
|
||||||
id: string,
|
id: string,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import {
|
||||||
appLevelWebsocketWriteEvent,
|
appLevelWebsocketWriteEvent,
|
||||||
pageLevelWebsocketWriteEvent,
|
pageLevelWebsocketWriteEvent,
|
||||||
} from "./websocketActions";
|
} from "./websocketActions";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import { PAGE_LEVEL_SOCKET_EVENTS } from "sagas/WebsocketSagas/socketEvents";
|
import { PAGE_LEVEL_SOCKET_EVENTS } from "sagas/WebsocketSagas/socketEvents";
|
||||||
|
|
||||||
// App Editors presence Socket actions
|
// App Editors presence Socket actions
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer";
|
import type { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer";
|
||||||
|
|
||||||
export const updateAppSettingsPaneSelectedTabAction = (
|
export const updateAppSettingsPaneSelectedTabAction = (
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import type { AppTheme } from "entities/AppTheming";
|
import type { AppTheme } from "entities/AppTheming";
|
||||||
import type { AppThemingMode } from "selectors/appThemingSelectors";
|
import type { AppThemingMode } from "selectors/appThemingSelectors";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ----------------------------------------------------------------------------
|
* ----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
|
|
||||||
export const getCurrentUser = (userProfile?: ApiResponse) => ({
|
export const getCurrentUser = (userProfile?: ApiResponse) => ({
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import { GridDefaults } from "constants/WidgetConstants";
|
import { GridDefaults } from "constants/WidgetConstants";
|
||||||
import type { TreeNode } from "utils/autoHeight/constants";
|
import type { TreeNode } from "utils/autoHeight/constants";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { LayoutSystemTypes } from "layoutSystems/types";
|
import type { LayoutSystemTypes } from "layoutSystems/types";
|
||||||
import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer";
|
import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer";
|
||||||
import type {
|
import type {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import type {
|
import type {
|
||||||
EvaluationReduxAction,
|
EvaluationReduxAction,
|
||||||
ReduxAction,
|
ReduxAction,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
// TODO: Fix this the next time the file is edited
|
// TODO: Fix this the next time the file is edited
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const setUserCurrentGeoLocation = (position: GeolocationPosition) => {
|
export const setUserCurrentGeoLocation = (position: GeolocationPosition) => {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { XYCord } from "layoutSystems/common/canvasArenas/ArenaTypes";
|
import type { XYCord } from "layoutSystems/common/canvasArenas/ArenaTypes";
|
||||||
import type { SelectedArenaDimensions } from "layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/CanvasSelectionArena";
|
import type { SelectedArenaDimensions } from "layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/CanvasSelectionArena";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export interface PublishCommunityTemplatePayload {
|
export interface PublishCommunityTemplatePayload {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import type {
|
import type {
|
||||||
ReduxAction,
|
ReduxAction,
|
||||||
ReduxActionType,
|
ReduxActionType,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { UpdateWidgetsPayload } from "reducers/entityReducers/canvasWidgetsReducer";
|
import type { UpdateWidgetsPayload } from "reducers/entityReducers/canvasWidgetsReducer";
|
||||||
import type { DynamicPath } from "utils/DynamicBindingUtils";
|
import type { DynamicPath } from "utils/DynamicBindingUtils";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export interface SetCrudInfoModalOpenPayload {
|
export interface SetCrudInfoModalOpenPayload {
|
||||||
open: boolean;
|
open: boolean;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import type {
|
import type {
|
||||||
ReduxAction,
|
ReduxAction,
|
||||||
ReduxActionWithCallbacks,
|
ReduxActionWithCallbacks,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { CreateDatasourceConfig } from "api/DatasourcesApi";
|
import type { CreateDatasourceConfig } from "api/DatasourcesApi";
|
||||||
import type {
|
import type {
|
||||||
AuthenticationStatus,
|
AuthenticationStatus,
|
||||||
|
|
@ -17,7 +17,7 @@ import { TEMP_DATASOURCE_ID } from "constants/Datasource";
|
||||||
import {
|
import {
|
||||||
ActionParentEntityType,
|
ActionParentEntityType,
|
||||||
type ActionParentEntityTypeInterface,
|
type ActionParentEntityTypeInterface,
|
||||||
} from "@appsmith/entities/Engine/actionHelpers";
|
} from "ee/entities/Engine/actionHelpers";
|
||||||
|
|
||||||
export const createDatasourceFromForm = (
|
export const createDatasourceFromForm = (
|
||||||
payload: CreateDatasourceConfig & Datasource,
|
payload: CreateDatasourceConfig & Datasource,
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { Log, Message, SourceEntity } from "entities/AppsmithConsole";
|
import type { Log, Message, SourceEntity } from "entities/AppsmithConsole";
|
||||||
import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils";
|
import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils";
|
||||||
import type {
|
import type {
|
||||||
CanvasDebuggerState,
|
CanvasDebuggerState,
|
||||||
DebuggerContext,
|
DebuggerContext,
|
||||||
} from "reducers/uiReducers/debuggerReducer";
|
} from "reducers/uiReducers/debuggerReducer";
|
||||||
import type { EventName } from "@appsmith/utils/analyticsUtilTypes";
|
import type { EventName } from "ee/utils/analyticsUtilTypes";
|
||||||
import type { APP_MODE } from "entities/App";
|
import type { APP_MODE } from "entities/App";
|
||||||
|
|
||||||
export interface LogDebuggerErrorAnalyticsPayload {
|
export interface LogDebuggerErrorAnalyticsPayload {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { EntityInfo } from "pages/Editor/EntityNavigation/types";
|
import type { EntityInfo } from "pages/Editor/EntityNavigation/types";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type {
|
import type {
|
||||||
CodeEditorContext,
|
CodeEditorContext,
|
||||||
CursorPosition,
|
CursorPosition,
|
||||||
EvaluatedPopupState,
|
EvaluatedPopupState,
|
||||||
PropertyPanelContext,
|
PropertyPanelContext,
|
||||||
} from "@appsmith/reducers/uiReducers/editorContextReducer";
|
} from "ee/reducers/uiReducers/editorContextReducer";
|
||||||
import { CursorPositionOrigin } from "@appsmith/reducers/uiReducers/editorContextReducer";
|
import { CursorPositionOrigin } from "ee/reducers/uiReducers/editorContextReducer";
|
||||||
|
|
||||||
export const setFocusableInputField = (path: string | undefined) => {
|
export const setFocusableInputField = (path: string | undefined) => {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { ERROR_CODES } from "@appsmith/constants/ApiConstants";
|
import type { ERROR_CODES } from "ee/constants/ApiConstants";
|
||||||
import type { ErrorPayloadType } from "sagas/ErrorSagas";
|
import type { ErrorPayloadType } from "sagas/ErrorSagas";
|
||||||
|
|
||||||
export const safeCrashAppRequest = (code?: ERROR_CODES) => {
|
export const safeCrashAppRequest = (code?: ERROR_CODES) => {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import { intersection } from "lodash";
|
import { intersection } from "lodash";
|
||||||
import type { DependencyMap } from "utils/DynamicBindingUtils";
|
import type { DependencyMap } from "utils/DynamicBindingUtils";
|
||||||
import type { QueryActionConfig } from "entities/Action";
|
import type { QueryActionConfig } from "entities/Action";
|
||||||
|
|
@ -10,7 +10,7 @@ import {
|
||||||
EVAL_AND_LINT_REDUX_ACTIONS,
|
EVAL_AND_LINT_REDUX_ACTIONS,
|
||||||
LINT_REDUX_ACTIONS,
|
LINT_REDUX_ACTIONS,
|
||||||
LOG_REDUX_ACTIONS,
|
LOG_REDUX_ACTIONS,
|
||||||
} from "@appsmith/actions/evaluationActionsList";
|
} from "ee/actions/evaluationActionsList";
|
||||||
|
|
||||||
export const shouldTriggerEvaluation = (action: ReduxAction<unknown>) => {
|
export const shouldTriggerEvaluation = (action: ReduxAction<unknown>) => {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const initExplorerEntityNameEdit = (actionId: string) => {
|
export const initExplorerEntityNameEdit = (actionId: string) => {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { OverriddenFeatureFlags } from "utils/hooks/useFeatureFlagOverride";
|
import type { OverriddenFeatureFlags } from "utils/hooks/useFeatureFlagOverride";
|
||||||
|
|
||||||
export const setFeatureFlagOverridesAction = (
|
export const setFeatureFlagOverridesAction = (
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import type { FocusState } from "reducers/uiReducers/focusHistoryReducer";
|
import type { FocusState } from "reducers/uiReducers/focusHistoryReducer";
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { Location } from "history";
|
import type { Location } from "history";
|
||||||
import type { AppsmithLocationState } from "utils/history";
|
import type { AppsmithLocationState } from "utils/history";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,17 @@
|
||||||
import type {
|
import type {
|
||||||
ReduxAction,
|
ReduxAction,
|
||||||
ReduxActionWithCallbacks,
|
ReduxActionWithCallbacks,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import {
|
import {
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import type {
|
import type {
|
||||||
ConnectToGitPayload,
|
ConnectToGitPayload,
|
||||||
GitAutocommitProgressResponse,
|
GitAutocommitProgressResponse,
|
||||||
} from "api/GitSyncAPI";
|
} from "api/GitSyncAPI";
|
||||||
import type { GitConfig, GitSyncModalTab, MergeStatus } from "entities/GitSync";
|
import type { GitConfig, GitSyncModalTab, MergeStatus } from "entities/GitSync";
|
||||||
import type { GitApplicationMetadata } from "@appsmith/api/ApplicationApi";
|
import type { GitApplicationMetadata } from "ee/api/ApplicationApi";
|
||||||
import {
|
import {
|
||||||
type GitStatusData,
|
type GitStatusData,
|
||||||
GitSettingsTab,
|
GitSettingsTab,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type {
|
import type {
|
||||||
RecentEntity,
|
RecentEntity,
|
||||||
SearchCategory,
|
SearchCategory,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const setHelpDefaultRefinement = (payload: string) => {
|
export const setHelpDefaultRefinement = (payload: string) => {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { EditorViewMode } from "@appsmith/entities/IDE/constants";
|
import type { EditorViewMode } from "ee/entities/IDE/constants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const setIdeEditorViewMode = (mode: EditorViewMode) => {
|
export const setIdeEditorViewMode = (mode: EditorViewMode) => {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
import type { CurlImportFormValues } from "../pages/Editor/CurlImport/helpers";
|
import type { CurlImportFormValues } from "../pages/Editor/CurlImport/helpers";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import type { APP_MODE } from "entities/App";
|
import type { APP_MODE } from "entities/App";
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const initCurrentPage = () => {
|
export const initCurrentPage = () => {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ import {
|
||||||
type ReduxAction,
|
type ReduxAction,
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import type { JSCollection } from "entities/JSCollection";
|
import type { JSCollection } from "entities/JSCollection";
|
||||||
import type { CreateJSCollectionRequest } from "@appsmith/api/JSActionAPI";
|
import type { CreateJSCollectionRequest } from "ee/api/JSActionAPI";
|
||||||
import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes";
|
import type { EventLocation } from "ee/utils/analyticsUtilTypes";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
|
|
||||||
export interface FetchJSCollectionsPayload {
|
export interface FetchJSCollectionsPayload {
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { JSCollection, JSAction } from "entities/JSCollection";
|
import type { JSCollection, JSAction } from "entities/JSCollection";
|
||||||
import type {
|
import type {
|
||||||
RefactorAction,
|
RefactorAction,
|
||||||
SetFunctionPropertyPayload,
|
SetFunctionPropertyPayload,
|
||||||
} from "@appsmith/api/JSActionAPI";
|
} from "ee/api/JSActionAPI";
|
||||||
import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes";
|
import type { EventLocation } from "ee/utils/analyticsUtilTypes";
|
||||||
import type {
|
import type {
|
||||||
JSEditorTab,
|
JSEditorTab,
|
||||||
JSPaneDebuggerState,
|
JSPaneDebuggerState,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import type { LintErrorsStore } from "reducers/lintingReducers/lintErrorsReducers";
|
import type { LintErrorsStore } from "reducers/lintingReducers/lintErrorsReducers";
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export type SetLintErrorsAction = ReduxAction<{ errors: LintErrorsStore }>;
|
export type SetLintErrorsAction = ReduxAction<{ errors: LintErrorsStore }>;
|
||||||
export const setLintingErrors = (
|
export const setLintingErrors = (
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { BatchAction } from "actions/batchActions";
|
import type { BatchAction } from "actions/batchActions";
|
||||||
import { batchAction } from "actions/batchActions";
|
import { batchAction } from "actions/batchActions";
|
||||||
import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types";
|
import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types";
|
||||||
import type {
|
import type {
|
||||||
WidgetEntity,
|
WidgetEntity,
|
||||||
DataTreeEntityConfig,
|
DataTreeEntityConfig,
|
||||||
WidgetEntityConfig,
|
WidgetEntityConfig,
|
||||||
} from "@appsmith/entities/DataTree/types";
|
} from "ee/entities/DataTree/types";
|
||||||
|
|
||||||
export interface UpdateWidgetMetaPropertyPayload {
|
export interface UpdateWidgetMetaPropertyPayload {
|
||||||
widgetId: string;
|
widgetId: string;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type {
|
import type {
|
||||||
DeleteMetaWidgetsPayload,
|
DeleteMetaWidgetsPayload,
|
||||||
ModifyMetaWidgetPayload,
|
ModifyMetaWidgetPayload,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { SIGNPOSTING_STEP } from "pages/Editor/FirstTimeUserOnboarding/Utils";
|
import type { SIGNPOSTING_STEP } from "pages/Editor/FirstTimeUserOnboarding/Utils";
|
||||||
|
|
||||||
export const toggleInOnboardingWidgetSelection = (payload: boolean) => {
|
export const toggleInOnboardingWidgetSelection = (payload: boolean) => {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const updateOneClickBindingOptionsVisibility = (
|
export const updateOneClickBindingOptionsVisibility = (
|
||||||
visibility: boolean,
|
visibility: boolean,
|
||||||
|
|
|
||||||
|
|
@ -5,15 +5,15 @@ import type {
|
||||||
UpdateCanvasPayload,
|
UpdateCanvasPayload,
|
||||||
AnyReduxAction,
|
AnyReduxAction,
|
||||||
ClonePageSuccessPayload,
|
ClonePageSuccessPayload,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import {
|
import {
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
WidgetReduxActionTypes,
|
WidgetReduxActionTypes,
|
||||||
ReplayReduxActionTypes,
|
ReplayReduxActionTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import type { DynamicPath } from "utils/DynamicBindingUtils";
|
import type { DynamicPath } from "utils/DynamicBindingUtils";
|
||||||
import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil";
|
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
|
||||||
import type { WidgetOperation } from "widgets/BaseWidget";
|
import type { WidgetOperation } from "widgets/BaseWidget";
|
||||||
import type {
|
import type {
|
||||||
FetchPageResponse,
|
FetchPageResponse,
|
||||||
|
|
@ -25,7 +25,7 @@ import type {
|
||||||
import type { UrlDataState } from "reducers/entityReducers/appReducer";
|
import type { UrlDataState } from "reducers/entityReducers/appReducer";
|
||||||
import type { APP_MODE } from "entities/App";
|
import type { APP_MODE } from "entities/App";
|
||||||
import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer";
|
import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer";
|
||||||
import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils";
|
import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils";
|
||||||
import type { Replayable } from "entities/Replay/ReplayEntity/ReplayEditor";
|
import type { Replayable } from "entities/Replay/ReplayEntity/ReplayEditor";
|
||||||
import * as Sentry from "@sentry/react";
|
import * as Sentry from "@sentry/react";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import {
|
||||||
type ReduxAction,
|
type ReduxAction,
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import type { JSUpdate } from "utils/JSPaneUtils";
|
import type { JSUpdate } from "utils/JSPaneUtils";
|
||||||
import type { Action, ActionViewMode } from "entities/Action";
|
import type { Action, ActionViewMode } from "entities/Action";
|
||||||
import { ActionExecutionContext } from "entities/Action";
|
import { ActionExecutionContext } from "entities/Action";
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import type {
|
import type {
|
||||||
ReduxAction,
|
ReduxAction,
|
||||||
ReduxActionWithoutPayload,
|
ReduxActionWithoutPayload,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import {
|
import {
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type { PluginFormPayload } from "api/PluginApi";
|
import type { PluginFormPayload } from "api/PluginApi";
|
||||||
import type { DependencyMap } from "utils/DynamicBindingUtils";
|
import type { DependencyMap } from "utils/DynamicBindingUtils";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { SelectedPropertyPanel } from "reducers/uiReducers/propertyPaneReducer";
|
import type { SelectedPropertyPanel } from "reducers/uiReducers/propertyPaneReducer";
|
||||||
|
|
||||||
export const updateWidgetName = (widgetId: string, newName: string) => {
|
export const updateWidgetName = (widgetId: string, newName: string) => {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { Action } from "entities/Action";
|
import type { Action } from "entities/Action";
|
||||||
import type { QueryPaneDebuggerState } from "@appsmith/reducers/uiReducers/queryPaneReducer";
|
import type { QueryPaneDebuggerState } from "ee/reducers/uiReducers/queryPaneReducer";
|
||||||
|
|
||||||
export interface ChangeQueryPayload {
|
export interface ChangeQueryPayload {
|
||||||
baseQueryId: string;
|
baseQueryId: string;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReflowReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReflowReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { ReflowedSpaceMap } from "reflow/reflowTypes";
|
import type { ReflowedSpaceMap } from "reflow/reflowTypes";
|
||||||
|
|
||||||
export const reflowMoveAction = (
|
export const reflowMoveAction = (
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const resetReleasesCount = () => ({
|
export const resetReleasesCount = () => ({
|
||||||
type: ReduxActionTypes.RESET_UNREAD_RELEASES_COUNT,
|
type: ReduxActionTypes.RESET_UNREAD_RELEASES_COUNT,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const getAllTemplates = () => ({
|
export const getAllTemplates = () => ({
|
||||||
type: ReduxActionTypes.GET_ALL_TEMPLATES_INIT,
|
type: ReduxActionTypes.GET_ALL_TEMPLATES_INIT,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { ThemeMode } from "selectors/themeSelectors";
|
import type { ThemeMode } from "selectors/themeSelectors";
|
||||||
|
|
||||||
export const setThemeMode = (mode: ThemeMode) => ({
|
export const setThemeMode = (mode: ThemeMode) => ({
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { TourType } from "entities/Tour";
|
import type { TourType } from "entities/Tour";
|
||||||
|
|
||||||
export const setActiveTour = (tourType: TourType) => ({
|
export const setActiveTour = (tourType: TourType) => ({
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
import {
|
import {
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import { CurrentUserDetailsRequestPayload } from "constants/userConstants";
|
import { CurrentUserDetailsRequestPayload } from "constants/userConstants";
|
||||||
import type {
|
import type {
|
||||||
TokenPasswordUpdateRequest,
|
TokenPasswordUpdateRequest,
|
||||||
UpdateUserRequest,
|
UpdateUserRequest,
|
||||||
VerifyTokenRequest,
|
VerifyTokenRequest,
|
||||||
} from "@appsmith/api/UserApi";
|
} from "ee/api/UserApi";
|
||||||
import type { FeatureFlags } from "@appsmith/entities/FeatureFlag";
|
import type { FeatureFlags } from "ee/entities/FeatureFlag";
|
||||||
import type {
|
import type {
|
||||||
ProductAlert,
|
ProductAlert,
|
||||||
ProductAlertConfig,
|
ProductAlertConfig,
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const historyPush = (url: string) => ({
|
export const historyPush = (url: string) => ({
|
||||||
type: ReduxActionTypes.HISTORY_PUSH,
|
type: ReduxActionTypes.HISTORY_PUSH,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import {
|
import {
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
ReduxSagaChannels,
|
ReduxSagaChannels,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import { reconnectWebsocketEvent } from "constants/WebsocketConstants";
|
import { reconnectWebsocketEvent } from "constants/WebsocketConstants";
|
||||||
|
|
||||||
export const setIsAppLevelWebsocketConnected = (payload: boolean) => ({
|
export const setIsAppLevelWebsocketConnected = (payload: boolean) => ({
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import {
|
import {
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
WidgetReduxActionTypes,
|
WidgetReduxActionTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import type { ExecuteTriggerPayload } from "constants/AppsmithActionConstants/ActionConstants";
|
import type { ExecuteTriggerPayload } from "constants/AppsmithActionConstants/ActionConstants";
|
||||||
import type { BatchAction } from "actions/batchActions";
|
import type { BatchAction } from "actions/batchActions";
|
||||||
import { batchAction } from "actions/batchActions";
|
import { batchAction } from "actions/batchActions";
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { SelectionRequestType } from "sagas/WidgetSelectUtils";
|
import type { SelectionRequestType } from "sagas/WidgetSelectUtils";
|
||||||
import type { NavigationMethod } from "utils/history";
|
import type { NavigationMethod } from "utils/history";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import {
|
import {
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import type { WidgetCardProps } from "widgets/BaseWidget";
|
import type { WidgetCardProps } from "widgets/BaseWidget";
|
||||||
|
|
||||||
export const fetchWidgetCards = () => {
|
export const fetchWidgetCards = () => {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import type React from "react";
|
||||||
import type { HttpMethod } from "api/Api";
|
import type { HttpMethod } from "api/Api";
|
||||||
import API from "api/Api";
|
import API from "api/Api";
|
||||||
import type { ApiResponse } from "./ApiResponses";
|
import type { ApiResponse } from "./ApiResponses";
|
||||||
import { DEFAULT_EXECUTE_ACTION_TIMEOUT_MS } from "@appsmith/constants/ApiConstants";
|
import { DEFAULT_EXECUTE_ACTION_TIMEOUT_MS } from "ee/constants/ApiConstants";
|
||||||
import type { AxiosPromise, CancelTokenSource } from "axios";
|
import type { AxiosPromise, CancelTokenSource } from "axios";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import type { Action, ActionViewMode } from "entities/Action";
|
import type { Action, ActionViewMode } from "entities/Action";
|
||||||
|
|
@ -10,7 +10,7 @@ import type { APIRequest } from "constants/AppsmithActionConstants/ActionConstan
|
||||||
import type { WidgetType } from "constants/WidgetConstants";
|
import type { WidgetType } from "constants/WidgetConstants";
|
||||||
import type { OtlpSpan } from "UITelemetry/generateTraces";
|
import type { OtlpSpan } from "UITelemetry/generateTraces";
|
||||||
import { wrapFnWithParentTraceContext } from "UITelemetry/generateTraces";
|
import { wrapFnWithParentTraceContext } from "UITelemetry/generateTraces";
|
||||||
import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers";
|
import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers";
|
||||||
|
|
||||||
export interface Property {
|
export interface Property {
|
||||||
key: string;
|
key: string;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
import type { AxiosInstance, AxiosRequestConfig } from "axios";
|
import type { AxiosInstance, AxiosRequestConfig } from "axios";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import { REQUEST_TIMEOUT_MS } from "@appsmith/constants/ApiConstants";
|
import { REQUEST_TIMEOUT_MS } from "ee/constants/ApiConstants";
|
||||||
import { convertObjectToQueryParams } from "utils/URLUtils";
|
import { convertObjectToQueryParams } from "utils/URLUtils";
|
||||||
import {
|
import {
|
||||||
apiFailureResponseInterceptor,
|
apiFailureResponseInterceptor,
|
||||||
apiRequestInterceptor,
|
apiRequestInterceptor,
|
||||||
apiSuccessResponseInterceptor,
|
apiSuccessResponseInterceptor,
|
||||||
blockedApiRoutesForAirgapInterceptor,
|
blockedApiRoutesForAirgapInterceptor,
|
||||||
} from "@appsmith/api/ApiUtils";
|
} from "ee/api/ApiUtils";
|
||||||
|
|
||||||
//TODO(abhinav): Refactor this to make more composable.
|
//TODO(abhinav): Refactor this to make more composable.
|
||||||
export const apiRequestConfig = {
|
export const apiRequestConfig = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { getAppsmithConfigs } from "@appsmith/configs";
|
import { getAppsmithConfigs } from "ee/configs";
|
||||||
|
|
||||||
const { cloudServicesBaseUrl: BASE_URL } = getAppsmithConfigs();
|
const { cloudServicesBaseUrl: BASE_URL } = getAppsmithConfigs();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { DEFAULT_TEST_DATA_SOURCE_TIMEOUT_MS } from "@appsmith/constants/ApiConstants";
|
import { DEFAULT_TEST_DATA_SOURCE_TIMEOUT_MS } from "ee/constants/ApiConstants";
|
||||||
import API from "api/Api";
|
import API from "api/Api";
|
||||||
import type { ApiResponse } from "./ApiResponses";
|
import type { ApiResponse } from "./ApiResponses";
|
||||||
import type { AxiosPromise } from "axios";
|
import type { AxiosPromise } from "axios";
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import type { AxiosPromise } from "axios";
|
||||||
import Api from "api/Api";
|
import Api from "api/Api";
|
||||||
import type { ApiResponse } from "./ApiResponses";
|
import type { ApiResponse } from "./ApiResponses";
|
||||||
import type { GitConfig } from "entities/GitSync";
|
import type { GitConfig } from "entities/GitSync";
|
||||||
import ApplicationApi from "@appsmith/api/ApplicationApi";
|
import ApplicationApi from "ee/api/ApplicationApi";
|
||||||
|
|
||||||
export interface CommitPayload {
|
export interface CommitPayload {
|
||||||
applicationId: string;
|
applicationId: string;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import type { AxiosPromise } from "axios";
|
import type { AxiosPromise } from "axios";
|
||||||
import Api from "api/Api";
|
import Api from "api/Api";
|
||||||
import type { ApiResponse } from "./ApiResponses";
|
import type { ApiResponse } from "./ApiResponses";
|
||||||
import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers";
|
import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers";
|
||||||
|
|
||||||
export interface CurlImportRequest {
|
export interface CurlImportRequest {
|
||||||
type: string;
|
type: string;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import Api from "./Api";
|
||||||
import type { AxiosPromise } from "axios";
|
import type { AxiosPromise } from "axios";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type { Datasource } from "entities/Datasource";
|
import type { Datasource } from "entities/Datasource";
|
||||||
import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers";
|
import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers";
|
||||||
|
|
||||||
class OAuthApi extends Api {
|
class OAuthApi extends Api {
|
||||||
static url = "v1/saas";
|
static url = "v1/saas";
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import type {
|
||||||
PageAction,
|
PageAction,
|
||||||
} from "constants/AppsmithActionConstants/ActionConstants";
|
} from "constants/AppsmithActionConstants/ActionConstants";
|
||||||
import type { DSLWidget } from "WidgetProvider/constants";
|
import type { DSLWidget } from "WidgetProvider/constants";
|
||||||
import type { FetchApplicationResponse } from "@appsmith/api/ApplicationApi";
|
import type { FetchApplicationResponse } from "ee/api/ApplicationApi";
|
||||||
import type { APP_MODE } from "entities/App";
|
import type { APP_MODE } from "entities/App";
|
||||||
|
|
||||||
export interface FetchPageRequest {
|
export interface FetchPageRequest {
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import type { AxiosPromise } from "axios";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type { PluginPackageName, PluginType } from "entities/Action";
|
import type { PluginPackageName, PluginType } from "entities/Action";
|
||||||
import type { DependencyMap } from "utils/DynamicBindingUtils";
|
import type { DependencyMap } from "utils/DynamicBindingUtils";
|
||||||
import { FILE_UPLOAD_TRIGGER_TIMEOUT_MS } from "@appsmith/constants/ApiConstants";
|
import { FILE_UPLOAD_TRIGGER_TIMEOUT_MS } from "ee/constants/ApiConstants";
|
||||||
|
|
||||||
export type PluginId = string;
|
export type PluginId = string;
|
||||||
export type GenerateCRUDEnabledPluginMap = Record<PluginId, PluginPackageName>;
|
export type GenerateCRUDEnabledPluginMap = Record<PluginId, PluginPackageName>;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import Api from "api/Api";
|
import Api from "api/Api";
|
||||||
import type { AxiosPromise } from "axios";
|
import type { AxiosPromise } from "axios";
|
||||||
import type { SearchApiResponse } from "@appsmith/types/ApiResponseTypes";
|
import type { SearchApiResponse } from "ee/types/ApiResponseTypes";
|
||||||
|
|
||||||
export interface SearchEntitiesRequest {
|
export interface SearchEntitiesRequest {
|
||||||
entities?: string[];
|
entities?: string[];
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import type { WidgetType } from "constants/WidgetConstants";
|
||||||
import type {
|
import type {
|
||||||
ApplicationResponsePayload,
|
ApplicationResponsePayload,
|
||||||
ApplicationPagePayload,
|
ApplicationPagePayload,
|
||||||
} from "@appsmith/api/ApplicationApi";
|
} from "ee/api/ApplicationApi";
|
||||||
import type { Datasource } from "entities/Datasource";
|
import type { Datasource } from "entities/Datasource";
|
||||||
|
|
||||||
export interface Template {
|
export interface Template {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Suspense, useEffect } from "react";
|
import React, { Suspense, useEffect } from "react";
|
||||||
import history from "utils/history";
|
import history from "utils/history";
|
||||||
import AppHeader from "@appsmith/pages/common/AppHeader";
|
import AppHeader from "ee/pages/common/AppHeader";
|
||||||
import { Redirect, Route, Router, Switch } from "react-router-dom";
|
import { Redirect, Route, Router, Switch } from "react-router-dom";
|
||||||
import {
|
import {
|
||||||
ADMIN_SETTINGS_CATEGORY_PATH,
|
ADMIN_SETTINGS_CATEGORY_PATH,
|
||||||
|
|
@ -49,18 +49,18 @@ import UserProfile from "pages/UserProfile";
|
||||||
import Setup from "pages/setup";
|
import Setup from "pages/setup";
|
||||||
import SettingsLoader from "pages/AdminSettings/loader";
|
import SettingsLoader from "pages/AdminSettings/loader";
|
||||||
import SignupSuccess from "pages/setup/SignupSuccess";
|
import SignupSuccess from "pages/setup/SignupSuccess";
|
||||||
import type { ERROR_CODES } from "@appsmith/constants/ApiConstants";
|
import type { ERROR_CODES } from "ee/constants/ApiConstants";
|
||||||
import TemplatesListLoader from "pages/Templates/loader";
|
import TemplatesListLoader from "pages/Templates/loader";
|
||||||
import { getCurrentUser as getCurrentUserSelector } from "selectors/usersSelectors";
|
import { getCurrentUser as getCurrentUserSelector } from "selectors/usersSelectors";
|
||||||
import { getTenantPermissions } from "@appsmith/selectors/tenantSelectors";
|
import { getTenantPermissions } from "ee/selectors/tenantSelectors";
|
||||||
import useBrandingTheme from "utils/hooks/useBrandingTheme";
|
import useBrandingTheme from "utils/hooks/useBrandingTheme";
|
||||||
import RouteChangeListener from "RouteChangeListener";
|
import RouteChangeListener from "RouteChangeListener";
|
||||||
import { initCurrentPage } from "../actions/initActions";
|
import { initCurrentPage } from "../actions/initActions";
|
||||||
import Walkthrough from "components/featureWalkthrough";
|
import Walkthrough from "components/featureWalkthrough";
|
||||||
import ProductAlertBanner from "components/editorComponents/ProductAlertBanner";
|
import ProductAlertBanner from "components/editorComponents/ProductAlertBanner";
|
||||||
import { getAdminSettingsPath } from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers";
|
import { getAdminSettingsPath } from "ee/utils/BusinessFeatures/adminSettingsHelpers";
|
||||||
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
|
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
|
||||||
import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
|
import { FEATURE_FLAG } from "ee/entities/FeatureFlag";
|
||||||
import CustomWidgetBuilderLoader from "pages/Editor/CustomWidgetBuilder/loader";
|
import CustomWidgetBuilderLoader from "pages/Editor/CustomWidgetBuilder/loader";
|
||||||
import { getIsConsolidatedPageLoading } from "selectors/ui";
|
import { getIsConsolidatedPageLoading } from "selectors/ui";
|
||||||
import { useFeatureFlagOverride } from "utils/hooks/useFeatureFlagOverride";
|
import { useFeatureFlagOverride } from "utils/hooks/useFeatureFlagOverride";
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,12 @@ import {
|
||||||
TEMPLATES_PATH,
|
TEMPLATES_PATH,
|
||||||
} from "constants/routes";
|
} from "constants/routes";
|
||||||
import { APP_MODE } from "entities/App";
|
import { APP_MODE } from "entities/App";
|
||||||
import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly";
|
import urlBuilder from "ee/entities/URLRedirect/URLAssembly";
|
||||||
import type { URLBuilderParams } from "@appsmith/entities/URLRedirect/URLAssembly";
|
import type { URLBuilderParams } from "ee/entities/URLRedirect/URLAssembly";
|
||||||
import type {
|
import type {
|
||||||
ApplicationPayload,
|
ApplicationPayload,
|
||||||
Page,
|
Page,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
export const fillPathname = (
|
export const fillPathname = (
|
||||||
pathname: string,
|
pathname: string,
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@ import type {
|
||||||
ApplicationPayload,
|
ApplicationPayload,
|
||||||
Page,
|
Page,
|
||||||
ReduxAction,
|
ReduxAction,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { UpdatePageResponse } from "api/PageApi";
|
import type { UpdatePageResponse } from "api/PageApi";
|
||||||
import type {
|
import type {
|
||||||
ApplicationURLParams,
|
ApplicationURLParams,
|
||||||
PageURLParams,
|
PageURLParams,
|
||||||
} from "@appsmith/entities/URLRedirect/URLAssembly";
|
} from "ee/entities/URLRedirect/URLAssembly";
|
||||||
import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly";
|
import urlBuilder from "ee/entities/URLRedirect/URLAssembly";
|
||||||
import type { Middleware } from "redux";
|
import type { Middleware } from "redux";
|
||||||
|
|
||||||
// TODO: Fix this the next time the file is edited
|
// TODO: Fix this the next time the file is edited
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import type {
|
||||||
FetchApplicationPayload,
|
FetchApplicationPayload,
|
||||||
ImportApplicationRequest,
|
ImportApplicationRequest,
|
||||||
UpdateApplicationPayload,
|
UpdateApplicationPayload,
|
||||||
} from "@appsmith/api/ApplicationApi";
|
} from "ee/api/ApplicationApi";
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { NavigationSetting, ThemeSetting } from "constants/AppConstants";
|
import type { NavigationSetting, ThemeSetting } from "constants/AppConstants";
|
||||||
import type { IconNames } from "design-system";
|
import type { IconNames } from "design-system";
|
||||||
import type { Datasource } from "entities/Datasource";
|
import type { Datasource } from "entities/Datasource";
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants";
|
import type { ReduxAction } from "ee/constants/ReduxActionConstants";
|
||||||
import {
|
import {
|
||||||
ReduxActionErrorTypes,
|
ReduxActionErrorTypes,
|
||||||
ReduxActionTypes,
|
ReduxActionTypes,
|
||||||
} from "@appsmith/constants/ReduxActionConstants";
|
} from "ee/constants/ReduxActionConstants";
|
||||||
import { union } from "lodash";
|
import { union } from "lodash";
|
||||||
import store from "store";
|
import store from "store";
|
||||||
import { getAppMode } from "@appsmith/selectors/applicationSelectors";
|
import { getAppMode } from "ee/selectors/applicationSelectors";
|
||||||
import { APP_MODE } from "entities/App";
|
import { APP_MODE } from "entities/App";
|
||||||
import { shouldTriggerLinting } from "actions/evaluationActions";
|
import { shouldTriggerLinting } from "actions/evaluationActions";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes";
|
import type { EventLocation } from "ee/utils/analyticsUtilTypes";
|
||||||
import {
|
import {
|
||||||
createNewApiAction,
|
createNewApiAction,
|
||||||
createNewQueryAction,
|
createNewQueryAction,
|
||||||
|
|
@ -7,7 +7,7 @@ import { createNewJSCollection } from "actions/jsPaneActions";
|
||||||
import {
|
import {
|
||||||
ActionParentEntityType,
|
ActionParentEntityType,
|
||||||
type ActionParentEntityTypeInterface,
|
type ActionParentEntityTypeInterface,
|
||||||
} from "@appsmith/entities/Engine/actionHelpers";
|
} from "ee/entities/Engine/actionHelpers";
|
||||||
import { saveActionName } from "actions/pluginActionActions";
|
import { saveActionName } from "actions/pluginActionActions";
|
||||||
import { saveJSObjectName } from "actions/jsActionActions";
|
import { saveJSObjectName } from "actions/jsActionActions";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
|
|
||||||
// TODO: Fix this the next time the file is edited
|
// TODO: Fix this the next time the file is edited
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type { UpdateTenantConfigRequest } from "@appsmith/api/TenantApi";
|
import type { UpdateTenantConfigRequest } from "ee/api/TenantApi";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
|
|
||||||
export const getCurrentTenant = (
|
export const getCurrentTenant = (
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
|
||||||
import type {
|
import type {
|
||||||
SaveWorkspaceLogo,
|
SaveWorkspaceLogo,
|
||||||
SaveWorkspaceRequest,
|
SaveWorkspaceRequest,
|
||||||
} from "@appsmith/api/WorkspaceApi";
|
} from "ee/api/WorkspaceApi";
|
||||||
|
|
||||||
interface FetchAllWorkspacesParams {
|
interface FetchAllWorkspacesParams {
|
||||||
fetchEntities?: boolean;
|
fetchEntities?: boolean;
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,8 @@ import {
|
||||||
createMessage,
|
createMessage,
|
||||||
ERROR_0,
|
ERROR_0,
|
||||||
SERVER_API_TIMEOUT_ERROR,
|
SERVER_API_TIMEOUT_ERROR,
|
||||||
} from "@appsmith/constants/messages";
|
} from "ee/constants/messages";
|
||||||
import { ERROR_CODES } from "@appsmith/constants/ApiConstants";
|
import { ERROR_CODES } from "ee/constants/ApiConstants";
|
||||||
import * as Sentry from "@sentry/react";
|
import * as Sentry from "@sentry/react";
|
||||||
|
|
||||||
describe("axios api interceptors", () => {
|
describe("axios api interceptors", () => {
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@ import {
|
||||||
ERROR_500,
|
ERROR_500,
|
||||||
GENERIC_API_EXECUTION_ERROR,
|
GENERIC_API_EXECUTION_ERROR,
|
||||||
SERVER_API_TIMEOUT_ERROR,
|
SERVER_API_TIMEOUT_ERROR,
|
||||||
} from "@appsmith/constants/messages";
|
} from "ee/constants/messages";
|
||||||
import type { AxiosRequestConfig, AxiosResponse } from "axios";
|
import type { AxiosRequestConfig, AxiosResponse } from "axios";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import {
|
import {
|
||||||
API_STATUS_CODES,
|
API_STATUS_CODES,
|
||||||
ERROR_CODES,
|
ERROR_CODES,
|
||||||
SERVER_ERROR_CODES,
|
SERVER_ERROR_CODES,
|
||||||
} from "@appsmith/constants/ApiConstants";
|
} from "ee/constants/ApiConstants";
|
||||||
import log from "loglevel";
|
import log from "loglevel";
|
||||||
import type { ActionExecutionResponse } from "api/ActionAPI";
|
import type { ActionExecutionResponse } from "api/ActionAPI";
|
||||||
import store from "store";
|
import store from "store";
|
||||||
|
|
@ -21,14 +21,14 @@ import { AUTH_LOGIN_URL } from "constants/routes";
|
||||||
import { getCurrentGitBranch } from "selectors/gitSyncSelectors";
|
import { getCurrentGitBranch } from "selectors/gitSyncSelectors";
|
||||||
import getQueryParamsObject from "utils/getQueryParamsObject";
|
import getQueryParamsObject from "utils/getQueryParamsObject";
|
||||||
import { UserCancelledActionExecutionError } from "sagas/ActionExecution/errorUtils";
|
import { UserCancelledActionExecutionError } from "sagas/ActionExecution/errorUtils";
|
||||||
import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil";
|
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
|
||||||
import { getAppsmithConfigs } from "@appsmith/configs";
|
import { getAppsmithConfigs } from "ee/configs";
|
||||||
import * as Sentry from "@sentry/react";
|
import * as Sentry from "@sentry/react";
|
||||||
import { CONTENT_TYPE_HEADER_KEY } from "constants/ApiEditorConstants/CommonApiConstants";
|
import { CONTENT_TYPE_HEADER_KEY } from "constants/ApiEditorConstants/CommonApiConstants";
|
||||||
import { isAirgapped } from "@appsmith/utils/airgapHelpers";
|
import { isAirgapped } from "ee/utils/airgapHelpers";
|
||||||
import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors";
|
import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors";
|
||||||
import { UNUSED_ENV_ID } from "constants/EnvironmentContants";
|
import { UNUSED_ENV_ID } from "constants/EnvironmentContants";
|
||||||
import { ID_EXTRACTION_REGEX } from "@appsmith/constants/routes/appRoutes";
|
import { ID_EXTRACTION_REGEX } from "ee/constants/routes/appRoutes";
|
||||||
|
|
||||||
const executeActionRegex = /actions\/execute/;
|
const executeActionRegex = /actions\/execute/;
|
||||||
const timeoutErrorRegex = /timeout of (\d+)ms exceeded/;
|
const timeoutErrorRegex = /timeout of (\d+)ms exceeded/;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { ApplicationVersion } from "@appsmith/actions/applicationActions";
|
import type { ApplicationVersion } from "ee/actions/applicationActions";
|
||||||
import { getSnapShotAPIRoute } from "@appsmith/constants/ApiConstants";
|
import { getSnapShotAPIRoute } from "ee/constants/ApiConstants";
|
||||||
import Api from "api/Api";
|
import Api from "api/Api";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type { AxiosProgressEvent, AxiosPromise } from "axios";
|
import type { AxiosProgressEvent, AxiosPromise } from "axios";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type { Variable, JSAction } from "entities/JSCollection";
|
import type { Variable, JSAction } from "entities/JSCollection";
|
||||||
import type { PluginType } from "entities/Action";
|
import type { PluginType } from "entities/Action";
|
||||||
import type { FetchActionsPayload } from "api/ActionAPI";
|
import type { FetchActionsPayload } from "api/ActionAPI";
|
||||||
import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers";
|
import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers";
|
||||||
|
|
||||||
export type JSCollectionCreateUpdateResponse = ApiResponse<JSCollection>;
|
export type JSCollectionCreateUpdateResponse = ApiResponse<JSCollection>;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import type { AxiosPromise } from "axios";
|
import type { AxiosPromise } from "axios";
|
||||||
import Api from "api/Api";
|
import Api from "api/Api";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type { FeatureFlags } from "@appsmith/entities/FeatureFlag";
|
import type { FeatureFlags } from "ee/entities/FeatureFlag";
|
||||||
import type { ProductAlert } from "../../reducers/uiReducers/usersReducer";
|
import type { ProductAlert } from "../../reducers/uiReducers/usersReducer";
|
||||||
|
|
||||||
export interface LoginUserRequest {
|
export interface LoginUserRequest {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
import type { AxiosProgressEvent, AxiosPromise } from "axios";
|
import type { AxiosProgressEvent, AxiosPromise } from "axios";
|
||||||
import Api from "api/Api";
|
import Api from "api/Api";
|
||||||
import type { ApiResponse } from "api/ApiResponses";
|
import type { ApiResponse } from "api/ApiResponses";
|
||||||
import type {
|
import type { WorkspaceRole, Workspace } from "ee/constants/workspaceConstants";
|
||||||
WorkspaceRole,
|
|
||||||
Workspace,
|
|
||||||
} from "@appsmith/constants/workspaceConstants";
|
|
||||||
|
|
||||||
export interface FetchWorkspacesResponse extends ApiResponse {
|
export interface FetchWorkspacesResponse extends ApiResponse {
|
||||||
data: Workspace[];
|
data: Workspace[];
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,9 @@
|
||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import { Link, Tag, Text, Tooltip } from "design-system";
|
import { Link, Tag, Text, Tooltip } from "design-system";
|
||||||
import { BUSINESS_TAG, createMessage } from "@appsmith/constants/messages";
|
import { BUSINESS_TAG, createMessage } from "ee/constants/messages";
|
||||||
import { capitalizeFirstLetter } from "utils/helpers";
|
import { capitalizeFirstLetter } from "utils/helpers";
|
||||||
import {
|
import { getRampLink, showProductRamps } from "ee/selectors/rampSelectors";
|
||||||
getRampLink,
|
|
||||||
showProductRamps,
|
|
||||||
} from "@appsmith/selectors/rampSelectors";
|
|
||||||
import {
|
import {
|
||||||
RAMP_NAME,
|
RAMP_NAME,
|
||||||
RampFeature,
|
RampFeature,
|
||||||
|
|
@ -15,7 +12,7 @@ import {
|
||||||
import { useSelector } from "react-redux";
|
import { useSelector } from "react-redux";
|
||||||
import type { EnvironmentType } from "constants/EnvironmentContants";
|
import type { EnvironmentType } from "constants/EnvironmentContants";
|
||||||
import { environmentList } from "constants/EnvironmentContants";
|
import { environmentList } from "constants/EnvironmentContants";
|
||||||
import { DisabledTooltipContent } from "@appsmith/components/SwitchEnvironment";
|
import { DisabledTooltipContent } from "ee/components/SwitchEnvironment";
|
||||||
|
|
||||||
export const Container = styled.div`
|
export const Container = styled.div`
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,8 @@ import {
|
||||||
BUSINESS_EDITION_TEXT,
|
BUSINESS_EDITION_TEXT,
|
||||||
SWITCH_ENV_DISABLED_TOOLTIP_TEXT,
|
SWITCH_ENV_DISABLED_TOOLTIP_TEXT,
|
||||||
createMessage,
|
createMessage,
|
||||||
} from "@appsmith/constants/messages";
|
} from "ee/constants/messages";
|
||||||
import {
|
import { getRampLink, showProductRamps } from "ee/selectors/rampSelectors";
|
||||||
getRampLink,
|
|
||||||
showProductRamps,
|
|
||||||
} from "@appsmith/selectors/rampSelectors";
|
|
||||||
import { isDatasourceInViewMode } from "selectors/ui";
|
import { isDatasourceInViewMode } from "selectors/ui";
|
||||||
import { matchDatasourcePath, matchSAASGsheetsPath } from "constants/routes";
|
import { matchDatasourcePath, matchSAASGsheetsPath } from "constants/routes";
|
||||||
import {
|
import {
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import {
|
||||||
useLocation,
|
useLocation,
|
||||||
useHistory,
|
useHistory,
|
||||||
} from "react-router-dom";
|
} from "react-router-dom";
|
||||||
import MemberSettings from "@appsmith/pages/workspace/Members";
|
import MemberSettings from "ee/pages/workspace/Members";
|
||||||
import { GeneralSettings } from "pages/workspace/General";
|
import { GeneralSettings } from "pages/workspace/General";
|
||||||
import { Tabs, Tab, TabsList, TabPanel } from "design-system";
|
import { Tabs, Tab, TabsList, TabPanel } from "design-system";
|
||||||
import { navigateToTab } from "@appsmith/pages/workspace/helpers";
|
import { navigateToTab } from "ee/pages/workspace/helpers";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
|
|
||||||
import * as Sentry from "@sentry/react";
|
import * as Sentry from "@sentry/react";
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import {
|
||||||
EntityIcon,
|
EntityIcon,
|
||||||
JsFileIconV2,
|
JsFileIconV2,
|
||||||
} from "pages/Editor/Explorer/ExplorerIcons";
|
} from "pages/Editor/Explorer/ExplorerIcons";
|
||||||
import { getAssetUrl } from "@appsmith/utils/airgapHelpers";
|
import { getAssetUrl } from "ee/utils/airgapHelpers";
|
||||||
import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory";
|
import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory";
|
||||||
|
|
||||||
type IconProps = LogItemProps & {
|
type IconProps = LogItemProps & {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ import ActionLink from "components/editorComponents/Debugger/ActionLink";
|
||||||
import DatasourceLink from "components/editorComponents/Debugger/DataSourceLink";
|
import DatasourceLink from "components/editorComponents/Debugger/DataSourceLink";
|
||||||
import WidgetLink from "components/editorComponents/Debugger/WidgetLink";
|
import WidgetLink from "components/editorComponents/Debugger/WidgetLink";
|
||||||
import JSCollectionLink from "components/editorComponents/Debugger/JSCollectionLink";
|
import JSCollectionLink from "components/editorComponents/Debugger/JSCollectionLink";
|
||||||
import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils";
|
import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils";
|
||||||
|
|
||||||
export const entityTypeLinkMap = {
|
export const entityTypeLinkMap = {
|
||||||
[ENTITY_TYPE.WIDGET]: WidgetLink,
|
[ENTITY_TYPE.WIDGET]: WidgetLink,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||||
import type { TEditorModes } from "components/editorComponents/CodeEditor/EditorConfig";
|
import type { TEditorModes } from "components/editorComponents/CodeEditor/EditorConfig";
|
||||||
import type { FeatureFlags } from "@appsmith/entities/FeatureFlag";
|
import type { FeatureFlags } from "ee/entities/FeatureFlag";
|
||||||
import type { EntityTypeValue } from "@appsmith/entities/DataTree/types";
|
import type { EntityTypeValue } from "ee/entities/DataTree/types";
|
||||||
|
|
||||||
export const APPSMITH_AI = "Appsmith AI";
|
export const APPSMITH_AI = "Appsmith AI";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import {
|
||||||
CONFIGURE_CD_TITLE,
|
CONFIGURE_CD_TITLE,
|
||||||
TRY_APPSMITH_ENTERPRISE,
|
TRY_APPSMITH_ENTERPRISE,
|
||||||
createMessage,
|
createMessage,
|
||||||
} from "@appsmith/constants/messages";
|
} from "ee/constants/messages";
|
||||||
import { Button, Text } from "design-system";
|
import { Button, Text } from "design-system";
|
||||||
import { useAppsmithEnterpriseLink } from "pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks";
|
import { useAppsmithEnterpriseLink } from "pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user