You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
696 B
TypeScript
50 lines
696 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
|
|
|
|
@Column('boolean')
|
|
backup: boolean
|
|
}
|