UNPKG

pixie-transformer

Version:

Pixie Transformer is transforming a Raw/Response JSON Payload into your expected JSON Payload. It's make your life easy and convenience without any logic required in your code.

30 lines (29 loc) 819 B
export declare enum CONDITION { NONE = 0, EQUAL = 1, NOTEQUAL = 2, MORETHAN = 3, MORETHANOREQUAL = 4, LESSTHAN = 5, LESSTHANOREQUAL = 6, STARTWITH = 7, ENDWITH = 8, CONTAIN = 9 } export interface ConditionInterface { key: string; condition: CONDITION; match: string | number; rename?: string; toUpperCase?: boolean; } export declare class Condition implements ConditionInterface { key: string; condition: CONDITION; match: string | number; rename?: string | undefined; toUpperCase?: boolean | undefined; constructor(key: string, condition: CONDITION, match: string | number, rename?: string | undefined, toUpperCase?: boolean | undefined); } declare function ConvertNoneCondition(condition: any): any; export { ConvertNoneCondition };