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.

3.4 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        INSERT INTO email_labels (\n            id,\n            link_id,\n            provider_label_id,\n            name,\n            message_list_visibility,\n            label_list_visibility,\n            type\n        )\n        VALUES ($1, $2, $3, $4, $5, $6, $7)\n        ON CONFLICT (link_id, provider_label_id) DO UPDATE\n        SET\n            name = EXCLUDED.name,\n            message_list_visibility = EXCLUDED.message_list_visibility,\n            label_list_visibility = EXCLUDED.label_list_visibility,\n            type = EXCLUDED.type\n        RETURNING \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        ",
  "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",
        "Uuid",
        "Text",
        "Varchar",
        {
          "Custom": {
            "name": "email_message_list_visibility_enum",
            "kind": {
              "Enum": [
                "Show",
                "Hide"
              ]
            }
          }
        },
        {
          "Custom": {
            "name": "email_label_list_visibility_enum",
            "kind": {
              "Enum": [
                "LabelShow",
                "LabelShowIfUnread",
                "LabelHide"
              ]
            }
          }
        },
        {
          "Custom": {
            "name": "email_label_type_enum",
            "kind": {
              "Enum": [
                "System",
                "User"
              ]
            }
          }
        }
      ]
    },
    "nullable": [
      false,
      false,
      false,
      false,
      false,
      false,
      false,
      false
    ]
  },
  "hash": "0d49ab1fcffce934d215d7d34b80e3334aed9e8d1cb1efc3df8698e024d0aef9"
}