2022-10-31 04:22:08 +00:00
|
|
|
import {Column, Entity, PrimaryColumn} from 'typeorm'
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Entity()
|
|
|
|
export default class Settings {
|
|
|
|
@PrimaryColumn('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
alarm: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
vibrate: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('text')
|
2022-10-31 04:22:08 +00:00
|
|
|
sound: string
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
notify: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
images: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
showUnit: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('text')
|
2022-11-26 00:15:12 +00:00
|
|
|
lightColor?: string
|
|
|
|
|
|
|
|
@Column('text')
|
|
|
|
darkColor?: string
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
steps: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('text')
|
2022-10-31 04:22:08 +00:00
|
|
|
date: string
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
showDate: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('text')
|
2022-10-31 04:22:08 +00:00
|
|
|
theme: string
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
showSets: boolean
|
2022-10-31 00:20:36 +00:00
|
|
|
|
|
|
|
@Column('boolean')
|
2022-10-31 04:22:08 +00:00
|
|
|
noSound: boolean
|
2022-08-24 00:01:39 +00:00
|
|
|
}
|