From 23672989a167f5c40537904fa47dc322c626d113 Mon Sep 17 00:00:00 2001 From: jhon gil Date: Fri, 13 Sep 2024 08:05:27 -0500 Subject: [PATCH] fix: Eliminar queries de enlaces firmados --- src/utils/createBaseResolversFile.ts | 2 +- src/utils/createSchemasFiles.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/utils/createBaseResolversFile.ts b/src/utils/createBaseResolversFile.ts index a8b9930..5612ece 100644 --- a/src/utils/createBaseResolversFile.ts +++ b/src/utils/createBaseResolversFile.ts @@ -32,7 +32,7 @@ const createBaseResolversFile = async (gqlModels: GQLModel[] | undefined) => { const resolverArray = [ ...gqlModels.map((model) => `${unCapitalize(model.name)}Resolvers`), - 'generalResolvers', + // 'generalResolvers', ].join(','); // Array de tipos diff --git a/src/utils/createSchemasFiles.ts b/src/utils/createSchemasFiles.ts index 1a4c74f..becfc2b 100644 --- a/src/utils/createSchemasFiles.ts +++ b/src/utils/createSchemasFiles.ts @@ -49,10 +49,7 @@ const createSchemasFiles = async ( desc # Descending order } - type Query { - getSignedUrlForUpload(file: String): PresignedURL - getMultipleSignedUrlsForUpload(files: [String]): [PresignedURL] - } + ${ enums?.length !== 0 && enums