From ea89af982105e26e28ff08f2284ef1237378c8bd Mon Sep 17 00:00:00 2001 From: Darya Umrikhina Date: Wed, 14 Aug 2024 19:22:07 +0400 Subject: [PATCH] Shared:Api: fix import Nullable --- packages/shared/api/people/index.ts | 2 +- packages/shared/api/portal/index.ts | 2 +- packages/shared/api/settings/index.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/shared/api/people/index.ts b/packages/shared/api/people/index.ts index cf72ceb02b..f781bd51ef 100644 --- a/packages/shared/api/people/index.ts +++ b/packages/shared/api/people/index.ts @@ -30,7 +30,7 @@ import { AccountsSearchArea } from "@docspace/shared/enums"; // import axios from "axios"; import { Encoder } from "@docspace/shared/utils/encoder"; import { checkFilterInstance } from "@docspace/shared/utils/common"; -import { Nullable } from "types"; +import { Nullable } from "../../types"; import { request } from "../client"; import Filter from "./filter"; diff --git a/packages/shared/api/portal/index.ts b/packages/shared/api/portal/index.ts index 236aa26d75..22e37018c8 100644 --- a/packages/shared/api/portal/index.ts +++ b/packages/shared/api/portal/index.ts @@ -33,7 +33,7 @@ import { TPortalTariff, TRestoreProgress, } from "./types"; -import { Nullable } from "types"; +import { Nullable } from "../../types"; export function getShortenedLink(link: string) { return request({ diff --git a/packages/shared/api/settings/index.ts b/packages/shared/api/settings/index.ts index f03c7b63e9..eff72b766b 100644 --- a/packages/shared/api/settings/index.ts +++ b/packages/shared/api/settings/index.ts @@ -25,7 +25,8 @@ // International. See the License terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode import axios, { AxiosRequestConfig } from "axios"; -import { Nullable } from "types"; + +import { Nullable } from "../../types"; import { TWhiteLabel } from "../../utils/whiteLabelHelper"; import { request } from "../client"; import {