Closed nikonikoniko closed 2 years ago
This commit refactors the types/Service and types/Record types, to make them more interlinked.
types/Service
types/Record
Furthermore, Services now have no knowledge of the database.RxDb, they only operate on Data.Data[] and return Record.Record
Services
database.RxDb
Data.Data[]
Record.Record
This is going to help us out in the long run.
Actually saving the produced data to the database has been moved:
the responsibility is now carried by the frontend.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
This commit refactors the
types/Service
andtypes/Record
types, to make them more interlinked.Furthermore,
Services
now have no knowledge of thedatabase.RxDb
, they only operate onData.Data[]
and returnRecord.Record
This is going to help us out in the long run.
Actually saving the produced data to the database has been moved:
the responsibility is now carried by the frontend.