Skip to content

Commit 34c3a37

Browse files
committed
fix(types): align template types with SEO package requirements
1 parent fab984e commit 34c3a37

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

apps/web/app/lib/types/pages.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,7 @@ export interface Pages {
2222
showInNavigation?: boolean;
2323
navigationOrder?: number;
2424
parentPage?: any;
25-
seo?: {
26-
title?: string;
27-
description?: string;
28-
keywords?: string;
29-
image?: Media;
30-
noIndex?: boolean;
31-
};
25+
seo?: any;
3226
description?: string;
3327
keywords?: string;
3428
image?: Media;

apps/web/app/lib/types/site-settings.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
* DO NOT EDIT MANUALLY - Run 'pnpm generate:types' to regenerate
66
*/
77

8-
import type { Media } from './base';
9-
108
export interface SiteSettings {
119
id: string;
1210
siteName?: string;
1311
siteDescription?: string;
14-
logo?: Media;
15-
favicon?: Media;
12+
logo?: any;
13+
favicon?: any;
1614
socialMedia?: {
1715
twitter?: string;
1816
facebook?: string;
@@ -29,7 +27,7 @@ export interface SiteSettings {
2927
defaultTitle?: string;
3028
defaultDescription?: string;
3129
defaultKeywords?: string;
32-
defaultImage?: Media;
30+
defaultImage?: any;
3331
};
3432
analytics?: {
3533
googleAnalytics?: string;

0 commit comments

Comments
 (0)