UNPKG

cloud-ide-lms-model

Version:

Package for Model management of Cloud IDEsys LMS

63 lines (62 loc) 2.58 kB
import { MTableQueries, MRequestMiddelware } from "../../common-types/common"; import { IAppPlatformLinkMst } from "../../schema/app/app_platform_link_mst"; import { controllerResponse } from "../../utilities"; type IAppPlatformLinkErrorLogger = { [key in keyof MAppPlatformLink]: string; }; type IAppPlatformLinkGetByIdErrorLogger = { [key in keyof MAppPlatformLinkGetByIdPayload]: string; }; type IAppPlatformLinkInsertUpdateErrorLogger = { [key in keyof MAppPlatformLinkInsertUpdatePayload]: string; }; declare class MAppPlatformLink extends MTableQueries { applink_id?: string; applink_reg_id_appreg?: string; applink_store_provider_id_appstore?: string; applink_platform_id_sygms?: string; applink_link_status_id_sygms?: string; query?: string; constructor(init: MAppPlatformLink); Validate?(): Partial<IAppPlatformLinkErrorLogger>; } declare class MAppPlatformLinkGetByIdPayload implements MRequestMiddelware { applink_id?: string; _id?: string; constructor(init: MAppPlatformLinkGetByIdPayload); Validate?(): Partial<IAppPlatformLinkGetByIdErrorLogger>; } declare class MAppPlatformLinkInsertUpdatePayload implements IAppPlatformLinkMst, MRequestMiddelware { _id?: string; applink_reg_id_appreg?: string; applink_store_provider_id_appstore?: string; applink_platform_id_sygms?: string; applink_link_status_id_sygms?: string; applink_workflow_id_wfrg?: string; applink_current_step?: number; applink_platform_app_id?: string; applink_store_app_id?: string; applink_platform_config?: Record<string, unknown>; applink_platform_api_config?: Record<string, unknown>; applink_linked_by_id_auth?: string; applink_linked_at?: Date; applink_unlinked_at?: Date; applink_created_at?: Date; applink_updated_at?: Date; constructor(init: Partial<IAppPlatformLinkMst> & { _id?: string; }); Validate?(): Partial<IAppPlatformLinkInsertUpdateErrorLogger>; } interface appPlatformLinkControllerResponse extends controllerResponse { data?: any[] | any | null; total?: number; totalDocument?: number; } interface appPlatformLinkByIdControllerResponse extends controllerResponse { data?: any | null; } interface appPlatformLinkInsertUpdateControllerResponse extends controllerResponse { data?: any | null; } export { MAppPlatformLink, MAppPlatformLinkGetByIdPayload, MAppPlatformLinkInsertUpdatePayload, appPlatformLinkControllerResponse, appPlatformLinkByIdControllerResponse, appPlatformLinkInsertUpdateControllerResponse };