summary refs log tree commit diff
path: root/src/util/entities
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-24 14:35:08 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-24 14:35:08 +1100
commit0be194913036735b5bc97d74a37550d2bd099f13 (patch)
tree56a277b9d4b76966e1046f3fed2a110dc4c3dee3 /src/util/entities
parentremove self_edit_guilds, was dumb (diff)
downloadserver-0be194913036735b5bc97d74a37550d2bd099f13.tar.xz
Change android and ios client downloads to use /download endpoint, update Release entity to suck less
Diffstat (limited to 'src/util/entities')
-rw-r--r--src/util/entities/ClientRelease.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/util/entities/ClientRelease.ts b/src/util/entities/ClientRelease.ts
index 2723ab67..ff7ff716 100644
--- a/src/util/entities/ClientRelease.ts
+++ b/src/util/entities/ClientRelease.ts
@@ -7,19 +7,16 @@ export class Release extends BaseClass {
 	name: string;
 
 	@Column()
-	pub_date: string;
+	pub_date: Date;
 
 	@Column()
 	url: string;
 
 	@Column()
-	deb_url: string;
+	platform: string;
 
 	@Column()
-	osx_url: string;
-
-	@Column()
-	win_url: string;
+	enabled: boolean;
 
 	@Column({ nullable: true })
 	notes?: string;