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.

922 B
Raw Blame
#![deny(missing_docs)]
//! The typed write surface of Macro databases: ops, the cast rule, views and
//! position keys, shared by the SQL engine, the HTTP API and the domain.

pub mod cast;
mod date_range;
pub mod formula;
mod ids;
mod ops;
pub mod position;
pub mod property;
pub mod views;

pub use date_range::DateRange;
pub use formula::{Formula, FormulaType, Operator};
pub use ids::{
    ChangeId, ColumnId, DatabaseId, OptionId, PropertyId, QueryId, RowId, TableId, TableVersion,
    ViewId,
};
pub use ops::{
    CellValue, CellWrite, ColumnChange, ColumnKind, ColumnResult, DatabaseOp, EntityKind,
    EntityRef, NewColumn, NewOption, OpResult, OptionRef, RowChange, RowChanges, RowsChange,
    RowsResult, TableChange, TableResult, TakenId, VersionedTable, ViewChange, ViewResult,
};

/// Longest SQL statement, run or saved, anywhere a statement is accepted.
pub const MAX_STATEMENT_LENGTH: usize = 256 * 1024;