UNPKG

ts-api-core

Version:

Nodejs api framework core

14 lines (13 loc) 650 B
/** 自动数据合并条件处理器 */ export declare abstract class BaseMerageCondition { abstract execute(src: any | undefined, value: any | undefined): any | undefined; } /** * 自动数据合并条件 - 将源数据作为一个对象数组,从此数组中选择1个匹配的数据项,参数:`数组对象字段名`, `当前数据字段名` */ export declare class GetObjectArrayItemCondition extends BaseMerageCondition { private readonly srcField; private readonly valueField; constructor(srcField: string, valueField: string); execute(src: any | undefined, value: any | undefined): any | undefined; }