import { RhSafeAny } from './any'; import { WithNil } from './base'; import { RhDynamicFieldBaseDto } from './dynamic-design-model'; import { HttpMethod } from './http-options'; import { RhBaseDto } from './operate-model'; export type RhModelConfigFieldDto = Pick & { isArray?: boolean; }; /** 模块配置 */ export type RhModuleConfigCategory = 'template' | 'extension'; export declare class RhDevModuleConfigDto extends RhBaseDto { /** 模块名称 */ ModuleName: string; /**模块显示名称 */ ModuleDisplayName: string; /** 接口请求前缀 */ GlobalPrefix?: string; /** 端口号 */ Port?: number; ServerIp?: string; } export declare class RhDevModelConfigDto extends RhBaseDto { ModelName: string; ModelDisplayName: string; ModuleName: string; ModuleDisplayName: string; Id?: number; /** 数据返回的properties */ JsonData?: RhSafeAny | string; Disabled?: boolean; Deleted?: boolean; Remark?: string; properties: RhSafeAny[]; } /** 标准的瑞辉接口请求模型 */ export declare class RhDevInterfaceConfigDto extends RhBaseDto { /** 接口名称 */ InterfaceName: string; /** 接口显示名称 */ InterfaceDisplayName: string; InterfaceType: HttpMethod; /** 所属模块 */ ModuleName: string; /** 所属模块显示名称 */ ModuleDisplayName: string; /** 控制器名称 */ ControllerName: string; InputParam?: RhDevModelConfigDto; /** 输出参数 */ OutputParam?: RhDevModelConfigDto; Disabled?: boolean; Deleted?: boolean; Remark?: string; /** 接口请求前缀 */ GlobalPrefix?: string; /** 端口号 */ Port?: number; ServerIp?: string; /** 完整的接口请求路径,另种接口配置方式 */ Url?: WithNil; /** 查询参数或者是body,由`interfaceType`决定 */ QueryParam?: string; /** 数据源管道处理 */ DataHandler?: string; }