From fefdc70e0705bff9b3502bca8cb2dc6bc7dfb77e Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sat, 13 Jul 2024 13:07:47 +0200 Subject: [PATCH] Fixed non-relative imports --- .vscode/settings.json | 5 +++++ meilisearch/types.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..1f7e769 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "editor.rulers": [100], + "editor.tabSize": 2, + "typescript.preferences.importModuleSpecifier": "relative" +} diff --git a/meilisearch/types.ts b/meilisearch/types.ts index acd3853..6154d85 100644 --- a/meilisearch/types.ts +++ b/meilisearch/types.ts @@ -1,3 +1,4 @@ +import { Collections } from "../payload/constants"; import type { EndpointCollectible, EndpointPage, @@ -8,8 +9,7 @@ import type { EndpointFile, EndpointRecorder, EndpointChronologyEvent, -} from "payload/endpoint-types"; -import { Collections } from "../payload/constants"; +} from "../payload/endpoint-types"; export type MeiliDocument = { meilid: string;