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.5 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT\n            'view'::\"AccessLevel\" AS \"access_level!: AccessLevel\",\n            ct.team_id AS \"team_id!\",\n            'member'::team_role AS \"team_role!: TeamRole\"\n        FROM crm_contacts ct\n        LEFT JOIN crm_companies c\n          ON c.id = ct.company_id\n        WHERE ct.id = $1\n          AND ct.team_id = $2\n          AND ct.hidden = false\n          AND c.hidden IS NOT TRUE\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "access_level!: AccessLevel",
        "type_info": {
          "Custom": {
            "name": "\"AccessLevel\"",
            "kind": {
              "Enum": [
                "view",
                "comment",
                "edit",
                "owner"
              ]
            }
          }
        }
      },
      {
        "ordinal": 1,
        "name": "team_id!",
        "type_info": "Uuid"
      },
      {
        "ordinal": 2,
        "name": "team_role!: TeamRole",
        "type_info": {
          "Custom": {
            "name": "team_role",
            "kind": {
              "Enum": [
                "member",
                "admin",
                "owner"
              ]
            }
          }
        }
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Uuid"
      ]
    },
    "nullable": [
      null,
      false,
      null
    ]
  },
  "hash": "577976cb6ba2e4440683b34f55aa2f107df00465424c325e29dd0bf38dfa7b23"
}