blob: 56425bcc2171b0b10a1d1e096f8206d28ebe9271 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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<typeof RootStoreModel> {}
/**
* The data of a RootStore.
*/
export interface RootStoreSnapshot extends SnapshotOut<typeof RootStoreModel> {}
|