diff --git a/.github/workflows/radix-web-console-pr.yml b/.github/workflows/radix-web-console-pr.yml index 9eaf09d19..39f231044 100644 --- a/.github/workflows/radix-web-console-pr.yml +++ b/.github/workflows/radix-web-console-pr.yml @@ -43,8 +43,6 @@ jobs: - uses: actions/checkout@v4 - name: Setup Biome uses: biomejs/setup-biome@v2 - with: - version: latest - uses: actions/setup-node@v4 with: node-version-file: 'package.json' diff --git a/proxy/server.dev.conf b/proxy/server.dev.conf index 2ae87e950..4959a0ecc 100644 --- a/proxy/server.dev.conf +++ b/proxy/server.dev.conf @@ -9,8 +9,8 @@ server { proxy_read_timeout 10; location /api/ { - proxy_pass https://server-radix-api-qa.dev.radix.equinor.com; - # proxy_pass http://172.20.0.1:3002; + # proxy_pass https://server-radix-api-qa.dev.radix.equinor.com; + proxy_pass http://172.19.0.1:3002; proxy_set_header Authorization "Bearer $http_x_forwarded_access_token"; proxy_set_header x-forwarded-access-token ""; } diff --git a/src/components/app-config-ci/ci-popover.tsx b/src/components/app-config-ci/ci-popover.tsx index 569c8887d..4b05a01c3 100644 --- a/src/components/app-config-ci/ci-popover.tsx +++ b/src/components/app-config-ci/ci-popover.tsx @@ -7,7 +7,7 @@ import { configVariables } from '../../utils/config'; export interface ConfigurationItemPopoverProps { open?: boolean; - onClose: () => undefined; + onClose: () => unknown; anchorEl: HTMLElement; configurationItem: Application; } diff --git a/src/components/component/toolbar.tsx b/src/components/component/toolbar.tsx index 01ab59bdf..7b6871541 100644 --- a/src/components/component/toolbar.tsx +++ b/src/components/component/toolbar.tsx @@ -16,7 +16,7 @@ type Props = { component?: Component; startEnabled?: boolean; stopEnabled?: boolean; - refetch?: () => undefined; + refetch?: () => unknown; }; export function Toolbar({ appName, diff --git a/src/components/configure-application-github/index.tsx b/src/components/configure-application-github/index.tsx index bfadf49a7..d3620daca 100644 --- a/src/components/configure-application-github/index.tsx +++ b/src/components/configure-application-github/index.tsx @@ -34,7 +34,7 @@ const radixZoneDNS = configVariables.RADIX_CLUSTER_BASE; interface Props { app: ApplicationRegistration; - refetch?: () => undefined | Promise; + refetch?: () => unknown; onDeployKeyChange: (appName: string) => void; startVisible?: boolean; useOtherCiToolOptionVisible?: boolean; diff --git a/src/components/page-configuration/change-admin-form.tsx b/src/components/page-configuration/change-admin-form.tsx index 1f9e46a29..9b3988db6 100644 --- a/src/components/page-configuration/change-admin-form.tsx +++ b/src/components/page-configuration/change-admin-form.tsx @@ -20,7 +20,7 @@ const isEqual = (a: Array, b: Array) => interface Props { registration: ApplicationRegistration; - refetch?: () => undefined; + refetch?: () => unknown; } export default function ChangeAdminForm({ registration, refetch }: Props) { const [adminAdGroup, setAdminAdGroup] = useState>(); diff --git a/src/components/page-configuration/change-ci-form.tsx b/src/components/page-configuration/change-ci-form.tsx index 03764e091..13a938aaa 100644 --- a/src/components/page-configuration/change-ci-form.tsx +++ b/src/components/page-configuration/change-ci-form.tsx @@ -17,7 +17,7 @@ import { handlePromiseWithToast } from '../global-top-nav/styled-toaster'; interface Props { appName: string; configurationItem?: string; - refetch?: () => undefined | Promise; + refetch?: () => unknown; } export const ChangeConfigurationItemForm = ({ diff --git a/src/components/page-configuration/change-config-branch-form.tsx b/src/components/page-configuration/change-config-branch-form.tsx index d9909f252..8595cb4e2 100644 --- a/src/components/page-configuration/change-config-branch-form.tsx +++ b/src/components/page-configuration/change-config-branch-form.tsx @@ -20,7 +20,7 @@ import { handlePromiseWithToast } from '../global-top-nav/styled-toaster'; export interface ChangeConfigBranchFormProps { appName: string; configBranch: string; - refetch?: () => undefined | Promise; + refetch?: () => unknown; } export const ChangeConfigBranchForm: FunctionComponent< diff --git a/src/components/page-configuration/change-config-file-form.tsx b/src/components/page-configuration/change-config-file-form.tsx index 9af943c0e..4e3b511b2 100644 --- a/src/components/page-configuration/change-config-file-form.tsx +++ b/src/components/page-configuration/change-config-file-form.tsx @@ -21,7 +21,7 @@ import { handlePromiseWithToast } from '../global-top-nav/styled-toaster'; export interface ChangeConfigFileFormProps { appName: string; radixConfigFullName?: string; - refetch?: () => undefined | Promise; + refetch?: () => unknown; } const defaultConfigName = 'radixconfig.yaml'; diff --git a/src/components/page-configuration/change-repository-form.tsx b/src/components/page-configuration/change-repository-form.tsx index 3b171b210..7b76182db 100644 --- a/src/components/page-configuration/change-repository-form.tsx +++ b/src/components/page-configuration/change-repository-form.tsx @@ -42,7 +42,7 @@ const DeployKey = ({ appName }: { appName: string }) => { interface Props { appName: string; repository: string; - refetch?: () => undefined; + refetch?: () => unknown; sharedSecret: string; } export function ChangeRepositoryForm({