From 09ad9bdc6d7fdf83d48b9842fe66ab0c775d5cf5 Mon Sep 17 00:00:00 2001 From: tobias Date: Mon, 20 May 2024 15:28:30 +0200 Subject: [PATCH] Move payload types again --- .gitignore | 2 +- astro/tsconfig.json | 2 +- payload/src/payload.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 413944d..c0de1d4 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ data yarn-debug.log* yarn-error.log* -/types/payload-types.ts \ No newline at end of file +payload-types.ts \ No newline at end of file diff --git a/astro/tsconfig.json b/astro/tsconfig.json index 6d1b28c..10053e9 100644 --- a/astro/tsconfig.json +++ b/astro/tsconfig.json @@ -5,7 +5,7 @@ "baseUrl": ".", "paths": { "@/*": ["src/*"], - "@/types/*": ["../types/*"] + "@/types/*": ["../*"] } } } diff --git a/payload/src/payload.config.ts b/payload/src/payload.config.ts index 32d4bb2..2775b5c 100644 --- a/payload/src/payload.config.ts +++ b/payload/src/payload.config.ts @@ -22,6 +22,6 @@ export default buildConfig({ }, collections: [Posts, Users, Authors, Media], typescript: { - outputFile: path.resolve("../types/", "payload-types.ts"), + outputFile: path.resolve("../", "payload-types.ts"), }, });