Preparing search index...
The search index is not available
@sanity/client
@sanity/client
SanityImageAssetDocument
Interface SanityImageAssetDocument
Internal
interface
SanityImageAssetDocument
{
_createdAt
:
string
;
_id
:
string
;
_originalId
?:
string
;
_rev
:
string
;
_type
:
string
;
_updatedAt
:
string
;
assetId
:
string
;
extension
:
string
;
metadata
:
{
_type
:
"sanity.imageMetadata"
;
blurHash
?:
string
;
dimensions
:
{
_type
:
"sanity.imageDimensions"
;
aspectRatio
:
number
;
height
:
number
;
width
:
number
;
}
;
exif
?:
{
_type
:
"sanity.imageExifMetadata"
;
[
key
:
string
]:
any
}
;
hasAlpha
:
boolean
;
image
?:
{
_type
:
"sanity.imageExifTags"
;
[
key
:
string
]:
any
}
;
isOpaque
:
boolean
;
lqip
?:
string
;
palette
?:
{
_type
:
"sanity.imagePalette"
;
darkMuted
?:
SanityImagePalette
;
darkVibrant
?:
SanityImagePalette
;
dominant
?:
SanityImagePalette
;
lightMuted
?:
SanityImagePalette
;
lightVibrant
?:
SanityImagePalette
;
muted
?:
SanityImagePalette
;
vibrant
?:
SanityImagePalette
;
}
;
}
;
mimeType
:
string
;
originalFilename
?:
string
;
path
:
string
;
sha1hash
:
string
;
size
:
number
;
uploadId
?:
string
;
url
:
string
;
[
key
:
string
]:
any
;
}
Hierarchy (
View Summary
)
SanityAssetDocument
SanityImageAssetDocument
Indexable
[
key
:
string
]:
any
Index
Properties
_created
At
_id
_original
Id?
_rev
_type
_updated
At
asset
Id
extension
metadata
mime
Type
original
Filename?
path
sha1hash
size
upload
Id?
url
Properties
_created
At
_createdAt
:
string
_id
_id
:
string
Optional
_original
Id
_originalId
?:
string
Present when
perspective
is set to
previewDrafts
_rev
_rev
:
string
_type
_type
:
string
_updated
At
_updatedAt
:
string
asset
Id
assetId
:
string
extension
extension
:
string
metadata
metadata
:
{
_type
:
"sanity.imageMetadata"
;
blurHash
?:
string
;
dimensions
:
{
_type
:
"sanity.imageDimensions"
;
aspectRatio
:
number
;
height
:
number
;
width
:
number
;
}
;
exif
?:
{
_type
:
"sanity.imageExifMetadata"
;
[
key
:
string
]:
any
}
;
hasAlpha
:
boolean
;
image
?:
{
_type
:
"sanity.imageExifTags"
;
[
key
:
string
]:
any
}
;
isOpaque
:
boolean
;
lqip
?:
string
;
palette
?:
{
_type
:
"sanity.imagePalette"
;
darkMuted
?:
SanityImagePalette
;
darkVibrant
?:
SanityImagePalette
;
dominant
?:
SanityImagePalette
;
lightMuted
?:
SanityImagePalette
;
lightVibrant
?:
SanityImagePalette
;
muted
?:
SanityImagePalette
;
vibrant
?:
SanityImagePalette
;
}
;
}
mime
Type
mimeType
:
string
Optional
original
Filename
originalFilename
?:
string
path
path
:
string
sha1hash
sha1hash
:
string
size
size
:
number
Optional
upload
Id
uploadId
?:
string
url
url
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
_created
At
_id
_original
Id
_rev
_type
_updated
At
asset
Id
extension
metadata
mime
Type
original
Filename
path
sha1hash
size
upload
Id
url
@sanity/client
Loading...
Present when
perspective
is set topreviewDrafts