This commit is contained in:
lijianyou
2025-09-30 15:00:32 +08:00
parent 1b262f06b8
commit b4e759cf69
202 changed files with 22035 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
export interface LoginForm {
username: string;
password: string;
}
export interface Response<T = never> {
message: string;
code: number;
data: T;
}
export function isResponse(obj: any): obj is Response<any> {
return typeof obj === 'object' && obj.message !== undefined && obj.code !== undefined;
}
+9
View File
@@ -0,0 +1,9 @@
declare namespace Theme {
interface ThemeConfig {
title: string;
key: string;
imgUrl: string;
config: Partial<import('stepin/es/style/interface').Theme>;
handler?: Function;
}
}