Skip to main content

ifc_approval/
lib.rs

1//! Bounded approval-resource views and transaction-staged authoring.
2//!
3//! This crate owns `IfcApproval`, its resource-level relationships, and
4//! `IfcRelAssociatesApproval`, read and written in the model's declared
5//! release (IFC2X3, IFC4 or IFC4X3) by attribute name. It validates selected
6//! WHERE/SELECT rules but does not implement workflow, authorization,
7//! signatures, or policy decisions.
8
9mod authoring;
10mod error;
11mod projection;
12mod release;
13mod view;
14
15pub use authoring::{
16    associate_approval, associate_approval_with_owner_history, create_approval, relate_approvals,
17    relate_resource_approval, ApprovalAssociationDraft, ApprovalDraft, ApprovalRelationshipDraft,
18    DateTimeInput, ResourceApprovalDraft,
19};
20pub use error::{ApprovalError, ApprovalResult};
21/// The IFC release a projection reads against (re-exported from
22/// `ifc-schema`).
23pub use ifc_schema::SchemaVersion;
24pub use projection::{
25    Approval, ApprovalAssignment, ApprovalRelationship, ResourceApprovalRelationship,
26};
27pub use view::ApprovalView;