This commit is contained in:
Valentyne Stigloher 2024-10-01 13:37:20 +02:00
parent f1849dae0e
commit cb08fa3709

View File

@ -165,11 +165,24 @@ export interface Filter {
type SourceType = '' | 'Book' | 'Article' | 'Movie' | 'Series' | 'Song' | 'Poetry' | 'Comics' | 'Game' | 'Other';
export interface SourceRaw {
id: string; pronouns: string, type: SourceType, author: string, title: string, extra: string, year: number,
fragments?: string, comment?: string | null, link?: string | null, spoiler?: boolean,
submitter?: string | null, approved: boolean, base_id?: string | null,
key?: string | null, versions?: SourceRaw[], locale?: string,
images?: string | null
id: string;
pronouns: string;
type: SourceType;
author: string;
title: string;
extra: string;
year: number;
fragments?: string;
comment?: string | null;
link?: string | null;
spoiler?: boolean;
submitter?: string | null;
approved: boolean;
base_id?: string | null;
key?: string | null;
versions?: SourceRaw[];
locale?: string;
images?: string | null;
}
export class Source {