export type SyncStatus = "pending" | "syncing" | "synced" | "error";

export type NoteIndexItem = {
  id: string;
  title: string;
  filename: string;
  createdAt: string;
  updatedAt: string;
  sync: {
    status: SyncStatus;
    lastSyncedAt?: string;
    anythingllmLocation?: string;
    anythingllmDocumentId?: string;
    lastError?: string;
    cleanupPending?: boolean;
  };
};

export type NoteContent = {
  id: string;
  title: string;
  content: string;
};
