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.3 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "SELECT id,provider::text AS \"provider!\",email_address,sync_generation,grant_generation,is_sync_active,\n        (macro_id=$2 OR EXISTS(SELECT 1 FROM macro_user_links u WHERE u.link_id=l.id AND u.primary_macro_id=$2)) AS \"authorized!\"\n        FROM email_links l WHERE id=ANY($1) ORDER BY id FOR UPDATE",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "provider!",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "email_address",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "sync_generation",
        "type_info": "Int8"
      },
      {
        "ordinal": 4,
        "name": "grant_generation",
        "type_info": "Int8"
      },
      {
        "ordinal": 5,
        "name": "is_sync_active",
        "type_info": "Bool"
      },
      {
        "ordinal": 6,
        "name": "authorized!",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "UuidArray",
        "Text"
      ]
    },
    "nullable": [
      false,
      null,
      false,
      false,
      false,
      false,
      null
    ]
  },
  "hash": "928be7156f8acb8c6fe532d7f3e6e9d60a8c1480fd8ae1376ffe11fc620cc21e"
}