mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(web): 🐛🚧 sync nullable props to UI interfaces
This commit is contained in:
parent
e3116f13ce
commit
1d892c4489
6 changed files with 22 additions and 22 deletions
|
|
@ -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[];
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
export interface Syntax {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
url: string;
|
||||
description?: string;
|
||||
url?: string;
|
||||
filterListIds: number[];
|
||||
softwareIds: number[];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
export interface Tag {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
description?: string;
|
||||
filterListIds: number[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue