Skip to main content

cloudillo_profile/
lib.rs

1//! Profile subsystem. Manages profile information, profile sync, etc.
2
3pub mod community;
4pub mod handler;
5pub mod list;
6pub mod media;
7pub mod perm;
8pub mod register;
9pub mod settings;
10pub mod sync;
11pub mod update;
12
13mod prelude;
14
15use crate::prelude::*;
16use cloudillo_core::settings::SettingsRegistry;
17
18pub fn register_settings(registry: &mut SettingsRegistry) -> ClResult<()> {
19	settings::register_settings(registry)
20}
21
22pub fn init(app: &App) -> ClResult<()> {
23	app.scheduler.register::<media::TenantImageUpdaterTask>()?;
24	app.scheduler.register::<sync::ProfileRefreshBatchTask>()?;
25	Ok(())
26}
27
28// vim: ts=4