diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-05-03 16:51:22 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-05-03 16:51:22 +0200 |
| commit | 83a029084f1bbfd78b7099d9bea3371d4533c6d9 (patch) | |
| tree | f99854e4cb430ccbdb725cb2e287423f80cb9791 /src/ts/types/raw-data.ts | |
| parent | 732d0943f8041d76262222a092b014f2557085ef (diff) | |
chore: add a LegalNotice page
Diffstat (limited to 'src/ts/types/raw-data.ts')
| -rw-r--r-- | src/ts/types/raw-data.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<T extends AuthorKind> = { - description?: T extends 'page' ? string | undefined : never; +export type RawAuthor<T extends ContentKind> = { + description?: T extends 'comment' ? never : string; gravatarUrl?: string; name: string; url?: string; |
