chore: regenerate OpenAPI types

This commit is contained in:
2026-08-11 00:27:56 -04:00
parent 3a3957d432
commit e4ecfad5dd
+87 -58
View File
@@ -666,6 +666,17 @@ export interface components {
device_type?: string | null; device_type?: string | null;
device_id?: 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 */
BookRead: { BookRead: {
id: number; id: number;
@@ -688,7 +699,7 @@ export interface components {
series?: components["schemas"]["BookSeriesRead"] | null; series?: components["schemas"]["BookSeriesRead"] | null;
series_position?: string | null; series_position?: string | null;
files: components["schemas"]["FileMetadataRead"][]; files: components["schemas"]["FileMetadataRead"][];
progress?: unknown | null; progress?: components["schemas"]["BookProgressRead"] | null;
}; };
/** BookSeriesRead */ /** BookSeriesRead */
BookSeriesRead: { BookSeriesRead: {
@@ -742,6 +753,8 @@ export interface components {
/** @default {author}/{title} */ /** @default {author}/{title} */
path_template: string | null; path_template: string | null;
description?: string | null; description?: string | null;
/** @default library */
icon: string;
/** @default false */ /** @default false */
read_only: boolean; read_only: boolean;
readonly slug: string; readonly slug: string;
@@ -753,6 +766,7 @@ export interface components {
root_path: string; root_path: string;
path_template: string; path_template: string;
description?: string | null; description?: string | null;
icon: string;
read_only: boolean; read_only: boolean;
total?: number | null; total?: number | null;
}; };
@@ -763,55 +777,6 @@ export interface components {
refresh_token?: string | null; refresh_token?: string | null;
expires_in?: number | 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 */
PublisherRead: { PublisherRead: {
id: number; id: number;
@@ -972,7 +937,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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 */ /** @description Bad request syntax or unsupported method */
@@ -1091,7 +1064,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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 */ /** @description Bad request syntax or unsupported method */
@@ -1416,7 +1397,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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 */ /** @description Bad request syntax or unsupported method */
@@ -1673,7 +1662,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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 */ /** @description Bad request syntax or unsupported method */
@@ -1791,7 +1788,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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 */ /** @description Bad request syntax or unsupported method */
@@ -1835,7 +1840,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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 */ /** @description Bad request syntax or unsupported method */
@@ -1879,7 +1892,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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 */ /** @description Bad request syntax or unsupported method */
@@ -2181,7 +2202,15 @@ export interface operations {
[name: string]: unknown; [name: string]: unknown;
}; };
content: { 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;
};
}; };
}; };
}; };