Skip to content

Add formatting logic and tests #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 28, 2021
Merged

Conversation

drewdaemon
Copy link
Contributor

This ports the logic from indexer to

  • Typescript
  • Jest
  • support Hub Search API

@drewdaemon drewdaemon requested a review from rgwozdz July 28, 2021 16:54
])
expect(dataset.issuedDateTime).toBe('2021-04-19T13:30:24.055-04:00')
expect(dataset.orgTitle).toBe('My Fun Org')
// TODO - update when this is available through the API
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

org.portalProperties.links.contactUs.url is currently unavailable through the API.

Comment on lines +91 to +92
// TODO - add to search API
get orgContactUrl (): string { return null; }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not available yet through the API

Comment on lines +86 to +87
get supportsWFS (): boolean { return this._supportedExtensions && this._supportedExtensions.includes('WFSServer'); }
get supportsWMS (): boolean { return this._supportedExtensions && this._supportedExtensions.includes('WMSServer'); }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These will always be false until we expose supportedExtensions in some form through the Search API

@drewdaemon drewdaemon merged commit 7344781 into main Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants