-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTopic.ts
More file actions
20 lines (17 loc) · 658 Bytes
/
Topic.ts
File metadata and controls
20 lines (17 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// ----------------------------------------------------------------
// PURPOSE:
// This library implements the Topic 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 { SerializedImage } from './Image'
import { SerializedText } from './Text'
export interface SerializedTopic extends Serialized {
Title?: SerializedText
Description?: SerializedText
Avatar?: SerializedImage
}