Massive/settings.ts
Brandon Presley dc27ae9868 Split up dark and light color settings
Previously it was possible to choose a color combination
that was almost impossible to read (due to contrast).
Now we have prevented this from happening, as well as
giving the user more customizability.
2022-11-26 13:15:12 +13:00

47 lines
656 B
TypeScript

import {Column, Entity, PrimaryColumn} from 'typeorm'
@Entity()
export default class Settings {
@PrimaryColumn('boolean')
alarm: boolean
@Column('boolean')
vibrate: boolean
@Column('text')
sound: string
@Column('boolean')
notify: boolean
@Column('boolean')
images: boolean
@Column('boolean')
showUnit: boolean
@Column('text')
lightColor?: string
@Column('text')
darkColor?: string
@Column('boolean')
steps: boolean
@Column('text')
date: string
@Column('boolean')
showDate: boolean
@Column('text')
theme: string
@Column('boolean')
showSets: boolean
@Column('boolean')
noSound: boolean
}