Back to Pocketbase

Interface Attributes

static/jsvm/interfaces/blob.Attributes.html

latest3.5 KB
Original Source

Interface Attributes

Attributes contains attributes about a blob.

Hierarchy

  • Attributes

Index

Properties

cacheControlcontentDispositioncontentEncodingcontentLanguagecontentTypecreateTimeeTagmd5metadatamodTimesize

Properties

cacheControl

cacheControl: string

CacheControl specifies caching attributes that services may use when serving the blob. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

contentDisposition

contentDisposition: string

ContentDisposition specifies whether the blob content is expected to be displayed inline or as an attachment. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition

contentEncoding

contentEncoding: string

ContentEncoding specifies the encoding used for the blob's content, if any. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding

contentLanguage

contentLanguage: string

ContentLanguage specifies the language used in the blob's content, if any. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language

contentType

contentType: string

ContentType is the MIME type of the blob. It will not be empty. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type

createTime

createTime: Time

CreateTime is the time the blob was created, if available. If not available, CreateTime will be the zero time.

eTag

eTag: string

ETag for the blob; see https://en.wikipedia.org/wiki/HTTP_ETag.

md5

md5: string | number[]

MD5 is an MD5 hash of the blob contents or nil if not available.

metadata

metadata: _TygojaDict

Metadata holds key/value pairs associated with the blob. Keys are guaranteed to be in lowercase, even if the backend service has case-sensitive keys (although note that Metadata written via this package will always be lowercased). If there are duplicate case-insensitive keys (e.g., "foo" and "FOO"), only one value will be kept, and it is undefined which one.

modTime

modTime: Time

ModTime is the time the blob was last modified.

size

size: number

Size is the size of the blob's content in bytes.

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc