cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
67 lines (66 loc) • 2.52 kB
TypeScript
import { MTableQueries, MRequestMiddelware } from "../../common-types/common";
import { IAppVersionMst } from "../../schema/app/app_version_mst";
import { controllerResponse } from "../../utilities";
type IAppVersionErrorLogger = {
[key in keyof MAppVersion]: string;
};
type IAppVersionGetByIdErrorLogger = {
[key in keyof MAppVersionGetByIdPayload]: string;
};
type IAppVersionInsertUpdateErrorLogger = {
[key in keyof MAppVersionInsertUpdatePayload]: string;
};
declare class MAppVersion extends MTableQueries {
appver_id?: string;
appver_reg_id_appreg?: string;
appver_version_number?: string;
appver_deployment_status_id_sygms?: string;
query?: string;
constructor(init: MAppVersion);
Validate?(): Partial<IAppVersionErrorLogger>;
}
declare class MAppVersionGetByIdPayload implements MRequestMiddelware {
appver_id?: string;
_id?: string;
constructor(init: MAppVersionGetByIdPayload);
Validate?(): Partial<IAppVersionGetByIdErrorLogger>;
}
declare class MAppVersionInsertUpdatePayload implements IAppVersionMst, MRequestMiddelware {
_id?: string;
appver_reg_id_appreg?: string;
appver_version_number?: string;
appver_version_code?: number;
appver_release_type_id_sygms?: string;
appver_is_active?: boolean;
appver_is_forced?: boolean;
appver_min_supported_version?: string;
appver_release_date?: Date;
appver_release_notes?: string;
appver_build_number?: string;
appver_bundle_size?: number;
appver_bundle_file_id_cyfm?: string;
appver_bundle_hash?: string;
appver_bundle_signature?: string;
appver_deployment_status_id_sygms?: string;
appver_deployed_by_id_auth?: string;
appver_deployed_at?: Date;
appver_created_by_id_auth?: string;
appver_created_at?: Date;
appver_updated_at?: Date;
constructor(init: Partial<IAppVersionMst> & {
_id?: string;
});
Validate?(): Partial<IAppVersionInsertUpdateErrorLogger>;
}
interface appVersionControllerResponse extends controllerResponse {
data?: any[] | any | null;
total?: number;
totalDocument?: number;
}
interface appVersionByIdControllerResponse extends controllerResponse {
data?: any | null;
}
interface appVersionInsertUpdateControllerResponse extends controllerResponse {
data?: any | null;
}
export { MAppVersion, MAppVersionGetByIdPayload, MAppVersionInsertUpdatePayload, appVersionControllerResponse, appVersionByIdControllerResponse, appVersionInsertUpdateControllerResponse };