string tuple

This commit is contained in:
mertalev
2025-05-05 10:33:48 -04:00
parent 21bbf2f5e2
commit 71cc045405
12 changed files with 21 additions and 127 deletions

View File

@@ -439,9 +439,9 @@ export class AssetBucket {
ratio: bucketAssets.ratio[i],
stack: bucketAssets.stack?.[i]
? {
id: bucketAssets.stack[i]![0] as string,
id: bucketAssets.stack[i]![0],
primaryAssetId: bucketAssets.id[i],
assetCount: bucketAssets.stack[i]![1] as number,
assetCount: Number.parseInt(bucketAssets.stack[i]![1]),
}
: null,
thumbhash: bucketAssets.thumbhash[i],