cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
56 lines (55 loc) • 2.18 kB
TypeScript
import { MTableQueries, MRequestMiddelware } from "../../common-types/common";
import { IAppUpdateChangelogMst } from "../../schema/app/app_update_changelog_mst";
import { controllerResponse } from "../../utilities";
type IAppChangelogErrorLogger = {
[key in keyof MAppChangelog]: string;
};
type IAppChangelogGetByIdErrorLogger = {
[key in keyof MAppChangelogGetByIdPayload]: string;
};
type IAppChangelogInsertUpdateErrorLogger = {
[key in keyof MAppChangelogInsertUpdatePayload]: string;
};
declare class MAppChangelog extends MTableQueries {
appchg_id?: string;
appchg_version_id_appver?: string;
appchg_category_id_sygms?: string;
query?: string;
constructor(init: MAppChangelog);
Validate?(): Partial<IAppChangelogErrorLogger>;
}
declare class MAppChangelogGetByIdPayload implements MRequestMiddelware {
appchg_id?: string;
_id?: string;
constructor(init: MAppChangelogGetByIdPayload);
Validate?(): Partial<IAppChangelogGetByIdErrorLogger>;
}
declare class MAppChangelogInsertUpdatePayload implements IAppUpdateChangelogMst, MRequestMiddelware {
_id?: string;
appchg_version_id_appver?: string;
appchg_category_id_sygms?: string;
appchg_title?: string;
appchg_description?: string;
appchg_bug_id?: string;
appchg_affected_modules?: string[];
appchg_priority_id_sygms?: string;
appchg_tags?: string[];
appchg_created_by_id_auth?: string;
appchg_created_at?: Date;
constructor(init: Partial<IAppUpdateChangelogMst> & {
_id?: string;
});
Validate?(): Partial<IAppChangelogInsertUpdateErrorLogger>;
}
interface appChangelogControllerResponse extends controllerResponse {
data?: any[] | any | null;
total?: number;
totalDocument?: number;
}
interface appChangelogByIdControllerResponse extends controllerResponse {
data?: any | null;
}
interface appChangelogInsertUpdateControllerResponse extends controllerResponse {
data?: any | null;
}
export { MAppChangelog, MAppChangelogGetByIdPayload, MAppChangelogInsertUpdatePayload, appChangelogControllerResponse, appChangelogByIdControllerResponse, appChangelogInsertUpdateControllerResponse };