[66] Standard-Ansichtsvorlagen: Präsentation, Eingabeplan 1:100, Ausführungsplan 1:50

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
Claude committed 2026-11-04 14:32:35 +00:00
1 parent 51be36829a
commit 6fc77c28e4
8 files changed
+28 -5

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ describe("Standard-Bibliothek ([100]–[102])", () => {
expect(c.components).toBe(35);
expect(c.lineStyles).toBeGreaterThan(5);
expect(c.wallTypes + c.ceilingTypes + c.roofTypes).toBe(5);
expect(standardsMergeCounts(standardsMergeOps(withStandards(empty)))).toEqual({ lineStyles: 0, hatches: 0, components: 0, wallTypes: 0, ceilingTypes: 0, roofTypes: 0 });
expect(standardsMergeCounts(standardsMergeOps(withStandards(empty)))).toEqual({ lineStyles: 0, hatches: 0, components: 0, wallTypes: 0, ceilingTypes: 0, roofTypes: 0, viewTemplates: 0 });
});
it("Sinnbilder nach SIA 400 Fig. 34: Putz leer, Dämmung quer, Beton gekreuzt", () => {
+2 -1
View File
@@ -26,10 +26,11 @@ export interface StandardsMergeCounts {
wallTypes: number;
ceilingTypes: number;
roofTypes: number;
viewTemplates: number;
}
export function standardsMergeCounts(ops: readonly CoreOp[]): StandardsMergeCounts {
const out: StandardsMergeCounts = { lineStyles: 0, hatches: 0, components: 0, wallTypes: 0, ceilingTypes: 0, roofTypes: 0 };
const out: StandardsMergeCounts = { lineStyles: 0, hatches: 0, components: 0, wallTypes: 0, ceilingTypes: 0, roofTypes: 0, viewTemplates: 0 };
for (const op of ops) {
const key = op.kind === "add" ? op.collection : op.kind === "setField" ? op.key : null;
const n = op.kind === "add" ? op.items.length : op.kind === "setField" && Array.isArray(op.value) ? op.value.length : 0;