forked from nihonium/nyanimedb
feat: titles page
This commit is contained in:
parent
6836cfa057
commit
b976c35b8e
44 changed files with 1539 additions and 107 deletions
10
modules/frontend/src/api/models/Image.ts
Normal file
10
modules/frontend/src/api/models/Image.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type Image = {
|
||||
id?: number;
|
||||
storage_type?: string;
|
||||
image_path?: string;
|
||||
};
|
||||
|
||||
13
modules/frontend/src/api/models/ReleaseSeason.ts
Normal file
13
modules/frontend/src/api/models/ReleaseSeason.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Title release season
|
||||
*/
|
||||
export enum ReleaseSeason {
|
||||
WINTER = 'winter',
|
||||
SPRING = 'spring',
|
||||
SUMMER = 'summer',
|
||||
FALL = 'fall',
|
||||
}
|
||||
12
modules/frontend/src/api/models/Studio.ts
Normal file
12
modules/frontend/src/api/models/Studio.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { Image } from './Image';
|
||||
export type Studio = {
|
||||
id: number;
|
||||
name: string;
|
||||
poster?: Image;
|
||||
description?: string;
|
||||
};
|
||||
|
||||
|
|
@ -2,4 +2,7 @@
|
|||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type Tag = Record<string, any>;
|
||||
/**
|
||||
* A localized tag: keys are language codes (ISO 639-1), values are tag names
|
||||
*/
|
||||
export type Tag = Record<string, string>;
|
||||
|
|
|
|||
9
modules/frontend/src/api/models/Tags.ts
Normal file
9
modules/frontend/src/api/models/Tags.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { Tag } from './Tag';
|
||||
/**
|
||||
* Array of localized tags
|
||||
*/
|
||||
export type Tags = Array<Tag>;
|
||||
12
modules/frontend/src/api/models/TitleStatus.ts
Normal file
12
modules/frontend/src/api/models/TitleStatus.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Title status
|
||||
*/
|
||||
export enum TitleStatus {
|
||||
FINISHED = 'finished',
|
||||
ONGOING = 'ongoing',
|
||||
PLANNED = 'planned',
|
||||
}
|
||||
|
|
@ -6,7 +6,7 @@ export type User = {
|
|||
/**
|
||||
* Unique user ID (primary key)
|
||||
*/
|
||||
id?: number;
|
||||
id: number;
|
||||
/**
|
||||
* ID of the user avatar (references images table)
|
||||
*/
|
||||
|
|
@ -30,6 +30,6 @@ export type User = {
|
|||
/**
|
||||
* Timestamp when the user was created
|
||||
*/
|
||||
creation_date: string;
|
||||
creation_date?: string;
|
||||
};
|
||||
|
||||
|
|
|
|||
13
modules/frontend/src/api/models/UserTitleStatus.ts
Normal file
13
modules/frontend/src/api/models/UserTitleStatus.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* User's title status
|
||||
*/
|
||||
export enum UserTitleStatus {
|
||||
FINISHED = 'finished',
|
||||
PLANNED = 'planned',
|
||||
DROPPED = 'dropped',
|
||||
IN_PROGRESS = 'in-progress',
|
||||
}
|
||||
5
modules/frontend/src/api/models/cursor.ts
Normal file
5
modules/frontend/src/api/models/cursor.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type cursor = string;
|
||||
Loading…
Add table
Add a link
Reference in a new issue