diff options
Diffstat (limited to 'src/ts')
| -rw-r--r-- | src/ts/types/app.ts | 1 | ||||
| -rw-r--r-- | src/ts/types/raw-data.ts | 7 | 
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts index f354118..a3b9889 100644 --- a/src/ts/types/app.ts +++ b/src/ts/types/app.ts @@ -81,6 +81,7 @@ export type Page<T extends PageKind> = {  export type PageLink = {    id: number; +  logo?: Image;    name: string;    slug: string;  }; diff --git a/src/ts/types/raw-data.ts b/src/ts/types/raw-data.ts index 7e12e7f..ba6d596 100644 --- a/src/ts/types/raw-data.ts +++ b/src/ts/types/raw-data.ts @@ -89,14 +89,17 @@ export type RawThematic = RawPage & {  export type RawThematicPreview = Pick<    RawThematic, -  'databaseId' | 'slug' | 'title' +  'databaseId' | 'featuredImage' | 'slug' | 'title'  >;  export type RawTopic = RawPage & {    acfTopics: ACFTopics;  }; -export type RawTopicPreview = Pick<RawTopic, 'databaseId' | 'slug' | 'title'>; +export type RawTopicPreview = Pick< +  RawTopic, +  'databaseId' | 'featuredImage' | 'slug' | 'title' +>;  export type TotalItems = {    pageInfo: Pick<PageInfo, 'total'>;  | 
