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

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

Type declaration

  • Optional cacheControl?: string
  • contentType: string
  • Optional customMetadata?: Record<string, string>
  • Optional etag?: string
  • fullPath: string
  • isDirectory: boolean
  • lastModified: Date
  • name: string
  • path: string
  • size: number