Massive/settings.ts
Brandon Presley f778426aba Run prettier
Something happened with the deno formatter,
I can't remember what! Hahahahahaahahaha
2023-08-12 15:23:02 +12:00

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;
}