import Path from 'path' ; import { REPO_ROOT } from '@kbn/utils' ; export interface PluginType { thirdParty : boolean ; installDir : string ; } export const PLUGIN_TYPE_OPTIONS = [ { name : 'Installable plugin' , value : { thirdParty : true , installDir : Path . resolve ( REPO_ROOT , 'plugins' ) } , } , { name : 'Kibana Example' , value : { thirdParty : false , installDir : Path . resolve ( REPO_ROOT , 'examples' ) } , } , { name : 'Kibana OSS' , value : { thirdParty : false , installDir : Path . resolve ( REPO_ROOT , 'src/plugins' ) } , } , { name : 'Kibana OSS Functional Testing' , value : { thirdParty : false , installDir : Path . resolve ( REPO_ROOT , 'test/plugin_functional/plugins' ) , } , } , { name : 'X-Pack' , value : { thirdParty : false , installDir : Path . resolve ( REPO_ROOT , 'x-pack/plugins' ) } , } , { name : 'X-Pack Functional Testing' , value : { thirdParty : false , installDir : Path . resolve ( REPO_ROOT , 'x-pack/test/plugin_functional/plugins' ) , } , } , ] ;