echo.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "about": {
  3. "trial": false,
  4. "author": {
  5. "name": "EMQ",
  6. "email": "contact@emqx.io",
  7. "company": "EMQ Technologies Co., Ltd",
  8. "website": "https://www.emqx.io"
  9. },
  10. "helpUrl": {
  11. "en_US": "https://github.com/lf-edge/ekuiper/blob/master/docs/en_US/sqls/custom_functions.md",
  12. "zh_CN": "https://github.com/lf-edge/ekuiper/blob/master/docs/zh_CN/sqls/custom_functions.md"
  13. },
  14. "description": {
  15. "en_US": "",
  16. "zh_CN": ""
  17. }
  18. },
  19. "functions": [{
  20. "name": "echo",
  21. "example": "echo(col1)",
  22. "hint": {
  23. "en_US": "The parameter value is output as it is.",
  24. "zh_CN": "原样输出参数值。"
  25. },
  26. "args": [
  27. {
  28. "name": "inputData",
  29. "hidden": true,
  30. "optional": false,
  31. "control": "text",
  32. "type": "string",
  33. "hint": {
  34. "en_US": "Input data",
  35. "zh_CN": "输入数据"
  36. },
  37. "label": {
  38. "en_US": "Input data",
  39. "zh_CN": "输入数据"
  40. }
  41. }
  42. ],
  43. "outputs": [
  44. {
  45. "label": {
  46. "en_US": "Output",
  47. "zh_CN": "输出"
  48. },
  49. "value": "echo"
  50. }
  51. ],
  52. "node": {
  53. "category": "abc",
  54. "icon": "iconPath",
  55. "label": {
  56. "en_US": "countPlusOne",
  57. "zh_CN": "countPlusOne"
  58. }
  59. }
  60. }]
  61. }