openaire-library/utils/entities/adminTool/page-help-content.ts

28 lines
549 B
TypeScript

/**
* Created by stefania on 7/13/17.
*/
import { Page } from './page';
import { Community } from './community';
export interface PageHelpContent {
_id: string;
page: Page | string;
community: Community | string;
placement: string;
order: number;
content: string;
isActive: boolean;
isPriorTo: boolean;
}
export interface CheckPageHelpContent {
pageHelpContent: PageHelpContent;
checked: boolean;
}
export interface PageHelpContentFilterOptions {
id: string;
active: Boolean;
text: RegExp;
}