feat: add properties to models

This commit is contained in:
Dominik Pschenitschni 2022-06-23 03:22:21 +02:00
parent 74ad6e65e8
commit 797de0c543
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
33 changed files with 367 additions and 186 deletions

View file

@ -1,7 +1,17 @@
import AbstractModel from './abstractModel'
import type ListModel from './list'
export default class UserSettingsModel extends AbstractModel {
name: string
emailRemindersEnabled: boolean
discoverableByName: boolean
discoverableByEmail: boolean
overdueTasksRemindersEnabled: boolean
defaultListId: undefined | ListModel['id']
weekStart: 0 | 1 | 2 | 3 | 4 | 5 | 6
timezone: string
defaults() {
return {
name: '',