From 1784b11279af5de278c3d38a19d3f7bd9a307c93 Mon Sep 17 00:00:00 2001 From: Philipp Melab Date: Tue, 23 Jan 2024 14:25:18 +0100 Subject: [PATCH] WIP --- apps/website/src/types/gatsby-autoload.d.ts | 3 --- packages/schema/package.json | 3 +++ packages/schema/src/types/gatsby-autoload.d.ts | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 apps/website/src/types/gatsby-autoload.d.ts create mode 100644 packages/schema/src/types/gatsby-autoload.d.ts diff --git a/apps/website/src/types/gatsby-autoload.d.ts b/apps/website/src/types/gatsby-autoload.d.ts deleted file mode 100644 index 6d1525806..000000000 --- a/apps/website/src/types/gatsby-autoload.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare module '@custom/schema/gatsby-autoload' { - export default Record; -} diff --git a/packages/schema/package.json b/packages/schema/package.json index f1bdba1f3..4dff901c7 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -27,6 +27,9 @@ ], "/source": [ "build/generated/source.d.ts" + ], + "gatsby-autoload": [ + "src/types/gatsby-autoload.d.ts" ] } }, diff --git a/packages/schema/src/types/gatsby-autoload.d.ts b/packages/schema/src/types/gatsby-autoload.d.ts new file mode 100644 index 000000000..7029ee48b --- /dev/null +++ b/packages/schema/src/types/gatsby-autoload.d.ts @@ -0,0 +1,3 @@ +import { GraphQLFieldResolver } from 'graphql'; + +export default Record>;