diff --git a/models/stories/chapter.ts b/models/stories/chapter.ts index b6b8f6c..4a9d84b 100644 --- a/models/stories/chapter.ts +++ b/models/stories/chapter.ts @@ -4,7 +4,7 @@ export interface IChapter { title: string; summary: string; id?: number; - // index: number; + index: number; words?: number; notes: string; genre: string[]; @@ -25,6 +25,9 @@ export const Chapter = new Schema({ id: { type: Number, }, + index: { + type: Number, + }, summary: { type: String, },