diff --git a/src/generate.ts b/src/generate.ts index df13f7d..b21ac56 100644 --- a/src/generate.ts +++ b/src/generate.ts @@ -88,7 +88,8 @@ export async function generateComposables(meta: GraphQLMeta): Promise { template.push('import type { InputFields } from \'#base-types/fields\';'); template.push('import { gqlQuery, gqlAsyncQuery, gqlMutation, gqlSubscription } from \'#imports\';'); template.push('import type { AsyncData, AsyncDataOptions } from \'nuxt/app\';\n'); - template.push('import type { ReturnTypeOfSubscription, GraphqlError } from \'#base-interfaces\';\n'); + template.push('import type { ReturnTypeOfSubscription } from \'#base-interfaces/return-type-of-subscription.interface\';\n'); + template.push('import type { GraphqlError } from \'#base-interfaces/graphql-error.interface\';\n'); if (methods?.query) { for (const query of methods.query) {