Within my C# backend, I structure my entities and entity lists using classes. Any needed functions or methods are simply added to the corresponding class.
On the contrary, in Angular/TypeScript examples, models are typically defined as interfaces. This raises the question of how to effectively organize the functions that interact with these interface objects.
Currently utilizing NgRx, there is a temptation to integrate this code within the selectors. However, I am wary that this approach may lead to cluttered and disorganized code.