UNPKG

cloud-ide-model-schema

Version:

Pachage for schema management of Cloud IDEsys LMS

29 lines (28 loc) 770 B
import { controllerResponse } from "../../utilities"; type IMenuErrorLogger = { [key in keyof MMenu]: string; }; declare class MMenu { syme_id?: string; syme_title?: string; sort?: 'asc' | 'desc'; constructor(init: MMenu); Validate?(): Partial<IMenuErrorLogger>; } interface menuControllerResponse extends controllerResponse { data?: menuResponseData[]; } interface menuResponseData { _id: string; syme_title: string; syme_desc: string; syme_path: string; syme_icon: string; syme_type: string; syme_link: boolean; children: menuResponseData[]; } export { IMenuErrorLogger, //interface MMenu, // model menuControllerResponse, // above coresponding to payload abd this corespons to rresponse menuResponseData };