Project

General

Profile

1
/**
2
 * Created by stefania on 7/17/17.
3
 */
4

    
5
export class PageContent {
6

    
7
  content: PositionContents;
8

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

    
14
export interface PositionContents {
15

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

    
22
export interface Content {
23

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

    
32
export interface Page {
33
  _id: string;
34
  route: string;
35
  name: string;
36
}
37

    
(5-5/6)