mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-03-31 17:20:47 +08:00
28 lines
486 B
TypeScript
28 lines
486 B
TypeScript
export interface SelectItem {
|
|
id: number;
|
|
label?: string;
|
|
value: string;
|
|
disabled?: boolean;
|
|
}
|
|
|
|
export interface AbSettingProps {
|
|
label: string;
|
|
type: 'input' | 'switch' | 'select' | 'dynamic-tags';
|
|
css?: string;
|
|
prop?: any;
|
|
bottomLine?: boolean;
|
|
}
|
|
|
|
export type SettingItem<T> = AbSettingProps & {
|
|
configKey: keyof T;
|
|
};
|
|
|
|
export interface AbEditRule {
|
|
id: number;
|
|
official_title: string;
|
|
year: string;
|
|
season: number;
|
|
offset: number;
|
|
filter: string[];
|
|
}
|