Hierarchy (view full)

Constructors

  • Constructor which should only be called via StorageBucket class.

    Parameters

    • bucketUuid: string

      Unique identifier of the file's bucket.

    • directoryUuid: string

      Unique identifier of the file's directory.

    • fileUuid: string

      Unique identifier of the file.

    • Optional data: Partial<File & {
          fileStatus: number;
      }>

      Data to populate the directory with.

    Returns File

Properties

bucketUuid: string = null

Unique identifier of the file's bucket.

directoryUuid: string = null

Unique identifier of the directory in which the file resides.

name: string = null

File name.

CID: string = null

File unique IPFS content identifier.

status: FileStatus = null

File upload status.

type: StorageContentType = StorageContentType.FILE

Type of content.

link: string = null

Link on IPFS gateway.

path: string = null

Full path to file.

API_PREFIX: string = null

API url prefix for this class.

uuid: string

Unique identifier of the model.

createTime: string = null

The object's creation date

updateTime: string = null

The date when the object was last updated

Methods