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.

915 B
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n                    SELECT EXISTS (\n                        SELECT 1\n                        FROM crm_contacts ct\n                        LEFT JOIN crm_companies co ON co.id = ct.company_id\n                        JOIN team_crm_settings tcs ON tcs.team_id = ct.team_id AND tcs.crm_enabled\n                        WHERE ct.id = $1\n                          AND ct.team_id = $2\n                          AND (NOT (ct.hidden OR co.hidden IS TRUE) OR $3)\n                    ) AS \"visible!\"\n                    ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "visible!",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "Bool"
      ]
    },
    "nullable": [
      null
    ]
  },
  "hash": "6010fc2b82403c9f7aba2508c9e0cf952dfa02bf10efbc3e4d15c0fa2f69cdab"
}