interface ISchema { } interface IForm { id: number; name: string; description: string; schema: ISchema; } interface IEntity { id: number; formId: number; } declare enum PageType { list = "list", detail = "detail", chart = "chart" } interface IPage { id: number; name: string; formId: number; type: PageType; }