SettingSource:
src/models/setting.model.tsInterface:
ISetting
Fields
Behaviour
- Only one document is expected in the collection.
SettingController.getSettingreturns the first document found.updateSettingupserts if no document exists.- Controllers check
isDummyOrderat runtime to chooseOrdervsDummyOrdermodel and skip Kite API calls.