Skip to content
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

add name, type, version to exports #8

Merged
merged 1 commit into from
Aug 20, 2015
Merged

add name, type, version to exports #8

merged 1 commit into from
Aug 20, 2015

Conversation

ungoldman
Copy link
Contributor

Same as koopjs/koop-pgcache#28

Noticed there's already a type property being exported here (elasticsearch).

My reasoning for making type: 'cache' is that corresponds to type: 'plugin', as in https://github.com/koopjs/koop-tile-plugin/blob/master/index.js#L6-L10. Eventually all providers would export type of provider, all caches type of cache, all plugins type of plugin, so we could infer what to do with them more easily and display information from them through the API more automagically.

🎩 ✨ 🐇

@dmfenton
Copy link
Contributor

consistency 🏆

dmfenton pushed a commit that referenced this pull request Aug 20, 2015
add name, type, version to exports
@dmfenton dmfenton merged commit 07ad0fc into master Aug 20, 2015
@dmfenton dmfenton deleted the type branch August 20, 2015 22:25
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