Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

890 B
Raw Blame
use crate::outbound::email_api::GmailApi;
use crate::pubsub::context::{CrmServiceType, NotificationIngressType, PubSubEventBroker};
use crate::util::redis::RedisClient;
use authentication_service_client::AuthServiceClient;
use connection_gateway_client::client::ConnectionGatewayClient;
use sqlx::PgPool;
use std::sync::Arc;

#[derive(Clone)]
pub struct LinkManagerContext {
    pub inbox_lifecycle: Arc<crate::composition::InboxLifecycle>,
    pub inbox_health: Arc<crate::composition::InboxHealth>,
    pub db: PgPool,
    pub sqs_worker: sqs_worker::SQSWorker,
    pub email_api: GmailApi,
    pub auth_service_client: AuthServiceClient,
    pub redis_client: RedisClient,
    pub crm_service: CrmServiceType,
    pub connection_gateway_client: ConnectionGatewayClient,
    pub notification_ingress_service: Arc<NotificationIngressType>,
    pub macro_event_broker: PubSubEventBroker,
}