cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
21 lines (20 loc) • 701 B
TypeScript
import { ICoreCyfm } from "../../schema";
import { controllerResponse } from "../../utilities";
type IFileManagerErrorLogger = {
[key in keyof MFileManager]: string;
};
declare class MFileManager {
cyfm_id: string;
constructor(init: MFileManager);
Validate?(): Partial<IFileManagerErrorLogger>;
}
interface fileManagerResponseData extends ICoreCyfm {
cyfm_file_base64: string;
}
interface fileManagerControllerResponse extends controllerResponse {
data?: fileManagerResponseData[];
}
export { IFileManagerErrorLogger, //interface
MFileManager, // model
fileManagerControllerResponse, // above coresponding to payload abd this corespons to rresponse,
fileManagerResponseData };