-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChapter.ts
More file actions
22 lines (19 loc) · 744 Bytes
/
Chapter.ts
File metadata and controls
22 lines (19 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// ----------------------------------------------------------------
// PURPOSE:
// This library implements the Chapter interface.
//
// JSON serializers:
// The main purpose is to save the state of an object in order to
// be able to recreate it when needed. The reverse process is called
// deserialization
// ----------------------------------------------------------------
import { Serialized } from '../interfaces/Serialized'
import { SerializedStory } from './Story'
import { SerializedText } from './Text'
import { SerializedTopic } from './Topic'
export interface SerializedChapter extends Serialized {
Title?: SerializedText
Summary?: SerializedText
Stories?: Array<SerializedStory>
Topics?: Array<SerializedTopic>
}