@elastic.io/component-commons-library
Version:
Library for most common component development cases
10 lines (8 loc) • 388 B
TypeScript
/**
* This method will be called from elastic.io platform providing following data
*
* @param msg incoming message object that contains ``body`` with payload
* @param cfg configuration that is account information and configuration field values
* @param context this of action or trigger, optional
*/
export declare function jsonataTransform(msg: any, cfg: any, context: any): any;