44 lines
624 B
TypeScript
44 lines
624 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')
|
|
color: 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;
|
|
}
|