diff options
Diffstat (limited to 'packages/shared/src/stores/Profile.ts')
-rw-r--r-- | packages/shared/src/stores/Profile.ts | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/shared/src/stores/Profile.ts b/packages/shared/src/stores/Profile.ts index 88a0f4d..bb058f6 100644 --- a/packages/shared/src/stores/Profile.ts +++ b/packages/shared/src/stores/Profile.ts | |||
@@ -18,15 +18,13 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree'; | 21 | import { Instance, types } from 'mobx-state-tree'; |
22 | |||
23 | import { profileSettings } from './ProfileSettings'; | ||
22 | 24 | ||
23 | export const profile = types.model('Profile', { | 25 | export const profile = types.model('Profile', { |
24 | id: types.identifier, | 26 | id: types.identifier, |
25 | name: types.string, | 27 | settings: profileSettings, |
26 | }); | 28 | }); |
27 | 29 | ||
28 | export interface Profile extends Instance<typeof profile> {} | 30 | export interface Profile extends Instance<typeof profile> {} |
29 | |||
30 | export interface ProfileSnapshotIn extends SnapshotIn<typeof profile> {} | ||
31 | |||
32 | export interface ProfileSnapshotOut extends SnapshotOut<typeof profile> {} | ||