File
Represents information about a file.
type File {
uuid: String
fileName: String
mimeType: String
ext: String
size: Int
humanReadableSize: String
uploader: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
}
Fields
File.uuid
● String
scalar
File's UUID.
File.fileName
● String
scalar
File's file name.
File.mimeType
● String
scalar
File's mime type.
File.ext
● String
scalar
File's extension.
File.size
● Int
scalar
File's size in bytes.
File.humanReadableSize
● String
scalar
File's size in a human readable format.
File.uploader
● User
object
The file's uploader.
File.createdAt
● DateTimeTz!
non-null scalar
The date and time when the file was created.
File.updatedAt
● DateTimeTz!
non-null scalar
The date and time when the file was last updated.
File.deletedAt
● DateTimeTz
scalar
The date and time when the file was deleted.
Returned By
deleteFile
mutation ● uploadFile
mutation
Member Of
FileEdge
object