fix(web): 🐛🚧 sync nullable props to UI interfaces

This commit is contained in:
Collin M. Barrett 2021-01-31 15:08:25 -06:00
parent e3116f13ce
commit 1d892c4489
6 changed files with 22 additions and 22 deletions

View file

@ -1,8 +1,8 @@
export interface List {
id: number;
name: string;
description: string;
licenseId: number;
description?: string;
licenseId?: number;
syntaxIds: number[];
iso6391s: string[];
tagIds: number[];

View file

@ -1,21 +1,21 @@
export interface ListDetails {
id: number;
name: string;
description: string;
licenseId: number;
description?: string;
licenseId?: number;
syntaxIds: number[];
iso6391s: string[];
tagIds: number[];
viewUrls: ViewUrl[];
homeUrl: string;
onionUrl: string;
policyUrl: string;
submissionUrl: string;
issuesUrl: string;
forumUrl: string;
chatUrl: string;
emailAddress: string;
donateUrl: string;
homeUrl?: string;
onionUrl?: string;
policyUrl?: string;
submissionUrl?: string;
issuesUrl?: string;
forumUrl?: string;
chatUrl?: string;
emailAddress?: string;
donateUrl?: string;
maintainerIds: number[];
upstreamFilterListIds: number[];
forkFilterListIds: number[];

View file

@ -1,8 +1,8 @@
export interface Maintainer {
id: number;
name: string;
url: string;
emailAddress: string;
twitterHandle: string;
url?: string;
emailAddress?: string;
twitterHandle?: string;
filterListIds: number[];
}

View file

@ -1,9 +1,9 @@
export interface Software {
id: number;
name: string;
description: string;
homeUrl: string;
downloadUrl: string;
description?: string;
homeUrl?: string;
downloadUrl?: string;
supportsAbpUrlScheme: boolean;
syntaxIds: number[];
}

View file

@ -1,8 +1,8 @@
export interface Syntax {
id: number;
name: string;
description: string;
url: string;
description?: string;
url?: string;
filterListIds: number[];
softwareIds: number[];
}

View file

@ -1,6 +1,6 @@
export interface Tag {
id: number;
name: string;
description: string;
description?: string;
filterListIds: number[];
}