From 227a4e47f1ec9bca9b039c7c6761a335bcf622c2 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 29 Aug 2021 00:03:58 +0200 Subject: :sparkles: update util --- util/src/entities/Application.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'util/src/entities/Application.ts') diff --git a/util/src/entities/Application.ts b/util/src/entities/Application.ts index 90d0f056..a87b5cea 100644 --- a/util/src/entities/Application.ts +++ b/util/src/entities/Application.ts @@ -8,13 +8,13 @@ export class Application extends BaseClass { @Column() name: string; - @Column() + @Column({ nullable: true }) icon?: string; @Column() description: string; - @Column("simple-array") + @Column({ type: "simple-array", nullable: true }) rpc_origins?: string[]; @Column() @@ -23,16 +23,16 @@ export class Application extends BaseClass { @Column() bot_require_code_grant: boolean; - @Column() + @Column({ nullable: true }) terms_of_service_url?: string; - @Column() + @Column({ nullable: true }) privacy_policy_url?: string; @Column() owner_id: string; - @Column() + @Column({ nullable: true }) summary?: string; @Column() @@ -52,13 +52,13 @@ export class Application extends BaseClass { @ManyToOne(() => Guild, (guild: Guild) => guild.id) guild: Guild; // if this application is a game sold, this field will be the guild to which it has been linked - @Column() + @Column({ nullable: true }) primary_sku_id?: string; // if this application is a game sold, this field will be the id of the "Game SKU" that is created, - @Column() + @Column({ nullable: true }) slug?: string; // if this application is a game sold, this field will be the URL slug that links to the store page - @Column() + @Column({ nullable: true }) cover_image?: string; // the application's default rich presence invite cover image hash @Column() -- cgit 1.4.1