Type Alias: PublishOutcome
PublishOutcome = {
hash:string;ok:true;route:string;timings?:PublishTimings;url:string; } | {issues: readonlyunknown[];ok:false; }
Defined in: publishOutcome.types.ts:10
What a publish attempt came back as. ok carries the hash the route now serves and the
live page's URL, both built by the endpoint — the server holds the consumer-origin seam,
so no client rebuilds the address — and, when the reply carried them, the three steps'
durations as the server measured them; a refusal carries the issues still raw off the
wire — the editor translates them with the catalog and draft it alone holds.