refactor: Add 'edited' attribute to FrontendNode class

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-20 11:12:33 -03:00
commit bf065bcca7

View file

@ -49,7 +49,11 @@ class FrontendNode(BaseModel):
field_order: list[str] = []
"""Order of the fields in the frontend node."""
beta: bool = False
"""Whether the frontend node is in beta."""
error: Optional[str] = None
"""Error message for the frontend node."""
edited: bool = False
"""Whether the frontend node has been edited."""
def set_documentation(self, documentation: str) -> None:
"""Sets the documentation of the frontend node."""