feat: add description

This commit is contained in:
Yeuoly
2024-10-17 12:59:11 +08:00
parent 8495ed3348
commit beebcbd962
3 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ class PluginDeclaration(BaseModel):
version: str = Field(..., pattern=r"^\d{1,4}(\.\d{1,4}){1,3}(-\w{1,16})?$")
author: Optional[str] = Field(..., pattern=r"^[a-zA-Z0-9_-]{1,64}$")
name: str = Field(..., pattern=r"^[a-z0-9_-]{1,128}$")
description: I18nObject
icon: str
label: I18nObject
category: PluginCategory