File

File Type

Represents a file object in the system.

Fields

Field
Type
Description

id

ID!

Unique identifier of the file

tenantID

UUID!

Tenant identifier

createdAt

Time!

Creation timestamp

createdBy

UUID

User identifier who created the file

updatedAt

Time

Last update timestamp

updatedBy

UUID

User identifier who last updated the file

deletedAt

Time

Deletion timestamp

deletedBy

UUID

User identifier who deleted the file

dataTypeID

UUID

Data type identifier

dataTypeSlug

String

Data type slug

data

Map

Custom data associated with the file

refid

UUID!

Reference ID for the attached entity

reftype

FileReftype!

Reference type of the file

description

String

Description of the file

filename

String!

Name of the attached file

size

Int!

Size of the file in bytes

contentType

String!

MIME type of the file

url

String

URL to access the file content

Interfaces

  • Node

Usage Example

Last updated

Was this helpful?