1pub mod at_login;
8mod background;
9mod backup;
10mod engines;
11mod error;
12mod info;
13mod library;
14mod network;
15mod place;
16pub mod pointer;
17mod recovery_file;
18mod role;
19
20pub use background::{
21 Background, BackgroundOptions, BackgroundState, ask_to_sync, ask_to_sync_each,
22};
23pub use backup::{
24 BackupDrive, BackupFolder, PickerRules, named_at as backup_named_at,
25 named_in as backup_named_in,
26};
27pub use engines::{ENGINE_VERSION, REPLICA_VERSION, name_program};
28pub use error::NodeError;
29pub use library::accounts::{
30 ChangeCopies, CopyHeld, DeviceMarks, Disk, DiskBackup, DiskReplica, FileCopy,
31};
32pub use library::backups::{
33 AddedBackup, Backup, BackupEdit, BackupMoved, BackupState, BackupUpdate, NewBackup,
34};
35pub use library::behind::PurgeRequest;
36pub use library::checking::{
37 COUNTS_FOR_MILLIS, CheckRun, CheckStatus, Damaged, DamagedCopy, Pace, Part, ROUND_MILLIS, Round,
38};
39pub use library::checkouts::{
40 CheckedOut, Checkout, CopyState, EditsRecorded, Ended, remove_view_copies,
41};
42pub use library::claims::ClaimInSpace;
43pub use library::copies::{ReplicaCopy, TakenIn};
44pub use library::dropping::{DropRefusal, DropRefusals, DropStage, DropWait, Dropping};
45pub use library::entities::{
46 Census, DatedValue, Dating, Edit, EntityView, FieldView, Listed, More, NewValue, OtherForm,
47 Searched, ShownValue,
48};
49pub use library::export::{ExportCheck, ExportKind, ExportProblem, Exported, OWN_RECORDS};
50pub use library::files::{AddedFile, Question, resolved_path};
51pub use library::groups::{GroupInSpace, GroupJoinRequest, GroupMember};
52pub use library::history::{Carried, FieldHistory, History, PastValue};
53pub use library::holding::HeldElsewhere;
54pub use library::import::Imported;
55pub use library::languages::{LanguageSettings, LanguagesFor};
56pub use library::links::{Linking, Links};
57pub use library::listing::Listing;
58pub use library::members::{Invitee, MemberReplica, PersonLink, SpaceMember};
59pub use library::moving::{Behind, MoveHistory, MovePreview, MoveSecrets};
60pub use library::policies::{
61 CheckedFile, Choice, ChosenBy, Conditions, Folder, Kept, Lacks, Needs, NewRule, POLICY, Place,
62 Policy, PolicyCheck, PolicyCount, PolicyEdit, Rule, STORAGE_POLICY, STORAGE_RULE,
63};
64pub use library::purge::{Purge, PurgedCheckout};
65pub use library::recovering::{Recovered, RecoveredFrom, RecoveredSecrets, Recovering};
66pub use library::recovery::{RecoveryCheck, RecoveryCodeInfo, RecoveryKeys};
67pub use library::removal::{REMOVALS_AT_ONCE, Removals, Removed};
68pub use library::revocation::SetAside;
69pub use library::secret_files::AddedSecretFile;
70pub use library::secrets::SecretsState;
71pub use library::sources::{FileFrom, FoundElsewhere, Source, taken_of};
72pub use library::sync::{AskedFor, Joining, Replica, Sponsor, Syncing};
73pub use library::taking::{Here, KnownSpace, NewDevice, SpaceHolder, SpaceRequest, Taking};
74pub use library::thumbnails::{
75 MOST_PICTURE_BYTES, Thumbnail, ThumbnailCounts, ThumbnailOf, Thumbnailer, ThumbnailsMade,
76};
77pub use library::trees::{
78 BlameLine, Change, CloneFolder, Commit, Committed, CopiesRemoved, CutShort, FileDiff,
79 GitRepository, InTree, MadeSecret, RecordedRepository, Reverted, StartPreview, ToClone, Tree,
80 TreeChange, TreeEntry, TreeEntryKind, TreeLogEntry, TreePoint, TreeSecrets, TreeStarted,
81 TreeStatus, Updated, Written, is_safe_tree_path, tree_path_at,
82};
83pub use library::verify::{Problem, Report, SpaceReport};
84pub use library::waiting::{
85 DAY, DEFAULT_WAIT_DAYS, MOST_WAIT_DAYS, WaitingCopy, WaitingOn, WaitingPurge, backup_wait_days,
86 wait_days,
87};
88pub use library::{
89 Author, Closed, Described, Library, NewLibrary, Opening, SpaceStatus, StateMark, Status,
90};
91pub use network::{
92 Answered, CODE_TRIES, Invitation, Invited, Joined, JoinedSpace, Paired, RemovalPass, Showing,
93 SyncedWith, Waiting, WrongTry, answer, answer_connection, invite, invite_closed, join,
94 join_space, pair, pair_ai_agent, pair_ai_agent_in, pair_closed, pair_device,
95 pair_giving_secrets, remove_unkept, retry_in_use, sync_with_found, sync_with_others,
96};
97pub use nibkeep_crypto::PassphraseParams;
98pub use nibkeep_governance::Role as MemberRole;
99pub use nibkeep_log::DeviceRole;
100pub use nibkeep_log::list::Member;
101pub use place::{
102 Drive, Whereabouts, declare_drive, declare_phone, declare_phone_with_disk, disk_name,
103 serial_disk_name,
104};
105pub use recovery_file::{OpenedRecovery, RECOVERY_FILE, RecoveryFile};
106pub use role::{
107 BackedUp, Borrowed, FoundBackup, Held, HolderRecord, Holding, Records, ReplicaRecord, Role,
108 borrow_network, hold, tried,
109};
110
111pub const KEYSTORE_SERVICE: &str = "org.nibkeep";
114
115pub const CONFIRMED_KEYSTORE_SERVICE: &str = "org.nibkeep.confirmed";
119pub use nibkeep_governance::{NotACode, PairingCode};
120pub use nibkeep_keys::{CompartmentKey, KeysError, NewProtection, Protection, Unlocker};
121pub use nibkeep_net::{
122 Connection, DEFAULT_PORT, NetError, Network, Options as NetworkOptions, PORTS,
123};
124pub use nibkeep_store::{Ticks, holds_words};
125pub use nibkeep_sync::{Counts, Reason, SpaceSynced, SyncError, Synced};