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