Create clean release database baseline

This commit is contained in:
2026-07-31 14:07:26 +02:00
parent 5bee3cb103
commit 734a2bcfc4
129 changed files with 2121 additions and 30607 deletions
-5
View File
@@ -82,9 +82,6 @@ function createSnapshot(): DistributionBoardSubtreeSnapshot {
equipmentIdentifier: "-1F1.1",
displayName: "Licht",
sortOrder: 10,
protectionType: null,
protectionRatedCurrent: null,
protectionCharacteristic: null,
cableType: "NYM-J",
cableCrossSection: "3x1,5 mm²",
cableLength: 10,
@@ -100,7 +97,6 @@ function createSnapshot(): DistributionBoardSubtreeSnapshot {
id: "row-1",
circuitId: "circuit-1",
linkedProjectDeviceId: "device-1",
legacyConsumerId: "legacy-1",
sortOrder: 10,
name: "Leuchte",
displayName: "Leuchte",
@@ -176,7 +172,6 @@ describe("distribution-board subtree snapshot", () => {
"device-1"
);
assert.equal(clone.circuits[0].deviceRows[0].roomId, "room-1");
assert.equal(clone.circuits[0].deviceRows[0].legacyConsumerId, null);
assert.equal(clone.circuits[0].protectionDevice?.circuitId, "new-3");
assert.doesNotThrow(() => assertDistributionBoardSubtreeSnapshot(clone));
});