aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/app.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-24 15:35:33 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-24 15:37:26 +0100
commit0bb6411ee9fce02c2e5680f2be5740a1bbb508ad (patch)
tree59b574dbda693dc5f1b2605272a6eff3b23802f2 /src/ts/types/app.ts
parent3956ed77e11455a963ce17a64783d70fa666a7a0 (diff)
chore: replace CV content with mdx content
Since I replace the other pages, there is no reason to fetch this page content through WP GraphQL.
Diffstat (limited to 'src/ts/types/app.ts')
-rw-r--r--src/ts/types/app.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts
index ebd604c..2a1c9fc 100644
--- a/src/ts/types/app.ts
+++ b/src/ts/types/app.ts
@@ -5,7 +5,6 @@ import { PostBy } from './articles';
import { AllPostsSlug, RawPostsList } from './blog';
import { CommentData, CreateComment } from './comments';
import { ContactData, SendEmail } from './contact';
-import { PageBy } from './pages';
import {
AllSubjectsSlug,
AllThematicsSlug,
@@ -29,11 +28,7 @@ export type AppPropsWithLayout = AppProps & {
// API
//==============================================================================
-export type VariablesType<T> = T extends
- | PageBy
- | PostBy
- | SubjectBy
- | ThematicBy
+export type VariablesType<T> = T extends PostBy | SubjectBy | ThematicBy
? Slug
: T extends RawPostsList
? CursorPagination
@@ -48,7 +43,6 @@ export type RequestType =
| AllSubjectsSlug
| AllThematicsSlug
| CreateComment
- | PageBy
| PostBy
| SubjectBy
| ThematicBy