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.1 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 (\n                        source.calendar_id IS NULL\n                        OR NOT (source.calendar_id = ANY($2::uuid[]))\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",
        "UuidArray"
      ]
    },
    "nullable": [
      false,
      null
    ]
  },
  "hash": "a748e258fba7a7f4264d7729fe5850f42d02ceb6ef98b722f2a55f5dd0df2d58"
}