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

convert agg_config and agg_types to typescript #42130

Merged
merged 18 commits into from
Sep 2, 2019

Conversation

ppisljar
Copy link
Member

@ppisljar ppisljar commented Jul 29, 2019

Summary

  • converts to typescript
  • AggConfigs no longer extends IndexedArray
  • AggParams no longer extends IndexedArray
  • FieldParamType no longer extends IndexedArray

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

Dev Docs

Interface of AggConfigs and AggParams was changed as it no longer uses IndexedArray.

AggConfigs

  • aggConfigs[index] to aggConfigs.aggs[index]
  • aggConfigs.byId['id'] to aggConfigs.byId('id')
  • aggConfigs.byName['name'] to aggConfigs.byName('name')
  • aggConfigs.byTypeType['type'] to aggConfigs.byType('type')
  • aggConfigs.byTypeName['type'] to aggConfigs.byTypeName('typename')
  • aggConfigs.bySchemaName['name'] to aggConfigs.bySchemaName('name')
  • aggConfigs.bySchemaGroup['group'] to aggConfigs.bySchemaGroup('group')

AggParams

  • agg.type.params.byName.param to agg.type.params.find(p => p.name === 'param')

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@ppisljar ppisljar requested a review from a team as a code owner August 27, 2019 06:04
Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

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

ML changes LGTM 🎉

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@ppisljar ppisljar added v7.5.0 and removed v7.4.0 labels Aug 28, 2019
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:NP Migration release_note:skip Skip the PR/issue when compiling release notes v7.5.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants