The version bump from 1.13.6 to 1.13.9 suggests these are mostly internal improvements and bug fixes rather than major feature additions.

This commit is contained in:
gitfromwildan
2025-07-27 01:44:20 +07:00
parent 3c18bfa457
commit aecc6eea12
14 changed files with 133 additions and 45 deletions

View File

@@ -10,16 +10,76 @@ interface SponsorItem {
description?: string;
}
interface NavbarConfig {
title?: string;
logo?: {
light?: string;
dark?: string;
};
links?: Array<{
title: string;
href: string;
external?: boolean;
}>;
}
interface FooterConfig {
text?: string;
links?: Array<{
title: string;
href: string;
external?: boolean;
}>;
}
interface MetaConfig {
title?: string;
description?: string;
favicon?: string;
socialBanner?: string;
}
interface RepositoryConfig {
url: string;
editUrl?: string;
branch?: string;
directory?: string;
}
interface RouteItem {
title: string;
href: string;
noLink?: boolean;
context?: {
icon: string;
description: string;
title: string;
};
items?: RouteItem[];
}
interface RouteConfig {
title: string;
href: string;
noLink?: boolean;
context?: {
icon: string;
description: string;
title: string;
};
items?: RouteItem[];
}
interface DocuConfig {
sponsor?: {
title?: string;
item?: SponsorItem;
};
navbar: any; // Anda bisa mendefinisikan tipe yang lebih spesifik jika diperlukan
footer: any;
meta: any;
repository: any;
routes: any[];
navbar: NavbarConfig;
footer: FooterConfig;
meta: MetaConfig;
repository: RepositoryConfig;
routes: RouteConfig[];
}
// Type assertion for docu.json