also looking at this
Bluesky publishing v2: rich-text facets + image upload
#9
8 files
+347
-12
| @@ -57,8 +57,14 @@ export interface PublishContent { | ||
| 57 | 57 | title: string |
| 58 | 58 | description?: string |
| 59 | 59 | } |
| 60 | /** | |
| 61 | * Attached media. Instagram needs a public `url`; Bluesky uploads | |
| 62 | * `bytes` (or fetches `url`) as a blob. | |
| 63 | */ | |
| 60 | 64 | media?: Array<{ |
| 61 | url: string | |
| 65 | url?: string | |
| 66 | bytes?: Uint8Array | |
| 67 | mimeType?: string | |
| 62 | 68 | altText?: string |
| 63 | 69 | }> |
| 64 | 70 | /** Thread chaining refs — only honored by providers that support replies. */ |