Member Junction
    Preparing search index...

    Type Alias StorageObjectMetadata

    Represents metadata information about a stored object or file. This comprehensive type includes common file metadata properties available across different storage providers.

    type StorageObjectMetadata = {
        cacheControl?: string;
        contentType: string;
        customMetadata?: Record<string, string>;
        etag?: string;
        fullPath: string;
        isDirectory: boolean;
        lastModified: Date;
        name: string;
        path: string;
        size: number;
    }
    Index

    Properties

    cacheControl?: string

    Optional. Cache control directives for the object

    contentType: string

    The MIME type of the object

    customMetadata?: Record<string, string>

    Optional. Additional custom metadata as key-value pairs

    etag?: string

    Optional. Entity tag used for cache validation and conditional operations

    fullPath: string

    The complete path to the object including both path and name

    isDirectory: boolean

    Boolean flag indicating whether the object is a directory/folder

    lastModified: Date

    The date when the object was last modified

    name: string

    The name of the object (typically the filename without path)

    path: string

    The directory path where the object is stored, without the object name

    size: number

    The size of the object in bytes