tsg-web/src/models/index.ts

31 lines
700 B
TypeScript
Raw Normal View History

2024-09-20 15:02:50 +08:00
import { Models } from "@rematch/core"
import { auth } from "./auth";
import { map } from "./map"
import overallview from "./overallview";
import realview from "./realview";
import { runtime } from "./runtime";
import rcview from "./rcview";
import shyjview from "./shyjview";
import systemSwitch from "./systemSwitch";
export interface RootModel extends Models<RootModel> {
map: typeof map;
overallview: typeof overallview;
runtime: typeof runtime;
rcview: typeof rcview;
shyjview: typeof shyjview;
auth: typeof auth;
systemSwitch: typeof systemSwitch;
}
export const models: RootModel = {
map,
overallview,
realview,
runtime,
rcview,
shyjview,
auth,
systemSwitch
};