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.4 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n            SELECT\n                user_id,\n                channel_id,\n                joined_at,\n                left_at::timestamptz AS \"left_at?\",\n                role AS \"role: ParticipantRole\"\n            FROM comms_channel_participants\n            WHERE channel_id = $1 AND left_at IS NULL\n            ORDER BY joined_at DESC\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "channel_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "joined_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 3,
        "name": "left_at?",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 4,
        "name": "role: ParticipantRole",
        "type_info": {
          "Custom": {
            "name": "comms_participant_role",
            "kind": {
              "Enum": [
                "owner",
                "admin",
                "member"
              ]
            }
          }
        }
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      false
    ]
  },
  "hash": "6bb0523c1a1fec5d2d8600d1d18e7156eebd31e6d39dd4b9f6bbb397bd8a5f56"
}