[K4] S3: Gruppen-Logik im Kern (groups.rs)

Transitive Mitgliedschaft, sichtbare Gruppe im Isolations-Kontext und Auswahl
um Gruppen erweitern rechnet der Kern (Abfragen groupMembership/containingGroup/
expandToGroups, Fassade model/groups.ts); TS-Rechnung in groupActions.ts gelöscht,
dort bleiben Op-Bauer, Dimmen und mergeMembership. Einmaliger Vergleich: 16000
Abfragen auf Zufallsprojekten gleich der alten TS-Fassung.
This commit is contained in:
Claude committed 2026-10-29 04:40:08 +00:00
1 parent 256b7c0b4b
commit a1ede21e17
9 files changed
+336 -159

No files matched your search

+4 -1
View File
@@ -43,7 +43,10 @@ export type QueryName =
| "planDomains"
| "ifcExportData"
| "meshExportData"
| "modelJson";
| "modelJson"
| "groupMembership"
| "containingGroup"
| "expandToGroups";
export class ProjectDocument {
private handle = 0;
+2
View File
@@ -51,3 +51,5 @@ export { readMesh, meshObjectsToImportedMeshes, formatMeshReport, isMeshFile, ME
export type { MeshObject, MeshImportReport, MeshUnit, MeshUp, MeshPlacement } from "../io/meshImport";
export { addItems, fieldOps, findItem, itemsOf, opsMutation, patchItem, patchItems, removeItems, replaceItem, replaceWithMany, setField, setFieldIfChanged } from "./opsBuild";
export type { EntityCollection, EntityOf, ProjectMutation } from "./opsBuild";
export { EMPTY_MEMBERSHIP, containingGroupId, expandToGroups, isInsideActiveGroup, transitiveMembership } from "../model/groups";
export type { GroupMembership, MemberKind } from "../model/groups";