cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
33 lines (32 loc) • 1.43 kB
TypeScript
import { MTableQueries } from "../../common-types/common";
import { ICoreSyco } from "../../schema";
import { controllerResponse } from "../../utilities";
type ISystemConfigErrorLogger = {
[key in keyof MSystemConfig]: string;
};
declare class MSystemConfig extends MTableQueries {
syco_for?: string;
constructor(init: MSystemConfig);
Validate?(): Partial<ISystemConfigErrorLogger>;
}
declare class MSystemConfigGetByIdPayload {
syco_id?: string;
constructor(init: MSystemConfigGetByIdPayload);
Validate?(): Partial<Record<keyof MSystemConfigGetByIdPayload, string>>;
}
declare class MSystemConfigUpdateEntityTypesPayload {
syco_id?: string;
syco_entity_type_applicable_sygms?: string[];
constructor(init: MSystemConfigUpdateEntityTypesPayload);
Validate?(): Partial<Record<keyof MSystemConfigUpdateEntityTypesPayload, string>>;
}
interface systemConfigListControllerResponse extends controllerResponse {
data?: ICoreSyco[];
}
interface systemConfigByIdControllerResponse extends controllerResponse {
data?: ICoreSyco;
}
interface systemConfigUpdateEntityTypesControllerResponse extends controllerResponse {
data?: ICoreSyco;
}
export { ISystemConfigErrorLogger, MSystemConfig, MSystemConfigGetByIdPayload, MSystemConfigUpdateEntityTypesPayload, systemConfigListControllerResponse, systemConfigByIdControllerResponse, systemConfigUpdateEntityTypesControllerResponse };