feat : update
CI / Verify (push) Successful in 1m16s
CI / Build immutable images and deploy (push) Successful in 3m1s

This commit is contained in:
2026-09-06 15:26:08 +07:00 Unverified
parent da734ecdf6
commit de76a27c86
13 changed files with 3906 additions and 22 deletions
+2
View File
@@ -153,6 +153,7 @@ export async function updateGuideBasics(guideId: string, input: unknown) {
...(data.posterArtMediaId !== undefined ? { posterArtMediaId } : {}),
...(data.posterArtOffsetX !== undefined ? { posterArtOffsetX: Math.round(data.posterArtOffsetX) } : {}),
...(data.posterArtOffsetY !== undefined ? { posterArtOffsetY: Math.round(data.posterArtOffsetY) } : {}),
...(data.posterArtScale !== undefined ? { posterArtScale: Math.round(data.posterArtScale) } : {}),
...(data.posterTopColors !== undefined ? { posterTopColors: data.posterTopColors } : {}),
...(data.posterBottomColors !== undefined ? { posterBottomColors: data.posterBottomColors } : {}),
}).where(eq(guides.id, guideId));
@@ -168,6 +169,7 @@ export async function updateGuideBasics(guideId: string, input: unknown) {
mediaId: layer.mediaId,
amount: Math.round(layer.amount),
scale: Math.round(layer.scale),
blendMode: layer.blendMode,
sortOrder,
})));
for (const layer of data.posterBleeding) {