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.

2.4 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT\n            id, kind, name, owner_user_id, team_id, created_by, allow_permission_bypass,\n            created_at, updated_at, last_connected_at, last_disconnected_at,\n                EXISTS (\n                    SELECT 1 FROM harness_runtime_connection c\n                    WHERE c.harness_id = harnesses.id AND c.lease_expires_at > now()\n                ) AS \"has_live_connection!\",\n                EXISTS (\n                    SELECT 1 FROM harness_runtime_connection c\n                    WHERE c.harness_id = harnesses.id\n                ) AS \"has_connection_record!\"\n        FROM harnesses\n        WHERE id = $1 AND deleted_at IS NULL\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "kind",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "owner_user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "team_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 5,
        "name": "created_by",
        "type_info": "Text"
      },
      {
        "ordinal": 6,
        "name": "allow_permission_bypass",
        "type_info": "Bool"
      },
      {
        "ordinal": 7,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 8,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 9,
        "name": "last_connected_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 10,
        "name": "last_disconnected_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 11,
        "name": "has_live_connection!",
        "type_info": "Bool"
      },
      {
        "ordinal": 12,
        "name": "has_connection_record!",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      true,
      false,
      false,
      false,
      false,
      true,
      true,
      null,
      null
    ]
  },
  "hash": "c5052e4731eb9c665326a8884c1776feefaf57d261a5fe18c4a885feb4ffeed0"
}