open-science-observatory-ui/src/app/domain/page-content.ts

38 lines
493 B
TypeScript
Raw Normal View History

2019-11-13 11:22:40 +01:00
/**
* Created by stefania on 7/17/17.
*/
export class PageContent {
content: PositionContents;
route: string;
_id: string;
name: string;
}
export interface PositionContents {
top: Content[];
right: Content[];
bottom: Content[];
left: Content[];
}
export interface Content {
_id: string;
page: Page | string;
placement: string;
order: number;
content: string;
isActive: boolean;
}
export interface Page {
_id: string;
route: string;
name: string;
}