Add atomic Revit assignment-plan command and route

- external-object.apply-assignment-plan creates planned circuits (BMK,
  default protection), external-only rows and quantity changes with all
  object links in one revision; the history-only revert removes only
  unchanged created structure.
- POST /external-model/objects/assignment-plan validates strictly with
  zod, re-checks rows with the shared planning rules and requires explicit
  confirmation of planning conflicts and socket-limit overruns.
- The compact object list carries the socket limit and socket device types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Julian Appel 2026-10-30 21:28:56 +01:00
parent d4c44001e1
commit fd45a1caeb
15 changed files with 1598 additions and 15 deletions

View file

@ -125,6 +125,7 @@ const config = {
{ method: "PUT", path: "/api/projects/{id}", body: {} },
{ method: "PUT", path: "/api/projects/{id}", body: "{kaputt" },
{ method: "POST", path: "/api/projects/{id}/distribution-boards/import", body: {} },
{ method: "POST", path: "/api/projects/{id}/external-model/objects/assignment-plan", body: {} },
{
method: "POST",
path: "/api/projects/{id}/distribution-boards/import",