revert.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "description": {
  11. "en_US": "Example python plugin to revert the input string",
  12. "zh_CN": "示例python插件,用于反转输入的字符串"
  13. }
  14. },
  15. "functions": [{
  16. "name": "revert",
  17. "example": "revert(col1)",
  18. "hint": {
  19. "en_US": "Revert the input string",
  20. "zh_CN": "输出反转参数值。"
  21. },
  22. "args": [
  23. {
  24. "name": "field",
  25. "optional": false,
  26. "control": "field",
  27. "type": "string",
  28. "hint": {
  29. "en_US": "The field to revert",
  30. "zh_CN": "字段名"
  31. },
  32. "label": {
  33. "en_US": "Field",
  34. "zh_CN": "字段"
  35. }
  36. }
  37. ],
  38. "return": {
  39. "type": "string",
  40. "hint": {
  41. "en_US": "Reverted string",
  42. "zh_CN": "反转后的字符串"
  43. }
  44. },
  45. "node": {
  46. "category": "function",
  47. "icon": "iconPath",
  48. "label": {
  49. "en_US": "String Revert",
  50. "zh_CN": "字符串反转"
  51. }
  52. }
  53. }]
  54. }