🐛 docs: 添加发布插件表单

This commit is contained in:
远野千束 2024-09-22 01:42:03 +08:00
parent b469c9420e
commit fbb9ed82ee
2 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ body:
- type: input - type: input
id: link id: link
attributes: attributes:
label: Download Link label: Link
description: Direct download link of the resource pack description: Direct download link of the resource pack
placeholder: e.g. https://aaa.com/r.zip placeholder: e.g. https://aaa.com/r.zip
validations: validations:
@ -54,6 +54,6 @@ body:
label: Tags label: Tags
description: Tags description: Tags
placeholder: 'e.g. [{"label": "Tag Name", "color": "#ea5252"}]' placeholder: 'e.g. [{"label": "Tag Name", "color": "#ea5252"}]'
value: [ { "label": "Tag Name", "color": "#a2d8f4" } ] value: '[ { "label": "Text", "color": "#a2d8f4" } ]'
validations: validations:
required: true required: false

View File

@ -54,6 +54,6 @@ body:
label: 标签 label: 标签
description: 标签 description: 标签
placeholder: 'e.g. [{"label": "标签名", "color": "#ea5252"}]' placeholder: 'e.g. [{"label": "标签名", "color": "#ea5252"}]'
value: [ { "label": "标签名", "color": "#a2d8f4" } ] value: '[ { "label": "标签名", "color": "#a2d8f4" } ]'
validations: validations:
required: true required: false