Outbound: forward per-node platformSettings + title through createPost/createThread via new PostizIntegrationRef.settings/title merged on top of defaultSettingsFor. Record postizSyncedHash on the node after each successful send. Inbound: postizReconcile pulls remote content/publishDate onto queued and draft nodes when the local hash matches postizSyncedHash, so Postiz-side edits surface in the planner without clobbering pending local edits. Published posts always take remote content as final. Drift→Resync: inline editor shows a yellow "Local edits not yet on Postiz" row when client SHA-1 (normalized content+title+schedule+tags+ platformSettings) drifts from postizSyncedHash. New /resync-postiz route deletes the Postiz-side post (via new deletePost helper, 404-tolerant) then re-creates with current content. Rejected once published. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| image-gen.ts | ||
| listmonk-proxy.ts | ||
| platform-specs.ts | ||
| postiz-client.ts | ||
| types.ts | ||