dsh-message-gateway 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -7036,10 +7036,26 @@ function apply(ctx, config = Config({})) {
7036
7036
  },
7037
7037
  fields: {
7038
7038
  type: "array",
7039
+ items: {
7040
+ type: "object",
7041
+ properties: {
7042
+ title: { type: "string", required: true },
7043
+ type: {
7044
+ type: "string",
7045
+ enum: ["text", "number", "single_select", "multi_select", "date_time", "user", "checkbox"]
7046
+ },
7047
+ options: { type: "array", items: { type: "string" } }
7048
+ },
7049
+ additionalProperties: false
7050
+ },
7039
7051
  description: '\u5217\u5B57\u6BB5\u5B9A\u4E49\u5217\u8868\uFF0C\u5982 [{"title": "\u4EFB\u52A1\u540D\u79F0", "type": "text"}, {"title": "\u72B6\u6001", "type": "single_select", "options": ["\u5F85\u529E", "\u8FDB\u884C\u4E2D", "\u5DF2\u5B8C\u6210"]}]'
7040
7052
  },
7041
7053
  records: {
7042
7054
  type: "array",
7055
+ items: {
7056
+ type: "object",
7057
+ additionalProperties: true
7058
+ },
7043
7059
  description: '\u521D\u59CB\u586B\u5165\u7684\u6570\u636E\u884C\u5217\u8868\uFF0C\u5982 [{"\u4EFB\u52A1\u540D\u79F0": "\u9700\u6C42\u8BC4\u5BA1", "\u72B6\u6001": "\u5DF2\u5B8C\u6210"}]'
7044
7060
  }
7045
7061
  },