AckdbDefaultSegmentResponse

The default view for a kind. Either an explicitly-marked Segment (source 'explicit', id non-null) or the server-computed catalog fallback (source 'computed', id null). Clients seed a fresh table's columns+sort from this without hard-coding the column policy.

Properties

idstring | nullrequired
namestring | null
descriptionstring | null
entityKindstringrequired
"company""contact""person"
sortarray ofrequired
columnsarray ofrequired
isDefaultbooleanrequired
sourcestringrequired
"explicit""computed"
createdAtstring | null <date-time>required
updatedAtstring | null <date-time>required

Example

AckdbDefaultSegmentResponse example
{
  "id": "01J9Z8Q3K2X7M4N5P6R7S8T9V0",
  "name": "Active paying companies",
  "description": null,
  "entityKind": "company",
  "filter": {
    "type": "group",
    "op": "and",
    "children": [
      {
        "$ref": "See AckdbObserveFilterGroup"
      }
    ]
  },
  "sort": [
    {
      "field": "event_count",
      "dir": "asc"
    }
  ],
  "columns": [
    {
      "field": "name",
      "frozen": true,
      "width": 200
    }
  ],
  "isDefault": true,
  "source": "computed",
  "createdAt": null,
  "updatedAt": null
}