Skip to content

docs(readme): document deleteState in the public API surface#16

Merged
enixCode merged 1 commit into
mainfrom
docs/document-deletestate
May 31, 2026
Merged

docs(readme): document deleteState in the public API surface#16
enixCode merged 1 commit into
mainfrom
docs/document-deletestate

Conversation

@enixCode
Copy link
Copy Markdown
Owner

Documents deleteState in the README so the documented public surface matches src/index.ts.

  • deleteState was added to the package entrypoint in v0.16.1 (PR feat(state): export deleteState from the package entrypoint #14) but the README run-state block still only listed listStates / readState.
  • Adds deleteState(id: string): void to that block, with a note that it is idempotent (a missing id is a no-op).
  • Relabels the block comment from "read-only helpers" to "inspect + delete" since the block is no longer purely read-only.
  • Docs-only: no code change, the typedoc API page for deleteState already exists.

build with cc

deleteState was exported from the package entrypoint in v0.16.1 (PR #14) but the README only listed listStates / readState. This adds it to the run-state helpers block so the documented surface matches src/index.ts.

build with cc
@enixCode enixCode merged commit 6b73309 into main May 31, 2026
4 checks passed
@enixCode enixCode deleted the docs/document-deletestate branch May 31, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant