Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
//! Shared plumbing for the domain GraphQL adapter crates: request-scoped
//! extractor context, filter-input conversion helpers, and cross-domain
//! schema types.
#![deny(missing_docs)]
#![deny(clippy::missing_docs_in_private_items)]
// Re-exported for use by the `filter_expr_input!` macro expansion.
pub use filter_ast;
/// GraphQL authorization helpers.
mod authorization;
/// Shared GraphQL entity-type mappings.
mod entity_type;
/// Axum request-parts extraction helpers for GraphQL resolvers.
mod extract;
/// GraphQL filter-input conversion helpers.
mod filter_input;
/// Shared page-size argument validation.
mod limit;
/// Shared GraphQL owner-type mapping.
mod owner_type;
/// Property-filter GraphQL input types.
mod property_filter;
/// Request-scoped context used by GraphQL resolvers.
mod request_context;
pub use authorization::{require_authenticated_user, require_authorized_user};
pub use entity_type::{
GraphqlCacheDeletion, GraphqlEntity, GraphqlEntityType, GraphqlSoupEntityType,
};
pub use extract::extract_part;
pub use filter_input::{IntoFilterExpr, optional_tree, parse_id, parse_macro_user_id, parse_uuid};
pub use limit::parse_limit;
pub use owner_type::GraphqlOwnerType;
pub use property_filter::{
GraphqlPropertiesBinaryExpr, GraphqlPropertiesExpr, GraphqlPropertiesLiteral,
GraphqlPropertyEntityType, GraphqlPropertyMatchValue,
};
pub use request_context::GraphqlRequestParts;