// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

/**
 * Reference to a binary attachment file.
 *
 * Binary files (images, PDFs, etc.) are stored separately from the CRDT,
 * with only their metadata tracked in the synchronization system.
 */
export type BinaryRef = {
/**
 * Relative path within workspace (e.g., "_attachments/image.png")
 */
path: string,
/**
 * Source of the binary: "local", "pending", or external URL
 */
source: string,
/**
 * SHA-256 hash for deduplication and integrity
 */
hash: string,
/**
 * MIME type (e.g., "image/png")
 */
mime_type: string,
/**
 * File size in bytes
 */
size: bigint,
/**
 * Unix timestamp when uploaded (milliseconds)
 */
uploaded_at: bigint | null,
/**
 * Soft deletion tombstone
 */
deleted: boolean, };
