mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-10 09:29:22 +00:00
dd865c5af5
* Implement instance actor * wip: make site bans federate * finish implementation and unit tests for federated bans * start adding api tests * fix api test * remve site from GetCommunityResponse * only federate site bans originating from user's home instance * dont expose site.private_key in api
17 lines
324 B
Rust
17 lines
324 B
Rust
use serde::{Deserialize, Serialize};
|
|
use strum_macros::Display;
|
|
|
|
pub mod block;
|
|
pub mod community;
|
|
pub mod create_or_update;
|
|
pub mod deletion;
|
|
pub mod following;
|
|
pub mod private_message;
|
|
pub mod voting;
|
|
|
|
#[derive(Clone, Debug, Display, Deserialize, Serialize, PartialEq)]
|
|
pub enum CreateOrUpdateType {
|
|
Create,
|
|
Update,
|
|
}
|