MIME type of the file content. Determines how browsers/clients should handle the file (e.g., display vs. download).
Entity tag (ETag) for cache validation. Used in HTTP ETag headers and If-Match conditionals to detect file changes. Different storage backends may use different formats, but value remains unique per file version.
Size of the file in bytes. Used for progress tracking, quota validation, and file listings.
File's last modification date (creation or update). Tracks when the file was created (if new) or last updated (if modified). Used for cache validation, sorting, and auditing.
File metadata object returned when reading file information. Contains properties describing file state, size, and modification times. Immutable snapshot used for cache validation and file information endpoints.
IMPORT_PATH:
"@daiso-tech/core/file-storage/contracts"