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.6 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT\n            eaf.attachment_id,\n            eaf.message_id AS draft_id,\n            ea.provider_attachment_id,\n            orig_msg.provider_id AS \"message_provider_id!\",\n            ea.filename,\n            ea.mime_type,\n            ea.size_bytes\n        FROM email_attachments_fwd eaf\n        JOIN email_attachments ea ON eaf.attachment_id = ea.id\n        JOIN email_messages orig_msg ON ea.message_id = orig_msg.id\n        WHERE eaf.message_id = ANY($1)\n        ORDER BY eaf.message_id, ea.filename ASC\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "attachment_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "draft_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "provider_attachment_id",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "message_provider_id!",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "filename",
        "type_info": "Varchar"
      },
      {
        "ordinal": 5,
        "name": "mime_type",
        "type_info": "Varchar"
      },
      {
        "ordinal": 6,
        "name": "size_bytes",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "UuidArray"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      true,
      true,
      true,
      true
    ]
  },
  "hash": "63eecd3605682482786210e65ac14cd04b67b741bac7bac67471bcfe21205d80"
}