From e4ecfad5dd93ac0217b833183e1a23e7c37dc552 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 11 Aug 2026 00:27:56 -0400 Subject: [PATCH] chore: regenerate OpenAPI types --- frontend/src/lib/schema/openapi/schema.d.ts | 145 ++++++++++++-------- 1 file changed, 87 insertions(+), 58 deletions(-) diff --git a/frontend/src/lib/schema/openapi/schema.d.ts b/frontend/src/lib/schema/openapi/schema.d.ts index 91564a2..361845d 100644 --- a/frontend/src/lib/schema/openapi/schema.d.ts +++ b/frontend/src/lib/schema/openapi/schema.d.ts @@ -666,6 +666,17 @@ export interface components { device_type?: string | null; device_id?: string | null; }; + /** BookProgressRead */ + BookProgressRead: { + percentage: number; + epub_cfi?: string | null; + epub_xpointer?: string | null; + pdf_page?: number | null; + /** @default false */ + completed: boolean | null; + device_type?: string | null; + device_id?: string | null; + }; /** BookRead */ BookRead: { id: number; @@ -688,7 +699,7 @@ export interface components { series?: components["schemas"]["BookSeriesRead"] | null; series_position?: string | null; files: components["schemas"]["FileMetadataRead"][]; - progress?: unknown | null; + progress?: components["schemas"]["BookProgressRead"] | null; }; /** BookSeriesRead */ BookSeriesRead: { @@ -742,6 +753,8 @@ export interface components { /** @default {author}/{title} */ path_template: string | null; description?: string | null; + /** @default library */ + icon: string; /** @default false */ read_only: boolean; readonly slug: string; @@ -753,6 +766,7 @@ export interface components { root_path: string; path_template: string; description?: string | null; + icon: string; read_only: boolean; total?: number | null; }; @@ -763,55 +777,6 @@ export interface components { refresh_token?: string | null; expires_in?: number | null; }; - /** OffsetPagination[AuthorRead] */ - "OffsetPagination_chitai.schemas.author.AuthorRead_": { - items: components["schemas"]["AuthorRead"][]; - limit: number; - offset: number; - total: number; - }; - /** OffsetPagination[BookRead] */ - "OffsetPagination_chitai.schemas.book.BookRead_": { - items: components["schemas"]["BookRead"][]; - limit: number; - offset: number; - total: number; - }; - /** OffsetPagination[KosyncDeviceRead] */ - "OffsetPagination_chitai.schemas.kosync.KosyncDeviceRead_": { - items: components["schemas"]["KosyncDeviceRead"][]; - limit: number; - offset: number; - total: number; - }; - /** OffsetPagination[LibraryRead] */ - "OffsetPagination_chitai.schemas.library.LibraryRead_": { - items: components["schemas"]["LibraryRead"][]; - limit: number; - offset: number; - total: number; - }; - /** OffsetPagination[PublisherRead] */ - "OffsetPagination_chitai.schemas.publisher.PublisherRead_": { - items: components["schemas"]["PublisherRead"][]; - limit: number; - offset: number; - total: number; - }; - /** OffsetPagination[ShelfRead] */ - "OffsetPagination_chitai.schemas.shelf.ShelfRead_": { - items: components["schemas"]["ShelfRead"][]; - limit: number; - offset: number; - total: number; - }; - /** OffsetPagination[TagRead] */ - "OffsetPagination_chitai.schemas.tag.TagRead_": { - items: components["schemas"]["TagRead"][]; - limit: number; - offset: number; - total: number; - }; /** PublisherRead */ PublisherRead: { id: number; @@ -972,7 +937,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.book.BookRead_"]; + "application/json": { + items?: components["schemas"]["BookRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; /** @description Bad request syntax or unsupported method */ @@ -1091,7 +1064,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.book.BookRead_"]; + "application/json": { + items?: components["schemas"]["BookRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; /** @description Bad request syntax or unsupported method */ @@ -1416,7 +1397,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.library.LibraryRead_"]; + "application/json": { + items?: components["schemas"]["LibraryRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; /** @description Bad request syntax or unsupported method */ @@ -1673,7 +1662,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.shelf.ShelfRead_"]; + "application/json": { + items?: components["schemas"]["ShelfRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; /** @description Bad request syntax or unsupported method */ @@ -1791,7 +1788,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.author.AuthorRead_"]; + "application/json": { + items?: components["schemas"]["AuthorRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; /** @description Bad request syntax or unsupported method */ @@ -1835,7 +1840,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.publisher.PublisherRead_"]; + "application/json": { + items?: components["schemas"]["PublisherRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; /** @description Bad request syntax or unsupported method */ @@ -1879,7 +1892,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.tag.TagRead_"]; + "application/json": { + items?: components["schemas"]["TagRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; /** @description Bad request syntax or unsupported method */ @@ -2181,7 +2202,15 @@ export interface operations { [name: string]: unknown; }; content: { - "application/json": components["schemas"]["OffsetPagination_chitai.schemas.kosync.KosyncDeviceRead_"]; + "application/json": { + items?: components["schemas"]["KosyncDeviceRead"][]; + /** @description Maximal number of items to send. */ + limit?: number; + /** @description Offset from the beginning of the query. */ + offset?: number; + /** @description Total number of items. */ + total?: number; + }; }; }; };