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.3 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n                WITH deleted_sources AS (\n                    DELETE FROM calendar_event_sources source\n                    WHERE source.source_kind = 'google'\n                      AND source.account_id = $1\n                      AND source.calendar_id = $2\n                      AND (\n                            source.provider_event_id = ANY($3::text[])\n                            OR source.provider_recurring_event_id = ANY($3::text[])\n                      )\n                    RETURNING source.event_id, source.event_type\n                )\n                SELECT\n                    event_id AS \"event_id!\",\n                    bool_or(event_type = 'out_of_office') AS \"out_of_office!\"\n                FROM deleted_sources\n                GROUP BY event_id\n                ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "event_id!",
        "type_info": "Uuid"
      },
      {
        "ordinal": 1,
        "name": "out_of_office!",
        "type_info": "Bool"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid",
        "TextArray"
      ]
    },
    "nullable": [
      false,
      null
    ]
  },
  "hash": "2dfe18f6ac1335ed2c5984df2f77e38417a6ecbe59551b9d580b01ee6dcba766"
}