From ccf935f976071ce4d46b01fb59d049c4126f5af2 Mon Sep 17 00:00:00 2001 From: Martijn Walraven Date: Thu, 13 Dec 2018 19:34:44 +0100 Subject: [PATCH] Move `graphql-upload` types to core package and add reference --- packages/apollo-server-core/src/processFileUploads.ts | 2 ++ .../apollo-server-core/src/types/graphql-upload.d.ts | 0 2 files changed, 2 insertions(+) rename types/graphql-upload/index.d.ts => packages/apollo-server-core/src/types/graphql-upload.d.ts (100%) diff --git a/packages/apollo-server-core/src/processFileUploads.ts b/packages/apollo-server-core/src/processFileUploads.ts index bf5a323ff6d..364848f406d 100644 --- a/packages/apollo-server-core/src/processFileUploads.ts +++ b/packages/apollo-server-core/src/processFileUploads.ts @@ -1,3 +1,5 @@ +/// + import supportsUploadsInNode from './utils/supportsUploadsInNode'; // We'll memoize this function once at module load time since it should never diff --git a/types/graphql-upload/index.d.ts b/packages/apollo-server-core/src/types/graphql-upload.d.ts similarity index 100% rename from types/graphql-upload/index.d.ts rename to packages/apollo-server-core/src/types/graphql-upload.d.ts