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.

1.2 KB
Raw Blame
//! GraphQL inbound adapter for the work feed: the `workFeed` page under the
//! viewer, the done and undo mutations, and the `workFeedUpdates`
//! subscription. The schema itself is composed by `complete_graph`.
#![deny(missing_docs)]
#![deny(clippy::missing_docs_in_private_items)]

/// Request data carrying the work feed service and the shared triggers and
/// viewer lookup.
mod context;
/// Feed, scope and mutation inputs.
mod inputs;
/// Done and undo mutations.
mod mutations;
/// Page, entry, item, stack and patch objects.
mod objects;
/// The `workFeed` page resolver.
mod query;
/// The `workFeedUpdates` subscription.
mod subscriptions;

pub use context::{WorkFeedGraphqlContext, WorkFeedGraphqlService};
pub use inputs::{
    GraphqlWorkFeedItemType, GraphqlWorkFeedMode, MarkWorkFeedItemsDoneInput,
    UndoWorkFeedItemsDoneInput, WorkFeedDoneItemInput, WorkFeedInput, WorkFeedScopeInput,
};
pub use mutations::{
    MarkWorkFeedItemsDonePayload, UndoWorkFeedItemsDonePayload, WorkFeedMutationRoot,
};
pub use objects::{
    GraphqlWorkFeedEntry, GraphqlWorkFeedItem, GraphqlWorkFeedPage, GraphqlWorkFeedPatch,
    GraphqlWorkFeedStack,
};
pub use query::resolve_work_feed;
pub use subscriptions::WorkFeedSubscriptionRoot;