Skip to main content

rpc/forms/
mod.rs

1//! Typed client-form operations. The natives and the web decode their input,
2//! call these and encode the result; they own the behaviour.
3
4mod account_create;
5mod account_edit;
6mod account_edit_load;
7mod account_merge;
8mod commodity_create;
9mod commodity_edit;
10mod commodity_edit_load;
11mod config_set;
12mod convert;
13mod detail;
14mod edit_load;
15mod edit_tags;
16mod failure;
17mod handler;
18mod hidden;
19mod load;
20mod metrics;
21mod noticed;
22mod options;
23pub(crate) mod outcome;
24mod payload;
25mod query;
26mod report;
27mod report_activity;
28mod report_category;
29mod report_clock;
30mod report_defaults;
31mod report_format;
32mod script_create;
33mod script_edit;
34mod script_edit_load;
35mod ssh_key_add;
36mod submit;
37mod suggest;
38mod tag_create;
39mod tag_edit;
40mod tag_edit_load;
41mod template_create;
42mod template_edit;
43mod template_edit_load;
44mod template_test;
45mod transaction_create;
46mod transaction_create_load;
47mod transaction_edit;
48mod transaction_edit_load;
49mod transaction_rows;
50mod transaction_split_tags;
51mod transaction_stored;
52mod transaction_tags;
53
54pub use account_merge::{MergePreview, Merged, merge_accounts, merge_preview, merge_submit};
55pub use config_set::set_config;
56pub use convert::convert;
57pub use detail::{SplitDetail, StoredSplit, TransactionDetail, detail, labelled_splits};
58pub use failure::{Entity, Failure};
59pub use handler::{Handler, form_named};
60pub use load::load;
61pub use metrics::{FormAction, FormOutcome, count_result, record_form_request};
62pub use noticed::{load_noticed, submit_noticed};
63pub use options::{FormOption, options};
64pub use outcome::{Outcome, ReportOutcome};
65pub use payload::parse_payload;
66pub use query::{DEFAULT_LIMIT, QueryPage, QueryRow, query};
67pub(crate) use report::unexpected;
68pub use report::{run_report_in, typed_report, typed_report_in, typed_report_on};
69pub use report_clock::user_zone;
70pub use report_defaults::apply_report_defaults;
71pub(crate) use report_format::{format_activity_text, format_balance, format_breakdown};
72pub use submit::{Submitted, submit};
73pub use suggest::{Suggestion, suggestions};
74pub use template_test::{Stage, TemplateDraft, TestError, template_draft, test_template};
75pub use transaction_create_load::template_values;
76
77#[cfg(test)]
78mod tests_handler;
79#[cfg(test)]
80mod tests_hidden;
81#[cfg(test)]
82mod tests_metrics;
83#[cfg(test)]
84mod tests_outcome;
85#[cfg(test)]
86mod tests_payload;
87#[cfg(test)]
88mod tests_payload_presence;
89#[cfg(test)]
90mod tests_query;
91#[cfg(test)]
92pub(crate) mod tests_status;
93#[cfg(test)]
94mod tests_trim;