Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 378 Bytes

File metadata and controls

7 lines (4 loc) · 378 Bytes

API Adapter

This code serves a purpose of being data-driven API list.

This approach suggests you to store params, payload, endpoints etc. into single usable object and separate the action into different "executor". It sounds like "data transformation", which consists of data and transformer/actor.

Please check testA.ts and testB.ts to see different kinds of approach