Skip to content

TypeScript API / contentia/assets/r2 / R2AssetEntry

Interface: R2AssetEntry ​

Entry in an R2 directory listing

Properties ​

customMetadata? ​

ts
customMetadata?: Record<string, string>;

etag? ​

ts
etag?: string;

httpMetadata? ​

ts
httpMetadata?: object;

contentType? ​

ts
contentType?: string;

key ​

ts
key: string;

size? ​

ts
size?: number;

type ​

ts
type: "dir" | "file";

uploaded? ​

ts
uploaded?: Date;