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.

556 B
Raw Blame
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

#[derive(Serialize, Deserialize, Debug, ToSchema, PartialEq, Eq, Clone)]
pub struct SyncServiceVersionID {
    pub peer: String,
    pub counter: i32,
}

#[derive(Serialize, Deserialize, Debug, ToSchema, PartialEq, Eq, Clone)]
pub struct PeerWithUserId {
    pub peer_id: String,
    pub user_id: String,
}

#[derive(serde::Serialize, serde::Deserialize, Debug, ToSchema, Clone)]
pub struct DocumentMetadata {
    pub id: String,
    pub peers: Vec<PeerWithUserId>,
    pub version_id: String,
}