Kashoo/kashoo-document-definitions ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Node.js project that defines the document models for Kashoo’s Sync Gateway databases.
I want it to include the document definitions for three buckets, one for non sensitive app config, one for business related documents, and one for imported Square data like items, fees, payments, refunds, and settlements. Keep the IDs and document naming pattern sensible, especially for the business database where IDs follow a dotted hierarchy.
Please set it up so I can generate the sync functions with the provided script and run the test suite locally. Add enough tests to prove the document definitions behave the way they should, and make sure the project is easy to install and build from a fresh clone.
If anything is unclear, look up the current synctos docs online and follow the usual patterns for document definition projects.