dnet45/modules/uoa-repository-dashboard-gui/branches/new-ui/src/app/domain/page-content.ts @ 59666
1 |
/**
|
---|---|
2 |
* Created by stefania on 7/17/17.
|
3 |
*/
|
4 |
import {PiwikInfo} from './typeScriptClasses'; |
5 |
|
6 |
export class PageContent { |
7 |
|
8 |
content: PositionContents; |
9 |
|
10 |
route: string; |
11 |
_id: string; |
12 |
name: string; |
13 |
}
|
14 |
|
15 |
export interface PositionContents { |
16 |
|
17 |
top: Content[]; |
18 |
right: Content[]; |
19 |
bottom: Content[]; |
20 |
left: Content[]; |
21 |
}
|
22 |
|
23 |
export interface Content { |
24 |
|
25 |
_id: string; |
26 |
page: Page | string; |
27 |
placement: string; |
28 |
order: number; |
29 |
content: string; |
30 |
isActive: boolean; |
31 |
}
|
32 |
|
33 |
export interface Page { |
34 |
_id: string; |
35 |
route: string; |
36 |
name: string; |
37 |
}
|
38 |
|
39 |
export class PiwikInfoPage { |
40 |
total: number; |
41 |
from: number; |
42 |
to: number; |
43 |
results: PiwikInfo[]; |
44 |
}
|