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.

932 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */

import type { ChangedFileDtoPreviousPath } from './changedFileDtoPreviousPath';
import type { FileChangeKindDto } from './fileChangeKindDto';

/**
 * One changed file.

Clients deserialize this, so both derives are used.
 */
export interface ChangedFileDto {
  /**
   * Lines added.
   * @minimum 0
   */
  additions: number;
  /** The diff carries no text for this file. */
  binary: boolean;
  /**
   * Lines removed.
   * @minimum 0
   */
  deletions: number;
  /** What happened to the file. */
  kind: FileChangeKindDto;
  /** The file's hunks were left out of the patch to fit the size budget. */
  patchOmitted: boolean;
  /** The file's path after the change, or before it for a deletion. */
  path: string;
  /** Where a renamed file came from. */
  previousPath?: ChangedFileDtoPreviousPath;
}