420dedbc1e
- Add IM service modules: audit, channel roles, custom emojis, forum tags, integrations, invitations, repo links, slash commands, stages, voice, webhooks - Add PR service modules: review requests, templates - Add repo service modules: contributors, release assets, git extras (archive, branch rename, commit extras, diff/merge, tag, tree) - Add user service: social (follow/block) - Add internal auth service - Update existing service modules with expanded functionality - Remove deleted IM modules: articles, delivery trace, drafts, follows, messages, polls, presence, reactions, threads
11 lines
324 B
Rust
11 lines
324 B
Rust
pub use crate::service::util::{
|
|
clamp_limit_offset, ensure_affected, merge_optional_text, parse_enum, required_text,
|
|
role_level, set_local_user_id,
|
|
};
|
|
|
|
/// Maximum length for a channel name.
|
|
pub const MAX_CHANNEL_NAME: usize = 100;
|
|
|
|
/// Maximum length for a channel topic.
|
|
pub const MAX_CHANNEL_TOPIC: usize = 1024;
|