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.7 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT \n            t.root_id as thread_id,\n            t.resolved as is_resolved,\n            a.uuid as anchor_uuid, \n            a.page, \n            a.\"originalPage\" as original_page,\n            a.\"originalIndex\" as original_index,\n            a.\"shouldLockOnSave\" as should_lock_on_save,\n            a.\"wasEdited\" as was_edited,\n            a.\"wasDeleted\" as was_deleted,\n            a.\"allowableEdits\" as allowable_edits,\n            a.\"xPct\" as x_pct,\n            a.\"yPct\" as y_pct,\n            a.\"widthPct\" as width_pct,\n            a.\"heightPct\" as height_pct,\n            a.rotation\n        FROM comms_message_threads t\n        JOIN \"PdfPlaceableCommentAnchor\" a ON t.root_id = a.root_id\n        WHERE a.\"documentId\" = $1 AND t.deleted_at IS NULL\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "thread_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "is_resolved",
        "type_info": "Bool"
      },
      {
        "ordinal": 2,
        "name": "anchor_uuid",
        "type_info": "Uuid"
      },
      {
        "ordinal": 3,
        "name": "page",
        "type_info": "Int4"
      },
      {
        "ordinal": 4,
        "name": "original_page",
        "type_info": "Int4"
      },
      {
        "ordinal": 5,
        "name": "original_index",
        "type_info": "Int4"
      },
      {
        "ordinal": 6,
        "name": "should_lock_on_save",
        "type_info": "Bool"
      },
      {
        "ordinal": 7,
        "name": "was_edited",
        "type_info": "Bool"
      },
      {
        "ordinal": 8,
        "name": "was_deleted",
        "type_info": "Bool"
      },
      {
        "ordinal": 9,
        "name": "allowable_edits",
        "type_info": "Jsonb"
      },
      {
        "ordinal": 10,
        "name": "x_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 11,
        "name": "y_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 12,
        "name": "width_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 13,
        "name": "height_pct",
        "type_info": "Float8"
      },
      {
        "ordinal": 14,
        "name": "rotation",
        "type_info": "Float8"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      true,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "aead8de38bc28bfa80437b09ccc955c3ffa2756fbdc845782d1db0a0b762a40d"
}