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 { CastVerdict } from './castVerdict';
import type { ColumnCastReason } from './columnCastReason';
import type { ColumnCastSpecificEntityType } from './columnCastSpecificEntityType';
import type { ColumnCastSummary } from './columnCastSummary';
import type { DataType } from './dataType';

/**
 * What changing a column to one type would do to its values: the dry run
of a type change, for one target.
 */
export interface ColumnCast {
  /** Whether the values convert. */
  cast: CastVerdict;
  /** The target property type. */
  data_type: DataType;
  /** Up to three of the values that would not convert. */
  examples: string[];
  /**
   * For a `checked` cast, how many cells would not convert.
   * @minimum 0
   */
  failures: number;
  /** Whether the target holds several values. */
  is_multi_select: boolean;
  /** Why nothing converts, for a `never` cast. */
  reason: ColumnCastReason;
  /** Whether the target is a relation to another table's rows. */
  relation: boolean;
  specific_entity_type: ColumnCastSpecificEntityType;
  /** For a `checked` cast with failures, what is wrong with them, as in
`3 values aren't numbers`. */
  summary: ColumnCastSummary;
}