FileObject
import type { FileObject } from "https://esm.sh/@supabase/storage-js@2.99.0/dist/index.d.mts";File object returned by the List V1 API (list() method) Note: Folder entries will have null values for most fields except name
Warning: Some fields may not be present in all API responses. Fields like bucket_id, owner, and buckets are not returned by list() operations.
interface FileObject {
bucket_id?: string;
buckets?: Bucket;
created_at: string | null;
id: string | null;
last_accessed_at: string | null;
metadata: FileMetadata | null;
name: string;
owner?: string;
updated_at: string | null;
}§Properties
§
metadata: FileMetadata | null
[src]File metadata including size, mimetype, etc. (null for folders)