Skip to content

Introducing Wagtail TypeScript Client

Pre-release
Pre-release
Compare
Choose a tag to compare
@itzomen itzomen released this 30 Aug 22:07
· 26 commits to main since this release

Release Description:

We are excited to introduce version 1.0.0 of the wagtail-js package! This release brings you a powerful TypeScript client that simplifies the process of fetching content from Wagtail-based Content Management Systems (CMS). With the wagtail-js package, you can easily retrieve pages, images, and documents from your Wagtail CMS and handle responses and errors seamlessly.

Key Features:

  • CMSClient Class: Create an instance of the CMSClient class to fetch content from your Wagtail CMS with ease. This class provides methods for fetching pages, images, documents, and more.
  • Content Fetching: Fetch various types of content, including pages, images, and documents, using intuitive method calls. The package handles response and error cases, making your development process smoother.
  • Utility Functions: Use the provided utility functions for fetching content and constructing URLs for media items. These functions help streamline your requests and data handling.
  • Types and Interfaces: The package offers a range of types and interfaces to enhance your interaction with CMS content and requests. Work with CMS data in a more structured and efficient manner.