stack as tuple

This commit is contained in:
mertalev
2025-05-04 20:11:48 -04:00
parent 8837f5b4fb
commit a3a2ced3a9
4 changed files with 19 additions and 17 deletions

View File

@@ -437,11 +437,11 @@ export class AssetBucket {
people: [],
projectionType: bucketAssets.projectionType[i],
ratio: bucketAssets.ratio[i],
stack: bucketAssets.stackId?.[i]
stack: bucketAssets.stack?.[i]
? {
id: bucketAssets.stackId[i]!,
id: bucketAssets.stack[i]![0] as string,
primaryAssetId: bucketAssets.id[i],
assetCount: bucketAssets.stackCount![i],
assetCount: bucketAssets.stack[i]![1] as number,
}
: null,
thumbhash: bucketAssets.thumbhash[i],