Massive/settings.ts

50 lines
696 B
TypeScript
Raw Normal View History

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