OOutloud/Docs/Domain/TargetReviewed · v3
▤ Entity definition

Target

One publication of a post to one connection. It holds the adapted text, media and options for that network, and moves through approval and delivery on its own.

Postmaster idea1 ── *Targetper connection* ── 1Connectionaccount1 ── *Revisionimmutable
Attributes9
NameTypeRequiredDefaultNotes
idTargetIDrequired—ULID, prefix tgt_
post_id→ Postrequired—cascade on delete
connection_id→ Connectionrequired—one project
approvalApprovalStaterequiredpendingbound to revision
deliveryDeliveryStaterequireddraft7 states
scheduled_attimestamptzoptionalnullUTC
remote_idtextoptionalnullset after publish
Relationships3
belongs to→Postmany-to-onecascade
has→Revisionone-to-manyimmutable
publishes via→Connectionmany-to-onerestrict
← All screens