diff options
-rw-r--r-- | frontend/src/gql/graphql.ts | 4 | ||||
-rw-r--r-- | src/hircine/api/types.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/gql/graphql.ts b/frontend/src/gql/graphql.ts index 139068c..4d09e75 100644 --- a/frontend/src/gql/graphql.ts +++ b/frontend/src/gql/graphql.ts @@ -76,7 +76,7 @@ export type Archive = { organized: Scalars['Boolean']['output']; pageCount: Scalars['Int']['output']; path: Scalars['String']['output']; - size: Scalars['Int']['output']; + size: Scalars['Float']['output']; }; export type ArchiveFilter = { @@ -423,7 +423,7 @@ export type FullArchive = { pageCount: Scalars['Int']['output']; pages: Array<Page>; path: Scalars['String']['output']; - size: Scalars['Int']['output']; + size: Scalars['Float']['output']; }; export type FullComic = { diff --git a/src/hircine/api/types.py b/src/hircine/api/types.py index b9fe0e7..bbd13fa 100644 --- a/src/hircine/api/types.py +++ b/src/hircine/api/types.py @@ -81,7 +81,7 @@ class FilterResult(Generic[T]): class Archive(MixinName, MixinOrganized, Base): cover: "Image" path: str - size: int + size: float page_count: int def __init__(self, model): |