services library

Classes

ActionResult
Shows message to the user, as a success or a failure, along with structured data if given.
ApertureAction<TParameters extends DataObject>
ApertureApi
ApertureResource<T extends DataObject>
ApertureSession
ApertureTileSource
BaseActionResult
What an ApertureActionHandler responds with.
CustomTileSource
Any tile server that serves {z}/{x}/{y} raster tiles.
DownloadActionResult
Lets the user save a file.
GoogleMapsTileSource
Google Maps, served by the Map Tiles API.
OpenStreetMapTileSource
The public OpenStreetMap tile server.
RedirectActionResult
Opens the element id of the resource of bean, for example one the action created.

Functions

defaultSearchFilterBuilder(List<DataField> searchFields, List<String> words) → Filter
Matches elements in which every word is contained in any search field.

Typedefs

ApertureActionHandler<TParameters> = Future<BaseActionResult?> Function(String? elementId, TParameters parameters)
Runs an action. elementId is null for global actions.
SearchFilterBuilder = Filter Function(List<DataField> searchFields, List<String> words)
Builds the filter for a search in a resource, given the fields that allow search and the words of the search.