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.

963 B
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "INSERT INTO entity_access(entity_id, entity_type, source_id, source_type, access_level, granted_from_project_id)\n                VALUES ($1, $2, $3, 'user', $4, $5)\n                ON CONFLICT (entity_id, entity_type, source_id, source_type, granted_from_project_id) WHERE granted_from_project_id IS NOT NULL\n                DO UPDATE SET access_level = EXCLUDED.access_level, updated_at = now()",
  "describe": {
    "columns": [],
    "parameters": {
      "Left": [
        "Uuid",
        "Text",
        "Text",
        {
          "Custom": {
            "name": "\"AccessLevel\"",
            "kind": {
              "Enum": [
                "view",
                "comment",
                "edit",
                "owner"
              ]
            }
          }
        },
        "Text"
      ]
    },
    "nullable": []
  },
  "hash": "5a23c9a18533cee19dbd47242ca20baef29d3bdf62f2eaec7d005c143756bd0f"
}