Project

General

Profile

1
/**
2
 * Created by stefania on 7/17/17.
3
 */
4
export class PageContent {
5

    
6
  content: PositionContents;
7

    
8
  route: string;
9
  _id: string;
10
  name: string;
11
}
12

    
13
export interface PositionContents {
14

    
15
  top: Content[];
16
  right: Content[];
17
  bottom: Content[];
18
  left: Content[];
19
}
20

    
21
export interface Content {
22

    
23
  _id: string;
24
  page: Page | string;
25
  placement: string;
26
  order: number;
27
  content: string;
28
  isActive: boolean;
29
}
30

    
31
export interface Page {
32
  _id: string;
33
  route: string;
34
  name: string;
35
}
(4-4/12)