2024-12-03 01:37:02 +08:00
|
|
|
import { Configuration, PathDescription } from "interface/serializableType";
|
2024-11-30 22:24:35 +08:00
|
|
|
|
|
|
|
export interface ThemeConfig {
|
|
|
|
name: string;
|
|
|
|
displayName: string;
|
|
|
|
icon?: string;
|
|
|
|
version: string;
|
|
|
|
description?: string;
|
|
|
|
author?: string;
|
|
|
|
templates: Map<string, PathDescription>;
|
|
|
|
globalSettings?: {
|
|
|
|
layout?: string;
|
|
|
|
css?: string;
|
|
|
|
};
|
|
|
|
configuration: Configuration;
|
|
|
|
routes: {
|
2024-12-04 02:35:06 +08:00
|
|
|
article: string;
|
2024-11-30 22:24:35 +08:00
|
|
|
post: string;
|
|
|
|
tag: string;
|
|
|
|
category: string;
|
|
|
|
error: string;
|
|
|
|
page: Map<string, string>;
|
|
|
|
};
|
|
|
|
}
|