Add distribution board copy and delete controls
This commit is contained in:
@@ -301,6 +301,13 @@ inverse removes only the same unchanged and still-empty structure; the POST
|
||||
route requires `expectedRevision` and returns the updated history state.
|
||||
Stored schema-version 1 and 2 setup commands remain executable with their four
|
||||
legacy sections and without invented components.
|
||||
Complete populated distribution-board copying and deletion use
|
||||
`distribution-board.insert-subtree` and `distribution-board.delete-subtree`.
|
||||
Their exact snapshots include the board, circuit list, groups, circuits,
|
||||
device rows, components and all one-to-one protection data. Copy remaps all
|
||||
owning ids but preserves project-device and room links. Both operations are
|
||||
atomic persistent commands with restart-safe Undo/Redo; deletion requires an
|
||||
explicit UI warning.
|
||||
Mutable group-protection and auxiliary distribution-board components use
|
||||
`distribution-board-component.insert` and
|
||||
`distribution-board-component.delete`; edits and footer reordering use
|
||||
|
||||
Reference in New Issue
Block a user