OBJECT

FileContent

Represents the actual content data of a file, shared between duplicate files for storage efficiency

link GraphQL Schema definition

  • type FileContent {
  • # Unique identifier for the file content
  • id: ID!
  • # SHA256 hash of the file content for integrity verification and deduplication
  • sha256Hash: String!
  • # Size of the file content in bytes
  • fileSizeBytes: Int!
  • # MIME type of the file content (e.g., 'image/jpeg', 'application/pdf')
  • mimeType: String!
  • # Number of files that reference this content (for deduplication tracking)
  • referenceCount: Int!
  • # Timestamp when this content was first uploaded
  • createdAt: String!
  • }