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, \n            link_id, \n            provider_label_id, \n            name, \n            created_at,\n            message_list_visibility as \"message_list_visibility: _\",\n            label_list_visibility as \"label_list_visibility: _\",\n            type as \"type_: _\"\n        FROM email_labels\n        WHERE link_id = $1 AND NOT EXISTS(SELECT 1 FROM email_mailbox_settings_work w WHERE w.link_id=email_labels.link_id\n            AND w.kind='delete_label' AND w.resource_key=email_labels.provider_label_id AND w.completed_revision<w.revision)\n        ORDER BY name\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "link_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "provider_label_id",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "name",
        "type_info": "Varchar"
      },
      {
        "ordinal": 4,
        "name": "created_at",
        "type_info": "Timestamptz"
      },
      {
        "ordinal": 5,
        "name": "message_list_visibility: _",
        "type_info": {
          "Custom": {
            "name": "email_message_list_visibility_enum",
            "kind": {
              "Enum": [
                "Show",
                "Hide"
              ]
            }
          }
        }
      },
      {
        "ordinal": 6,
        "name": "label_list_visibility: _",
        "type_info": {
          "Custom": {
            "name": "email_label_list_visibility_enum",
            "kind": {
              "Enum": [
                "LabelShow",
                "LabelShowIfUnread",
                "LabelHide"
              ]
            }
          }
        }
      },
      {
        "ordinal": 7,
        "name": "type_: _",
        "type_info": {
          "Custom": {
            "name": "email_label_type_enum",
            "kind": {
              "Enum": [
                "System",
                "User"
              ]
            }
          }
        }
      }
    ],
    "parameters": {
      "Left": [
        "Uuid"
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "e9311f1cf76160d4904121195cbc9ac31b564a3a8744d34ce7d82d6c89b85227"
}