Search: document the @umbraco-cms/search npm types package#8077
Conversation
Adds a new "Installing the TypeScript types" section to the Search Backoffice
extending guide. Every other section in this page already imports from
@umbraco-cms/search/{global,settings} without telling the reader where the
types come from. Ports the snippet drafted in umbraco/Umbraco.Cms.Search#133.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Thanks for opening this PR! 🎉 Quick question: Does this PR include any AI-generated content? AI tools are absolutely welcome here! We only ask that you follow our AI contribution guidelines to help keep the documentation consistent and trustworthy. Drop a quick comment to let us know! |
There was a problem hiding this comment.
Pull request overview
Adds missing installation guidance for the @umbraco-cms/search TypeScript types package to the Umbraco Search v17 backoffice extension developer docs, aligning the page with its existing usage of @umbraco-cms/search/global and @umbraco-cms/search/settings.
Changes:
- Adds a new “Installing the TypeScript types” section with npm install instructions (including
nextdist-tag guidance). - Documents the two subpath entry points (
/globaland/settings) and clarifies that runtime JS is resolved via the backoffice importmap. - Notes the
@umbraco-cms/backofficepeer dependency and includes a minimal import example.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Thanks @iOvergaard ! Do we know when the next prerelease of Umbraco Search lands? |
|
@sofietoft it's out now, so feel free to merge whenever :-) |
📋 Description
Adds a new Installing the TypeScript types section to
17/umbraco-search/extending/backoffice-extensions.md. Every other section on that page already imports from@umbraco-cms/search/globaland@umbraco-cms/search/settingswithout telling readers where the types come from — this fills the gap.The section covers:
@umbraco-cms/searchas a development dependencynextdist-tag for the current prerelease line/globaland/settings) and what each contains@umbraco-cms/backofficeContent was ported from the "Docs to port to UmbracoDocs" snippet drafted in umbraco/Umbraco.Cms.Search#133.
AI disclosure
This PR is AI-assisted. Claude helped restructure the original PR snippet to match the GitBook conventions used in the file (
{% hint %},{% code title %}), tighten passive constructions, and remove vague pronouns per the style guide. The AI-generated label is applied on this PR.📎 Related Issues (if applicable)
✅ Contributor Checklist
I've followed the Umbraco Documentation Style Guide and can confirm that:
importexample was verified against the published package's exports (UmbSearchIndexre-exported viasettings/index.ts; constants present inglobal/).Product & Version (if relevant)
Umbraco Search — v17 (only documented version).
Deadline (if relevant)
Not urgent, but ideally lands before the next
@umbraco-cms/searchprerelease so users landing on the docs page from npmjs.com find the install instructions.📚 Helpful Resources