"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "findServiceFactory", {
  enumerable: true,
  get: function () {
    return _find.findServiceFactory;
  }
});
Object.defineProperty(exports, "platformServiceFactory", {
  enumerable: true,
  get: function () {
    return _platform.platformServiceFactory;
  }
});
exports.servicesFactory = void 0;
var _find = require("./find");
var _platform = require("./platform");
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the Elastic License 2.0 or the Server
 * Side Public License, v 1.
 */

const servicesFactory = params => ({
  find: (0, _find.findServiceFactory)(params),
  platform: (0, _platform.platformServiceFactory)(params)
});
exports.servicesFactory = servicesFactory;