Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/19704-client-no-draft-jsdoc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@objectstack/client': patch
---

`publishItem`'s JSDoc, which ships into `dist/index.d.ts`, is corrected to the refusal spelling the runtime has emitted since PR #19683 (#16245): 404 `NO_DRAFT` on the `code` axis, instead of the retired bracketed lowercase opener `[no_draft]` that PR removed from the message. No behaviour change — the SDK method, its request and its return type are untouched; only the doc comment's stale prose is corrected (#19704).
2 changes: 1 addition & 1 deletion packages/client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ export class ObjectStackClient {
/**
* ADR-0033: promote a single item's pending draft overlay to live —
* the per-item flow beside `packages.publishDrafts`' package-scoped one.
* 404 [no_draft] when there is nothing to publish. [#12195] The name is
* 404 `NO_DRAFT` when there is nothing to publish. The name is
* percent-encoded, like `getItem` — this line used to promise unencoded
* pass-through for compound names, whose arity is now retired.
*
Expand Down
Loading