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": "SELECT id, user_id, name, config, created_at, updated_at, revision, shared_team_id\n             FROM saved_view\n             WHERE (user_id = $1 OR shared_team_id = ANY($2::uuid[]))\n               AND ($3::text IS NULL OR config->>'kind' = $3)\n               AND ($4::timestamptz IS NULL OR (created_at, id) > ($4, $5))\n             ORDER BY created_at, id LIMIT $6",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "config",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 4,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "updated_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 6,
        "name": "revision",
        "type_info": "Int8"
      },
      {
        "ordinal": 7,
        "name": "shared_team_id",
        "type_info": "Uuid"
      }
    ],
    "parameters": {
      "Left": [
        "Text",
        "UuidArray",
        "Text",
        "Timestamptz",
        "Uuid",
        "Int8"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true
    ]
  },
  "hash": "1eecfd6a6960454a52892ac03e393600f185c05548b1a4bc29b4f26b3b4e0eba"
}