Files
Nexior/src/store/common/models.ts
T
2024-07-27 18:34:43 +00:00

30 lines
700 B
TypeScript

import { ISite, IToken, IUser } from '@/models';
import { IMidjourneyState } from '../midjourney/models';
import { IChatState } from '../chat/models';
import { IChatdocState } from '../chatdoc/models';
import { IQrartState } from '../qrart/models';
import { ISunoState } from '../suno/models';
export interface ISetting {}
export interface ICommonState {
token: IToken;
user?: IUser;
setting?: ISetting;
site?: ISite;
currency: string;
exchange:
| {
[key: string]: number;
}
| undefined;
}
export interface IRootState extends ICommonState {
midjourney: IMidjourneyState;
chat: IChatState;
chatdoc: IChatdocState;
qrart: IQrartState;
suno: ISunoState;
}