When running pnpm run remove-content, it deletes a type SidebarNavItem, which is imported and required by site.ts. Here's how git diff looks.
diff --git a/types/index.d.ts b/types/index.d.ts
index 8d056c5..5030481 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -30,15 +30,3 @@ export type MainNavItem = NavItem;
export type MarketingConfig = {
mainNav: MainNavItem[];
};
-
-export type SidebarNavItem = {
- title: string;
- items: NavItem[];
- authorizeOnly?: UserRole;
- icon?: keyof typeof Icons;
-};
-
-export type DocsConfig = {
- mainNav: MainNavItem[];
- sidebarNav: SidebarNavItem[];
-};