Skip to main content

File

No description

type File {
_id: ObjectId!
url: String!
name: String!
size: Float!
type: FileType!
stop: Stop
contentType: String
company: ObjectId
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

File._id ● ObjectId! non-null scalar

File.url ● String! non-null scalar

File.name ● String! non-null scalar

File.size ● Float! non-null scalar

File.type ● FileType! non-null enum

File.stop ● Stop object

References the stop in which the document maybe uploaded.

File.contentType ● String scalar

File.company ● ObjectId scalar

Represent the company that owns the file.

File.createdAt ● DateTime! non-null scalar

File.updatedAt ● DateTime! non-null scalar