From e5021187e96b78b53203bd95d08d6818aea47d17 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 14 Jul 2021 15:10:31 +0200 Subject: New Ignite 7.0.6 app --- app/models/root-store/root-store.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/models/root-store/root-store.ts (limited to 'app/models/root-store/root-store.ts') diff --git a/app/models/root-store/root-store.ts b/app/models/root-store/root-store.ts new file mode 100644 index 0000000..1131b48 --- /dev/null +++ b/app/models/root-store/root-store.ts @@ -0,0 +1,20 @@ +import { Instance, SnapshotOut, types } from "mobx-state-tree" +import { CharacterStoreModel } from "../character-store/character-store" + +/** + * A RootStore model. + */ +// prettier-ignore +export const RootStoreModel = types.model("RootStore").props({ + characterStore: types.optional(CharacterStoreModel, {} as any), +}) + +/** + * The RootStore instance. + */ +export interface RootStore extends Instance {} + +/** + * The data of a RootStore. + */ +export interface RootStoreSnapshot extends SnapshotOut {} -- cgit v1.2.3