Defines how Aggregator will aggregate information from a resource.
remarks
See AlbumAggregator for an example implementations of this interface. It must be exported as
a simple object instead of a class, so its methods can be called staticly (static interface
methods are not supported by typescript). This needs to be the case so normalization/aggregation
calls to methods can be called without instantiating a new class instance, which is very useful.
Defines how Aggregator will aggregate information from a resource.
See AlbumAggregator for an example implementations of this interface. It must be exported as a simple object instead of a class, so its methods can be called staticly (static interface methods are not supported by typescript). This needs to be the case so normalization/aggregation calls to methods can be called without instantiating a new class instance, which is very useful.