Mountain/IPC/WindServiceHandlers/Model.rs
1#![allow(non_snake_case)]
2
3//! # Text Model registry + TextFile handlers
4//!
5//! Two related responsibilities sharing the same dispatcher
6//! family:
7//!
8//! - `Model*` - Monaco-side text model registry. Mountain owns
9//! `ApplicationState.Feature.Documents`; Wind reads/writes through these
10//! handlers so the document state survives a webview reload.
11//! - `Textfile*` - disk-only paths that bypass the registry. Used for tooling
12//! reads (settings, manifests) and for the actual save round-trip.
13//!
14//! Layout (one export per file, file name = identity):
15//! - `ModelOpen::ModelOpen`, `ModelClose::ModelClose`, `ModelGet::ModelGet`,
16//! `ModelGetAll::ModelGetAll`, `ModelUpdateContent::ModelUpdateContent`.
17//! - `TextfileRead::TextfileRead`, `TextfileWrite::TextfileWrite`,
18//! `TextfileSave::TextfileSave`.
19
20pub mod ModelClose;
21
22pub mod ModelGet;
23
24pub mod ModelGetAll;
25
26pub mod ModelOpen;
27
28pub mod ModelUpdateContent;
29
30pub mod TextfileRead;
31
32pub mod TextfileSave;
33
34pub mod TextfileWrite;