feat: alt for bluesky

This commit is contained in:
Nevo David 2025-07-21 19:32:33 +07:00
parent 9ed403aff2
commit d4ca9e8b4a
2 changed files with 3 additions and 3 deletions

View File

@ -276,8 +276,8 @@ export class BlueskyProvider extends SocialAbstract implements SocialProvider {
// If there are images but no video, use image embed // If there are images but no video, use image embed
embed = { embed = {
$type: 'app.bsky.embed.images', $type: 'app.bsky.embed.images',
images: images.map((p) => ({ images: images.map((p, index) => ({
alt: 'picture', alt: imageMedia?.[index]?.alt || '',
image: p.data.blob, image: p.data.blob,
})), })),
}; };

View File

@ -11,7 +11,7 @@
}, },
"packageManager": "pnpm@10.6.1", "packageManager": "pnpm@10.6.1",
"scripts": { "scripts": {
"dev": "pnpm run --filter ./apps/extension --filter ./apps/backend --filter ./apps/frontend --parallel dev", "dev": "pnpm run --filter ./apps/extension --filter ./apps/workers --filter ./apps/backend --filter ./apps/frontend --parallel dev",
"pm2": "pnpm dlx concurrently \"pnpm run pm2-run\" \"pnpm run entryfile\"", "pm2": "pnpm dlx concurrently \"pnpm run pm2-run\" \"pnpm run entryfile\"",
"entryfile": "./entrypoint.sh", "entryfile": "./entrypoint.sh",
"publish-sdk": "pnpm run --filter ./apps/sdk publish", "publish-sdk": "pnpm run --filter ./apps/sdk publish",