Refine and clean files and variables (#10)

This commit is contained in:
AceDataCloud committed 2024-01-02 01:27:14 +08:00
1 parent 0e6018e9b2
commit 6e980c7c34
45 files changed
+98 -522

No files matched your search

+5 -8
View File
@@ -1,4 +1,4 @@
import { IApplication, IUser } from '@/operators';
import { IUser } from '@/operators';
import { IMidjourneyState } from '../midjourney/models';
import { IChatState } from '../chat/models';
@@ -14,18 +14,15 @@ export interface IToken {
expiration?: number;
}
export interface ISetting {
stream?: boolean;
endpoint?: string;
}
export interface ISetting {}
export interface ICommonState {
token: IToken;
user: IUser;
setting: ISetting;
setting?: ISetting;
}
export interface IRootState extends ICommonState {
midjourney?: IMidjourneyState;
chat?: IChatState;
midjourney: IMidjourneyState;
chat: IChatState;
}