Closed runeharlyk closed 8 months ago
@runeharlyk What is the purpose of this PR? Why is it beneficial to do it this way?
It will making new communication services simpler as we can reuse the types. I think it will also make it easier to get a overview of the data the server can supply.
Specifically I'm currently making a single socket service. This would also benefit from the types being available everywhere. They would then get used by both the rest API and sockets which can be at different parts of the interface code.
What do you think?
Okay, I understand.
I'm also working on the single websocket solution right now. Maybe we can align on this. There is no need to do work twice.
Purpose
Collects all types sent between server and browser. This makes it easier to use the type elsewhere
Changes