File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,34 @@ export interface User {
3838 bioHtml : string | null ;
3939}
4040
41+ export interface SeriesWorkSummary
42+ extends Omit <
43+ WorkSummary ,
44+ "category" | "publishedAt" | "rating" | "tags" | "stats"
45+ > {
46+ tags : Omit < WorkSummary [ "tags" ] , "warnings" > ;
47+ stats : Omit < WorkSummary [ "stats" ] , "comments" > ;
48+ }
49+
50+ export interface Series {
51+ id : string ;
52+ title : string ;
53+ begunAt : string ;
54+ updatedAt : string ;
55+ authors : WorkSummary [ "authors" ] ;
56+
57+ description : string ;
58+ notes : string ;
59+ words : number ;
60+ stats : {
61+ works : number ;
62+ bookmarks : number ;
63+ } ;
64+ completed : boolean ;
65+
66+ works : WorkSummary [ ] ;
67+ }
68+
4169export enum WorkRatings {
4270 NOT_RATED = "Not Rated" ,
4371 GENERAL_AUDIENCES = "General Audiences" ,
You can’t perform that action at this time.
0 commit comments