refactor: Add 'edited' attribute to FrontendNode class
This commit is contained in:
parent
e81b0378fe
commit
bf065bcca7
1 changed files with 4 additions and 0 deletions
|
|
@ -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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue