diff options
Diffstat (limited to 'src/types/graphql')
| -rw-r--r-- | src/types/graphql/index.ts | 3 | ||||
| -rw-r--r-- | src/types/graphql/mutations.ts | 3 | ||||
| -rw-r--r-- | src/types/graphql/queries.ts | 12 |
3 files changed, 8 insertions, 10 deletions
diff --git a/src/types/graphql/index.ts b/src/types/graphql/index.ts new file mode 100644 index 0000000..79eb05e --- /dev/null +++ b/src/types/graphql/index.ts @@ -0,0 +1,3 @@ +export * from './generics'; +export * from './mutations'; +export * from './queries'; diff --git a/src/types/graphql/mutations.ts b/src/types/graphql/mutations.ts index 581a46e..6ff066c 100644 --- a/src/types/graphql/mutations.ts +++ b/src/types/graphql/mutations.ts @@ -1,5 +1,4 @@ -import { sendCommentMutation } from '../../services/graphql/comments.mutation'; -import { sendMailMutation } from '../../services/graphql/contact.mutation'; +import { sendCommentMutation, sendMailMutation } from '../../services/graphql'; //=========================================================================== // Existing mutations list diff --git a/src/types/graphql/queries.ts b/src/types/graphql/queries.ts index fceae30..83e9c67 100644 --- a/src/types/graphql/queries.ts +++ b/src/types/graphql/queries.ts @@ -4,21 +4,17 @@ import { articlesEndCursorQuery, articlesQuery, articlesSlugQuery, - totalArticlesQuery, -} from '../../services/graphql/articles.query'; -import { commentsQuery } from '../../services/graphql/comments.query'; -import { + commentsQuery, thematicBySlugQuery, thematicsListQuery, thematicsSlugQuery, - totalThematicsQuery, -} from '../../services/graphql/thematics.query'; -import { topicBySlugQuery, topicsListQuery, topicsSlugQuery, + totalArticlesQuery, + totalThematicsQuery, totalTopicsQuery, -} from '../../services/graphql/topics.query'; +} from '../../services/graphql'; import { Slug } from '../app'; import { RawComment } from '../raw-data'; import { |
