Class Directory

Hierarchy (view full)

Constructors

  • Constructor which should only be called via StorageBucket class.

    Parameters

    • bucketUuid: string

      Unique identifier of the directory's bucket.

    • directoryUuid: string

      Unique identifier of the directory.

    • Optional data: Partial<Directory>

      Data to populate the directory with.

    Returns Directory

Properties

bucketUuid: string = null

Unique identifier of the bucket.

name: string = null

Directory name.

CID: string = null

Directory unique IPFS content identifier.

parentDirectoryUuid: string = null

Id of the directory in which the file resides.

type: StorageContentType = StorageContentType.DIRECTORY

Type of content.

link: string = null

Link on IPFS gateway.

content: (File | Directory)[] = []
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