The script to generate console definitions uses the types defined in the ES specification repo (metamodel.ts). Currently, the types are copied from the repo into the script source code (see this file). Instead we should import the types from the repo directly. For that, the repo probably needs to be added to Kibana as a dev dependency. We need to reach out to the operations team and discuss if that is possible.
The script to generate console definitions uses the types defined in the ES specification repo (metamodel.ts). Currently, the types are copied from the repo into the script source code (see this file). Instead we should import the types from the repo directly. For that, the repo probably needs to be added to Kibana as a dev dependency. We need to reach out to the operations team and discuss if that is possible.