Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FileObjectV2

import type { FileObjectV2 } from "https://esm.sh/@supabase/storage-js@2.99.0/dist/index.d.mts";

File object returned by the Info endpoint (info() method) Contains detailed metadata for a specific file

interface FileObjectV2 {
bucket_id: string;
cache_control?: string;
content_type?: string;
created_at: string;
etag?: string;
id: string;
last_modified?: string;
metadata?: FileMetadata;
name: string;
size?: number;
updated_at?: string;
version: string;
}

§Properties

§
bucket_id: string
[src]

Bucket identifier

§
cache_control?: string
[src]

Cache control header value

§
content_type?: string
[src]

MIME content type

§
created_at: string
[src]

Creation timestamp

§
etag?: string
[src]

Entity tag for caching

§
id: string
[src]

Unique identifier for the file

§
last_modified?: string
[src]

Last modification timestamp (replaces updated_at)

§

Custom file metadata

§
name: string
[src]

File name

§
size?: number
[src]

File size in bytes

§
updated_at?: string
[src]
§
version: string
[src]

File version identifier