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

23 lines
412 B
TypeScript

import { Entity } from './entity';
export interface Page {
_id: string;
route: string;
name: string;
type: string;
isEnabled: boolean;
connect: boolean;
communities: boolean;
openaire: boolean;
entities: Entity[] | string[];
top: boolean;
bottom: boolean;
left: boolean;
right: boolean;
}
export interface CheckPage {
page: Page;
checked: boolean;
}