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.

2.2 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "\n        SELECT\n            u.\"id\" as \"user_id\",\n            u.\"email\" as \"email\",\n            u.\"stripeCustomerId\" as \"stripe_customer_id?\",\n            u.\"name\" as name,\n            u.\"tutorialComplete\" as tutorial_complete,\n            u.\"isAgent\" as is_agent,\n            u.\"group\" as \"group?\",\n            u.\"hasChromeExt\" as has_chrome_ext,\n            u.\"aiDataConsent\" as ai_data_consent,\n            mu.has_trialed as has_trialed,\n            u.macro_user_id as \"macro_user_id\",\n            u.\"createdAt\" as \"created_at?\"\n        FROM \"User\" u\n        JOIN \"macro_user\" mu ON u.macro_user_id = mu.id\n        WHERE u.\"id\" = $1\n        ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "user_id",
        "type_info": "Text"
      },
      {
        "ordinal": 1,
        "name": "email",
        "type_info": "Text"
      },
      {
        "ordinal": 2,
        "name": "stripe_customer_id?",
        "type_info": "Text"
      },
      {
        "ordinal": 3,
        "name": "name",
        "type_info": "Text"
      },
      {
        "ordinal": 4,
        "name": "tutorial_complete",
        "type_info": "Bool"
      },
      {
        "ordinal": 5,
        "name": "is_agent",
        "type_info": "Bool"
      },
      {
        "ordinal": 6,
        "name": "group?",
        "type_info": "Varchar"
      },
      {
        "ordinal": 7,
        "name": "has_chrome_ext",
        "type_info": "Bool"
      },
      {
        "ordinal": 8,
        "name": "ai_data_consent",
        "type_info": "Bool"
      },
      {
        "ordinal": 9,
        "name": "has_trialed",
        "type_info": "Bool"
      },
      {
        "ordinal": 10,
        "name": "macro_user_id",
        "type_info": "Uuid"
      },
      {
        "ordinal": 11,
        "name": "created_at?",
        "type_info": "Timestamptz"
      }
    ],
    "parameters": {
      "Left": [
        "Text"
      ]
    },
    "nullable": [
      false,
      false,
      true,
      true,
      false,
      false,
      true,
      false,
      false,
      false,
      false,
      true
    ]
  },
  "hash": "7fea7c108193d97c72fd70cee441f196cfc65e9320e4838a06878447a664270b"
}