ReviewOS

also looking at this

stacks/postline

feat: crosspost to LinkedIn and Instagram

#1
Merged chris wants to merge feat/crosspost-linkedin-instagram into main
31 files +2335 -87
app/Support/Social/types.tsmodified+23-0
Changes to app/Support/Social/types.ts
@@ -48,6 +48,29 @@ export interface PublishedPost {
4848 url?: string
4949}
5050
51/** Optional content attached to a post: a link card and/or media. */
52export interface PublishContent {
53 external?: {
54 uri: string
55 title: string
56 description?: string
57 }
58 media?: Array<{
59 url: string
60 altText?: string
61 }>
62}
63
64/** Outcome of publishing one post to a single provider during a crosspost. */
65export interface CrosspostTargetResult {
66 provider: SocialProvider
67 ok: boolean
68 url?: string
69 uri?: string
70 targetId?: number
71 error?: string
72}
73
5174export interface TimelineQuery {
5275 cursor?: string
5376 limit?: number