Skip to content

Commit f90f6f4

Browse files
Essential Randomnessessential-randomness
authored andcommitted
add type for chapter data
1 parent ece7dfe commit f90f6f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

types/entities.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,12 @@ export interface WorkSummary {
117117
export interface LockedWorkSummary {
118118
locked: true;
119119
}
120+
121+
export interface Chapter {
122+
id: string;
123+
workId: string;
124+
index: number;
125+
title: string;
126+
publishedAt: string;
127+
url: string;
128+
}

0 commit comments

Comments
 (0)