ts-force
is an "opinionated" client for the Salesforce REST API, which uses code generation to bring type safety to SObjects
. It runs in both the browser and nodejs.
The MISSION of this project is to:
- Create the BEST possible developer experience for working with the salesforce REST API by:
- Providing types for
SObjects
that are resilient to schema changes - Mapping SF API names to standard js conventions
- Make constructing SOQL queries as easy and fool-proof as possible. See Demo
- Provide "Quality of Life" features by abstracting away some of the more tedious parts of working with the REST API (EG:
queryMore
, translatingmulti-select picklist
to arrays, standardize error handling, etc)
- Providing types for
- Maintain acceptable performance & reliability
This repository contains two packages: