use crate::message::{
DeleteMessage, InsertMessage, InsertUpdateMessage, StdbConnectErrorMessage,
StdbConnectedMessage, StdbDisconnectedMessage, StdbSubscriptionAppliedMessage,
StdbSubscriptionErrorMessage, UpdateMessage,
};
use bevy_ecs::prelude::MessageReader;
pub type ReadInsertMessage<'w, 's, T> = MessageReader<'w, 's, InsertMessage<T>>;
pub type ReadUpdateMessage<'w, 's, T> = MessageReader<'w, 's, UpdateMessage<T>>;
pub type ReadDeleteMessage<'w, 's, T> = MessageReader<'w, 's, DeleteMessage<T>>;
pub type ReadInsertUpdateMessage<'w, 's, T> = MessageReader<'w, 's, InsertUpdateMessage<T>>;
pub type ReadStdbConnectedMessage<'w, 's> = MessageReader<'w, 's, StdbConnectedMessage>;
pub type ReadStdbDisconnectedMessage<'w, 's> = MessageReader<'w, 's, StdbDisconnectedMessage>;
pub type ReadStdbConnectErrorMessage<'w, 's> = MessageReader<'w, 's, StdbConnectErrorMessage>;
pub type ReadStdbSubscriptionAppliedMessage<'w, 's, K> =
MessageReader<'w, 's, StdbSubscriptionAppliedMessage<K>>;
pub type ReadStdbSubscriptionErrorMessage<'w, 's, K> =
MessageReader<'w, 's, StdbSubscriptionErrorMessage<K>>;