Brandon Presley
f778426aba
Something happened with the deno formatter, I can't remember what! Hahahahahaahahaha
50 lines
714 B
TypeScript
50 lines
714 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;
|
|
}
|