awa
This commit is contained in:
@@ -1,6 +1,19 @@
|
|||||||
import { CustomProps, ViewerGroup } from "./explorer.ts";
|
import { CustomProps, ViewerGroup } from "./explorer.ts";
|
||||||
import { User } from "./user.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 {
|
export enum CaptchaType {
|
||||||
NORMAL = "normal",
|
NORMAL = "normal",
|
||||||
RECAPTCHA = "recaptcha",
|
RECAPTCHA = "recaptcha",
|
||||||
@@ -46,21 +59,11 @@ export interface SiteConfig {
|
|||||||
custom_nav_items?: CustomNavItem[];
|
custom_nav_items?: CustomNavItem[];
|
||||||
custom_html?: CustomHTML;
|
custom_html?: CustomHTML;
|
||||||
thumb_exts?: string[];
|
thumb_exts?: string[];
|
||||||
|
announcement?: string;
|
||||||
|
announcement_enabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CaptchaResponse {
|
export interface CaptchaResponse {
|
||||||
ticket: string;
|
ticket: string;
|
||||||
image: string;
|
image: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CustomNavItem {
|
|
||||||
name: string;
|
|
||||||
url: string;
|
|
||||||
icon: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface CustomHTML {
|
|
||||||
headless_footer?: string;
|
|
||||||
headless_bottom?: string;
|
|
||||||
sidebar_bottom?: string;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user