Criteria builder
The CriteriaBuilder is a utility class designed to build objects used in creating query criteria in a Groovy expression format. These criteria can be used in requests to back-end services.
The CriteriaBuilder is a utility class designed to build objects used in creating query criteria in a Groovy expression format. These criteria can be used in requests to back-end services.
The FoundationUI framework has several components that communicate directly with the backend. The Grids, Charts components take a resourceName parameter which specifies the service. The Connect class snapshot and stream methods can also be used to get data from the backend.
These utilities enable you to convert from one data representation to another within an application, with a particular focus on transforming server row data. They offer a systematic approach to managing data conversion between Data Transfer Objects (DTOs) and entities, ensuring consistency and maintainability.
You can use the decorator utilities to enhance component behaviour and development efficiency within TypeScript projects. Specifically, the renderOnChange decorator automates the re-rendering process of components upon property changes, using the Genesis framework for web development.
Error utilities provide a sophisticated system for managing errors within your application. Using TypeScript interfaces and types, they provide a structured approach to recording, accessing, and logging errors.
The ExpressionBuilder is a utility class to build criteria objects that are used with the CriteriaBuilder.
Resource utilities facilitate the classification of resources into two distinct types: local and remote. This distinction is essential for handling resources differently based on their origin. It can be used to enhance the flexibility and robustness of resource management within your application.
Serialisers are utility functions for creating Groovy expressions for different operators, such as greater than, less than, equals, etc.
The @genesislcap/foundation-utils package provides a collection of utility services and helpers designed to simplify common development tasks within Genesis applications. It aims to enhance productivity by offering reusable solutions for patterns and problems encountered across different projects.