From 07db919bc93c3aef0b55666176e877456b064cbe Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Wed, 20 Dec 2023 02:43:28 -0500 Subject: updated updates route for spacebar client --- src/util/entities/ClientRelease.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src/util/entities/ClientRelease.ts') diff --git a/src/util/entities/ClientRelease.ts b/src/util/entities/ClientRelease.ts index cfbc3a9b..776f882c 100644 --- a/src/util/entities/ClientRelease.ts +++ b/src/util/entities/ClientRelease.ts @@ -25,17 +25,29 @@ export class Release extends BaseClass { name: string; @Column() - pub_date: Date; + version: string; @Column() - url: string; + pub_date: Date; + + @Column({ nullable: true }) + url: string | null; @Column() platform: string; + @Column() + arch: string; + @Column() enabled: boolean; @Column({ nullable: true }) - notes?: string; + notes: string | null; + + @Column({ nullable: true }) + signature: string | null; + + @Column({ default: "stable" }) + channel: string; } -- cgit 1.5.1