feat: a few tabs for module
This commit is contained in:
@ -3,13 +3,21 @@ from schemas.base import BaseSchema
|
||||
# region Entity
|
||||
|
||||
|
||||
class BuiltInModuleTabSchema(BaseSchema):
|
||||
id: int
|
||||
key: str
|
||||
label: str
|
||||
icon_name: str
|
||||
device: str
|
||||
|
||||
|
||||
class BuiltInModuleSchema(BaseSchema):
|
||||
id: int
|
||||
key: str
|
||||
label: str
|
||||
icon_name: str
|
||||
description: str
|
||||
depends_on: list["BuiltInModuleSchema"]
|
||||
tabs: list[BuiltInModuleTabSchema]
|
||||
|
||||
|
||||
# endregion
|
||||
|
||||
Reference in New Issue
Block a user