The fetcher calls the Naptime APIs (either local or remote) to acquire all of the data necessary.
Contains the complete set of static type information to fully specify a Naptime service.
The Resource schemas for all available resources.
All of the data types that compose the service.
Implements a default schema provider for local-only ARI operation.
This encapsulates all of the information needed to compute a response.
The request header is used for authentication parsing in the underlying requests made. Path and query parameters included in the request header are ignored in favor of the data within the topLevelRequests fields.
A non-empty list of "roots" used to begin queries. Every query begins with a "base" resource and related models are joined upon it from there.
Represents a requested field within a requested resource.
The name of the requested field.
The name the field should be renamed to in the response.
If the field takes parameters, they are encapsulated here.
The list of fields in the related resource.
All of the data required to assemble a response to an automatic includes query.
A map from the top level requests to a TopLevelResponse, containing ids and pagination
A map from the resource name to a Map of IDs to DataMaps.
Provides the metadata required to power the engine.
Encapsulates the starting root of a query into the naptime resource tree.
The name of the resource that forms the root of the request.
The field selection on the first resource.
Represents the response data from a TopLevelRequest, including returned ids and pagination
a list of IDs returned by the top level request. (i.e. ids 5, 6, and 7 were returned by the bySlug finder)
pagination info from the top level request, including total and next cursor
the downstream url used to fetch the data