feat(SW-2541): Changed asset types to only add the data needed

This commit is contained in:
Erik Tiekstra
2025-09-05 11:25:16 +02:00
parent 64556d4b9c
commit 1337e8293f
7 changed files with 243 additions and 310 deletions

View File

@@ -55,8 +55,8 @@ export type MetaData = {
}
export type ImageVaultAsset = {
id: number
title: string
imageVaultId: number
fileName: string
url: string
dimensions: {
width: number
@@ -64,7 +64,7 @@ export type ImageVaultAsset = {
aspectRatio: number
}
focalPoint: FocalPoint
meta: { alt: string | undefined; caption: string | undefined }
meta: { alt: string; caption: string }
}
/**