Files
lst_v3/backend/src/datamart/datamartSync.controller.ts
Blake Matthes ea72fd10cd feat(datamart): intial foundation of the datamart setup
this will allow for faster datamart addtions and updates
2025-12-23 19:30:34 -06:00

23 lines
707 B
TypeScript

/**
* If we are running in client mode we want to periodically check the SERVER_NAME for new/updates queries
* this will be on a cronner job, we will check 2 times a day for new data, we will also have a route we can trigger to check this manually incase we have
* queries we make for one plant but will eventually go to all plants.
* in client mode we will not be able to add, update, or delete
*
* if we are running on server mode we will provide all queries.
* allow for new queries to be added
* allow for queries to be updated by id
* table will be
* id
* name
* description
* query
* version
* active
* options (string ie start,end)
* add_date
* add_user
* upd_date
* upd_user
*/