You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docs/versioned_docs/version-2.0/developer-guide/theme/vo/ReplyVo.md

1.6 KiB

{
  "metadata": {
    "name": "string",                                   // 唯一标识
    "labels": {
      "additionalProp1": "string"
    },
    "annotations": {
      "additionalProp1": "string"
    },
    "creationTimestamp": "2022-11-20T12:25:32.357Z"     // 创建时间
  },
  "spec": {
    "raw": "string",                                    // 原始文本,一般用于给编辑器使用
    "content": "string",                                // 最终渲染的文本
    "owner": {                                          // 创建者关联
      "kind": "string",
      "name": "string",
      "displayName": "string",
      "annotations": {
        "additionalProp1": "string"
      }
    },
    "userAgent": "string",                              // 评论者 UserAgent 信息
    "ipAddress": "string",                              // 评论者 IP 地址
    "priority": 0,                                      // 排序字段
    "top": false,                                       // 是否置顶
    "allowNotification": true,                          // 是否允许通知
    "approved": false,
    "hidden": false,
    "commentName": "string",                            // 被回复的评论名称,即 Comment 的 metadata.name
    "quoteReply": "string"                              // 被回复的回复名称,即 Reply 的 metadata.name
  },
  "owner": {                                            // 创建者信息
    "kind": "string",
    "name": "string",
    "displayName": "string",
    "avatar": "string",
    "email": "string"
  }
}