import { ILayout, Layout } from './layout.js';

export interface Page {
  id: string;
  name: string;
  applicationId: string;
  // TODO rename field to deactivated in the FE
  deletedAt?: Date;
  isHidden: boolean;
  layouts: Layout[];
}

export interface PageSummary {
  id: string;
  name: string;
}

export interface IPageV2Dto {
  id: string;
  name: string;
  applicationId: string;
  isHidden: boolean;
  layouts: ILayout[];
  updated: Date;
}

export * from './shared.js';
export * from './layout.js';
export * from './Dimension.js';
export * from './Padding.js';
export * from './Margin.js';
export * from './event.js';
export * from './notification.js';
export * from './widget.js';
