README
@nishans/endpoints / Exports
@nishans/endpoints#
A package to expose all notion endpoints for queries and mutations and cache response
Features#
- Auto cache for specific requests
- Type definitions attached with each mutation and query endpoint function
- A class unifying
Cache,QueriesandMutationsto make sending api requests easier - Separate functions corresponding to all the endpoint requests
- Inbuilt interval option to guard against unintentional extraneous requests
- Brief documentation on the purpose of each endpoint
API#
This package exports three classes to interact with notion's endpoints