Package dev.fritz2.repositories

Types

EntityRepository
Link copied to clipboard
js
interface EntityRepository<T, I>
defines the interface that should be provided by all repositories dealing with a single Entity.
QueryRepository
Link copied to clipboard
js
interface QueryRepository<T, I, Q>
defines the interface that should be provided by all repositories dealing with a list of Entities.
Resource
Link copied to clipboard
js
data class Resource<T, I>(idProvider: IdProvider<T, I>, serializer: Serializer<T, String>, emptyEntity: T, serializeId: (I) -> String)
defines the interface that is used in the repositories