import { CoreSetup } from '../../../../src/core/server' ; import { savedQueryType , packType } from './lib/saved_query/saved_object_mappings' ; import { usageMetricType } from './routes/usage/saved_object_mappings' ; export const initSavedObjects = ( savedObjects ) => { savedObjects . registerType ( usageMetricType ) ; savedObjects . registerType ( savedQueryType ) ; savedObjects . registerType ( packType ) ; } ;