legacy/fetch with @hey-api/client-fetch (#19002)
* feat: adds new backend-api and http-client packages and generates the api with @hey-api/client-fetch * feat: maps generic T back to promise to avoid usage of 'any' * feat: sets up baseUrl and auth for the new client * feat: gets the api base url from server context instead of the http client * feat: gets the api base url from server context instead of the http client * feat: allows undefined token for xhr requests * feat: changes the response object to be either type T directly (to support @hey-api/client-fetch) or the given type if the response does not contain a 'data' object * revert interface * feat: creates an api return type to comply with @hey-api/client-fetch * feat: maps T back to the data model for non-api types * feat: simplify api response to return the promise you sent to it with an optional error object * feat: moves http related modules to the core package * feat: updates the required type of the client for the api interceptors * docs: removes invalid property * feat: adds request parameters to documents * feat: adds request parameters to imaging * feat: adds return type to item-server-data-source-base * feat: adds request parameters to webhooks * feat: adds request parameters to users * feat: renames all `requestBody` to `body` to conform with new client-fetch * feat: uses query to take parameters in * feat: adds data source response to tree types * feat: adds request parameters to templating * feat: adds request parameters to templating * feat: adds request parameters to telemetry * feat: adds request parameters to tags * feat: adds request parameters to examine management * feat: adds request parameters to relations * feat: adds request parameters to packages * feat: catches new api errors that are direct problem details objects * feat: adds default interceptor to handle Umb-Generated-Resource headers * feat: uses an error interceptor specifically to catch errors to avoid overhead * feat: adds request parameters to members * Revert "feat: uses an error interceptor specifically to catch errors to avoid overhead" This reverts commit 7ffb7b29bfe4ddbc51736434db78372767731dd1. * feat: adds request parameters to media * feat: adds request parameters to log viewer * feat: adds request parameters to languages * feat: adds request parameters to health check * feat: adds request parameters to oembed * feat: adds request parameters to documents * feat: adds request parameters to redirect management * feat: adds request parameters to blueprints * feat: adds request parameters to dictionary * feat: adds request parameters to data types * feat: adds request parameters to temporary file * feat: instructs delete methods to return an unknown value * feat: allows default value to be unknown * feat: adds request parameters to culture * chore: import path * feat: adds correct models to mocks * feat: adds correct models to installer and upgrader * feat: adds correct models to mocks * chore: forgot to move ignore line * chore: ignores generated files in eslint * chore: removes old generated files * feat: moves network connection status manager back into the main app to avoid imports from core * chore: update imports * feat: generate API for login screen without relying on the backoffice * feat: uses the generated models on the login screen * feat: sets 'credentials' to 'include' and adds it back to openapiconfiguration to avoid a breaking change * adds back in commands moved to a workspace * chore: vscode workspace settings formatted and useFlatConfig added for better compatibility
Umbraco CMS
Umbraco is a free and open source .NET content management system. Our mission is to help you deliver delightful digital experiences by making Umbraco friendly, simpler and social.
Learn more at umbraco.com
Looking to install Umbraco?
You can get started using the following commands on Windows, Linux and MacOS (after installing the .NET Runtime and SDK):
dotnet new install Umbraco.Templates
dotnet new umbraco --name MyProject
cd MyProject
dotnet run
Documentation
Our comprehensive documentation takes you from the fundamentals on how to start with Umbraco to deploying it to production.
Some important documentation links to get you started:
- Installing Umbraco CMS
- Getting to know Umbraco
- Tutorials for creating a basic website and customizing the editing experience
Get help
If you need a bit of feedback while building your Umbraco projects, we are chatty on Discord. Our Discord server serves both a social space but also has channels for questions and answers. Feel free to lurk or join in with your own questions. Or just post your daily Wordle score, up to you!
Looking to contribute back to Umbraco?
You came to the right place! Our GitHub repository is available for all kinds of contributions:
Umbraco is contribution-focused and community-driven. If you want to contribute back to the Umbraco source code, please check out our guide to contributing.
