@camunda8/sdk
Version:
[](https://www.npmjs.com/package/@camunda8/sdk)
16 lines (15 loc) • 400 B
TypeScript
type JSON = string | number | boolean | JSON[] | JSONDoc[];
export interface JSONDoc {
[key: string]: JSON;
}
/**
* Shallow escape
* @param variable
* @returns
*/
export declare const escape: (variable: JSON) => string | number | boolean;
export declare const encodeTaskVariablesForAPIRequest: (variables: JSONDoc) => {
name: string;
value: string | number | boolean;
}[];
export {};