Introduction
The core structure of SlightWork is based on the concept of modules (as explained within the Project Structure page). Modules keep domain-specific functionality logically and technically isolated, making it easy to deploy only what you need, but also simplifying how they work together.
The upcoming pages outline the modules available within SlightWork by going over their capabilities, intended use cases, and sample demos of how to use them to build your solutions.
Base
The Base module is a collection of supporting metadata designed to be implemented or extended by other modules, serving as the foundation for all other modules within SlightWork. Some examples include:
- Abstract Classes
- Enums
- Exceptions
- Interfaces
This module is included as a package dependency for all other packaged modules within SlightWork.
Integration
The Integration module streamlines the process of building inbound (e.g., Apex REST) or outbound (e.g., Callouts) integrations.
Messaging
The Messaging module simplifies the process of sending communications using the various messaging types within Salesforce, such as Email, Custom Notifications, etc.
Observability
The Observability module provides utilities such as a logger to monitor the state or execution of automations, org metadata, etc.
Platform
The Platform module exposes functionality for interacting with an org. Generally, this applies to working with various Setup objects, Custom Metadata, or platform operations that you'd execute via the Metadata or Tooling APIs.
Primitives
The Primitives module contains utilities that simplify how you work with primitive data types, such as Date & Time, Strings, etc.
