Skip to main content

Crate text_document_frontend

Crate text_document_frontend 

Source
Expand description

Frontend crate - public API for the generated backend.

This crate re-exports everything a UI consumer needs: AppContext, command wrappers, event client, and DTOs.

DTOs are accessible via structured paths:

  • frontend::{entity}::dtos::{Entity}Dto
  • frontend::{feature}::dtos::{UseCaseDto}

Re-exports§

pub use app_context::AppContext;
pub use event_hub_client::EventHubClient;
pub use flat_event::FlatEvent;
pub use flat_event::FlatEventKind;
pub use document_editing;
pub use document_formatting;
pub use document_inspection;
pub use document_io;
pub use common;
pub use direct_access;

Modules§

app_context
block
commands
Commands module - cleanly separated command handlers
document
event_hub_client
flat_event
Flat event representation for simplified consumer-side matching.
frame
inline_element
list
resource
root
table
table_cell

Structs§

Event
OperationProgress

Enums§

Origin

Traits§

Context
Provides the context method for Result.

Type Aliases§

EntityId
Result
Result<T, Error>