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.5 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n                SELECT DISTINCT ON (em.source_entity_type, em.source_entity_id)\n                    em.source_entity_type,\n                    em.source_entity_id,\n                    em.entity_type,\n                    em.entity_id,\n                    em.user_id,\n                    em.created_at\n                FROM comms_entity_mentions em\n                WHERE em.entity_type = ANY($1)\n                  AND em.entity_id  = $2\n                  AND em.source_entity_type != 'message'\n                ORDER BY em.source_entity_type, em.source_entity_id, em.created_at DESC\n                ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "source_entity_type",
        "type_info": "Varchar"
      },
      {
        "ordinal": 1,
        "name": "source_entity_id",
        "type_info": "Varchar"
      },
      {
        "ordinal": 2,
        "name": "entity_type",
        "type_info": "Varchar"
      },
      {
        "ordinal": 3,
        "name": "entity_id",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "user_id",
        "type_info": "Varchar"
      },
      {
        "ordinal": 5,
        "name": "created_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "TextArray",
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      true,
      false
    ]
  },
  "hash": "235e8cd97b37c00ee58d9eb468ec4fba328d2e134496915eeb6e2fc1f420eec3"
}