@launchedla/snacktime
v0.1.1
Published
Snacktime is a wrapper for the Launched LA internal database that will replicate into Snowflake. It is a replacement for Shopify metafields and an enhanced place to store event-driven data.
Readme
Snacktime
Snacktime is a wrapper for the Launched LA internal database that will replicate into Snowflake. It is an enhanced place to store event-driven data.

Usage
There are 2 main functions: recordAction and getActions. Refer to the test file for exact usage.
Adding New Types
Refer to this commit for reference.
- Add the new type in
src/types.ts. - Add a test in
src/index.test.ts. - Make sure
npm tworks. - Make sure
npm run buildworks.
Testing
- Have Docker installed.
- Run
npm t -- --watchto run the tests and watch.
