aboutsummaryrefslogtreecommitdiffstats
path: root/src/services/graphql/topics.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-19 18:13:57 +0200
committerArmand Philippot <git@armandphilippot.com>2023-09-19 19:12:31 +0200
commit2faf2e34331703b3bdea3eb487cb8799c8d65377 (patch)
treededc6557ddaa8fedd42d9bdf77950f8f9168ebcb /src/services/graphql/topics.ts
parentd1fe9e2164fc5c8fd767b456eecc2a4eb929a33f (diff)
refactor(build): replace paths aliases with relative paths
Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
Diffstat (limited to 'src/services/graphql/topics.ts')
-rw-r--r--src/services/graphql/topics.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/services/graphql/topics.ts b/src/services/graphql/topics.ts
index 5448d89..4c2f609 100644
--- a/src/services/graphql/topics.ts
+++ b/src/services/graphql/topics.ts
@@ -1,17 +1,17 @@
-import { PageLink, Slug, Topic } from '@ts/types/app';
-import { GraphQLEdgesInput } from '@ts/types/graphql/generics';
-import { EdgesResponse } from '@ts/types/graphql/queries';
+import { PageLink, Slug, Topic } from '../../types/app';
+import { GraphQLEdgesInput } from '../../types/graphql/generics';
+import { EdgesResponse } from '../../types/graphql/queries';
import {
RawArticle,
RawTopic,
RawTopicPreview,
TotalItems,
-} from '@ts/types/raw-data';
-import { getImageFromRawData } from '@utils/helpers/images';
+} from '../../types/raw-data';
+import { getImageFromRawData } from '../../utils/helpers/images';
import {
getPageLinkFromRawData,
sortPageLinksByName,
-} from '@utils/helpers/pages';
+} from '../../utils/helpers/pages';
import { fetchAPI } from './api';
import { getArticleFromRawData } from './articles';
import {