From 83a029084f1bbfd78b7099d9bea3371d4533c6d9 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 3 May 2022 16:51:22 +0200 Subject: chore: add a LegalNotice page --- src/ts/types/raw-data.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ts/types/raw-data.ts') diff --git a/src/ts/types/raw-data.ts b/src/ts/types/raw-data.ts index 43a2453..7e12e7f 100644 --- a/src/ts/types/raw-data.ts +++ b/src/ts/types/raw-data.ts @@ -3,7 +3,7 @@ */ import { NodeResponse, PageInfo } from '@services/graphql/api'; -import { AuthorKind } from './app'; +import { ContentKind } from './app'; export type ACFPosts = { postsInThematic?: RawThematicPreview[]; @@ -29,8 +29,8 @@ export type Info = { wordsCount: number; }; -export type RawAuthor = { - description?: T extends 'page' ? string | undefined : never; +export type RawAuthor = { + description?: T extends 'comment' ? never : string; gravatarUrl?: string; name: string; url?: string; -- cgit v1.2.3