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 { DocumentSyncContentUpdatedMetadataActor } from './documentSyncContentUpdatedMetadataActor';
import type { DocumentSyncContentUpdatedMetadataDocumentVersionId } from './documentSyncContentUpdatedMetadataDocumentVersionId';
import type { DocumentSyncContentUpdatedMetadataOnBehalfOf } from './documentSyncContentUpdatedMetadataOnBehalfOf';
import type { DocumentSyncEditor } from './documentSyncEditor';
import type { FileType } from './fileType';

/**
 * Metadata for [`DocumentTopicEvent::SyncContentUpdated`].
 */
export interface DocumentSyncContentUpdatedMetadata {
  /** Legacy single-editor attribution; newer Sync callers send `editors`. */
  actor?: DocumentSyncContentUpdatedMetadataActor;
  /** The id of the live-collab document whose content changed. */
  document_id: string;
  /** Version marker for the sync snapshot, when the caller supplies one. */
  document_version_id?: DocumentSyncContentUpdatedMetadataDocumentVersionId;
  /** Distinct editors since the preceding snapshot notification. */
  editors?: DocumentSyncEditor[];
  /** File type of the sync document, resolved by the document backend. */
  file_type: FileType;
  on_behalf_of?: DocumentSyncContentUpdatedMetadataOnBehalfOf;
}