feat(plugin): add PluginMeta model and JSON schema for plugin metadata
This commit is contained in:
10
app/models/plugin.py
Normal file
10
app/models/plugin.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class PluginMeta(BaseModel):
|
||||
id: str
|
||||
name: str
|
||||
author: str
|
||||
version: str
|
||||
description: str | None = None
|
||||
dependencies: list[str] = []
|
||||
Reference in New Issue
Block a user