This commit is contained in:
2025-10-22 22:19:47 +08:00
parent d3c6876b22
commit 6dc3943b70

View File

@@ -1,6 +1,19 @@
import { CustomProps, ViewerGroup } from "./explorer.ts";
import { User } from "./user.ts";
export interface CustomNavItem {
title: string;
icon?: string;
url: string;
target?: string;
}
export interface CustomHTML {
headlessFooter?: string;
headlessBottom?: string;
sidebarBottom?: string;
}
export enum CaptchaType {
NORMAL = "normal",
RECAPTCHA = "recaptcha",
@@ -46,21 +59,11 @@ export interface SiteConfig {
custom_nav_items?: CustomNavItem[];
custom_html?: CustomHTML;
thumb_exts?: string[];
announcement?: string;
announcement_enabled?: boolean;
}
export interface CaptchaResponse {
ticket: string;
image: string;
}
export interface CustomNavItem {
name: string;
url: string;
icon: string;
}
export interface CustomHTML {
headless_footer?: string;
headless_bottom?: string;
sidebar_bottom?: string;
}