aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/Profile.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/Profile.ts')
-rw-r--r--packages/shared/src/stores/Profile.ts10
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
21import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree'; 21import { Instance, types } from 'mobx-state-tree';
22
23import { profileSettings } from './ProfileSettings';
22 24
23export const profile = types.model('Profile', { 25export const profile = types.model('Profile', {
24 id: types.identifier, 26 id: types.identifier,
25 name: types.string, 27 settings: profileSettings,
26}); 28});
27 29
28export interface Profile extends Instance<typeof profile> {} 30export interface Profile extends Instance<typeof profile> {}
29
30export interface ProfileSnapshotIn extends SnapshotIn<typeof profile> {}
31
32export interface ProfileSnapshotOut extends SnapshotOut<typeof profile> {}