Optionalhttp: HttpClientOptional HttpClient instance; if omitted, Angular DI is used
Base URL for data API endpoints.
Base URL for document upload endpoints.
Collection of active subscriptions for cleanup.
Checks whether the API provider supports document storage.
Always true
Deletes an entity by its key via a DELETE request.
The entity name
The entity identifier
A promise resolving to true
Loads an entity by its key via a GET request.
The entity name
The entity identifier
A promise resolving to the entity or undefined
Clean up subscriptions on service destruction.
Loads an entity by its key, rejecting the promise if not found.
The entity name
The entity identifier
A promise resolving to the entity
Searches entities, then applies sorting, grouping, and optional data transformation.
An observable emitting the prepared entities
Searches entities via a GET request and applies client-side filters.
The entity name
Filter criteria to apply
An observable emitting the matching entities
Uploads a single file and returns the document info.
The file to upload
A promise resolving to the uploaded document info
Uploads documents to the server via a multipart POST request.
The files to upload
An observable emitting upload result info for each file
A Store Provider that uses the DontCode API to store / read application data