OBJECT

User

Represents a user in the file storage system

link GraphQL Schema definition

  • type User {
  • # Unique identifier for the user
  • id: ID!
  • # User's email address (must be unique)
  • email: String!
  • # User's display name (must be unique)
  • userName: String!
  • # Whether the user has administrative privileges
  • isAdmin: Boolean!
  • # Maximum storage capacity allocated to the user in bytes
  • storageQuota: Int!
  • # Current storage usage by the user in bytes
  • storageUsed: Int!
  • # Storage space saved through deduplication in bytes
  • storageSaved: Int!
  • # Timestamp when the user account was created
  • createdAt: String!
  • # Timestamp when the user account was last updated
  • updatedAt: String!
  • }