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.3 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { ColumnConfigProperty } from './columnConfigProperty';
import type { ColumnDisplayName } from './columnDisplayName';
import type { ColumnProtection } from './columnProtection';

/**
 * A column: the placement of a property definition on a table.

The definition carries name, [`DataType`], multi-select flag, and options;
this carries only where it appears and column-kind configuration.
 */
export interface Column {
  config: ColumnConfigProperty;
  /** The placement's own label, which also names it in SQL; `None` shows
the definition's name. */
  display_name: ColumnDisplayName;
  /** Identifier of the placement. */
  id: string;
  /** Whether the first nonempty value may settle this new text column's type. */
  infer_type: boolean;
  /** Whether a row may omit this cell; empty collections also count as absent. */
  nullable?: boolean;
  /** Fractional index for column ordering. */
  position: string;
  /** The bound property definition. */
  property_definition_id: string;
  /** Schema operations reserved by a feature; ordinary edits cannot clear them. */
  protections?: ColumnProtection[];
  /** Table the column appears on. */
  table_id: string;
}