-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better support for the federation extension
- Loading branch information
Showing
3 changed files
with
78 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ | |
* @type {object} | ||
* @property {Array.<Collection>} collections | ||
* @property {Array.<Link>} links | ||
* @property {Array.<string>} ["federation:missing"] A list of backends from the federation that are missing in the response data. | ||
*/ | ||
|
||
/** | ||
|
@@ -184,6 +185,7 @@ | |
* @property {Array.<Process>} processes | ||
* @property {Array.<Link>} links | ||
* @property {?Array.<string>} namespaces EXPERIMENTAL! | ||
* @property {Array.<string>} ["federation:missing"] A list of backends from the federation that are missing in the response data. | ||
*/ | ||
|
||
/** | ||
|
@@ -193,6 +195,21 @@ | |
* @type {object.<string, *>} | ||
*/ | ||
|
||
/** | ||
* An array of backends in the federation. | ||
* | ||
* @typedef FederationBackend | ||
* @type {Object} | ||
Check warning on line 202 in src/typedefs.js GitHub Actions / checks
Check warning on line 202 in src/typedefs.js GitHub Actions / checks
|
||
* @property {string} url URL to the versioned API endpoint of the back-end. | ||
* @property {string} title Name of the back-end. | ||
* @property {string} description A description of the back-end and its specifics. | ||
* @property {string} status Current status of the back-ends (online or offline). | ||
* @property {string} last_status_check The time at which the status of the back-end was checked last, formatted as a RFC 3339 date-time. | ||
* @property {string} last_successful_check If the `status` is `offline`: The time at which the back-end was checked and available the last time. Otherwise, this is equal to the property `last_status_check`. Formatted as a RFC 3339 date-time. | ||
* @property {boolean} experimental Declares the back-end to be experimental. | ||
* @property {boolean} deprecated Declares the back-end to be deprecated. | ||
*/ | ||
|
||
/** | ||
* An array, but enriched with additional details from an openEO API response. | ||
* | ||
|