also looking at this
UI polish, real queue + scheduling, Bluesky threads, live analytics, blog target
#8
54 files
+2036
-589
| @@ -186,8 +186,10 @@ export class BlueskyService { | ||
| 186 | 186 | const createdAt = now() |
| 187 | 187 | const publishInput = { text: post.body } as Parameters<BlueskyDriver['publish']>[1] & { |
| 188 | 188 | external?: { uri: string, title: string, description?: string } |
| 189 | reply?: { root: { uri: string, cid: string }, parent: { uri: string, cid: string } } | |
| 189 | 190 | } |
| 190 | 191 | if (content?.external) publishInput.external = content.external |
| 192 | if (content?.reply) publishInput.reply = content.reply | |
| 191 | 193 | |
| 192 | 194 | await database.insertInto('post_targets').values({ |
| 193 | 195 | uuid: targetUuid, |
| @@ -230,6 +232,7 @@ export class BlueskyService { | ||
| 230 | 232 | ok: true, |
| 231 | 233 | url: published.url, |
| 232 | 234 | uri: published.uri, |
| 235 | cid: published.cid, | |
| 233 | 236 | targetId: Number(target.id), |
| 234 | 237 | } |
| 235 | 238 | } |