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                d.id as \"document_id\",\n                d.owner,\n                d.name as \"document_name\",\n                d.\"branchedFromId\" as \"branched_from_id\",\n                d.\"branchedFromVersionId\" as \"branched_from_version_id\",\n                d.\"documentFamilyId\" as \"document_family_id\",\n                d.\"fileType\" as \"file_type\",\n                dt.sub_type as \"sub_type?: DocumentSubType\",\n                d.\"projectId\" as \"project_id\",\n                d.\"deletedAt\"::timestamptz as \"deleted_at\"\n            FROM\n                \"Document\" d\n            LEFT JOIN document_sub_type dt ON dt.document_id = d.id\n            WHERE\n                d.id = $1\n            LIMIT 1\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "document_id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "owner",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "document_name",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "branched_from_id",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "branched_from_version_id",
        "type_info": "Int8"
      },
      {
        "ordinal": 5,
        "name": "document_family_id",
        "type_info": "Int8"
      },
      {
        "ordinal": 6,
        "name": "file_type",
        "type_info": "Text"
      },
      {
        "ordinal": 7,
        "name": "sub_type?: DocumentSubType",
        "type_info": {
          "Custom": {
            "name": "document_sub_type_value",
            "kind": {
              "Enum": [
                "task",
                "snippet",
                "skill",
                "initiative_description"
              ]
            }
          }
        }
      },
      {
        "ordinal": 8,
        "name": "project_id",
        "type_info": "Text"
      },
      {
        "ordinal": 9,
        "name": "deleted_at",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      true,
      true,
      true,
      true,
      false,
      true,
      null
    ]
  },
  "hash": "2930435da61e2e75a6ec3a127f3f1591934bb55a9f2fed8e47dd4406085fa6b2"
}