deltares / fews-pi-requests Goto Github PK
View Code? Open in Web Editor NEWDelft-FEWS Web Services REST API javascript libraries (https://fewsdocs.deltares.nl/webservices/rest-api/v1/)
License: MIT License
Delft-FEWS Web Services REST API javascript libraries (https://fewsdocs.deltares.nl/webservices/rest-api/v1/)
License: MIT License
The taskruns
endpoint now supports PI_JSON
too; this should be reflected in TaskRunsFilter
.
A number of exports is missing
Remove FewsWebSevices
from the hard coded sub path.
This should be add when passing the base url to the Provider.
It is currently possible to query archive/productsmetadata from the webservice, but an option should be added for
Add npm run build
to Github action for testing. Jest unit testing is using the src
directly. The build can fail when unit test succeed.
Add support for module run times. This is currently only available at the admin interface but will be made available in the PI webservice.
See:
Add "types"
the "exports"
property in package.json
. This should be the first entry.
See https://nodejs.org/api/packages.html#exports-sugar for details.
The query parameters for the archive/attribute
end point are incorrect.
Should be:
documentVersion: DocumentFormat;
attributes: string[];
locationId: string;
paramterId: string;
Support for requesting and posting products.
showTresholds?: boolean;
Should be showThresholds
Create support for this request:
https://fewsdocs.deltares.nl/webservices/rest-api/v1/#get-/filters/actions
Update workflow to publish to @Deltares with public access
Create requests for the static resources and image resources endpoints.
Create a Github workflow to generate documentation using typedoc
.
https://typedoc.org
Use the typedoc-github-wiki-theme
https://github.com/tgreyuk/typedoc-plugin-markdown/tree/master/packages/typedoc-github-wiki-theme
Results should be made available as Github pages
When performing a request (or number of requests) we should be able to pass een AbortController
.
In this way we can cancel the active requets.
Required for Deltares/fews-web-oc#778
Publicly exposed URL-getters (e.g. timeSeriesUrl
) currently accept a QueryParameters
object, which can most conveniently be created with an internal helper function. It would be useful to instead have these URL-getters accept the appropriate *Filter
object, allowing users to more conveniently use them.
Replace imports @/
with relative paths
Issue occurs when a transform request is applied
The time series event contains a date
and time
property. Implement a utility method to convert this to native Date object.
convertPiDateTime({ date: String, time: String }, timeZoneOffset?: string): Date
We should be able to pass a request: Request
object. This is the prefered method for implementing authentication.
Infor on the Request
object: https://developer.mozilla.org/en-US/docs/Web/API/Request
Support /parameters request to fewsPiWebService provider.
Response types are already available.
Add option to ouput as parameterGroups
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.