UNPKG

@farris/bef-vue

Version:
19 lines (18 loc) 621 B
import { Entity } from '@farris/devkit-vue'; import { BefRepository } from '../bef-repository'; import { ChangeDetail } from '../change'; declare class ResponseInfoUtil { /** * 将ResponseInfo转换为老接口的数据返回格式 */ static unWrapResponseInfo(result: any): any; /** * 处理Entity变更 */ static handleEntityChanges(repository: BefRepository<Entity>, changeDetails: ChangeDetail[]): void; /** * 处理Variable变更 */ static handleVariableChange(repository: BefRepository<Entity>, changeDetail: ChangeDetail): void; } export { ResponseInfoUtil };