[K4] S4 Rundreise TS -> Rust -> TS und KNOWN_KEYS aus dem Modell
- Abfrage modelJson: typisiertes Projekt OHNE Extra-Felder (to_value_typed_only) — fehlt dem Rust-Modell ein Feld, fehlt es in der Antwort. - src/model/types.roundtrip.test.ts: Beispielprojekt, Projekt mit allen Element-Arten (alle Drawing2DGeom-Formen, Kontext-Arten, Wandregeln, Layout-Beschriftungen …) und 60 Zufallsprojekte bleiben gleich. - project_format.rs: Test gleicht KNOWN_KEYS mit den Feldern von model::Project ab. Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
4 files changed
+214
-1
No files matched your search
@@ -35,7 +35,8 @@ export type QueryName =
|
||||
| "scheduleCsv"
|
||||
| "pickGeometry"
|
||||
| "model3dParts"
|
||||
| "planDomains";
|
||||
| "planDomains"
|
||||
| "modelJson";
|
||||
|
||||
export class ProjectDocument {
|
||||
private handle = 0;
|
||||
|
||||
Reference in new issue
Block a user